From: Jay Freeman (saurik) Date: Fri, 19 Nov 2010 00:12:58 +0000 (-0800) Subject: Fix localization of LOADING_DATA (use ELISION+LOADING for 'Loading...'). X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/835b451e2452a46e5eddfed0e8acffec7747c9fa?ds=sidebyside Fix localization of LOADING_DATA (use ELISION+LOADING for 'Loading...'). --- diff --git a/MobileCydia.app/English.lproj/Localizable.strings b/MobileCydia.app/English.lproj/Localizable.strings index 5ef655e5..b1792a5e 100644 --- a/MobileCydia.app/English.lproj/Localizable.strings +++ b/MobileCydia.app/English.lproj/Localizable.strings @@ -53,6 +53,7 @@ "DOWNLOADING" = "Downloading"; "DOWNLOADING_" = "Downloading %@"; "EDIT" = "Edit"; +"ELISION" = "%@..."; "ENTER_APT_URL" = "Enter Cydia/APT URL"; "ENTERED_BY_USER" = "Entered by User"; "ERROR" = "Error"; @@ -93,7 +94,7 @@ "INSTALLED_FILES" = "Installed Files"; "KEEP_OLD_COPY" = "Keep My Old Copy"; "LOADING" = "Loading"; -"LOADING_DATA" = "Loading..."; +"LOADING_DATA" = "Loading Data"; "LOCAL" = "Local"; "LOGIN" = "Login"; "MAILING_LISTS" = "Mailing Lists"; diff --git a/MobileCydia.app/French.lproj/Localizable.strings b/MobileCydia.app/French.lproj/Localizable.strings index bdd6988d..926fcece 100644 --- a/MobileCydia.app/French.lproj/Localizable.strings +++ b/MobileCydia.app/French.lproj/Localizable.strings @@ -53,6 +53,7 @@ "DOWNLOADING" = "Télécharger"; "DOWNLOADING_" = "Téléchargement de %@ en cours"; "EDIT" = "Modifier"; +"ELISION" = "%@..."; "ENTER_APT_URL" = "Entrez une adresse Cydia/APT"; "ENTERED_BY_USER" = "Entré par l'utilisateur"; "ERROR" = "Erreur"; diff --git a/MobileCydia.app/German.lproj/Localizable.strings b/MobileCydia.app/German.lproj/Localizable.strings index 78a818ca..d6a92e2c 100644 --- a/MobileCydia.app/German.lproj/Localizable.strings +++ b/MobileCydia.app/German.lproj/Localizable.strings @@ -53,6 +53,7 @@ "DOWNLOADING" = "Lädt"; "DOWNLOADING_" = "Lädt %@ herunter"; "EDIT" = "Bearbeiten"; +"ELISION" = "%@..."; "ENTER_APT_URL" = "Cydia/APT URL eingeben"; "ENTERED_BY_USER" = "Vom Benutzer eingegeben"; "ERROR" = "Fehler"; diff --git a/MobileCydia.mm b/MobileCydia.mm index 540f9815..a3b9cddf 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -2923,6 +2923,7 @@ struct PackageNameOrdering : /* }}} */ static NSString *Colon_; +static NSString *Elision_; static NSString *Error_; static NSString *Warning_; @@ -8737,7 +8738,7 @@ _trace(); [label setTextColor:[UIColor blackColor]]; [label setShadowColor:[UIColor whiteColor]]; [label setShadowOffset:CGSizeMake(0, 1)]; - [label setText:UCLocalize("LOADING_DATA")]; + [label setText:[NSString stringWithFormat:Elision_, UCLocalize("LOADING"), nil]]; [container addSubview:label]; CGSize viewsize = [[tabbar_ view] frame].size; @@ -9102,6 +9103,7 @@ int main(int argc, char *argv[]) { _pooled /* }}} */ Colon_ = UCLocalize("COLON_DELIMITED"); + Elision_ = UCLocalize("ELISION"); Error_ = UCLocalize("ERROR"); Warning_ = UCLocalize("WARNING");