add translate client-side.

fix global var(code from original mod)
This commit is contained in:
2022-07-24 16:54:18 +02:00
parent 66fe798f75
commit 60e00825cc
6 changed files with 127 additions and 31 deletions

38
locale/mtfoods.fr.tr Normal file
View File

@ -0,0 +1,38 @@
# textdomain: mtfoods
## desserts.lua ##
Dandelion Milk=Lait de pissenlit
Sugar=Sucre
Short Bread=Petit pain
Pie Crust=Pâte à tarte
Cream=Crème
Chocolate Bits=Morceaux de chocolat
Cup-Cake=Petit gâteau
Strawberry Short-Cake=Petit gâteaux à la fraise
Cake=Gâteau
Chocolate Cake=Gateau au chocolat
Carrot Cake=Gâteau à la carotte
Apple Pie=Tarte aux pommes
Rhubarb Pie=tarte à la rhubarbe
Banana Pie=Tarte aux bananes
Pumpkin Pie=Tarte à la citrouille
Boston Cream Pie=Tarte à la crème de Boston
Cookies=Biscuits
Chocolate Bars=Barres de chocolat
Cupcakes=Petits gâteaux
## drinks.lua ##
Glass Flute=Flûte en verre
Orange Juice=Jus d'orange
Apple Juice=Jus de pomme
Apple Cider in Bottle=Cidre de pomme en bouteille
A Cider Rack=Un casier à cidre
## foods.lua ##
MLT (Mutton, Lettuce, Tomato)=MLT (Mouton, Laitue, Tomate)
Sliced Potato=Pomme de terre en tranches
Potato Chips=Chips de pommes de terre
Medicine=Médecine
Casserole=Casserole

46
locale/template.txt Normal file
View File

@ -0,0 +1,46 @@
# textdomain: mtfoods
## desserts.lua ##
Dandelion Milk=
Sugar=
Short Bread=
Pie Crust=
Cream=
Chocolate Bits=
Cup-Cake=
Strawberry Short-Cake=
Cake=
Chocolate Cake=
Carrot Cake=
Apple Pie=
Rhubarb Pie=
Banana Pie=
Pumpkin Pie=
Boston Cream Pie=
Cookies=
Chocolate Bars=
Cupcakes=
## drinks.lua ##
Glass Flute=
Orange Juice=
Apple Juice=
Apple Cider in Bottle=
A Cider Rack=
## foods.lua ##
MLT (Mutton, Lettuce, Tomato)=
Sliced Potato=
Potato Chips=
Medicine=
Casserole=