summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-06-06 01:37:47 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-06-06 01:37:47 -0700
commit111ee7bc600f63fee72bef7ab614f37aa6419491 (patch)
tree4ca8dffe3f036a152a3ea208b4cf7f88fc678f01
parent2b49cff9c356b460efefc1786a13002ad5f028c5 (diff)
parent0dbada51f076f376e3ea625de5b6a0bced0412fe (diff)
Merge branch 'master' of git.saurik.com:cydia
-rw-r--r--MobileCydia.app/Swedish.lproj/Localizable.strings6
-rw-r--r--MobileCydia.app/zh_CN.lproj/Localizable.strings2
-rw-r--r--MobileCydia.app/zh_TW.lproj/Localizable.strings110
-rw-r--r--MobileCydia.mm10
m---------SDURLCache0
-rw-r--r--makefile1
6 files changed, 65 insertions, 64 deletions
diff --git a/MobileCydia.app/Swedish.lproj/Localizable.strings b/MobileCydia.app/Swedish.lproj/Localizable.strings
index 5a62319..4d29c0b 100644
--- a/MobileCydia.app/Swedish.lproj/Localizable.strings
+++ b/MobileCydia.app/Swedish.lproj/Localizable.strings
@@ -28,7 +28,7 @@
"COMMA_DELIMITED" = "%@, %@";
"COMING_SOON" = "Kommer snart!";
"COMPLETE" = "Klar";
-"COMPLETE_UPGRADE" = "Uppgraderingen avklarad";
+"COMPLETE_UPGRADE" = "Uppgradera allt";
"CONFIGURATION_UPGRADE" = "Uppgradering av konfiguration";
"CONFIGURATION_UPGRADE_EX" = "Följande fil har ändrats av både paketägaren och av dig (eller för dig av ett skript).";
"COMMERCIAL_APPLICATIONS" = "Kommersiella applikationer";
@@ -141,7 +141,7 @@
"QUEUED_FOR" = "Köad för %@";
"QUESTION" = "%@?";
"REBOOT_DEVICE" = "Starta om enheten";
-"RECENT_CHANGES_UPDATES" = "Senaste ändringarna/uppdateringarna";
+"RECENT_CHANGES_UPDATES" = "Senaste ändringarna/uppgraderingarna";
"RECOMMENDED_BOOKS" = "Rekommenderade böcker";
"REFRESH" = "Uppdatera";
"REFRESHING_DATA" = "Uppdaterar data";
@@ -202,7 +202,7 @@
"UPDATING_DATABASE" = "Uppdaterar databasen";
"UPDATING_SOURCES" = "Uppdaterar källorna";
"UPGRADE" = "Uppdatera";
-"UPGRADE_ESSENTIAL" = "Uppdatera grundläggande";
+"UPGRADE_ESSENTIAL" = "Uppgradera grundläggande";
"UPGRADING_TO_READ_THIS" = "Uppdatering till %@? Läs följande";
"USER" = "Användare";
"USER_EX" = "Appar, Anpassningar, och Teman.";
diff --git a/MobileCydia.app/zh_CN.lproj/Localizable.strings b/MobileCydia.app/zh_CN.lproj/Localizable.strings
index f7cecbc..d3a1e60 100644
--- a/MobileCydia.app/zh_CN.lproj/Localizable.strings
+++ b/MobileCydia.app/zh_CN.lproj/Localizable.strings
@@ -145,7 +145,7 @@
"REFRESH" = "刷新";
"REFRESHING_DATA" = "刷新数据";
"REINSTALL" = "重新安装";
-"RELOAD" = "重建加载";
+"RELOAD" = "重新加载";
"RELOADING_DATA" = "重新加载数据";
"RELOAD_SPRINGBOARD" = "重新加载 SpringBoard";
"REMOVE" = "卸载";
diff --git a/MobileCydia.app/zh_TW.lproj/Localizable.strings b/MobileCydia.app/zh_TW.lproj/Localizable.strings
index 8a76185..b0c3eb1 100644
--- a/MobileCydia.app/zh_TW.lproj/Localizable.strings
+++ b/MobileCydia.app/zh_TW.lproj/Localizable.strings
@@ -1,12 +1,12 @@
"ABOUT" = "關於";
"ABOUT_CYDIA" = "關於 Cydia Installer";
"ACCEPT_NEW_COPY" = "接受新的副本";
-"ADD" = "添加";
-"ADD_ANYWAY" = "仍然添加";
-"ADD_SOURCE" = "添加源";
+"ADD" = "新增";
+"ADD_ANYWAY" = "仍然新增";
+"ADD_SOURCE" = "新增源";
"ADMINISTRATIVE_INFORMATION" = "管理資訊";
"ADVANCED_SEARCH" = "進階搜尋";
-"ALL_PACKAGES" = "所有軟體包";
+"ALL_PACKAGES" = "所有套件";
"APPLE" = "Apple";
"AUTHOR" = "作者";
"AVAILABLE_UPGRADES" = "可用更新";
@@ -16,10 +16,10 @@
"CANCEL_CLEAR" = "取消並清除";
"CANCEL_OPERATION" = "取消操作";
"CANNOT_COMPLY" = "無法執行";
-"CANNOT_COMPLY_EX" = "因所依賴的軟體包未找到或存在衝突軟體包,操作無法完成。";
-"CANNOT_LOCATE_PACKAGE" = "找不到軟體包";
+"CANNOT_COMPLY_EX" = "因所依賴的套件未找到或存在衝突套件,操作無法完成。";
+"CANNOT_LOCATE_PACKAGE" = "找不到套件";
"CHANGES" = "變更";
-"CHANGE_PACKAGE_SETTINGS" = "更改軟體包設定";
+"CHANGE_PACKAGE_SETTINGS" = "更改套件設定";
"CLEAN_ARCHIVES" = "清除存檔";
"CLEAR" = "清除";
"CLOSE" = "關閉";
@@ -31,16 +31,16 @@
"COMPLETE" = "完成";
"COMPLETE_UPGRADE" = "全部更新";
"CONFIGURATION_UPGRADE" = "更新設定";
-"CONFIGURATION_UPGRADE_EX" = "下列檔案已被軟體包維護者和您自己(或腳本)更改過。";
+"CONFIGURATION_UPGRADE_EX" = "下列檔案已被套件維護者和您自己(或安裝指令)更改過。";
"CONFIRM" = "確認";
"CONSOLE_PACKAGE" = "終端程式";
"CONSOLE_UTILITIES_DAEMONS" = "終端工具及駐留進程";
-"CONTINUE_QUEUING" = "繼續隊列";
+"CONTINUE_QUEUING" = "繼續安裝佇列";
"COUNTS_NONZERO_EX" = "我只不過計算了一些看起來很重要的數值,而且這些數值加起來不為零。這很嚇人。我不知道我為什麼不喜歡這樣,但我仍然認為 APT 應該是很穩定的,這個不應該發生。";
"CREDITS" = "軟體資訊";
"CYDIA_STORE" = "Cydia 線上商店";
"DATABASE" = "資料庫";
-"DETAILS" = "詳情";
+"DETAILS" = "資訊";
"DEVELOPER" = "開發者";
"DEVELOPERS_ONLY" = "僅限開發者";
"DEVELOPER_EX" = "所有內容,包括底層的內容。";
@@ -54,50 +54,50 @@
"DOWNLOADING_" = "下載 %@";
"EDIT" = "編輯";
"ELISION" = "%@…";
-"ENTERED_BY_USER" = "由用戶添加";
+"ENTERED_BY_USER" = "由使用者新增";
"ENTER_APT_URL" = "輸入 Cydia/APT URL";
"ERROR" = "錯誤";
"ESSENTIAL_UPGRADE" = "必要更新";
"ESSENTIAL_UPGRADES" = "%d 個必要更新";
-"ESSENTIAL_UPGRADE_EX" = "一個或多個必要軟體包已過期,不更新有可能會導致系統錯誤。";
+"ESSENTIAL_UPGRADE_EX" = "一個或多個必要套件已過期,不更新有可能會導致系統錯誤。";
"EXCLAMATION" = "%@!";
"EXIT_WHEN_COMPLETE" = "(Cydia 會在完成時退出。)";
-"EXPANDED_SIZE" = "展開大小";
-"EXPERT" = "專業人士";
+"EXPANDED_SIZE" = "安裝大小";
+"EXPERT" = "進階";
"FAQ" = "常見問題";
-"FEATURED_PACKAGES" = "精選軟體包";
+"FEATURED_PACKAGES" = "精選套件";
"FEATURED_THEMES" = "精選佈景";
"FILES" = "檔案";
-"FILESYSTEM_CONTENT" = "檔案系統";
+"FILESYSTEM_CONTENT" = "檔案內容";
"FILES_INSTALLED_TO" = "檔案安裝到 %@";
"FOLLOW_ON_TWITTER" = "在 Twitter 上收聽 %@";
"FORCE_REMOVAL" = "強制移除";
"FORCIBLY_CLEAR" = "強制清除";
"FREE_APPLICATIONS" = "免費軟體";
-"FREE_EXTENSIONS" = "免費擴展";
+"FREE_EXTENSIONS" = "免費外掛";
"FREQUENTLY_ASKED_QUESTIONS" = "常見問題";
"FROM" = "來自 %@";
"FROWNY_PANTS" = "Frowny Pants";
"FUTURE_FEATURE_ROADMAP" = "開發路線圖";
-"HACKER" = "Hacker";
-"HACKER_EX" = "添加終端工具。";
-"HALFINSTALLED_PACKAGE" = "半安裝軟體包";
-"HALFINSTALLED_PACKAGES" = "%d 個半安裝軟體包";
-"HALFINSTALLED_PACKAGE_EX" = "若軟體包的腳本執行失敗,該軟體包便會成為“半配置”或“半安裝”狀態。這些錯誤不會自行消失,並可能造成持續的影響。您可以先手動刪除有錯誤的腳本,然後強制移除軟體包。";
+"HACKER" = "進階";
+"HACKER_EX" = "新增終端工具。";
+"HALFINSTALLED_PACKAGE" = "半安裝套件";
+"HALFINSTALLED_PACKAGES" = "%d 個半安裝套件";
+"HALFINSTALLED_PACKAGE_EX" = "若套件的安裝指令執行失敗,該套件便會成為“半配置”或“半安裝”狀態。這些錯誤不會自行消失,並可能造成後續的影響。您可以先手動刪除有錯誤的安裝指令,然後強制移除套件。";
"HOME" = "主頁";
-"ID" = "標識";
+"ID" = "ID";
"IGNORED_UPGRADES" = "已忽略的更新";
"IGNORE_UPGRADES" = "忽略更新";
-"IGNORE_UPGRADES_EX" = "選擇全部更新時排除該軟體包。";
-"ILLEGAL_PACKAGE_IDENTIFIER" = "非法軟體包標識";
+"IGNORE_UPGRADES_EX" = "選擇全部更新時排除該套件。";
+"ILLEGAL_PACKAGE_IDENTIFIER" = "非法套件ID";
"INSTALL" = "安裝";
"INSTALLED" = "已安裝";
-"INSTALLED_BY_PACKAGE" = "由軟體包安裝";
-"INSTALLED_DETAILS" = "已安裝軟體包";
+"INSTALLED_BY_PACKAGE" = "由套件安裝";
+"INSTALLED_DETAILS" = "已安裝套件";
"INSTALLED_FILES" = "已安裝檔案";
"KEEP_OLD_COPY" = "保留舊的副本";
"LOADING" = "載入中";
-"LOADING_DATA" = "加載數據";
+"LOADING_DATA" = "載入資料";
"LOCAL" = "本地";
"LOGIN" = "登入";
"MAILING_LISTS" = "郵件列表";
@@ -117,17 +117,17 @@
"NOTE" = "記錄";
"NOT_RATED" = "未評級";
"NOT_REPOSITORY" = "未找到軟體源";
-"NOT_REPOSITORY_EX" = "軟體源未找到。可能是因為您添加的是 Cydia 不支援的 Installer 軟體源。並且,此介面僅適用於完整的軟體源網路位址。如果您自己搭建了一個軟體源,歡迎聯繫 Cydia 的作者。";
+"NOT_REPOSITORY_EX" = "軟體源未找到。可能是因為您新增的是 Cydia 不支援的 Installer 軟體源。並且,此介面僅適用於完整的軟體源網路位址。如果您自己搭建了一個軟體源,歡迎聯繫 Cydia 的作者。";
"NO_SECTION" = "(無分類)";
"OK" = "確定";
"OKAY" = "確定";
-"PACKAGES" = "軟體包";
-"PACKAGES_EX" = "查看或卸載已安裝的軟體包。";
-"PACKAGE_CANNOT_BE_FOUND" = "在當前軟體源中無法找到軟體包:\n%@\n添加更多軟體源或許能夠解決此問題。";
-"PACKAGE_CANNOT_BE_FOUND_EX" = "該問題亦可能由其它因素引起。最常見的情況是您的軟體包目錄已過期。請點擊“變更”中的“刷新”按鈕以手動刷新目錄。該軟體包也許不存在。也有可能是您使用的是較老的韌體版本:用戶應該儘量根據 Apple 官方資訊保持韌體的更新。";
-"PACKAGE_DAMAGED" = "軟體包已損壞";
-"PACKAGE_DETAILS" = "軟體包詳情";
-"PACKAGE_QUEUE" = "軟體包隊列";
+"PACKAGES" = "安裝套件";
+"PACKAGES_EX" = "查看或移除已安裝的套件。";
+"PACKAGE_CANNOT_BE_FOUND" = "在當前軟體源中無法找到套件:\n%@\n新增更多軟體源或許能夠解決此問題。";
+"PACKAGE_CANNOT_BE_FOUND_EX" = "該問題亦可能由其它因素引起。最常見的情況是您的套件目錄已過期。請點擊“變更”中的“刷新”按鈕以手動刷新目錄。該套件也許不存在。也有可能是您使用的是較老的韌體版本:使用者應該儘量根據 Apple 官方資訊保持韌體的更新。";
+"PACKAGE_DAMAGED" = "套件已損壞";
+"PACKAGE_DETAILS" = "套件資訊";
+"PACKAGE_QUEUE" = "套件安裝佇列";
"PARENTHETICAL" = "%@(%@)";
"PASSWORD" = "密碼";
"PERFORM_SELECTIONS" = "執行選定";
@@ -136,9 +136,9 @@
"PRODUCTS" = "產品";
"PURGE" = "清除";
"QUESTION" = "%@?";
-"QUEUE" = "隊列";
-"QUEUED_FOR" = "隊列 %@";
-"Q_D" = "隊列";
+"QUEUE" = "安裝佇列";
+"QUEUED_FOR" = "安裝佇列 %@";
+"Q_D" = "安裝佇列";
"REBOOT_DEVICE" = "重啟設備";
"RECENT_CHANGES_UPDATES" = "最近更新";
"RECOMMENDED_BOOKS" = "推薦書目";
@@ -146,20 +146,20 @@
"REFRESHING_DATA" = "更新資料";
"REINSTALL" = "重新安裝";
"RELOAD" = "重新載入";
-"RELOADING_DATA" = "重新載入數據";
+"RELOADING_DATA" = "更新資料";
"RELOAD_SPRINGBOARD" = "重新載入 SpringBoard";
"REMOVE" = "移除";
-"REMOVING_ESSENTIALS" = "移除必要軟體包";
-"REMOVING_ESSENTIALS_EX" = "此操作涉及卸載一個或多個 Cydia 或 iPhoneOS 運行所必需的軟體包。如果繼續操作,您可能無法使用 Cydia 修復任何錯誤。";
+"REMOVING_ESSENTIALS" = "移除必要套件";
+"REMOVING_ESSENTIALS_EX" = "此操作涉及移除一個或多個 Cydia 或 iOS 運行所必需的套件。如果繼續操作,您可能無法使用 Cydia 修復任何錯誤。";
"REPAIRING" = "修復";
"REPOSITORY_SIGNATURE" = "查看軟體源簽名";
"REQUEST_ADVERTISING_SPACE" = "獲取廣告欄";
"REQUIREMENTS_FOR_LISTING" = "列表需求";
"RESTART_SPRINGBOARD" = "重啟 SpringBoard";
-"RESUBMIT_FORM" = "您確定要再次提交此表格?";
+"RESUBMIT_FORM" = "您確定要再次送出此表格?";
"RESUMING_AT" = "繼續在";
"RETURN_TO_CYDIA" = "回到 Cydia";
-"ROLE_EX" = "Cydia 中可下載的軟體包並非為所有用戶而設計,因此請明確自己的身份以説明 Cydia 過濾顯示某些軟體包。\n\n該項設定可在“管理”標簽(iPhone 或 iPod Touch)或“軟體源”標簽(iPad)中的“設定”更改。";
+"ROLE_EX" = "Cydia 中可下載的套件並非為所有使用者而設計,因此請明確自己的身份以説明 Cydia 過濾顯示某些套件。\n\n該項設定可在“管理”標籤(iPhone 或 iPod Touch)或“軟體源”標籤(iPad)中的“設定”更改。";
"RUNNING" = "運行中";
"SAFE" = "安全";
"SAMPLE" = "示例";
@@ -171,30 +171,30 @@
"SECTION" = "分類";
"SECTIONS" = "分類";
"SECTION_VISIBILITY" = "可見分類";
-"SEE_WHAT_CHANGED" = "查看更新詳情";
+"SEE_WHAT_CHANGED" = "查看更新資訊";
"SETTINGS" = "設定";
"SHOW_ALL_CHANGES" = "顯示所有變更";
-"SHOW_ALL_CHANGES_EX" = "Cydia 只會顯示已安裝軟體包的更新以避免某些軟體發展者的騷擾。\n\n啟用此選項以使 Cydia 顯示未安裝軟體包的更新。";
-"SIGNED_PACKAGE" = "此軟體包已通過驗證。";
+"SHOW_ALL_CHANGES_EX" = "Cydia 只會顯示已安裝套件的更新以避免某些軟體開發者的騷擾。\n\n啟用此選項以使 Cydia 顯示未安裝套件的更新。";
+"SIGNED_PACKAGE" = "此套件已通過驗證。";
"SIMPLE" = "簡單";
"SINGLE_QUOTED" = "‘%@’";
"SLASH_DELIMITED" = "%@ / %@";
"SOURCES" = "軟體源";
-"SOURCES_EX" = "列出現有軟體源或添加軟體源。";
+"SOURCES_EX" = "列出現有軟體源或新增軟體源。";
"SOURCE_DETAILS" = "軟體源資訊";
"SOURCE_WARNING" = "軟體源警告";
"SPONSOR" = "保證";
"SPONSORING_PRODUCTS" = "保證產品";
"STATISTICS" = "統計資料";
"STILL_BROKEN_EX" = "嘗試修正損壞選擇失敗。";
-"STORAGE" = "存儲詳情";
-"STORAGE_EX" = "查看您還有多少剩餘空間以供安裝新的軟體包。";
-"SUBMIT" = "提交";
+"STORAGE" = "儲存空間資訊";
+"STORAGE_EX" = "查看您還有多少剩餘空間以供安裝新的套件。";
+"SUBMIT" = "送出";
"SUPPORT_KNOWN_ISSUES" = "支持與已知問題";
"TEMPORARY_IGNORE" = "暫時忽略";
"THANK_YOU" = "感謝";
"UNABLE_TO_COMPLY" = "無法執行";
-"UNABLE_TO_COMPLY_EX" = "此操作涉及卸載一個或多個 Cydia 或 iPhoneOS 運行所必需的軟體包。如果您確定要繼續強制執行此操作,請在設定中打開進階模式。";
+"UNABLE_TO_COMPLY_EX" = "此操作涉及移除一個或多個 Cydia 或 iPhoneOS 運行所必需的套件。如果您確定要繼續強制執行此操作,請在設定中打開進階模式。";
"UNABLE_TO_LOAD" = "無法載入";
"UNKNOWN" = "未知";
"UNSAFE" = "不安全";
@@ -203,14 +203,14 @@
"UPGRADE" = "更新";
"UPGRADE_ESSENTIAL" = "必要更新";
"UPGRADING_TO_READ_THIS" = "升級到 %@?先看看這個";
-"USER" = "用戶";
-"USERNAME" = "用戶名";
+"USER" = "使用者";
+"USERNAME" = "使用者名稱";
"USER_EX" = "軟體、工具和佈景。";
"USER_GUIDES" = "使用者指南";
"VERIFICATION_ERROR" = "驗證錯誤";
"VERIFYING_URL" = "正在驗證 URL";
"VERSION" = "版本";
"WARNING" = "警告";
-"WELCOME_TO_CYDIA" = "歡飲使用 Cydia™";
+"WELCOME_TO_CYDIA" = "歡迎使用 Cydia™";
"WHO_ARE_YOU" = "您的身份是?";
"YES" = "是";
diff --git a/MobileCydia.mm b/MobileCydia.mm
index ea858e9..1acb5ea 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -4470,7 +4470,7 @@ static _H<NSMutableSet> Diversions_;
}
- (NSString *) substitutePackageNames:(NSString *)message {
- NSMutableArray *words([[message componentsSeparatedByString:@" "] mutableCopy]);
+ NSMutableArray *words([[[message componentsSeparatedByString:@" "] mutableCopy] autorelease]);
for (size_t i(0), e([words count]); i != e; ++i) {
NSString *word([words objectAtIndex:i]);
if (Package *package = [[Database sharedInstance] packageWithName:word])
@@ -4646,7 +4646,7 @@ static _H<NSMutableSet> Diversions_;
}
+ (NSURLRequest *) requestWithHeaders:(NSURLRequest *)request {
- NSMutableURLRequest *copy([request mutableCopy]);
+ NSMutableURLRequest *copy([[request mutableCopy] autorelease]);
NSURL *url([copy URL]);
NSString *href([url absoluteString]);
@@ -6902,7 +6902,7 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
} return;
}
- NSMutableArray *controllers = [[self viewControllers] mutableCopy];
+ NSMutableArray *controllers = [[[self viewControllers] mutableCopy] autorelease];
if (transient != nil) {
UINavigationController *navigation([[[UINavigationController alloc] init] autorelease]);
[navigation setViewControllers:[NSArray arrayWithObject:transient]];
@@ -10254,7 +10254,7 @@ _trace();
[self disemulate];
int savedIndex = [[Metadata_ objectForKey:@"InterfaceIndex"] intValue];
- NSArray *saved = [[Metadata_ objectForKey:@"InterfaceState"] mutableCopy];
+ NSArray *saved = [[[Metadata_ objectForKey:@"InterfaceState"] mutableCopy] autorelease];
int standardIndex = 0;
NSArray *standard = [self defaultStartPages];
@@ -10407,7 +10407,7 @@ MSHook(void *, CFXPreferencesPropertyListSource$createPlistFromDisk, CFXPreferen
Class $NSURLConnection;
MSHook(id, NSURLConnection$init$, NSURLConnection *self, SEL _cmd, NSURLRequest *request, id delegate, BOOL usesCache, int64_t maxContentLength, BOOL startImmediately, NSDictionary *connectionProperties) {
- NSMutableURLRequest *copy([request mutableCopy]);
+ NSMutableURLRequest *copy([[request mutableCopy] autorelease]);
NSURL *url([copy URL]);
diff --git a/SDURLCache b/SDURLCache
-Subproject fc6417ef3ce6cc1749e5313168f512290788dff
+Subproject 0544cf53dd9cfdb33d55df13668869b341d3253
diff --git a/makefile b/makefile
index be9ae5f..f7933f7 100644
--- a/makefile
+++ b/makefile
@@ -121,6 +121,7 @@ sysroot: sysroot.sh
MobileCydia: sysroot $(object) entitlements.xml
@echo "[link] $(object:Objects/%=%)"
@$(cycc) $(filter %.o,$^) $(flags) $(link) $(uikit)
+ @mkdir -p bins
@cp -a $@ bins/$@-$(version)
@echo "[strp] $@"
@strip -no_uuid $@