From 83b35ee9bf1e3f53ad8229e56a58799ba5094fb7 Mon Sep 17 00:00:00 2001 From: nearbyplayer Date: Sun, 3 Sep 2017 00:59:34 -0400 Subject: [PATCH] Update multi-language support --- client/main.lua | 4 ++-- locales/en.lua | 3 ++- locales/fr.lua | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/client/main.lua b/client/main.lua index 8767cde6..e56d2d20 100644 --- a/client/main.lua +++ b/client/main.lua @@ -210,9 +210,9 @@ function GetAction(data) for j = 0, modCount-1, 1 do local _label = '' if j == currentMods[k] then - _label = 'Niveau ' .. j .. ' - '.. _U('installed') ..'' + _label = _U('level') .. j .. ' - '.. _U('installed') ..'' else - _label = 'Niveau ' .. j .. ' - $' .. v.price .. ' ' + _label = _U('level') .. j .. ' - $' .. v.price .. ' ' end table.insert(elements, {label = _label, modType = k, modNum = j}) end diff --git a/locales/en.lua b/locales/en.lua index fcc55277..1b6ff0b9 100644 --- a/locales/en.lua +++ b/locales/en.lua @@ -6,6 +6,7 @@ Locales['en'] = { ['not_enough_money'] = 'you do not have enough money!', ['purchased'] = 'purchased!', ['press_custom'] = 'press ~INPUT_PICKUP~ to personalize your vehicle.', + ['level'] = 'level ', -- Paint Colors -- Black ['black'] = 'black', @@ -207,7 +208,7 @@ Locales['en'] = { ['rightfender'] = 'right fender', ['spoilers'] = 'spoilers', ['sideskirt'] = 'side skirts', - ['frame'] = 'cage', + ['cage'] = 'cage', ['hood'] = 'hood', ['grille'] = 'grille', ['rearbumper'] = 'rear bumper', diff --git a/locales/fr.lua b/locales/fr.lua index 3f1abcef..cb3d713c 100644 --- a/locales/fr.lua +++ b/locales/fr.lua @@ -6,6 +6,7 @@ Locales['fr'] = { ['not_enough_money'] = 'vous n\'avez pas assez d\'argent !', ['purchased'] = 'achat effectué !', ['press_custom'] = 'appuyez sur ~INPUT_PICKUP~ pour personnaliser le véhicule.', + ['level'] = 'niveau ', -- Paint Colors -- Black ['black'] = 'noir', @@ -207,7 +208,7 @@ Locales['fr'] = { ['rightfender'] = 'aile droite', ['spoilers'] = 'aileron', ['sideskirt'] = 'bas de caisse', - ['frame'] = 'cage', + ['cage'] = 'cage', ['hood'] = 'capot', ['grille'] = 'grille', ['rearbumper'] = 'pare-choc arrière',