]> git.saurik.com Git - cydia.git/commitdiff
Further work to improve language configuration :/. v1.1.28%b3
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 30 Dec 2016 05:52:35 +0000 (21:52 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 30 Dec 2016 05:52:35 +0000 (21:52 -0800)
MobileCydia.mm
apt

index 2a694ee6f76b446dd59f2f26cacce541f731abb2..ce79ef78346eeb87778263f96c47f525c6d96d7c 100644 (file)
@@ -10325,7 +10325,7 @@ int main(int argc, char *argv[]) {
         }
 
     languages += "en";
-    NSLog(@"Setting Language: %s", languages.c_str());
+    NSLog(@"Setting Language: [%s] %s", translation, languages.c_str());
     /* }}} */
     /* Index Collation {{{ */
     if (Class $UILocalizedIndexedCollation = objc_getClass("UILocalizedIndexedCollation")) { @try {
@@ -10579,8 +10579,7 @@ int main(int argc, char *argv[]) {
 
     if (translation != NULL)
         _config->Set("APT::Acquire::Translation", translation);
-    if (!languages.empty())
-        _config->Set("Acquire::Languages", languages);
+    _config->Set("Acquire::Languages", languages);
 
     // XXX: this timeout might be important :(
     //_config->Set("Acquire::http::Timeout", 15);
diff --git a/apt b/apt
index 22c5f99a6119eeef30e1ddee3262bc942d055455..9fe917c7ea24a626c97fcd9cda39743440a4cbfc 160000 (submodule)
--- a/apt
+++ b/apt
@@ -1 +1 @@
-Subproject commit 22c5f99a6119eeef30e1ddee3262bc942d055455
+Subproject commit 9fe917c7ea24a626c97fcd9cda39743440a4cbfc