From 50b52bf93de1b87ed7aff4e3646deffca18dfd91 Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Sat, 5 Sep 2015 13:13:59 +0100 Subject: [PATCH] Localization fixes. --- L10n/fr.strings | 5 +---- L10n/pl.strings | 5 +---- companion.py | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/L10n/fr.strings b/L10n/fr.strings index 4ceac88c..56ee1351 100644 --- a/L10n/fr.strings +++ b/L10n/fr.strings @@ -52,9 +52,6 @@ /* [prefs.py:96] */ "Flight log" = "Journal de vol"; -/* Shouldn't happen. [companion.py:176] */ -"General error" = "Erreur générale"; - /* [prefs.py:113] */ "How do you want to be identified in the saved data" = "Comment voulez-vous être identifié dans les données sauvegardées ?"; @@ -83,7 +80,7 @@ "Password" = "Mot de passe"; /* [prefs.py:82] */ -"Please choose what data to save" = "Please choose what data to save"; +"Please choose what data to save" = "Veuillez choisir les données à sauvegarder"; /* Use same text as E:D Launcher's verification dialog. [prefs.py:211] */ "Please enter the code into the box below." = "Veuillez entrer ce code dans le champ ci-dessus."; diff --git a/L10n/pl.strings b/L10n/pl.strings index b1a02328..d2270777 100644 --- a/L10n/pl.strings +++ b/L10n/pl.strings @@ -52,9 +52,6 @@ /* [prefs.py:96] */ "Flight log" = "Dziennik lotu"; -/* Shouldn't happen. [companion.py:176] */ -"General error" = "Błąd ogólny"; - /* [prefs.py:113] */ "How do you want to be identified in the saved data" = "Twój identyfikator w zapisanych danych"; @@ -68,7 +65,7 @@ "Market data in CSV format" = "Dane rynkowe w formacie CSV"; /* [prefs.py:86] */ -"Market data in Slopey's BPC format" = "Dane rynkowe fo formacie Slopey's BPC"; +"Market data in Slopey's BPC format" = "Dane rynkowe w formacie Slopey's BPC"; /* [prefs.py:88] */ "Market data in Trade Dangerous format" = "Dane rynkowe w formacie Trade Dangerous"; diff --git a/companion.py b/companion.py index 59debd41..4fe8e472 100644 --- a/companion.py +++ b/companion.py @@ -173,7 +173,7 @@ class Session: def query(self): if self.state == Session.STATE_NONE: - raise Exception(_('General error')) # Shouldn't happen + raise Exception('General error') # Shouldn't happen - don't bother localizing elif self.state == Session.STATE_INIT: self.login() elif self.state == Session.STATE_AUTH: