Fixed french messages encoding in YaCy tray.

Also added the missing french translations.
This commit is contained in:
luccioman 2016-09-09 07:43:33 +02:00
parent 44b4d3984e
commit d66b0f7b7b

View File

@ -233,18 +233,22 @@ public final class Tray {
if (deutsch) if (deutsch)
return "YaCy startet, bitte warten..."; return "YaCy startet, bitte warten...";
else if (french) else if (french)
return "S'il vous pla<6C><61>t attendre jusqu'<27><> YaCy est d<><64>marr<72><72>."; return "YaCy est en cours de démarrage, veuillez patienter...";
else else
return "YaCy is starting, please wait..."; return "YaCy is starting, please wait...";
} }
private String readyMessage() { private String readyMessage() {
if (deutsch) return "YaCy laeuft unter http://localhost:" + sb.getLocalPort(); if (deutsch) return "YaCy laeuft unter http://localhost:" + sb.getLocalPort();
else if(french)
return "YaCy est en cours d'exécution à l'adresse http://localhost:" + sb.getLocalPort();
return "YaCy is running at http://localhost:" + sb.getLocalPort(); return "YaCy is running at http://localhost:" + sb.getLocalPort();
} }
private String shutdownMessage() { private String shutdownMessage() {
if (deutsch) return "YaCy wird beendet, bitte warten..."; if (deutsch) return "YaCy wird beendet, bitte warten...";
else if(french)
return "YaCy est en cours d'arrêt, veuillez patienter...";
return "YaCy will shut down, please wait..."; return "YaCy will shut down, please wait...";
} }
@ -285,7 +289,7 @@ public final class Tray {
if (deutsch) if (deutsch)
label = "YaCy Suche"; label = "YaCy Suche";
else if (french) else if (french)
label = "YaCy Recherche"; label = "Recherche YaCy";
else else
label = "YaCy Search"; label = "YaCy Search";
this.menuItemSearch = new MenuItem(label); this.menuItemSearch = new MenuItem(label);
@ -323,7 +327,7 @@ public final class Tray {
if(deutsch) if(deutsch)
label = "YaCy Beenden"; label = "YaCy Beenden";
else if(french) else if(french)
label = "Arr<EFBFBD><EFBFBD>t YaCy"; label = "Arrêter YaCy";
else else
label = "Shutdown YaCy"; label = "Shutdown YaCy";
this.menuItemTerminate = new MenuItem(label); this.menuItemTerminate = new MenuItem(label);