Skip to content

Commit

Permalink
Update translations for zh-HK (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
alienator88 authored Dec 16, 2024
2 parents 4faefa6 + f07ec68 commit f5e8253
Show file tree
Hide file tree
Showing 3 changed files with 151 additions and 15 deletions.
4 changes: 4 additions & 0 deletions Pearcleaner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
C7F8436C2CBF066F00E3E30A /* Localizable.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = C7F8436A2CBF066F00E3E30A /* Localizable.xcstrings */; };
C7FB173B2B96321300B96F9A /* AppsListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7FB173A2B96321300B96F9A /* AppsListView.swift */; };
C7FEBA112BDC422200AE195F /* AppSearchView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7FEBA102BDC422200AE195F /* AppSearchView.swift */; };
CE0934E32CFE9B9C00073AEB /* InfoPlist.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = CE0934E22CFE9B9C00073AEB /* InfoPlist.xcstrings */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -143,6 +144,7 @@
C7F8436A2CBF066F00E3E30A /* Localizable.xcstrings */ = {isa = PBXFileReference; lastKnownFileType = text.json.xcstrings; path = Localizable.xcstrings; sourceTree = "<group>"; };
C7FB173A2B96321300B96F9A /* AppsListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppsListView.swift; sourceTree = "<group>"; };
C7FEBA102BDC422200AE195F /* AppSearchView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppSearchView.swift; sourceTree = "<group>"; };
CE0934E22CFE9B9C00073AEB /* InfoPlist.xcstrings */ = {isa = PBXFileReference; lastKnownFileType = text.json.xcstrings; path = InfoPlist.xcstrings; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -233,6 +235,7 @@
C77B90242AF2D796009CC655 /* Pearcleaner.entitlements */,
C77B90072AF18E2F009CC655 /* Assets.xcassets */,
C7F8436A2CBF066F00E3E30A /* Localizable.xcstrings */,
CE0934E22CFE9B9C00073AEB /* InfoPlist.xcstrings */,
);
path = Resources;
sourceTree = "<group>";
Expand Down Expand Up @@ -425,6 +428,7 @@
files = (
C77B90082AF18E2F009CC655 /* Assets.xcassets in Resources */,
C7A27E812AFD7C4600166168 /* com.alienator88.PearcleanerSentinel.plist in Resources */,
CE0934E32CFE9B9C00073AEB /* InfoPlist.xcstrings in Resources */,
C7F8436B2CBF066F00E3E30A /* Localizable.xcstrings in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
114 changes: 114 additions & 0 deletions Pearcleaner/Resources/InfoPlist.xcstrings
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"sourceLanguage" : "en",
"strings" : {
"CFBundleDisplayName" : {
"comment" : "Bundle display name",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Pearcleaner"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "Pearcleaner"
}
}
}
},
"CFBundleGetInfoString" : {
"comment" : "Get Info string",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : ""
}
}
}
},
"CFBundleName" : {
"comment" : "Bundle name",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Pearcleaner"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "Pearcleaner"
}
}
}
},
"NSAppleEventsUsageDescription" : {
"comment" : "Privacy - AppleEvents Sending Usage Description",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Pearcleaner needs to send Apple Events to Finder to delete files"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "Pearcleaner 需要將 Apple Event 傳送至 Finder 以刪除檔案"
}
}
}
},
"NSHumanReadableCopyright" : {
"comment" : "Copyright (human-readable)",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : ""
}
}
}
},
"NSSystemAdministrationUsageDescription" : {
"comment" : "Privacy - System Administration Usage Description",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Pearcleaner requires full disk access to be able to delete files in locations with no permission"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "Pearcleaner 需要完整磁碟取用權限才能在沒有權限的位置刪除檔案"
}
}
}
},
"NSSystemExtensionUsageDescription" : {
"comment" : "Privacy - System Extension Usage Description",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : ""
}
}
}
}
},
"version" : "1.0"
}
48 changes: 33 additions & 15 deletions Pearcleaner/Resources/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "加入搜尋單獨檔案時會忽略的檔案或資料夾。按一下路徑以將其從列表中移除。"
"value" : "加入搜尋孤立檔案時會忽略的檔案或資料夾。按一下路徑以將其從列表中移除。"
}
}
}
Expand Down Expand Up @@ -2207,7 +2207,14 @@
}
},
"Debug Console" : {

"localizations" : {
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "除錯主控台"
}
}
}
},
"Delete all files within this folder" : {
"localizations" : {
Expand Down Expand Up @@ -2238,7 +2245,7 @@
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "刪除此資料夾內所有檔案"
"value" : "刪除此資料夾內的全部檔案"
}
}
}
Expand Down Expand Up @@ -3104,7 +3111,7 @@
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "從單獨檔案搜尋中排除這些檔案與資料夾"
"value" : "從孤立檔案搜尋中排除這些檔案與資料夾"
}
}
}
Expand Down Expand Up @@ -3403,7 +3410,7 @@
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "正在尋找單獨檔案,請稍候⋯"
"value" : "正在尋找孤立檔案,請稍候⋯"
}
}
}
Expand Down Expand Up @@ -3437,7 +3444,7 @@
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "資料夾為空"
"value" : "資料夾是空的"
}
}
}
Expand Down Expand Up @@ -4000,7 +4007,7 @@
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "懸停搜索"
"value" : "懸浮以搜尋"
}
}
}
Expand Down Expand Up @@ -5901,7 +5908,7 @@
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "没有新宣佈"
"value" : "沒有新宣佈"
}
}
}
Expand Down Expand Up @@ -5935,7 +5942,7 @@
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "未找到孤立檔案"
"value" : "找不到孤立檔案"
}
}
}
Expand Down Expand Up @@ -6140,7 +6147,7 @@
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "未找到"
"value" : "找不到"
}
}
}
Expand Down Expand Up @@ -6398,7 +6405,7 @@
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "單獨檔案搜尋並非 100% 準確,因為它沒有任何解除安裝的應用程式套件來檢查檔案排除。這會以最佳猜測搜尋檔案/資料夾,並排除與你現時安裝的應用程式重疊的檔案/資料夾。請確認標記為移除的檔案確實屬於已解除安裝的應用程式。"
"value" : "孤立檔案搜尋並非 100% 準確,因為它沒有任何解除安裝的應用程式套件來檢查檔案排除。這會以最佳猜測搜尋檔案/資料夾,並排除與你現時安裝的應用程式重疊的檔案/資料夾。請確認標記為移除的檔案確實屬於已解除安裝的應用程式。"
}
}
}
Expand Down Expand Up @@ -6451,7 +6458,7 @@
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "單獨檔案"
"value" : "孤立檔案"
}
}
}
Expand Down Expand Up @@ -6504,7 +6511,7 @@
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "Pearcleaner 及其所有檔案將會完全移除,你確定嗎?"
"value" : "Pearcleaner 及其全部檔案將會完全移除,你確定嗎?"
}
}
}
Expand Down Expand Up @@ -7946,6 +7953,12 @@
"state" : "translated",
"value" : "スクロールバーがリストに隠れる"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "捲軸在列表中隱藏"
}
}
}
},
Expand All @@ -7956,6 +7969,12 @@
"state" : "translated",
"value" : "リストでスクロールバーがOS優先に設定される"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "捲軸在列表中設定為操作系統偏好"
}
}
}
},
Expand Down Expand Up @@ -9261,7 +9280,7 @@
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "這樣會將檔案/資料夾加至排除列表中。前往「設定」>「資料夾」分頁編輯排除列表"
"value" : "這樣會將檔案/資料夾加至排除列表中。透過「設定」>「資料夾」分頁編輯排除列表"
}
}
}
Expand Down Expand Up @@ -9532,7 +9551,6 @@
}
},
"Tools" : {
"comment" : "工具菜单",
"extractionState" : "manual",
"localizations" : {
"de" : {
Expand Down

0 comments on commit f5e8253

Please sign in to comment.