diff --git a/Orbot/res/po2xml.sh b/Orbot/res/po2xml.sh deleted file mode 100755 index 9da746dd..00000000 --- a/Orbot/res/po2xml.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/bash -# -# Author: Runa A. Sandvik, -# 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 diff --git a/Orbot/res/values-sv/strings.xml b/Orbot/res/values-sv/strings.xml new file mode 100644 index 00000000..b3c83c52 --- /dev/null +++ b/Orbot/res/values-sv/strings.xml @@ -0,0 +1,52 @@ + + + Orbot + 0.0.8 + http://orbot/ + http://check.torproject.org + https://check.torproject.org + https://check.torproject.org/?TorButton=true + start and stop Tor + torproxyservice + +Orbot startar... +Uppkopplad till Tor nätverket +"Orbot är inaktiverad +Orbot avslutas + +Startar Tor... +verifierar kontroll uppkopplingen... +klar. +väntar. + +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 +Hem +Browse +Inställningar +Logg +Hjälp +Apps +Start +Stopp + + + +Hjälp +Stäng +Om + +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. + +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). + +För chatt/IM, pröva "Beem" från Android Market, och ställ in SOCKS5 proxy till 127.0.0.1 / port 9050. + +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. + +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. + + diff --git a/Orbot/res/values-zh_CN/strings.xml b/Orbot/res/values-zh/strings.xml similarity index 100% rename from Orbot/res/values-zh_CN/strings.xml rename to Orbot/res/values-zh/strings.xml