diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2016-12-29 21:52:35 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2016-12-29 21:52:35 -0800 |
commit | f886c114ebd1027618550e23b2517876a1c20ef6 (patch) | |
tree | 9f51dc99904e4f7180d8edf2f978a68c067f0f5a | |
parent | 6220fd7da99b2edf6b1c6e98e65b45216a32e7af (diff) |
Further work to improve language configuration :/.v1.1.28%b3
-rw-r--r-- | MobileCydia.mm | 5 | ||||
m--------- | apt | 0 |
2 files changed, 2 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 2a694ee..ce79ef7 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -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 -Subproject 22c5f99a6119eeef30e1ddee3262bc942d05545 +Subproject 9fe917c7ea24a626c97fcd9cda39743440a4cbf |