From ec33d482d3bab8d86172dadb2baa7c6634563769 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 19 Jun 2017 16:09:15 -0400 Subject: [PATCH] fix language persistence bug --- ShiftOS.WinForms/Resources/strings_fr.txt | 48 +++++++++++------------ ShiftOS.WinForms/ShiftOS.WinForms.csproj | 5 +++ ShiftOS.WinForms/WFLanguageProvider.cs | 2 +- 3 files changed, 30 insertions(+), 25 deletions(-) diff --git a/ShiftOS.WinForms/Resources/strings_fr.txt b/ShiftOS.WinForms/Resources/strings_fr.txt index 73b5788..1986bcf 100644 --- a/ShiftOS.WinForms/Resources/strings_fr.txt +++ b/ShiftOS.WinForms/Resources/strings_fr.txt @@ -43,35 +43,35 @@ "{ERR_NOTENOUGHCODEPOINTS}": "Tu n'as pas assez de Codepoints à faire cela.", "{ERR_NOUPGRADE}": "Nous ne pouvons pas trouver cela mise à jour.", "{ERR_GENERAL}": "Une erreur a appairé en faisons l'opération.", - "{ERR_EMPTYCATEGORY}": "The category you specified either has no items in it, or was not found.", - "{ERR_NOMOREUPGRADES}": "There are no more Shiftorium Upgrades to show!", - "{ERR_BADWINID}": "You must specify a value between 0 and %max.", - "{ERR_USERFOUND}": "That user already exists.", - "{ERR_NOUSER}": "That user was not found.", - "{ERR_REMOVEYOU}": "You can't remove your own user account.", - "{ERR_BADACL}": "You must specify a value between 0 (guest) and 3 (root) for a user permission.", - "{ERR_ACLHIGHERVALUE}": "You can't set a user's permissions to a value higher than your own.", - "{ERR_HIGHERPERMS}": "That user has more rights than you!", - "{ERR_PASSWD_MISMATCH}": "Passwords don't match!", - "{ERR_SYNTAXERROR}": "Syntax error.", + "{ERR_EMPTYCATEGORY}": "La catégorie tu as précisé solt n'a pas d'objets en la catégorie, solt n'a trouvé pas.", + "{ERR_NOMOREUPGRADES}": "Nous ne sommes pas de mises de jours!", + "{ERR_BADWINID}": "Préciser une valeur en 0 et %max, s'il vous plait.", + "{ERR_USERFOUND}": "Ça personne déjà existe.", + "{ERR_NOUSER}": "Ça personne n'a trouvé.", + "{ERR_REMOVEYOU}": "Tu ne peux pas enlever ton compte de système.", + "{ERR_BADACL}": "Préciser une valeur en 0 (invité) et 3 (dieu) pour une permission de personne.", + "{ERR_ACLHIGHERVALUE}": "Tu ne peux pas mettre une permission de personne au une valeur meilleure que ta permission.", + "{ERR_HIGHERPERMS}": "Ça personne a meilleure permissions que toi!", + "{ERR_PASSWD_MISMATCH}": "Les mots de passe n'asscocier pas!", + "{ERR_SYNTAXERROR}": "Erreur de syntaxe.", //Command results - "{RES_ACLUPDATED}": "User permissions updated.", - "{RES_LANGUAGE_CHANGED}": "System language changed successfully.", - "{RES_NOOBJECTIVES}": "No objectives to display! Check back for more.", - "{RES_UPGRADEINSTALLED}": "Upgrade installed!", - "{RES_WINDOWCLOSED}": "The window was closed.", - "{RES_CREATINGUSER}": "Creating new user with username %name.", - "{RES_REMOVINGUSER}": "Removing user with username %name from your system.", - "{RES_DENIED}": "Access denied.", - "{RES_GRANTED}": "Access granted.", - "{RES_PASSWD_SET}": "Password set successfully.", + "{RES_ACLUPDATED}": "Permissions de personne ont appliqué.", + "{RES_LANGUAGE_CHANGED}": "La langue de système a changé.", + "{RES_NOOBJECTIVES}": "Nous ne sommes pas des objectifs afficher!", + "{RES_UPGRADEINSTALLED}": "Mise de jour a appliqué!", + "{RES_WINDOWCLOSED}": "La programme a se fermé.", + "{RES_CREATINGUSER}": "Nous créons une nouvelle compte avec le nom %name.", + "{RES_REMOVINGUSER}": "Nous sortissons la compte avec le nom %name depuis ton système.", + "{RES_DENIED}": "L'accès a démenti.", + "{RES_GRANTED}": "L'accès a accordé.", + "{RES_PASSWD_SET}": "Le mot de passe a appliqué.", //Shiftorium messages. "{SHFM_UPGRADE}": "%id - %cost Codepoints", - "{SHFM_CATEGORY}": " - %name: %available upgrades left.", - "{SHFM_QUERYERROR}": "Shiftorium Query Error", - "{SHFM_NOUPGRADES}": "No upgrades!", + "{SHFM_CATEGORY}": " - %name: %available mises de jours restants.", + "{SHFM_QUERYERROR}": "Erreur en mettre en doubte de Shiftorium.", + "{SHFM_NOUPGRADES}": "Zèro mises de jours restants!", //Command data strings "{COM_STATUS}": "ShiftOS build %version\r\n\r\nCodepoints: %cp \r\n Upgrades: %installed installed, %available available\r\n\r\n", diff --git a/ShiftOS.WinForms/ShiftOS.WinForms.csproj b/ShiftOS.WinForms/ShiftOS.WinForms.csproj index 8c1accc..a8c25b7 100644 --- a/ShiftOS.WinForms/ShiftOS.WinForms.csproj +++ b/ShiftOS.WinForms/ShiftOS.WinForms.csproj @@ -932,6 +932,11 @@ + + + + +