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

[or-cvs] r22661: {} moved the script and converted a few translated files (in projects/android/trunk/Orbot/res: . values-sv values-zh)



Author: runa
Date: 2010-07-19 14:40:08 +0000 (Mon, 19 Jul 2010)
New Revision: 22661

Added:
   projects/android/trunk/Orbot/res/values-sv/
   projects/android/trunk/Orbot/res/values-sv/strings.xml
   projects/android/trunk/Orbot/res/values-zh/
   projects/android/trunk/Orbot/res/values-zh/strings.xml
Removed:
   projects/android/trunk/Orbot/res/po2xml.sh
   projects/android/trunk/Orbot/res/values-zh_CN/
Log:
moved the script and converted a few translated files

Deleted: projects/android/trunk/Orbot/res/po2xml.sh
===================================================================
--- projects/android/trunk/Orbot/res/po2xml.sh	2010-07-19 13:46:52 UTC (rev 22660)
+++ projects/android/trunk/Orbot/res/po2xml.sh	2010-07-19 14:40:08 UTC (rev 22661)
@@ -1,57 +0,0 @@
-#!/bin/bash
-#
-# Author: Runa A. Sandvik, <runa.sandvik@xxxxxxxxx>
-# For The Tor Project, Inc.
-#
-# This is Free Software (GPLv3)
-# http://www.gnu.org/licenses/gpl-3.0.txt
-#
-# This script will convert translated po files back to xml. Before
-# running the script, checkout the translation directory from
-# https://svn.torproject.org.
-#	
-
-### Start config ###
-
-# Location of the translated files, i.e. the path to the orbot
-# directory in the translation module. Do not add the trailing slash. 
-translated=""
-
-# Location of the orbot directory, i.e. the original English xml file.
-# Do not add the trailing slash.
-xml=""
-
-### End config ###
-
-# Find po files to convert.
-po=`find $translated -type f -name \*.po`
-
-# For every po found, create and/or update the translated manpage.
-for file in $po ; do
-
-	# Get the basename of the file we are dealing with.
-	pofile=`basename $file`
-
-	# Strip the file for its original extension and add .xml.
-	xmlfile="${pofile%.*}.xml"
-
-	# Figure out which language we are dealing with.
-	lang=`dirname $file | sed "s#$translated/##"`
-
-	# The translated document is written if 80% or more of the po
-	# file has been translated. Also, po4a-translate will only write
-	# the translated document if 80% or more has been translated.
-	# However, it will delete the translated txt if less than 80%
-	# has been translated. To avoid having our current, translated
-	# xml files deleted, convert the po to a temp xml first. If this
-	# file was actually written, rename it to xml.
-
-	# Convert translated po to xml.
-	po4a-translate -f xml -m "$xml/values/$xmlfile" -p "$file"  -l "$xml/values-$lang/tmp-$xmlfile" --master-charset utf-8 -L utf-8
-
-	# Check to see if the file was written. If yes, rename it.
-	if [ -e "$xml/values-$lang/tmp-$xmlfile" ]
-	then
-		mv "$xml/values-$lang/tmp-$xmlfile" "$xml/values-$lang/$xmlfile"
-	fi
-done

Added: projects/android/trunk/Orbot/res/values-sv/strings.xml
===================================================================
--- projects/android/trunk/Orbot/res/values-sv/strings.xml	                        (rev 0)
+++ projects/android/trunk/Orbot/res/values-sv/strings.xml	2010-07-19 14:40:08 UTC (rev 22661)
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+    <string name="app_name">Orbot</string>
+    <string name="app_version">0.0.8</string>
+    <string name="internal_web_url">http://orbot/</string>
+    <string name="default_web_url">http://check.torproject.org</string>
+    <string name="secure_default_web_url">https://check.torproject.org</string>
+    <string name="tor_check_api_url">https://check.torproject.org/?TorButton=true</string>
+    <string name="control_permission_label">start and stop Tor</string>
+    <string name="tor_proxy_service_process">torproxyservice</string>
+   
+<string name="status_starting_up">Orbot startar...</string>
+<string name="status_activated">Uppkopplad till Tor nÃtverket</string>
+<string name="status_disabled">"Orbot Ãr inaktiverad</string>
+<string name="status_shutting_down">Orbot avslutas</string>
+
+<string name="tor_process_connecting">Startar Tor...</string>
+<string name="tor_process_connecting_step2">verifierar kontroll uppkopplingen...</string>
+<string name="tor_process_connecting_step3">klar.</string>
+<string name="tor_process_connecting_step4">vÃntar.</string>
+
+<string name="not_anonymous_yet">VARNING: Din trafik Ãr inte anonym Ãn! VÃnligen konfigurera dina apps att anvÃnda HTTP proxy 127.0.0.1:8118 eller SOCKS4A/5 proxy 127.0.0.1:9050</string>
+<string name="menu_home">Hem</string>
+<string name="menu_browse">Browse</string>
+<string name="menu_settings">InstÃllningar</string>
+<string name="menu_log">Logg</string>
+<string name="menu_info">HjÃlp</string>
+<string name="menu_apps">Apps</string>
+<string name="menu_start">Start</string>
+<string name="menu_stop">Stopp</string>
+
+
+
+<string name="button_help">HjÃlp</string>
+<string name="button_close">StÃng</string>
+<string name="button_about">Om</string>
+
+<string name="help_text_1">Orbot behÃver olika instÃllningar beroende pà vilken Android utgÃva det kÃrs pÃ.
+ BesÃk https://www.torproject.org/docs/android.html fÃr den senaste informationen.</string>
+
+<string name="help_text_2">For non-rooted Android 1.x devices (G1, MyTouch3G, Hero): Please use the "ProxySurf" browser available in the Android Market, and set 
+the HTTP Proxy to 127.0.0.1 and port 8118, for HTTP traffic only (HTTP/S will not work).</string>
+
+<string name="help_text_3">FÃr chatt/IM, prÃva "Beem" frÃn Android Market, och stÃll in SOCKS5 proxy till 127.0.0.1 / port 9050.</string>
+
+<string name="help_text_4">For Android 2.x devices, you MUST ROOT your device in order for Orbot to work transparently, as there is no browser that will work for non-root devices. Otherwise, the "Beem" app will allow
+you to set the SOCKS5 proxy to 127.0.0.1 and port 9050. You should also enable SSL to protect your username and password.</string>
+
+<string name="help_text_5">If you root your device, whether it is 1.x or 2.x based, Orbot can transparently proxy any applicatons you select
+and all DNS requests. This includes the built-in Browser, Gmail, YouTube and Maps, as well as any third-party app.</string>
+
+</resources>

Added: projects/android/trunk/Orbot/res/values-zh/strings.xml
===================================================================
--- projects/android/trunk/Orbot/res/values-zh/strings.xml	                        (rev 0)
+++ projects/android/trunk/Orbot/res/values-zh/strings.xml	2010-07-19 14:40:08 UTC (rev 22661)
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+    <string name="app_name">Orbot</string>
+    <string name="app_version">0.0.8</string>
+    <string name="internal_web_url">http://orbot/</string>
+    <string name="default_web_url">http://check.torproject.org</string>
+    <string name="secure_default_web_url">https://check.torproject.org</string>
+    <string name="tor_check_api_url">https://check.torproject.org/?TorButton=true</string>
+    <string name="control_permission_label">ååååæTor</string>
+    <string name="tor_proxy_service_process">Toräçæå</string>
+   
+<string name="status_starting_up">Orbotæååå</string>
+<string name="status_activated">åçèæääTorçç</string>
+<string name="status_disabled">Orbotååç</string>
+<string name="status_shutting_down">Orbotæååé</string>
+
+<string name="tor_process_connecting">æåååTor....</string>
+<string name="tor_process_connecting_step2">éèæåèæ....</string>
+<string name="tor_process_connecting_step3">åæ.</string>
+<string name="tor_process_connecting_step4">èçå...</string>
+
+<string name="not_anonymous_yet">èå: æçéèèäæååç! èèçæçåççåäçäçæåå127.0.0.1:8118æèSOCKS4AæèSOCKS5äçæåå127.0.0.1:9050</string>
+<string name="menu_home">éé</string>
+<string name="menu_browse">æè</string>
+<string name="menu_settings">èç</string>
+<string name="menu_log">æå</string>
+<string name="menu_info">åå</string>
+<string name="menu_apps">åç</string>
+<string name="menu_start">åå</string>
+<string name="menu_stop">åæ</string>
+
+
+
+<string name="button_help">åå</string>
+<string name="button_close">åé</string>
+<string name="button_about">åä</string>
+
+<string name="help_text_1">Orbot çèçå Android çççæçäåèåã
+èæåèïhttps://www.torproject.org/docs/android.html </string>
+
+<string name="help_text_2">åäçäROOTæéçAndroid 1.x èå(G1, MyTouch3G, Hero): æèäç Android Market äç âProxySurfâ æèåï
+åèçHTTP Proxyåå127.0.0.1çå8118èèHTTPæè(åHTTP/Sææ)ã</string>
+
+<string name="help_text_3">åæèåååïåäåè Android Market åç âBeemâïåèçSOCKS5äçä127.0.0.1ïçå9050ã</string>
+
+<string name="help_text_4">åä Android 2.x èåïæåéèåèåç ROOT æéæèä Orbot äéæäççæååäïåäéROOTèåäæèåéæææåäç(ééæèåæèææäçèç)ã
+åæææèå ROOT æéïèå\"Beem\" çååäèçSOCKS5(127.0.0.1çå9050)ïæèåäååSSLæææäæçæåäåçã</string>
+
+<string name="help_text_5">æèæåä1.xèæ2.xçèåïåæææçèèROOTæéïOrbot éèéèéæäççæåäçæéæçääçååææDNSèæã
+åæåççæèå,Gmail,YouTube,ååååçäæçåã</string>
+
+</resources>