damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 318b254b5dea81f70bf9076e67553079eb70969a
parent 487419d098f509b479764ad9f9cf6fdfe0ea63d5
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 13 Mar 2023 12:45:36 -0600

Revert "Merge remote-tracking branch 'tyiu/translations'"

This reverts commit 6872382bb763257f528f61a506a1586ffe40a35b, reversing
changes made to 42ea150d45a260c21fe7128ed4ab53ac14973723.

Diffstat:
D.github/workflows/export-translations.yaml | 27---------------------------
Mdamus/en-US.xcloc/Localized Contents/en-US.xliff | 96++++++++++++++++++-------------------------------------------------------------
Mdamus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings | 0
Mtransifex.yml | 240+------------------------------------------------------------------------------
4 files changed, 25 insertions(+), 338 deletions(-)

diff --git a/.github/workflows/export-translations.yaml b/.github/workflows/export-translations.yaml @@ -1,27 +0,0 @@ -name: Export Source Translations - -on: - push: - branches: - - master - -jobs: - export-source-translations: - name: Update translations branch - runs-on: macos-12 - strategy: - matrix: - include: - - xcode: "14.2" - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - name: Run export script - run: | - sh devtools/export-source-translation.sh - - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: Update Translations 🤖 - branch: translations - create_branch: true - push_options: '--force' diff --git a/damus/en-US.xcloc/Localized Contents/en-US.xliff b/damus/en-US.xcloc/Localized Contents/en-US.xliff @@ -32,11 +32,6 @@ <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="14.2" build-num="14C18"/> </header> <body> - <trans-unit id=" " xml:space="preserve"> - <source> </source> - <target> </target> - <note>No comment provided by engineer.</note> - </trans-unit> <trans-unit id="%@" xml:space="preserve"> <source>%@</source> <target>%@</target> @@ -53,11 +48,6 @@ Sentence composed of 2 variables to describe how many people are following a use <target>%@ has been blocked</target> <note>Alert message that informs a user was blocked.</note> </trans-unit> - <trans-unit id="%@ not found" xml:space="preserve"> - <source>%@ not found</source> - <target>%@ not found</target> - <note>When a note or profile is not found when searching for it via its note id</note> - </trans-unit> <trans-unit id="%@. Creating an account doesn't require a phone number, email or name. Get started right away with zero friction." xml:space="preserve"> <source>%@. Creating an account doesn't require a phone number, email or name. Get started right away with zero friction.</source> <target>%@. Creating an account doesn't require a phone number, email or name. Get started right away with zero friction.</target> @@ -136,7 +126,8 @@ Sentence composed of 2 variables to describe how many people are following a use <trans-unit id="Add" xml:space="preserve"> <source>Add</source> <target>Add</target> - <note>Button to confirm adding user inputted relay.</note> + <note>Button to add recommended relay server. + Button to confirm adding user inputted relay.</note> </trans-unit> <trans-unit id="Add Bookmark" xml:space="preserve"> <source>Add Bookmark</source> @@ -146,8 +137,7 @@ Sentence composed of 2 variables to describe how many people are following a use <trans-unit id="Add Relay" xml:space="preserve"> <source>Add Relay</source> <target>Add Relay</target> - <note>Button to add recommended relay server. - Label for section for adding a relay server.</note> + <note>Label for section for adding a relay server.</note> </trans-unit> <trans-unit id="Add all" xml:space="preserve"> <source>Add all</source> @@ -159,11 +149,6 @@ Sentence composed of 2 variables to describe how many people are following a use <target>Admin</target> <note>Label to display relay contact user.</note> </trans-unit> - <trans-unit id="All" xml:space="preserve"> - <source>All</source> - <target>All</target> - <note>Label for filter for all notifications.</note> - </trans-unit> <trans-unit id="Anonymous" xml:space="preserve"> <source>Anonymous</source> <target>Anonymous</target> @@ -278,6 +263,11 @@ Sentence composed of 2 variables to describe how many people are following a use <target>Cash App</target> <note>Dropdown option label for Lightning wallet, Cash App.</note> </trans-unit> + <trans-unit id="Clear" xml:space="preserve"> + <source>Clear</source> + <target>Clear</target> + <note>Button for clearing cached data.</note> + </trans-unit> <trans-unit id="Clear All" xml:space="preserve"> <source>Clear All</source> <target>Clear All</target> @@ -286,7 +276,7 @@ Sentence composed of 2 variables to describe how many people are following a use <trans-unit id="Clear Cache" xml:space="preserve"> <source>Clear Cache</source> <target>Clear Cache</target> - <note>Button to clear image cache.</note> + <note>Section title for clearing cached data.</note> </trans-unit> <trans-unit id="Comment" xml:space="preserve"> <source>Comment</source> @@ -298,11 +288,6 @@ Sentence composed of 2 variables to describe how many people are following a use <target>Contact</target> <note>Label to display relay contact information.</note> </trans-unit> - <trans-unit id="Continue" xml:space="preserve"> - <source>Continue</source> - <target>Continue</target> - <note>Continue with deleting the user.</note> - </trans-unit> <trans-unit id="Copied" xml:space="preserve"> <source>Copied</source> <target>Copied</target> @@ -430,7 +415,8 @@ Sentence composed of 2 variables to describe how many people are following a use <target>Delete</target> <note>Button for deleting the users account. Button to delete a relay server that the user connects to. - Button to remove a user from their blocklist.</note> + Button to remove a user from their blocklist. + Section title for deleting the user</note> </trans-unit> <trans-unit id="Delete Account" xml:space="preserve"> <source>Delete Account</source> @@ -447,11 +433,6 @@ Sentence composed of 2 variables to describe how many people are following a use <target>Description</target> <note>Label to display relay description.</note> </trans-unit> - <trans-unit id="Disable animations" xml:space="preserve"> - <source>Disable animations</source> - <target>Disable animations</target> - <note>Button to disable image animation</note> - </trans-unit> <trans-unit id="Dismiss" xml:space="preserve"> <source>Dismiss</source> <target>Dismiss</target> @@ -562,10 +543,15 @@ Sentence composed of 2 variables to describe how many people are following a use <target>Get API Key</target> <note>Button to navigate to DeepL website to get a translation API key.</note> </trans-unit> - <trans-unit id="Hello, World!" xml:space="preserve"> - <source>Hello, World!</source> - <target>Hello, World!</target> - <note>No comment provided by engineer.</note> + <trans-unit id="Goto post %@" xml:space="preserve"> + <source>Goto post %@</source> + <target>Goto post %@</target> + <note>Navigation link to go to post referenced by hex code.</note> + </trans-unit> + <trans-unit id="Goto profile %@" xml:space="preserve"> + <source>Goto profile %@</source> + <target>Goto profile %@</target> + <note>Navigation link to go to profile.</note> </trans-unit> <trans-unit id="Hide" xml:space="preserve"> <source>Hide</source> @@ -588,11 +574,6 @@ Sentence composed of 2 variables to describe how many people are following a use <target>Illegal content</target> <note>Button for user to report that the account or content has illegal content.</note> </trans-unit> - <trans-unit id="Images" xml:space="preserve"> - <source>Images</source> - <target>Images</target> - <note>Section title for images configuration.</note> - </trans-unit> <trans-unit id="Invalid key" xml:space="preserve"> <source>Invalid key</source> <target>Invalid key</target> @@ -671,21 +652,11 @@ Sentence composed of 2 variables to describe how many people are following a use Button for logging out the user. Button to close the alert that informs that the current account has been deleted.</note> </trans-unit> - <trans-unit id="Looking for %@..." xml:space="preserve"> - <source>Looking for %@...</source> - <target>Looking for %@...</target> - <note>Label that appears when searching for note or profile</note> - </trans-unit> <trans-unit id="Make sure your nsec account key is saved before you logout or you will lose access to this account" xml:space="preserve"> <source>Make sure your nsec account key is saved before you logout or you will lose access to this account</source> <target>Make sure your nsec account key is saved before you logout or you will lose access to this account</target> <note>Reminder message in alert to get customer to verify that their private security account key is saved saved before logging out.</note> </trans-unit> - <trans-unit id="Mentions" xml:space="preserve"> - <source>Mentions</source> - <target>Mentions</target> - <note>Label for filter for seeing mention notifications (replies, etc).</note> - </trans-unit> <trans-unit id="Muun" xml:space="preserve"> <source>Muun</source> <target>Muun</target> @@ -769,8 +740,7 @@ Sentence composed of 2 variables to describe how many people are following a use <trans-unit id="Permanently Delete Account" xml:space="preserve"> <source>Permanently Delete Account</source> <target>Permanently Delete Account</target> - <note>Alert for deleting the users account. - Section title for deleting the user</note> + <note>Alert for deleting the users account.</note> </trans-unit> <trans-unit id="Phoenix" xml:space="preserve"> <source>Phoenix</source> @@ -1068,11 +1038,6 @@ Picker option to indicate that a zap should be sent privately and not identify t <target>Show wallet selector</target> <note>Toggle to show or hide selection of wallet.</note> </trans-unit> - <trans-unit id="Sign Out" xml:space="preserve"> - <source>Sign Out</source> - <target>Sign Out</target> - <note>Section title for signing out</note> - </trans-unit> <trans-unit id="Sign out" xml:space="preserve"> <source>Sign out</source> <target>Sign out</target> @@ -1181,7 +1146,7 @@ Picker option to indicate that a zap should be sent privately and not identify t <trans-unit id="Universe 🛸" xml:space="preserve"> <source>Universe 🛸</source> <target>Universe 🛸</target> - <note>Toolbar label for the universal view where posts from all connected relay servers appear.</note> + <note>Navigation bar title for universal view where posts from all connected relay servers appear.</note> </trans-unit> <trans-unit id="User blocked" xml:space="preserve"> <source>User blocked</source> @@ -1205,23 +1170,6 @@ Picker option to indicate that a zap should be sent privately and not identify t <note>Label to display relay software version. Section title for displaying the version number of the Damus app.</note> </trans-unit> - <trans-unit id="WARNING:&#10;&#10;THIS WILL SIGN AN EVENT THAT DELETES THIS ACCOUNT.&#10;&#10;YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY.&#10;&#10; ARE YOU SURE YOU WANT TO CONTINUE?" xml:space="preserve"> - <source>WARNING: - -THIS WILL SIGN AN EVENT THAT DELETES THIS ACCOUNT. - -YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY. - - ARE YOU SURE YOU WANT TO CONTINUE?</source> - <target>WARNING: - -THIS WILL SIGN AN EVENT THAT DELETES THIS ACCOUNT. - -YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY. - - ARE YOU SURE YOU WANT TO CONTINUE?</target> - <note>Alert for deleting the users account.</note> - </trans-unit> <trans-unit id="Wallet" xml:space="preserve"> <source>Wallet</source> <target>Wallet</target> diff --git a/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings b/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings Binary files differ. diff --git a/transifex.yml b/transifex.yml @@ -15,251 +15,16 @@ git: translation_files_expression: 'damus/<lang>.lproj/' settings: - # Mapping of most of the supported locale codes in Transifex to the locale code format that Xcode expects. - # Locale codes that are the identical between Transifex and Xcode do not need to be listed. language_mapping: - aa_DJ: aa-DJ - af_ZA: af-ZA - am_ET: am-ET - ar_AA: ar-AA - ar_AE: ar-AE - ar_DZ: ar-DZ - ar_EG: ar-EG - ar_IQ: ar-IQ - ar_JO: ar-JO - ar_LB: ar-LB - ar_SA: ar-SA - ar_SD: ar-SD - ar_SY: ar-SY - as_IN: as-IN - ast_ES: ast-ES - az_AZ: az-AZ - az_IR: az-IR - be_BY: be-BY - bem_ZM: bem-ZM - bg_BG: bg-BG - bg_US: bg-US - bn_BD: bn-BD - bn_IN: bn-IN - bo_CN: bo-CN - bqi_IR: bqi-IR - br_FR: br-FR - bs_BA: bs-BA - bs_BA-SRP: bs-BA-SRP - ca_ES: ca-ES - cs_CZ: cs-CZ - cy_GB: cy-GB - da_DK: da-DK - de_AT: de-AT - de_CH: de-CH - de_DE: de-DE - dz_BT: dz-BT - el_CY: el-CY - el_DE: el-DE + en_US: en-US el_GR: el-GR - en_AE: en-AE - en_AL: en-AL - en_AT: en-AT - en_AU: en-AU - en_BA: en-BA - en_BA-SRP: en-BA-SRP - en_BD: en-BD - en_BE: en-BE - en_BG: en-BG - en_BH: en-BH - en_BR: en-BR - en_CA: en-CA - en_CH: en-CH - en_CL: en-CL - en_CO: en-CO - en_CY: en-CY - en_CZ: en-CZ - en_DE: en-DE - en_DK: en-DK - en_EC: en-EC - en_EG: en-EG - en_ES: en-ES - en_FI: en-FI - en_FJ: en-FJ - en_FR: en-FR - en_GB: en-GB - en_GH: en-GH - en_GR: en-GR - en_HK: en-HK - en_HR: en-HR - en_HU: en-HU - en_IE: en-IE - en_IN: en-IN - en_IT: en-IT - en_JP: en-JP - en_KR: en-KR - en_KW: en-KW - en_LK: en-LK - en_MX: en-MX - en_MY: en-MY - en_NG: en-NG - en_NL: en-NL - en_NO: en-NO - en_NZ: en-NZ - en_PE: en-PE - en_PG: en-PG - en_PH: en-PH - en_PK: en-PK - en_PL: en-PL - en_PR: en-PR - en_PT: en-PT - en_QA: en-QA - en_RO: en-RO - en_RS: en-RS - en_SA: en-SA - en_SE: en-SE - en_SG: en-SG - en_SI: en-SI - en_SK: en-SK - en_TT: en-TT - en_UG: en-UG - en_ZA: en-ZA - en_ZM: en-ZM - en_ee: en-ee - en_lt: en-lt - en_lv: en-lv es_419: es-419 - es_AR: es-AR - es_BO: es-BO - es_CL: es-CL - es_CO: es-CO - es_CR: es-CR - es_CU: es-CU - es_DO: es-DO - es_EC: es-EC - es_ES: es-ES - es_GT: es-GT - es_HN: es-HN - es_MX: es-MX - es_NI: es-NI - es_PA: es-PA - es_PE: es-PE - es_PR: es-PR - es_PY: es-PY - es_SA: es-SA - es_SV: es-SV - es_US: es-US - es_UY: es-UY - es_VE: es-VE - et_EE: et-EE - eu_ES: eu-ES - fa_AF: fa-AF - fa_IR: fa-IR - ff_SN: ff-SN - fi_FI: fi-FI - fil_PH: fil-PH - fo_FO: fo-FO - fr_BE: fr-BE - fr_CA: fr-CA - fr_CH: fr-CH - fr_CI: fr-CI - fr_CM: fr-CM fr_FR: fr-FR - fr_GA: fr-GA - fr_LU: fr-LU - fy_NL: fy-NL - ga_IE: ga-IE - gl_ES: gl-ES - gu_IN: gu-IN - gug_PY: gug-PY - he_IL: he-IL - hi_IN: hi-IN - hr_BA: hr-BA - hr_BA-SRP: hr-BA-SRP - hr_HR: hr-HR - ht_HT: ht-HT - hu_HU: hu-HU - hu_RO: hu-RO - hu_SK: hu-SK - hy_AM: hy-AM - hy_RU: hy-RU - hye_RU: hye-RU - id_ID: id-ID - is_IS: is-IS - it_CH: it-CH it_IT: it-IT - ja_JP: ja-JP - ka_GE: ka-GE - kk_KZ: kk-KZ - km_KH: km-KH - kn_IN: kn-IN - ko_KR: ko-KR - ks_IN: ks-IN - ku_IQ: ku-IQ - lg_UG: lg-UG - lo_LA: lo-LA - loz_ZM: loz-ZM - lt_LT: lt-LT lv_LV: lv-LV - mhr_RU: mhr-RU - mk_MK: mk-MK - ml_IN: ml-IN - mn_MN: mn-MN - mr_IN: mr-IN - ms_BN: ms-BN - ms_MY: ms-MY - mt_MT: mt-MT - my_MM: my-MM - nb_NO: nb-NO - ne_NP: ne-NP - nl_BE: nl-BE - nl_NL: nl-NL - nn_NO: nn-NO - no_NO: no-NO - or_IN: or-IN - pa_IN: pa-IN - pa_PK: pa-PK pl_PL: pl-PL - ps_AF: ps-AF - pt_AO: pt-AO - pt_BR: pt-BR - pt_MZ: pt-MZ pt_PT: pt-PT - qu_EC: qu-EC - ro_MD: ro-MD - ro_RO: ro-RO - ru_RU: ru-RU - ru_UA: ru-UA - ru_ee: ru-ee - ru_lt: ru-lt - ru_lv: ru-lv - si_LK: si-LK - sk_SK: sk-SK - sl_SI: sl-SI - sq_AL: sq-AL - sr_BA-SRP: sr-BA-SRP - sr_ME: sr-ME - sr_RS: sr-RS - st_ZA: st-ZA - sv_FI: sv-FI - sv_SE: sv-SE - sw_CD: sw-CD - sw_KE: sw-KE - sw_TZ: sw-TZ - sw_UG: sw-UG - ta_IN: ta-IN - ta_LK: ta-LK - te_IN: te-IN - tg_TJ: tg-TJ - th_TH: th-TH - tk_TM: tk-TM - tl_PH: tl-PH - tr_CY: tr-CY - tr_DE: tr-DE tr_TR: tr-TR - uk_UA: uk-UA - ur_PK: ur-PK - uz_UZ: uz-UZ - vi_VN: vi-VN - wo_SN: wo-SN - yue_CN: yue-CN zh_CN: zh-CN zh_HK: zh-HK - zh_SG: zh-SG - zh_TW: zh-TW - zu_ZA: zu-ZA + zh_TW: zh-TW+ \ No newline at end of file