[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [orbot/master] convert app description to XLIFF to make translation management easier



commit 6352bd4753c1d32334a237b0f3718480a87843fe
Author: Hans-Christoph Steiner <hans@xxxxxxx>
Date:   Tue Jun 9 21:31:46 2015 -0400

    convert app description to XLIFF to make translation management easier
---
 .tx/config             |   13 ++++++++
 description/source.xlf |   86 ++++++++++++++++++++++++++++++++++++++++++++++++
 external/.tx/config    |   15 ---------
 3 files changed, 99 insertions(+), 15 deletions(-)

diff --git a/.tx/config b/.tx/config
index 44d0e0a..e5c960f 100644
--- a/.tx/config
+++ b/.tx/config
@@ -7,4 +7,17 @@ file_filter = res/values-<lang>/strings.xml
 host = https://www.transifex.com
 source_file = res/values/strings.xml
 source_lang = en
+type = ANDROID
 
+[orbot.description]
+file_filter = description/<lang>.xlf
+host = https://www.transifex.com
+source_file = description/source.xlf
+source_lang = en
+type = XLIFF
+
+[orbot.olddescription]
+file_filter = releases/assets/<lang>-description.txt
+host = https://www.transifex.com
+source_file = releases/assets/description.txt
+source_lang = en
diff --git a/description/source.xlf b/description/source.xlf
new file mode 100644
index 0000000..86693ef
--- /dev/null
+++ b/description/source.xlf
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xliff version="1.2">
+  <file datatype="plaintext" original="source.xlf" source-language="en">
+    <header>
+      <note from="developer">Google places strick character limits on the various text fields in Google Play. The title is 30 characters, the short description is 80 characters, and the rest of the strings, which all go together in the description, are limited to 4000 characters.</note>
+    </header>
+    <body>
+      <trans-unit id="title" size-unit="char" maxwidth="30">
+        <source>Orbot</source>
+        <note from="developer">This is limited by Google to 30 characters</note>
+      </trans-unit>
+      <trans-unit id="shortdescription" size-unit="char" maxwidth="80">
+        <source>Protect your privacy with this proxy with Tor</source>
+        <note from="developer">This is limited by Google to 80 characters</note>
+      </trans-unit>
+      <trans-unit id="intro">
+        <source>Orbot is a free proxy app that empowers other apps to use the internet more securely. Orbot uses Tor to encrypt your Internet traffic and then hides it by bouncing through a series of computers around the world. Tor is free software and an open network that helps you defend against a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security known as traffic analysis.</source>
+      </trans-unit>
+      <trans-unit id="intro2">
+        <source>Orbot is the only app that creates a truly private internet connection. As the New York Times writes, â??when a communication arrives from Tor, you can never know where or whom itâ??s from.â?? Tor won the 2012 Electronic Frontier Foundation (EFF) Pioneer Award.</source>
+      </trans-unit>
+      <trans-unit id="intro2">
+        <source>ACCEPT NO SUBSTITUTES: Orbot is the safest way to use the Internet on Android. Period. Orbot bounces your encrypted traffic several times through computers around the world, instead of connecting you directly like VPNs and proxies. This process takes a little longer, but the strongest privacy and identity protection available is worth the wait.</source>
+      </trans-unit>
+      <trans-unit id="intro2">
+        <source>PRIVATE WEB SURFING: Use with Orweb, the most anonymous way to access any website, even if itâ??s normally blocked, monitored, or on the hidden web. Get Orweb: https://goo.gl/s3mLa</source>
+      </trans-unit>
+      <trans-unit id="intro2">
+        <source>PRIVATE CHAT MESSAGING: Use Gibberbot with Orbot to chat confidentially with anyone, anywhere for free. Get Gibberbot: https://goo.gl/O3FfS</source>
+      </trans-unit>
+      <trans-unit id="intro2">
+        <source>PRIVACY FOR APPS: Any installed app can use Tor if it has a proxy feature, using the settings found here: https://goo.gl/2OA1y Use Orbot with Twitter, or try private web searching with DuckDuckGo: https://goo.gl/lgh1p</source>
+      </trans-unit>
+      <trans-unit id="intro2">
+        <source>PRIVACY FOR EVERYONE: Tor can help you confidentially research a competitor, get around the Facebook block at school, or circumvent a firewall to watch sports at work.
+PRIVACY MADE EASY: Check out our fun, interactive walkthrough: https://guardianproject.info/howto/browsefreely
+ITâ??S OFFICIAL: This is the official version of the Tor onion routing service for Android.</source>
+      </trans-unit>
+      <trans-unit id="expertrootmode">
+        <source>***Expert Root Mode***</source>
+      </trans-unit>
+      <trans-unit id="universalmode">
+        <source>UNIVERSAL MODE: Orbot can be configured to transparently proxy all of your Internet traffic through Tor. You can also choose which specific apps you want to use through Tor.</source>
+      </trans-unit>
+      <trans-unit id="wespeakyourlanguage">
+        <source>â?? WE SPEAK YOUR LANGUAGE: Orbot is available for friends who speak:</source>
+      </trans-unit>
+      <trans-unit id="languagelist" translate="no">
+        <source>اÙ?عربÙ?Ø©, azÉ?rbaycanca, бÑ?лгаÑ?Ñ?ки, català, Ä?eÅ¡tina, dansk, Deutsch, Î?λληνικά, English, español, eesti, euskara, Ù?ارسÛ?, suomi, français, galego, hrvatski, magyar, ×¢×?ר×?ת, íslenska, italiano, æ?¥æ?¬èª?, í??êµ­ì?´, lietuvių, latvieÅ¡u, Ð?акедонÑ?и, Bahasa Melayu, Nederlands, norsk, polski, português, РÑ?Ñ?Ñ?кий, slovenÄ?ina, slovenÅ¡Ä?ina, Ñ?Ñ?пÑ?ки, svenska, Türkçe, Ñ?кÑ?аÑ?нÑ?Ñ?ка, Tagalog, Tiếng Viá»?t, 中æ??(ç®?ä½?), 中æ??(å?°ç?£)</source>
+        <note from="developer">Do not translate the names of the languages, leave them just like this.</note>
+      </trans-unit>
+      <trans-unit id="helptranslate">
+        <source>Donâ??t see your language? Join us and help translate the app:</source>
+      </trans-unit>
+      <trans-unit id="helptranslateurl" translate="no">
+        <source>https://www.transifex.com/projects/p/orbot</source>
+        <note from="developer">Do not translate this.</note>
+      </trans-unit>
+      <trans-unit id="learnmore">
+        <source>***Learn More***</source>
+      </trans-unit>
+      <trans-unit id="aboutus">
+        <source>â?? ABOUT US: Guardian Project is a group of developers that make secure mobile apps and open-source code for a better tomorrow</source>
+      </trans-unit>
+      <trans-unit id="ourwebsite">
+        <source>â?? OUR WEBSITE: https://GuardianProject.info</source>
+      </trans-unit>
+      <trans-unit id="abouttor">
+        <source>â?? ABOUT TOR: https://TorProject.org</source>
+      </trans-unit>
+      <trans-unit id="ontwitter">
+        <source>â?? ON TWITTER: https://twitter.com/guardianproject</source>
+      </trans-unit>
+      <trans-unit id="freesoftware">
+        <source>â?? FREE SOFTWARE: Orbot is free software. Take a look at our source code, or join the community to make it better:</source>
+      </trans-unit>
+      <trans-unit id="gitrepo" translate="no">
+        <source>https://gitweb.torproject.org/orbot.git</source>
+        <note from="developer">Do not translate this.</note>
+      </trans-unit>
+      <trans-unit id="messageus">
+        <source>â?? MESSAGE US: Are we missing your favorite feature? Found an annoying bug? Please tell us! Weâ??d love to hear from you. Send us an email: support@xxxxxxxxxxxxxxxxxxxx or find us in our chat room https://guardianproject.info/contact</source>
+      </trans-unit>
+    </body>
+  </file>
+</xliff>
\ No newline at end of file
diff --git a/external/.tx/config b/external/.tx/config
deleted file mode 100644
index 8f5c518..0000000
--- a/external/.tx/config
+++ /dev/null
@@ -1,15 +0,0 @@
-[main]
-host = https://www.transifex.com
-lang_map = af_ZA: af-rZA, am_ET: am-rET, ar_AE: ar-rAE, ar_BH: ar-rBH, ar_DZ: ar-rDZ, ar_EG: ar-rEG, ar_IQ: ar-rIQ, ar_JO: ar-rJO, ar_KW: ar-rKW, ar_LB: ar-rLB, ar_LY: ar-rLY, ar_MA: ar-rMA, ar_OM: ar-rOM, ar_QA: ar-rQA, ar_SA: ar-rSA, ar_SY: ar-rSY, ar_TN: ar-rTN, ar_YE: ar-rYE, arn_CL: arn-rCL, as_IN: as-rIN, az_AZ: az-rAZ, ba_RU: ba-rRU, be_BY: be-rBY, bg_BG: bg-rBG, bn_BD: bn-rBD, bn_IN: bn-rIN, bo_CN: bo-rCN, br_FR: br-rFR, bs_BA: bs-rBA, ca_ES: ca-rES, co_FR: co-rFR, cs_CZ: cs-rCZ, cy_GB: cy-rGB, da_DK: da-rDK, de_AT: de-rAT, de_CH: de-rCH, de_DE: de-rDE, de_LI: de-rLI, de_LU: de-rLU, dsb_DE: dsb-rDE, dv_MV: dv-rMV, el_GR: el-rGR, en_AU: en-rAU, en_BZ: en-rBZ, en_CA: en-rCA, en_GB: en-rGB, en_IE: en-rIE, en_IN: en-rIN, en_JM: en-rJM, en_MY: en-rMY, en_NZ: en-rNZ, en_PH: en-rPH, en_SG: en-rSG, en_TT: en-rTT, en_US: en-rUS, en_ZA: en-rZA, en_ZW: en-rZW, es_AR: es-rAR, es_BO: es-rBO, es_CL: es-rCL, es_CO: es-rCO, es_CR: es-rCR, es_DO: es-rDO, es_EC: es-rEC, es_ES: es-rES, es_GT: 
 es-rGT, es_HN: es-rHN, es_MX: es-rMX, es_NI: es-rNI, es_PA: es-rPA, es_PE: es-rPE, es_PR: es-rPR, es_PY: es-rPY, es_SV: es-rSV, es_US: es-rUS, es_UY: es-rUY, es_VE: es-rVE, et_EE: et-rEE, eu_ES: eu-rES, fa_IR: fa-rIR, fi_FI: fi-rFI, fil_PH: tl-rPH, fil: tl, fo_FO: fo-rFO, fr_BE: fr-rBE, fr_CA: fr-rCA, fr_CH: fr-rCH, fr_FR: fr-rFR, fr_LU: fr-rLU, fr_MC: fr-rMC, fy_NL: fy-rNL, ga_IE: ga-rIE, gd_GB: gd-rGB, gl_ES: gl-rES, gsw_FR: gsw-rFR, gu_IN: gu-rIN, ha_NG: ha-rNG, he_IL: he-rIL, hi_IN: hi-rIN, hr_BA: hr-rBA, hr_HR: hr-rHR, hsb_DE: hsb-rDE, hu_HU: hu-rHU, hy_AM: hy-rAM, id_ID: id-rID, ig_NG: ig-rNG, ii_CN: ii-rCN, is_IS: is-rIS, it_CH: it-rCH, it_IT: it-rIT, iu_CA: iu-rCA, ja_JP: ja-rJP, ka_GE: ka-rGE, kk_KZ: kk-rKZ, kl_GL: kl-rGL, km_KH: km-rKH, kn_IN: kn-rIN, ko_KR: ko-rKR, kok_IN: kok-rIN, ky_KG: ky-rKG, lb_LU: lb-rLU, lo_LA: lo-rLA, lt_LT: lt-rLT, lv_LV: lv-rLV, mi_NZ: mi-rNZ, mk_MK: mk-rMK, ml_IN: ml-rIN, mn_CN: mn-rCN, mn_MN: mn-rMN, moh_CA: moh-rCA, mr_IN: mr-rIN, ms_BN: ms-r
 BN, ms_MY: ms-rMY, mt_MT: mt-rMT, nb_NO: nb-rNO, ne_NP: ne-rNP, nl_BE: nl-rBE, nl_NL: nl-rNL, nn_NO: nn-rNO, nso_ZA: nso-rZA, oc_FR: oc-rFR, or_IN: or-rIN, pa_IN: pa-rIN, pl_PL: pl-rPL, prs_AF: prs-rAF, ps_AF: ps-rAF, pt_BR: pt-rBR, pt_PT: pt-rPT, qut_GT: qut-rGT, quz_BO: quz-rBO, quz_EC: quz-rEC, quz_PE: quz-rPE, rm_CH: rm-rCH, ro_RO: ro-rRO, ru_RU: ru-rRU, rw_RW: rw-rRW, sa_IN: sa-rIN, sah_RU: sah-rRU, se_FI: se-rFI, se_NO: se-rNO, se_SE: se-rSE, si_LK: si-rLK, sk_SK: sk-rSK, sl_SI: sl-rSI, sma_NO: sma-rNO, sma_SE: sma-rSE, smj_NO: smj-rNO, smj_SE: smj-rSE, smn_FI: smn-rFI, sms_FI: sms-rFI, sq_AL: sq-rAL, sr_BA: sr-rBA, sr_CS: sr-rCS, sr_ME: sr-rME, sr_RS: sr-rRS, sv_FI: sv-rFI, sv_SE: sv-rSE, sw_KE: sw-rKE, syr_SY: syr-rSY, ta_IN: ta-rIN, te_IN: te-rIN, tg_TJ: tg-rTJ, th_TH: th-rTH, tk_TM: tk-rTM, tn_ZA: tn-rZA, tr_TR: tr-rTR, tt_RU: tt-rRU, tzm_DZ: tzm-rDZ, ug_CN: ug-rCN, uk_UA: uk-rUA, ur_PK: ur-rPK, uz_UZ: uz-rUZ, vi_VN: vi-rVN, wo_SN: wo-rSN, xh_ZA: xh-rZA, yo_NG: yo-rNG, zh_
 CN: zh-rCN, zh_HK: zh-rHK, zh_MO: zh-rMO, zh_SG: zh-rSG, zh_TW: zh-rTW, zu_ZA: zu-rZA
-
-[orbot.stringsxml]
-file_filter = ../res/values-<lang>/strings.xml
-host = https://www.transifex.com
-source_file = ../res/values/strings.xml
-source_lang = en
-
-[orbot.description]
-file_filter = ../releases/assets/<lang>-description.txt
-host = https://www.transifex.com
-source_file = ../releases/assets/description.txt
-source_lang = en



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits