Skip to content

Commit 0417b60

Browse files
committed
backend i18n
1 parent 311780d commit 0417b60

16 files changed

Lines changed: 250 additions & 24 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"author":"Yuki","version":"1.0","files":["ui/web/dist/-1.8738fa9c.png","ui/web/dist/1.c8f0e02c.jpg","ui/web/dist/10.0662a962.png","ui/web/dist/11.0e5fc2d9.png","ui/web/dist/12.b35a1a8a.png","ui/web/dist/13.a14cf830.png","ui/web/dist/14.ae904303.png","ui/web/dist/15.69e5f533.png","ui/web/dist/156.33c536eb.png","ui/web/dist/1574.3b3d42a1.png","ui/web/dist/16.bdb46659.png","ui/web/dist/17.8f0f90e2.png","ui/web/dist/18.7dd5c0bd.png","ui/web/dist/19.0a1ad060.png","ui/web/dist/2.2b8bb13a.png","ui/web/dist/20.dcd2e9c9.png","ui/web/dist/21.1fdb4d54.png","ui/web/dist/22.996a6d8b.png","ui/web/dist/23.4aee3e9a.png","ui/web/dist/24.77440a4d.png","ui/web/dist/25.1a7c55e0.png","ui/web/dist/26.f264d122.png","ui/web/dist/27.e4c2a991.png","ui/web/dist/28.865ab7bf.png","ui/web/dist/29.f2787f13.png","ui/web/dist/3.f9b78951.jpg","ui/web/dist/30.ac517333.png","ui/web/dist/31.e5a55639.jpg","ui/web/dist/32.cc82915c.jpg","ui/web/dist/4.e490fdbf.png","ui/web/dist/5.30378137.jpg","ui/web/dist/50001.cb571b63.png","ui/web/dist/508.b5c07ba5.png","ui/web/dist/514.0118d934.png","ui/web/dist/6.a483f41b.png","ui/web/dist/7.9f6cce01.png","ui/web/dist/8.ce5a1799.png","ui/web/dist/9.793ade8a.png","ui/web/dist/AldotheApache.06dee643.woff","ui/web/dist/AldotheApache.8707ff58.woff2","ui/web/dist/animate.aa6560e3.css","ui/web/dist/animate.aa6560e3.css.map","ui/web/dist/apple.9ebbc630.png","ui/web/dist/bananas.0c61e964.png","ui/web/dist/cash.e69acbd7.png","ui/web/dist/death_icon.04678e81.png","ui/web/dist/fishing_rod.a207bc5d.png","ui/web/dist/icon_atm.6e210cd0.png","ui/web/dist/icon_delivery.2d3b83cf.png","ui/web/dist/icon_delivery_stock.d035bb91.png","ui/web/dist/icon_fisher.3c9eff5f.png","ui/web/dist/icon_fisher_seller.5b5f21cf.png","ui/web/dist/icon_garage.a29464bd.png","ui/web/dist/icon_garbage.1eef6427.png","ui/web/dist/icon_garbage_bin.ec57ace3.png","ui/web/dist/icon_gasstation.c17cee2b.png","ui/web/dist/icon_lumberjack.0ddcbc54.png","ui/web/dist/icon_lumberjack.51199a2d.png","ui/web/dist/icon_lumberjack_seller.0a934559.png","ui/web/dist/icon_miner.28d36046.png","ui/web/dist/icon_miner.8d186231.png","ui/web/dist/icon_miner_seller.eec3d4ac.png","ui/web/dist/icon_police.63b21800.png","ui/web/dist/icon_vseller.bdd6a420.png","ui/web/dist/index.html","ui/web/dist/layers-2x.d8c4f271.png","ui/web/dist/layers.350ec81b.png","ui/web/dist/lumberjack_hatchet.dee1a5cf.png","ui/web/dist/map.5920ca6f.jpg","ui/web/dist/marker-icon.b29b8023.png","ui/web/dist/pickaxe.850a4185.png","ui/web/dist/player_cursor.45a97301.png","ui/web/dist/salmon.de9c42f6.png","ui/web/dist/scripts.1a93b8cf.css","ui/web/dist/scripts.1a93b8cf.css.map","ui/web/dist/scripts.64a2b44c.js","ui/web/dist/scripts.64a2b44c.js.map","ui/web/dist/styles.b1188dbe.css","ui/web/dist/styles.b1188dbe.css.map","ui/web/dist/vkey.4c663d93.png","sounds/ambiant_1.mp3","sounds/atm_sound_in.mp3","sounds/carLock.mp3","sounds/cartoon_accent.mp3","sounds/carUnlock.mp3","sounds/cash_register.mp3","sounds/chop_wood.mp3","sounds/fishing_1.mp3","sounds/pickaxe_hit.mp3","sounds/saw_mill_cut.mp3","sounds/shop_bell.mp3","sounds/success_1.mp3","paks/YRPF.pak"],"server_scripts":null,"client_scripts":["ui/ui.lua","client_api.lua","sound_api.lua","character_api.lua","job_api.lua","modding_api.lua"]}
1+
{"author":"Yuki","version":"1.0","files":["ui/web/dist/-1.8738fa9c.png","ui/web/dist/1.c8f0e02c.jpg","ui/web/dist/10.0662a962.png","ui/web/dist/11.0e5fc2d9.png","ui/web/dist/12.b35a1a8a.png","ui/web/dist/13.a14cf830.png","ui/web/dist/14.ae904303.png","ui/web/dist/15.69e5f533.png","ui/web/dist/156.33c536eb.png","ui/web/dist/1574.3b3d42a1.png","ui/web/dist/16.bdb46659.png","ui/web/dist/17.8f0f90e2.png","ui/web/dist/18.7dd5c0bd.png","ui/web/dist/19.0a1ad060.png","ui/web/dist/2.2b8bb13a.png","ui/web/dist/20.dcd2e9c9.png","ui/web/dist/21.1fdb4d54.png","ui/web/dist/22.996a6d8b.png","ui/web/dist/23.4aee3e9a.png","ui/web/dist/24.77440a4d.png","ui/web/dist/25.1a7c55e0.png","ui/web/dist/26.f264d122.png","ui/web/dist/27.e4c2a991.png","ui/web/dist/28.865ab7bf.png","ui/web/dist/29.f2787f13.png","ui/web/dist/3.f9b78951.jpg","ui/web/dist/30.ac517333.png","ui/web/dist/31.e5a55639.jpg","ui/web/dist/32.cc82915c.jpg","ui/web/dist/4.e490fdbf.png","ui/web/dist/5.30378137.jpg","ui/web/dist/50001.cb571b63.png","ui/web/dist/508.b5c07ba5.png","ui/web/dist/514.0118d934.png","ui/web/dist/6.a483f41b.png","ui/web/dist/7.9f6cce01.png","ui/web/dist/8.ce5a1799.png","ui/web/dist/9.793ade8a.png","ui/web/dist/AldotheApache.06dee643.woff","ui/web/dist/AldotheApache.8707ff58.woff2","ui/web/dist/animate.aa6560e3.css","ui/web/dist/animate.aa6560e3.css.map","ui/web/dist/apple.9ebbc630.png","ui/web/dist/bananas.0c61e964.png","ui/web/dist/cash.e69acbd7.png","ui/web/dist/death_icon.04678e81.png","ui/web/dist/fishing_rod.a207bc5d.png","ui/web/dist/icon_atm.6e210cd0.png","ui/web/dist/icon_delivery.2d3b83cf.png","ui/web/dist/icon_delivery_stock.d035bb91.png","ui/web/dist/icon_fisher.3c9eff5f.png","ui/web/dist/icon_fisher_seller.5b5f21cf.png","ui/web/dist/icon_garage.a29464bd.png","ui/web/dist/icon_garbage.1eef6427.png","ui/web/dist/icon_garbage_bin.ec57ace3.png","ui/web/dist/icon_gasstation.c17cee2b.png","ui/web/dist/icon_lumberjack.0ddcbc54.png","ui/web/dist/icon_lumberjack.51199a2d.png","ui/web/dist/icon_lumberjack_seller.0a934559.png","ui/web/dist/icon_miner.28d36046.png","ui/web/dist/icon_miner.8d186231.png","ui/web/dist/icon_miner_seller.eec3d4ac.png","ui/web/dist/icon_police.63b21800.png","ui/web/dist/icon_vseller.bdd6a420.png","ui/web/dist/index.html","ui/web/dist/layers-2x.d8c4f271.png","ui/web/dist/layers.350ec81b.png","ui/web/dist/lumberjack_hatchet.dee1a5cf.png","ui/web/dist/map.5920ca6f.jpg","ui/web/dist/marker-icon.b29b8023.png","ui/web/dist/pickaxe.850a4185.png","ui/web/dist/player_cursor.45a97301.png","ui/web/dist/salmon.de9c42f6.png","ui/web/dist/scripts.1a93b8cf.css","ui/web/dist/scripts.1a93b8cf.css.map","ui/web/dist/scripts.54005470.js","ui/web/dist/scripts.54005470.js.map","ui/web/dist/styles.b1188dbe.css","ui/web/dist/styles.b1188dbe.css.map","ui/web/dist/vkey.4c663d93.png","sounds/ambiant_1.mp3","sounds/atm_sound_in.mp3","sounds/carLock.mp3","sounds/cartoon_accent.mp3","sounds/carUnlock.mp3","sounds/cash_register.mp3","sounds/chop_wood.mp3","sounds/fishing_1.mp3","sounds/pickaxe_hit.mp3","sounds/saw_mill_cut.mp3","sounds/shop_bell.mp3","sounds/success_1.mp3","paks/YRPF.pak"],"server_scripts":null,"client_scripts":["ui/ui.lua","client_api.lua","sound_api.lua","character_api.lua","job_api.lua","modding_api.lua"]}

ui/web/dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<html><head><link rel="stylesheet" href="animate.aa6560e3.css"><link rel="stylesheet" href="styles.b1188dbe.css"><meta charset="UTF-8"><link rel="stylesheet" href="scripts.1a93b8cf.css"></head><body> <div id="root"></div> <script>"undefined"!=typeof ue?(!function(e){ue.game={},ue.game.callevent=function(n){if("string"==typeof n)if(0==(arguments.length<=1?0:arguments.length-1))e.callevent(n,"");else{for(var l=[],t=0;t<(arguments.length<=1?0:arguments.length-1);t++)l[t]=t+1<1||arguments.length<=t+1?void 0:arguments[t+1];e.callevent(n,JSON.stringify(l))}}}(ue.game),CallEvent=ue.game.callevent):window.CallEvent=function(e){console.log(e)};</script> <script src="scripts.64a2b44c.js"></script> </body></html>
1+
<html><head><link rel="stylesheet" href="animate.aa6560e3.css"><link rel="stylesheet" href="styles.b1188dbe.css"><meta charset="UTF-8"><link rel="stylesheet" href="scripts.1a93b8cf.css"></head><body> <div id="root"></div> <script>"undefined"!=typeof ue?(!function(e){ue.game={},ue.game.callevent=function(n){if("string"==typeof n)if(0==(arguments.length<=1?0:arguments.length-1))e.callevent(n,"");else{for(var l=[],t=0;t<(arguments.length<=1?0:arguments.length-1);t++)l[t]=t+1<1||arguments.length<=t+1?void 0:arguments[t+1];e.callevent(n,JSON.stringify(l))}}}(ue.game),CallEvent=ue.game.callevent):window.CallEvent=function(e){console.log(e)};</script> <script src="scripts.54005470.js"></script> </body></html>
Lines changed: 15 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui/web/dist/scripts.54005470.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui/web/dist/scripts.64a2b44c.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

ui/web/langs/de.json

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
{
2+
"ui.common.validate": "Überprüfen",
3+
"ui.common.use": "Benutzen",
4+
"ui.common.throw": "Werfen",
5+
"ui.common.buy": "Kaufen",
6+
"ui.common.sell": "Verkaufen",
7+
"ui.common.xp": "XP",
8+
"ui.characterCustom.windowName": "Charaktererstellung",
9+
"ui.characterCustom.name": "Name",
10+
"ui.characterCustom.gender": "Geschlecht",
11+
"ui.characterCustom.body": "Körper",
12+
"ui.characterCustom.hair": "Haare",
13+
"ui.characterCustom.hair_color": "Haarfarbe",
14+
"ui.characterCustom.top": "Oberteil",
15+
"ui.characterCustom.pant": "Hose",
16+
"ui.characterCustom.shoes": "Schuhe",
17+
"ui.options.Homme": "Mann",
18+
"ui.options.Femme": "Frau",
19+
"ui.options.Homme_1": "Mann 1",
20+
"ui.options.Homme_2": "Mann 2",
21+
"ui.options.Homme_3": "Mann 3",
22+
"ui.options.Homme_4": "Mann 4",
23+
"ui.options.Homme_5": "Mann 5",
24+
"ui.options.Homme_6": "Mann 6",
25+
"ui.options.Homme_7": "Mann 7",
26+
"ui.options.Homme_8": "Mann 8",
27+
"ui.options.Homme_9": "Mann 9",
28+
"ui.options.Homme_10": "Mann 10",
29+
"ui.options.Homme_11": "Mann 11",
30+
"ui.options.Homme_12": "Mann 12",
31+
"ui.options.Homme_13": "Mann 13",
32+
"ui.options.Homme_14": "Mann 14",
33+
"ui.options.Homme_15": "Mann 15",
34+
"ui.options.Homme_16": "Mann 16",
35+
"ui.options.Homme_17": "Mann 17",
36+
"ui.options.Homme_18": "Mann 18",
37+
"ui.options.Homme_19": "Mann 19",
38+
"ui.options.Homme_20": "Mann 20",
39+
"ui.options.Homme_21": "Mann 21",
40+
"ui.options.Femme_1": "Frau 1",
41+
"ui.options.Femme_2": "Frau 2",
42+
"ui.options.Femme_3": "Frau 3",
43+
"ui.options.Cheveux_1": "Frisur 1",
44+
"ui.options.Cheveux_2": "Frisur 2",
45+
"ui.options.Cheveux_3": "Frisur 3",
46+
"ui.options.Cheveux_4": "Frisur 4",
47+
"ui.options.Cheveux_5": "Frisur 5",
48+
"ui.options.Cheveux_6": "Frisur 6",
49+
"ui.options.Cheveux_7": "Frisur 7",
50+
"ui.options.Cheveux_8": "Frisur 8",
51+
"ui.options.Cheveux_9": "Frisur 9",
52+
"ui.options.Cheveux_10": "Frisur 10",
53+
"ui.options.Cheveux_11": "Frisur 11",
54+
"ui.options.Cheveux_12": "Frisur 12",
55+
"ui.options.Cheveux_13": "Frisur 13",
56+
"ui.options.Cheveux_14": "Frisur 14",
57+
"ui.options.Cheveux_15": "Frisur 15",
58+
"ui.options.Cheveux_16": "Frisur 16",
59+
"ui.options.Cheveux_17": "Frisur 17",
60+
"ui.options.Cheveux_18": "Frisur 18",
61+
"ui.options.Cheveux_19": "Frisur 19",
62+
"ui.options.Cheveux_20": "Frisur 20",
63+
"ui.options.Cheveux_21": "Frisur 21",
64+
"ui.options.Cheveux_22": "Frisur 22",
65+
"ui.options.Cheveux_23": "Frisur 23",
66+
"ui.options.Cheveux_24": "Frisur 24",
67+
"ui.options.Haut_1": "Oberteil 1",
68+
"ui.options.Haut_2": "Oberteil 2",
69+
"ui.options.Haut_3": "Oberteil 3",
70+
"ui.options.Haut_4": "Oberteil 4",
71+
"ui.options.Haut_5": "Oberteil 5",
72+
"ui.options.Haut_6": "Oberteil 6",
73+
"ui.options.Haut_7": "Oberteil 7",
74+
"ui.options.Haut_8": "Oberteil 8",
75+
"ui.options.Chemise_1": "Shirt 1",
76+
"ui.options.Chemise_2": "Shirt 2",
77+
"ui.options.Pull_Capuche": "Hoodie",
78+
"ui.options.Débardeur": "Tank Top",
79+
"ui.options.Débardeur_et_Chemise": "Tank Top Shirt",
80+
"ui.options.Pantalon_1": "Hose 1",
81+
"ui.options.Pantalon_2": "Hose 2",
82+
"ui.options.Pantalon_3": "Hose 3",
83+
"ui.options.Pantalon_4": "Hose 4",
84+
"ui.options.Pantalon_5": "Hose 5",
85+
"ui.options.Pantalon_6": "Hose 6",
86+
"ui.options.Pantalon_7": "Hose 7",
87+
"ui.options.Pantalon_8": "Hose 8",
88+
"ui.options.Chaussure_1": "Schuhe 1",
89+
"ui.options.Chaussure_2": "Schuhe 2",
90+
"ui.options.Chaussure_3": "Schuhe 3",
91+
"ui.inventory.windowName": "Inventar",
92+
"ui.atm.windowName": "Geldautomat",
93+
"ui.atm.greetings": "Willkommen bei der Onset Bank",
94+
"ui.atm.deposit": "Einzahlen",
95+
"ui.atm.withdraw": "Auszahlen",
96+
"ui.garage.windowName": "Garage",
97+
"ui.garage.requestVehicle": "Ausparken",
98+
"ui.vseller.windowName": "Fahrzeughändler",
99+
"ui.bigmap.windowName": "Karte",
100+
"ui.death.windowName": "Tod",
101+
"ui.death.sentence1": "Du liegst im Koma",
102+
"ui.death.sentence2": "Du kannst auf Hilfe warten oder langsam sterben",
103+
"ui.death.sentence3": "Alles was du bei dir hast wird auf den Boden fallen",
104+
"ui.characterJob.windowName": "Berufe",
105+
"ui.characterJob.jobLevel_bucheron_debutant": "Holzfäller Anfänger",
106+
"ui.characterJob.jobLevel_bucheron_en_herbe": "Holzfäller Azubi",
107+
"ui.characterJob.jobLevel_eboueur": "Müllmann",
108+
"ui.characterJob.jobLevel_livreur_debutant": "Lieferant Anfänger",
109+
"ui.characterJob.jobLevel_mineur_debutant": "Bergmann Anfänger",
110+
"ui.characterJob.jobLevel_pecheur_debutant": "Fischer Anfänger",
111+
"ui.characterJob.jobLevel_police": "Polizist",
112+
"ui.characterJob.jobDesc_lumberjack": "Fälle Bäume im Wald und verarbeite sie zu Brettern, um sie für einen besseren Preis zu verkaufen",
113+
"ui.characterJob.jobDesc_garbage": "Suche die Stadt nach Müll ab und bringe ihn zum Recycling Zentrum, um ihn entsorgen oder zu recyclen",
114+
"ui.characterJob.jobDesc_delivery": "Du bist ein Trucker von ganzem Herzen, der Päckchen über die ganze Insel liefert. Liefere sie zur richtigen Adresse, je weiter die Strecke, desto höher dein Lohn",
115+
"ui.characterJob.jobDesc_miner": "Gehe in die Mine und suche nach Erzvorkommen, um sie für gutes Geld zu verkaufen. Mit etwas Glück findest du den Jackpot",
116+
"ui.characterJob.jobDesc_fisher": "Setz dich in dein Boot und suche nach Markierungen im Meer. Dies sind ergiebige Fischgründe",
117+
"ui.characterJob.jobDesc_police": "Du sorgst für Ordnung auf der Insel. Es liegt in deiner Hand, dir Respekt zu verschaffen und die Gesetze durchzusetzen",
118+
"ui.seller.windowName": "Verkäufer",
119+
"ui.vchest.windowName": "Kofferraum",
120+
"ui.item.desc_1": "Ein saftiger und günstiger Apfel",
121+
"ui.item.desc_2": "Einfaches Geld",
122+
"ui.item.desc_3": "Fahrzeugschlüssel",
123+
"ui.item.desc_4": "Eine einfache Axt",
124+
"ui.item.desc_5": "Eine einfache Spitzhacke",
125+
"ui.item.desc_6": "Ein seltenes Gut auf der Insel. Es ist sehr außergewöhnlich und es gibt eine hohe Nachfrage.",
126+
"ui.item.desc_7": "Eine einfache Angel",
127+
"ui.item.desc_8": "Ziemlich normaler Fisch",
128+
"action.vehicle.locked": "Das Fahrzeug ist abgeschlossen",
129+
"action.vehicle.wearSomething": "Du trägst etwas"
130+
}

ui/web/langs/fr.json

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,5 +139,42 @@
139139
"ui.item.desc_8": "Du poisson assez commun",
140140

141141
"action.vehicle.locked": "Le véhicule est verrouillé",
142-
"action.vehicle.wearSomething": "Vous portez quelque chose"
142+
"action.vehicle.wearSomething": "Vous portez quelque chose",
143+
144+
"item.name.1": "Pomme",
145+
"item.name.2": "Cash",
146+
"item.name.3": "Clé de véhicule",
147+
"item.name.4": "Hache Classique",
148+
"item.name.5": "Pioche Classique",
149+
"item.name.6": "Banane",
150+
"item.name.7": "Canne à pêche",
151+
"item.name.8": "Saumon",
152+
153+
"toast.inventory.no_space_left": "Vous n'avez plus de place sur vous",
154+
"toast.vehicle.lock_off": "Véhicule {0} désormais déverrouillé",
155+
"toast.vehicle.lock_on": "Véhicule {0} désormais verrouillé",
156+
"toast.atm.no_enought_money_on_me": "Vous n'avez pas assez d'argent sur vous pour ça",
157+
"toast.atm.no_enought_money_in_bank": "Vous n'avez pas assez d'argent en banque pour ça",
158+
"toast.atm.success_deposit": "Vous avez déposer {0}$ sur votre compte banquaire",
159+
"toast.atm.success_withdraw": "Vous avez retirer {0}$ de votre compte banquaire",
160+
"toast.garage.not_owner_vehicle": "Ce véhicule ne vous appartient pas",
161+
"toast.garage.vehicle_stored": "Véhicule stocké dans le garage {0}",
162+
"toast.garage.vehicle_block_spawn": "Il y a un véhicule dans la zone d'apparition",
163+
"toast.vseller.success_buy_vehicle": "Félicitation vous avez acheté {0} pour {1}$",
164+
"toast.outfit.level_required": "Vous n'avez pas le niveau requis pour cette tenue",
165+
"toast.outfit.success_change": "Vous avez changé de tenue",
166+
"toast.xp.level_up": "Vous etes desormais {0}",
167+
"toast.wear.not_found": "Impossible de porter cette objet car il est introuvable",
168+
"toast.npc.no_buy_kind_item": "Cette personne n'achète pas ce type de ressource",
169+
"toast.tool.no_level_required": "Vous n'avez pas le niveau requis pour cet outil",
170+
"toast.tool.no_kind_item": "Impossible d'utiliser cet outil avec cette ressource",
171+
"toast.job.not_whitelisted": "Vous n'avez pas le niveau requis",
172+
"toast.job_vehicle.success_rental": "Vous avez loué un véhicule pour {0}$",
173+
"toast.delivery.delivery_point": "Point de livraison",
174+
"toast.delivery.need_to_be_delivered": "Cet objet doit être livré à un point de localisation",
175+
"toast.delivery.shipped": "Vous avez livré le colis pour {0}$ ({1}m)",
176+
"toast.job.requirement_unrespected": "Toutes les conditions ne sont pas respectées pour récolter cette ressource",
177+
"toast.job.already_used": "Cette ressource est occupée par un autre joueur",
178+
"toast.vehicle.no_space_left": "Impossible car il n'y a plus de place disponible",
179+
"toast.tool.already_used": "Cette outil est déjà en cours d'utilisation"
143180
}

ui/web/scripts/i18n/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import { store } from "../app/store";
22

33
const langs = {
44
"fr": require("../../langs/fr.json"),
5-
"en": require("../../langs/en.json")
5+
"en": require("../../langs/en.json"),
6+
"de": require("../../langs/de.json")
67
}
78

89
export const t = (key, params) => {

ui/web/scripts/modules/app.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { connect } from "react-redux";
33
import constants from "../actions/constants";
44
import { setWindowState } from "../actions/ui_modules";
55
import { UIWindow } from "../components";
6-
import {Inventory, ATM, Garage, VSeller, CustomCharacter, VChest, GameMap, XPBar, BigMap, Death, CharacterJob, Seller} from "./";
6+
import {Inventory, ATM, Garage, VSeller, CustomCharacter, VChest, GameMap, XPBar, BigMap, Death, CharacterJob, Seller, LangSelector} from "./";
77
import { ToastContainer, toast } from 'react-toastify';
88
import * as i18n from "../i18n";
99

@@ -39,6 +39,7 @@ class App extends React.Component {
3939
{this.props.uiModules.death ? <Death /> : null}
4040
{this.props.uiModules.characterjob ? <CharacterJob /> : null}
4141
{this.props.uiModules.seller ? <Seller /> : null}
42+
{this.props.uiModules.langSelector ? <LangSelector /> : null}
4243
</div>
4344
}
4445
}

ui/web/scripts/modules/bigmap/index.jsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class BigMap extends React.Component {
2222
iconAnchor: [10, 10],
2323
shadowSize: [0, 0],
2424
className: '',
25-
html: '<img id="player-cursor" src="' + assets.gamemap.playerCursor + '" width="20" />',
25+
html: '<img id="player-cursor-bigmap" src="' + assets.gamemap.playerCursor + '" width="20" />',
2626

2727
})
2828
}
@@ -42,7 +42,7 @@ class BigMap extends React.Component {
4242
}
4343

4444
componentDidUpdate() {
45-
document.querySelector("#player-cursor").style.transform = "rotate(" + (this.props.map.heading + 90) + "deg)";
45+
document.querySelector("#player-cursor-bigmap").style.transform = "rotate(" + (this.props.map.heading + 90) + "deg)";
4646
}
4747

4848
componentDidMount() {
@@ -87,6 +87,7 @@ class BigMap extends React.Component {
8787
<ImageOverlay url={assets.gamemap.map} bounds={[[0,0], [1943,2000]]} />
8888

8989
<Marker style={{transform: "rotate(" + (this.props.map.heading + 90) + "deg)"}}
90+
zIndexOffset={300}
9091
position={[this.worldToMapImgY(this.props.map.characterPosition.y), this.worldToMapImgX(this.props.map.characterPosition.x)]}
9192
icon={this.state.playerIcon} />
9293

0 commit comments

Comments
 (0)