From 579e7bd98bc8aab3f840d61510851a5190257905 Mon Sep 17 00:00:00 2001 From: Zorg Date: Sat, 6 Mar 2021 23:56:24 -0800 Subject: [PATCH] Add Persian localizations --- Sparkle.xcodeproj/project.pbxproj | 5 + Sparkle/fa.lproj/Sparkle.strings | 97 +++++++++++++ TestApplication/fa.lproj/MainMenu.strings | 162 ++++++++++++++++++++++ 3 files changed, 264 insertions(+) create mode 100644 Sparkle/fa.lproj/Sparkle.strings create mode 100644 TestApplication/fa.lproj/MainMenu.strings diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 9269343a..ca10a691 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -1283,6 +1283,8 @@ 726E4A361C89116000C57C6A /* SPUStandardUserDriverDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPUStandardUserDriverDelegate.h; sourceTree = ""; }; 726F2CE31BC9C33D001971A4 /* SUOperatingSystem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUOperatingSystem.h; sourceTree = ""; }; 726F2CE41BC9C33D001971A4 /* SUOperatingSystem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUOperatingSystem.m; sourceTree = ""; }; + 726FD2CB25F4BE5F00123BC6 /* fa */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fa; path = fa.lproj/MainMenu.strings; sourceTree = ""; }; + 726FD2CC25F4BE5F00123BC6 /* fa */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fa; path = fa.lproj/Sparkle.strings; sourceTree = ""; }; 728337A41C9E6FF40085AA99 /* SPUProbeInstallStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPUProbeInstallStatus.h; sourceTree = ""; }; 728337A51C9E6FF40085AA99 /* SPUProbeInstallStatus.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPUProbeInstallStatus.m; sourceTree = ""; }; 728638EE1CAF589C00783084 /* ConfigDownloader.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = ConfigDownloader.xcconfig; sourceTree = ""; }; @@ -3026,6 +3028,7 @@ Base, fr_CA, hr, + fa, ); mainGroup = 0867D691FE84028FC02AAC07 /* Sparkle */; productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; @@ -3902,6 +3905,7 @@ 61131A0A0F846D1100E97AF6 /* zh_TW */, 723ABCD7259A9A9D00BDB4FA /* Base */, 72E1DACB25B3E8DF0001BA6D /* hr */, + 726FD2CC25F4BE5F00123BC6 /* fa */, ); name = Sparkle.strings; sourceTree = ""; @@ -4027,6 +4031,7 @@ 723ABE38259A9F2B00BDB4FA /* tr */, 723ABE39259A9F2E00BDB4FA /* uk */, 72E1DAB725B3E8AE0001BA6D /* hr */, + 726FD2CB25F4BE5F00123BC6 /* fa */, ); name = MainMenu.xib; sourceTree = ""; diff --git a/Sparkle/fa.lproj/Sparkle.strings b/Sparkle/fa.lproj/Sparkle.strings new file mode 100644 index 00000000..d1d81146 --- /dev/null +++ b/Sparkle/fa.lproj/Sparkle.strings @@ -0,0 +1,97 @@ +"%1$@ %2$@ has been downloaded and is ready to use! This is an important update; would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ بارگیری شده و آمادهٔ استفاده است! این به‌روزرسانی مهمی است، آیا اکنون مایل به نصب و بازکردن دوبارهٔ %1$@ هستید؟"; + +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ بارگیری شده و آمادهٔ استفاده است! آیا اکنون مایل به نصب و بازکردن دوبارهٔ %1$@ هستید؟"; + +"%1$@ can't be updated, because it was opened from a read-only or a temporary location." = "%1$@ نمی‌تواند به‌روزرسانی شود، زیرا از محلی با سطح دسترسی فقط-خواندن یا موقت باز شده است"; + +"Use Finder to copy %1$@ to the Applications folder, relaunch it from there, and try again." = "از Finder برای کپی کردن %1$@ به پوشهٔ برنامه استفاده کنید، سپس %1$@ را دوباره باز کرده و مجدداً امتحان کنید."; + +"Quit %1$@, move it into your Applications folder, relaunch it from there and try again." = "از %1$@ خارج شوید آن را به پوشهٔ برنامه انتقال دهید سپس آن را دوباره باز کرده و دوباره امتحان کنید."; + +"%1$@ can’t be updated if it’s running from the location it was downloaded to." = "%1$@ نمی‌تواند به‌روزرسانی شود، اگر از محلی که در آن بارگیری شده باز شود"; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ در حال حاضر جدیدترین نسخهٔ موجود است"; + +"%@ %@ is currently the newest version available.\n(You are currently running version %@.)" = "%1$@ %2$@ در حال حاضر جدیدترین نسخه است.\n(شما در حال اجرای نسخهٔ %3$@ هستید.)"; + +/* Description text for SUUpdateAlert when the update is downloadable. */ +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ اکنون در دسترس است-- نسخهٔ شما: %3$@. اکنون می‌خواهید آن را دریافت کنید؟"; + +/* Description text for SUUpdateAlert when the update informational with no download. */ +"%@ %@ is now available--you have %@. Would you like to learn more about this update on the web?" = "%1$@ %2$@ اکنون در دسترس است-- نسخهٔ شما: %3$@. می‌خواهید در مورد آن بیشتر یاد بگیرید؟"; + +"%@ downloaded" = "دانلود شده است %@"; + +"%@ of %@" = "%1$@ از %2$@"; + +"A new version of %@ is available!" = "نسخه‌ای جدید از %@ در دسترس است"; + +"A new version of %@ is ready to install!" = "نسخه‌ای جدید از %@ برای نصب آماده است!"; + +"An error occurred in retrieving update information. Please try again later." = "خطایی هنگام دستیابی به اطلاعات به‌روزرسانی رخ داد. لطفاً دوباره امتحان کنید."; + +"An error occurred while downloading the update. Please try again later." = "خطایی در هنگام بارگیری به‌روزرسانی رخ داد. لطفاً دوباره امتحان کنید."; + +"An error occurred while extracting the archive. Please try again later." = "خطایی در بازکردن آرشیو رخ داد. لطفاً دوباره امتحان کنید. "; + +"An error occurred while installing the update. Please try again later." = "خطایی در هنگام نصب به‌روزرسانی رخ داد. لطفاً دوباره امتحان کنید."; + +"An error occurred while parsing the update feed." = "خطایی در بررسی به‌روزرسانی رخ داد"; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "خطایی در حین باز کردن دوبارهٔ %1$@ رخ داد، اما نسخهٔ جدید در هنگام اجرای بعدی %1$@ در دسترس خواهد بود."; + +"An important update to %@ is ready to install" = "یک به‌روزرسانی مهم آمادهٔ نصب است"; + +/* the unit for bytes */ +"B" = "بایت"; + +"Cancel" = "لغو"; + +"Cancel Update" = "لغو به‌روزرسانی"; + +"Checking for updates..." = "بررسی وجود به‌روزرسانی"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "در حال بارگیری به‌روزرسانی"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "در حال بازکردن بستهٔ به‌روزرسانی"; + +/* the unit for gigabytes */ +"GB" = "گیگابایت"; + +"Install and Relaunch" = "نصب و بازکردن دوباره"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "در حال نصب به‌روزرسانی"; + +/* the unit for kilobytes */ +"KB" = "کیلوبایت"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ +"Learn More..." = "یادگیری بیشتر..."; + +/* the unit for megabytes */ +"MB" = "مگابایت"; + +/* OK button. */ +"OK" = "پذیرفتن"; + +/* Status message on progress window once download has finished. */ +"Ready to Install" = "آماده برای نصب"; + +/* Message that is optionally shown at startup to allow users to turn on/off update checks. */ +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "آیا می‌خواهید بررسی به‌روزرسانی‌ها %1$@ به صورت خودکار انجام شود؟ همیشه می‌توانید به‌روزرسانی‌های %1$@ را به صورت دستی بررسی کنید."; + +"The update is improperly signed." = "این به‌روزرسانی به‌درستی امضا نشده است"; + +"Update Error!" = "خطای به‌روزرسانی!"; + +"Updating %@" = "%@ در حال به‌روزرسانی"; + +/* 'Error' message when the user checks for updates but is already current or the feed doesn't contain any updates. (not necessarily shown in UI) */ +"You already have the newest version of %@." = "شما در حال استفاده از جدیدترین نسخهٔ %@ هستید."; + +/* Status message shown when the user checks for updates but is already current or the feed doesn't contain any updates. */ +"You're up-to-date!" = "برنامهٔ شما به‌روز است"; diff --git a/TestApplication/fa.lproj/MainMenu.strings b/TestApplication/fa.lproj/MainMenu.strings new file mode 100644 index 00000000..3f1ba867 --- /dev/null +++ b/TestApplication/fa.lproj/MainMenu.strings @@ -0,0 +1,162 @@ + +/* Class = "NSMenuItem"; title = "Bring All to Front"; ObjectID = "5"; */ +"5.title" = "Bring All to Front"; + +/* Class = "NSMenuItem"; title = "Window"; ObjectID = "19"; */ +"19.title" = "Window"; + +/* Class = "NSMenuItem"; title = "Minimize"; ObjectID = "23"; */ +"23.title" = "Minimize"; + +/* Class = "NSMenu"; title = "Window"; ObjectID = "24"; */ +"24.title" = "Window"; + +/* Class = "NSMenu"; title = "MainMenu"; ObjectID = "29"; */ +"29.title" = "MainMenu"; + +/* Class = "NSMenuItem"; title = "Sparkle Test App"; ObjectID = "56"; */ +"56.title" = "Sparkle Test App"; + +/* Class = "NSMenu"; title = "Sparkle Test App"; ObjectID = "57"; */ +"57.title" = "Sparkle Test App"; + +/* Class = "NSMenuItem"; title = "About Sparkle Test App"; ObjectID = "58"; */ +"58.title" = "About Sparkle Test App"; + +/* Class = "NSMenuItem"; title = "Open..."; ObjectID = "72"; */ +"72.title" = "Open..."; + +/* Class = "NSMenuItem"; title = "Close"; ObjectID = "73"; */ +"73.title" = "Close"; + +/* Class = "NSMenuItem"; title = "Save"; ObjectID = "75"; */ +"75.title" = "Save"; + +/* Class = "NSMenuItem"; title = "Page Setup…"; ObjectID = "77"; */ +"77.title" = "Page Setup…"; + +/* Class = "NSMenuItem"; title = "Print…"; ObjectID = "78"; */ +"78.title" = "Print…"; + +/* Class = "NSMenuItem"; title = "Save As…"; ObjectID = "80"; */ +"80.title" = "Save As…"; + +/* Class = "NSMenu"; title = "File"; ObjectID = "81"; */ +"81.title" = "File"; + +/* Class = "NSMenuItem"; title = "New"; ObjectID = "82"; */ +"82.title" = "New"; + +/* Class = "NSMenuItem"; title = "File"; ObjectID = "83"; */ +"83.title" = "File"; + +/* Class = "NSMenuItem"; title = "Help"; ObjectID = "103"; */ +"103.title" = "Help"; + +/* Class = "NSMenu"; title = "Help"; ObjectID = "106"; */ +"106.title" = "Help"; + +/* Class = "NSMenuItem"; title = "Sparkle Test App Help"; ObjectID = "111"; */ +"111.title" = "Sparkle Test App Help"; + +/* Class = "NSMenuItem"; title = "Revert"; ObjectID = "112"; */ +"112.title" = "Revert"; + +/* Class = "NSMenuItem"; title = "Open Recent"; ObjectID = "124"; */ +"124.title" = "Open Recent"; + +/* Class = "NSMenu"; title = "Open Recent"; ObjectID = "125"; */ +"125.title" = "Open Recent"; + +/* Class = "NSMenuItem"; title = "Clear Menu"; ObjectID = "126"; */ +"126.title" = "Clear Menu"; + +/* Class = "NSMenu"; title = "Services"; ObjectID = "130"; */ +"130.title" = "Services"; + +/* Class = "NSMenuItem"; title = "Services"; ObjectID = "131"; */ +"131.title" = "Services"; + +/* Class = "NSMenuItem"; title = "Hide Sparkle Test App"; ObjectID = "134"; */ +"134.title" = "Hide Sparkle Test App"; + +/* Class = "NSMenuItem"; title = "Quit Sparkle Test App"; ObjectID = "136"; */ +"136.title" = "Quit Sparkle Test App"; + +/* Class = "NSMenuItem"; title = "Hide Others"; ObjectID = "145"; */ +"145.title" = "Hide Others"; + +/* Class = "NSMenuItem"; title = "Show All"; ObjectID = "150"; */ +"150.title" = "Show All"; + +/* Class = "NSMenuItem"; title = "Find…"; ObjectID = "154"; */ +"154.title" = "Find…"; + +/* Class = "NSMenuItem"; title = "Jump to Selection"; ObjectID = "155"; */ +"155.title" = "Jump to Selection"; + +/* Class = "NSMenuItem"; title = "Copy"; ObjectID = "157"; */ +"157.title" = "Copy"; + +/* Class = "NSMenuItem"; title = "Undo"; ObjectID = "158"; */ +"158.title" = "Undo"; + +/* Class = "NSMenu"; title = "Find"; ObjectID = "159"; */ +"159.title" = "Find"; + +/* Class = "NSMenuItem"; title = "Cut"; ObjectID = "160"; */ +"160.title" = "Cut"; + +/* Class = "NSMenuItem"; title = "Use Selection for Find"; ObjectID = "161"; */ +"161.title" = "Use Selection for Find"; + +/* Class = "NSMenuItem"; title = "Find Previous"; ObjectID = "162"; */ +"162.title" = "Find Previous"; + +/* Class = "NSMenuItem"; title = "Edit"; ObjectID = "163"; */ +"163.title" = "Edit"; + +/* Class = "NSMenuItem"; title = "Delete"; ObjectID = "164"; */ +"164.title" = "Delete"; + +/* Class = "NSMenuItem"; title = "Find Next"; ObjectID = "167"; */ +"167.title" = "Find Next"; + +/* Class = "NSMenuItem"; title = "Find"; ObjectID = "168"; */ +"168.title" = "Find"; + +/* Class = "NSMenu"; title = "Edit"; ObjectID = "169"; */ +"169.title" = "Edit"; + +/* Class = "NSMenuItem"; title = "Paste"; ObjectID = "171"; */ +"171.title" = "Paste"; + +/* Class = "NSMenuItem"; title = "Select All"; ObjectID = "172"; */ +"172.title" = "Select All"; + +/* Class = "NSMenuItem"; title = "Redo"; ObjectID = "173"; */ +"173.title" = "Redo"; + +/* Class = "NSMenuItem"; title = "Spelling"; ObjectID = "184"; */ +"184.title" = "Spelling"; + +/* Class = "NSMenu"; title = "Spelling"; ObjectID = "185"; */ +"185.title" = "Spelling"; + +/* Class = "NSMenuItem"; title = "Spelling…"; ObjectID = "187"; */ +"187.title" = "Spelling…"; + +/* Class = "NSMenuItem"; title = "Check Spelling"; ObjectID = "189"; */ +"189.title" = "Check Spelling"; + +/* Class = "NSMenuItem"; title = "Check Spelling as You Type"; ObjectID = "191"; */ +"191.title" = "Check Spelling as You Type"; + +/* Class = "NSMenuItem"; title = "Zoom"; ObjectID = "197"; */ +"197.title" = "Zoom"; + +/* Class = "NSMenuItem"; title = "Paste and Match Style"; ObjectID = "204"; */ +"204.title" = "Paste and Match Style"; + +/* Class = "NSMenuItem"; title = "Check for Updates…"; ObjectID = "207"; */ +"207.title" = "Check for Updates…";