[tor-commits] [translation/tails-misc] Update translations for tails-misc

2015-02-09 Thread translation
commit 350aa41116a46d1c84c61534dde0d11d9d1d9839
Author: Translation commit bot 
Date:   Tue Feb 10 07:45:36 2015 +

Update translations for tails-misc
---
 hr_HR.po |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hr_HR.po b/hr_HR.po
index 2d14f86..18e4250 100644
--- a/hr_HR.po
+++ b/hr_HR.po
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-14 16:01+0100\n"
-"PO-Revision-Date: 2015-02-10 07:02+\n"
+"PO-Revision-Date: 2015-02-10 07:38+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"

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


[tor-commits] [translation/tails-misc_completed] Update translations for tails-misc_completed

2015-02-09 Thread translation
commit 21052e3b2fe77795d40aa9094cf39b7b7351754d
Author: Translation commit bot 
Date:   Tue Feb 10 07:45:40 2015 +

Update translations for tails-misc_completed
---
 hr_HR.po |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hr_HR.po b/hr_HR.po
index 2d14f86..18e4250 100644
--- a/hr_HR.po
+++ b/hr_HR.po
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-14 16:01+0100\n"
-"PO-Revision-Date: 2015-02-10 07:02+\n"
+"PO-Revision-Date: 2015-02-10 07:38+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"

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


[tor-commits] [translation/tails-misc] Update translations for tails-misc

2015-02-09 Thread translation
commit f67c5453661ae95755113e704c470dbf2341ec56
Author: Translation commit bot 
Date:   Tue Feb 10 07:15:36 2015 +

Update translations for tails-misc
---
 hr_HR.po |   14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/hr_HR.po b/hr_HR.po
index 5aee662..2d14f86 100644
--- a/hr_HR.po
+++ b/hr_HR.po
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-14 16:01+0100\n"
-"PO-Revision-Date: 2015-02-09 12:32+\n"
+"PO-Revision-Date: 2015-02-10 07:02+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
@@ -305,7 +305,7 @@ msgstr "Sav mrežni rad onemogućen"
 msgid ""
 "MAC spoofing failed for network card ${nic_name} (${nic}). The error recovery 
also failed so all networking is disabled.\n"
 "You might prefer to restart Tails and disable MAC spoofing. See the documentation."
-msgstr "MAC ometanje neuspješno za mrežnu karticu  ${nic_name} (${nic}). 
Oporavak od pogreške takođe nije uspio tako da je svo umrežavanje 
onemogućeno.\nMožda biste radije ponovo pokrenuli Tails i onesposobili MAC 
ometanje. Pogledajte dokumentaciju."
+msgstr "MAC maskiranje nije uspjelo za mrežnu karticu  ${nic_name} (${nic}). 
Oporavak od pogreške također nije uspio tako da je sav mrežni rad 
onemogućen.\nMožda biste radije ponovo pokrenuli Tails i onesposobili MAC 
maskiranje. Pogledajte dokumentaciju."
 
 #: config/chroot_local-includes/usr/local/bin/tails-upgrade-frontend-wrapper:19
 #: config/chroot_local-includes/usr/local/sbin/unsafe-browser:61
@@ -328,24 +328,24 @@ msgid ""
 "\n"
 "Or do a manual upgrade.\n"
 "See https://tails.boum.org/doc/first_steps/upgrade#manual";
-msgstr "Nedovoljno slobodne memorije za provjeru 
nadogradnje.\n\nUvjerite se da sistem zadovoljava sve zahtjeve za 
pokretanje Tails-a.\nPogledajte datoteku 
:///usr/share/doc/tails/website/doc/about/requirements.en.html\n\nPokušajte da 
ponovo pokrenete Tails i potrazite moguće nadogradnje.\n\nIli nadogradnju 
izvrsite manuelno.\nPogledajte 
https://tails.boum.org/doc/first_steps/upgrade#manual";
+msgstr "Nedovoljno memorije za provjeru nadogradnje.\n\nOsigurajte da 
sustav zadovoljava sve zahtjeve za pokretanje Tails-a.\nPogledajte datoteku 
:///usr/share/doc/tails/website/doc/about/requirements.en.html\n\nPokušajte 
ponovno pokrenuti Tails i da bi ponovno potražili nadogradnje.\n\nIli 
izvršite manualnu nadogradnju.\nPogledajte 
https://tails.boum.org/doc/first_steps/upgrade#manual";
 
 #: config/chroot_local-includes/usr/local/bin/tails-virt-notify-user:53
 msgid "Warning: virtual machine detected!"
-msgstr "Upozorenje : Virtualna mašina otkrivena ! "
+msgstr "Upozorenje : Virtualna mašina otkrivena!"
 
 #: config/chroot_local-includes/usr/local/bin/tails-virt-notify-user:55
 msgid ""
 "Both the host operating system and the virtualization software are able to "
 "monitor what you are doing in Tails."
-msgstr "I domaći operativni sustav i softver za virtualizaciju su u 
mogućnosti da prate što radite u Tails."
+msgstr "Domaćinski operativni sustav i softver za virtualizaciju mogu pratiti 
Å¡to radite u Tails-u."
 
 #: config/chroot_local-includes/usr/local/bin/tails-virt-notify-user:57
 msgid ""
 "Learn"
 " more..."
-msgstr "Nauči
 više..."
+msgstr "Naučite
 više..."
 
 #: config/chroot_local-includes/usr/local/bin/tor-browser:18
 msgid "Tor is not ready"
@@ -365,7 +365,7 @@ msgstr "Otkaži"
 
 #: config/chroot_local-includes/usr/local/sbin/unsafe-browser:72
 msgid "Do you really want to launch the Unsafe Browser?"
-msgstr "Da li sigurno želite da pokrenete nesiguran pretraživač ? "
+msgstr "Da li sigurno želite pokrenuti nesiguran pretraživač?"
 
 #: config/chroot_local-includes/usr/local/sbin/unsafe-browser:74
 msgid ""

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


[tor-commits] [translation/tails-misc_completed] Update translations for tails-misc_completed

2015-02-09 Thread translation
commit 184be6c0c550d0415255ddd95aee5472fdb2e355
Author: Translation commit bot 
Date:   Tue Feb 10 07:15:40 2015 +

Update translations for tails-misc_completed
---
 hr_HR.po |   14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/hr_HR.po b/hr_HR.po
index 5aee662..2d14f86 100644
--- a/hr_HR.po
+++ b/hr_HR.po
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-14 16:01+0100\n"
-"PO-Revision-Date: 2015-02-09 12:32+\n"
+"PO-Revision-Date: 2015-02-10 07:02+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
@@ -305,7 +305,7 @@ msgstr "Sav mrežni rad onemogućen"
 msgid ""
 "MAC spoofing failed for network card ${nic_name} (${nic}). The error recovery 
also failed so all networking is disabled.\n"
 "You might prefer to restart Tails and disable MAC spoofing. See the documentation."
-msgstr "MAC ometanje neuspješno za mrežnu karticu  ${nic_name} (${nic}). 
Oporavak od pogreške takođe nije uspio tako da je svo umrežavanje 
onemogućeno.\nMožda biste radije ponovo pokrenuli Tails i onesposobili MAC 
ometanje. Pogledajte dokumentaciju."
+msgstr "MAC maskiranje nije uspjelo za mrežnu karticu  ${nic_name} (${nic}). 
Oporavak od pogreške također nije uspio tako da je sav mrežni rad 
onemogućen.\nMožda biste radije ponovo pokrenuli Tails i onesposobili MAC 
maskiranje. Pogledajte dokumentaciju."
 
 #: config/chroot_local-includes/usr/local/bin/tails-upgrade-frontend-wrapper:19
 #: config/chroot_local-includes/usr/local/sbin/unsafe-browser:61
@@ -328,24 +328,24 @@ msgid ""
 "\n"
 "Or do a manual upgrade.\n"
 "See https://tails.boum.org/doc/first_steps/upgrade#manual";
-msgstr "Nedovoljno slobodne memorije za provjeru 
nadogradnje.\n\nUvjerite se da sistem zadovoljava sve zahtjeve za 
pokretanje Tails-a.\nPogledajte datoteku 
:///usr/share/doc/tails/website/doc/about/requirements.en.html\n\nPokušajte da 
ponovo pokrenete Tails i potrazite moguće nadogradnje.\n\nIli nadogradnju 
izvrsite manuelno.\nPogledajte 
https://tails.boum.org/doc/first_steps/upgrade#manual";
+msgstr "Nedovoljno memorije za provjeru nadogradnje.\n\nOsigurajte da 
sustav zadovoljava sve zahtjeve za pokretanje Tails-a.\nPogledajte datoteku 
:///usr/share/doc/tails/website/doc/about/requirements.en.html\n\nPokušajte 
ponovno pokrenuti Tails i da bi ponovno potražili nadogradnje.\n\nIli 
izvršite manualnu nadogradnju.\nPogledajte 
https://tails.boum.org/doc/first_steps/upgrade#manual";
 
 #: config/chroot_local-includes/usr/local/bin/tails-virt-notify-user:53
 msgid "Warning: virtual machine detected!"
-msgstr "Upozorenje : Virtualna mašina otkrivena ! "
+msgstr "Upozorenje : Virtualna mašina otkrivena!"
 
 #: config/chroot_local-includes/usr/local/bin/tails-virt-notify-user:55
 msgid ""
 "Both the host operating system and the virtualization software are able to "
 "monitor what you are doing in Tails."
-msgstr "I domaći operativni sustav i softver za virtualizaciju su u 
mogućnosti da prate što radite u Tails."
+msgstr "Domaćinski operativni sustav i softver za virtualizaciju mogu pratiti 
Å¡to radite u Tails-u."
 
 #: config/chroot_local-includes/usr/local/bin/tails-virt-notify-user:57
 msgid ""
 "Learn"
 " more..."
-msgstr "Nauči
 više..."
+msgstr "Naučite
 više..."
 
 #: config/chroot_local-includes/usr/local/bin/tor-browser:18
 msgid "Tor is not ready"
@@ -365,7 +365,7 @@ msgstr "Otkaži"
 
 #: config/chroot_local-includes/usr/local/sbin/unsafe-browser:72
 msgid "Do you really want to launch the Unsafe Browser?"
-msgstr "Da li sigurno želite da pokrenete nesiguran pretraživač ? "
+msgstr "Da li sigurno želite pokrenuti nesiguran pretraživač?"
 
 #: config/chroot_local-includes/usr/local/sbin/unsafe-browser:74
 msgid ""

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


[tor-commits] [tor/master] Merge remote-tracking branch 'sysrqb/bug14802_025'

2015-02-09 Thread nickm
commit 5c820def993cad85d18e887af74087163d769f04
Merge: f4c0735 9ae321d
Author: Nick Mathewson 
Date:   Mon Feb 9 22:39:55 2015 -0800

Merge remote-tracking branch 'sysrqb/bug14802_025'

 changes/bug14802|4 
 src/common/compat.c |2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

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


[tor-commits] [tor/master] Return 0 when detecting the amount of memory fails

2015-02-09 Thread nickm
commit 9ae321db66cf83453b34c75d889599ea4a75642b
Author: Matthew Finkel 
Date:   Mon Feb 9 01:58:22 2015 +

Return 0 when detecting the amount of memory fails

Fixes bug 14802;  bugfix on 0.2.5.4-alpha.
---
 changes/bug14802|4 
 src/common/compat.c |2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/changes/bug14802 b/changes/bug14802
new file mode 100644
index 000..fc7cfd1
--- /dev/null
+++ b/changes/bug14802
@@ -0,0 +1,4 @@
+  o Minor bugfix:
+- Make an educated guess about how much memory the system has when our
+  detection functionality fails on some operating system.  Fixes bug 14802;
+  bugfix on 0.2.5.4-alpha.
diff --git a/src/common/compat.c b/src/common/compat.c
index e25ecc4..3eda1ca 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -3517,7 +3517,7 @@ get_total_system_memory_impl(void)
   size_t len = sizeof(memsize);
   int mib[2] = {CTL_HW, HW_USERMEM};
   if (sysctl(mib,2,&memsize,&len,NULL,0))
-return -1;
+return 0;
 
   return memsize;
 



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


[tor-commits] [tor/master] Merge remote-tracking branch 'teor/avoid-NULL-smartlist-foreach'

2015-02-09 Thread nickm
commit f4c0735933699d899bd31c4e938862bcec7fd64c
Merge: 9667b2b d0759da
Author: Nick Mathewson 
Date:   Mon Feb 9 22:35:40 2015 -0800

Merge remote-tracking branch 'teor/avoid-NULL-smartlist-foreach'

 src/test/test_address.c |   13 -
 1 file changed, 8 insertions(+), 5 deletions(-)

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


[tor-commits] [tor/master] Avoid calling SMARTLIST_FOREACH on a NULL smartlist in tests

2015-02-09 Thread nickm
commit d0759da14eeaefb186d8d514f971b0b1a0618a0f
Author: teor 
Date:   Sun Feb 8 23:41:37 2015 +1100

Avoid calling SMARTLIST_FOREACH on a NULL smartlist in tests

Check if each smartlist is NULL before calling SMARTLIST_FOREACH on it.

Bug discovered by the clang static analyzer.
Apple clang 600.0.56 (LLVM 3.5svn) on x86_64-apple-darwin14.1.0.
---
 src/test/test_address.c |   13 -
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/test/test_address.c b/src/test/test_address.c
index f98cc12..7f7347f 100644
--- a/src/test/test_address.c
+++ b/src/test/test_address.c
@@ -207,9 +207,10 @@ test_address_ifaddrs_to_smartlist(void *arg)
tor_free(ifa_ipv4);
tor_free(ifa_ipv6);
tor_free(sockaddr_to_check);
-   SMARTLIST_FOREACH(smartlist, tor_addr_t *, t, tor_free(t));
-   smartlist_free(smartlist);
-
+   if (smartlist) {
+ SMARTLIST_FOREACH(smartlist, tor_addr_t *, t, tor_free(t));
+ smartlist_free(smartlist);
+   }
return;
 }
 
@@ -442,8 +443,10 @@ test_address_get_if_addrs_ioctl(void *arg)
   tt_assert(smartlist_contains_localhost_tor_addr(result));
 
   done:
-  SMARTLIST_FOREACH(result, tor_addr_t *, t, tor_free(t));
-  smartlist_free(result);
+  if (result) {
+SMARTLIST_FOREACH(result, tor_addr_t *, t, tor_free(t));
+smartlist_free(result);
+  }
   return;
 }
 



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


[tor-commits] [stem/master] Resolve www.torproject.org instead of hardcoding

2015-02-09 Thread atagar
commit e72adf711185e975e5828cc4147b419b900b6536
Author: Sebastian Hahn 
Date:   Mon Feb 9 21:30:36 2015 +0100

Resolve www.torproject.org instead of hardcoding

This led to a test failure because the IP changed.
---
 test/integ/control/controller.py |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/integ/control/controller.py b/test/integ/control/controller.py
index 6ec03a0..055955d 100644
--- a/test/integ/control/controller.py
+++ b/test/integ/control/controller.py
@@ -898,7 +898,7 @@ class TestController(unittest.TestCase):
 elif test.runner.require_online(self):
   return
 
-host = '38.229.72.14'   # www.torproject.org
+host = socket.gethostbyname('www.torproject.org')
 port = 443
 
 runner = test.runner.get_runner()
@@ -1173,7 +1173,7 @@ class TestController(unittest.TestCase):
 elif test.runner.require_version(self, 
Requirement.EXTENDCIRCUIT_PATH_OPTIONAL):
   return
 
-host = '38.229.72.14'   # www.torproject.org
+host = socket.gethostbyname('www.torproject.org')
 port = 80
 
 circuit_id, streams = None, []

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


[tor-commits] [stem/master] Gabelmoo's IP address changed

2015-02-09 Thread atagar
commit 356600f1c49dd02bf925f296104ffe708a80ec9e
Author: Sebastian Hahn 
Date:   Mon Feb 9 20:17:14 2015 +0100

Gabelmoo's IP address changed
---
 docs/tutorials/examples/votes_by_bandwidth_authorities.rst |2 +-
 test/unit/descriptor/networkstatus/directory_authority.py  |6 +++---
 test/unit/descriptor/networkstatus/document_v3.py  |2 +-
 test/unit/tutorial_examples.py |6 +++---
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/docs/tutorials/examples/votes_by_bandwidth_authorities.rst 
b/docs/tutorials/examples/votes_by_bandwidth_authorities.rst
index 4e7aa00..c413c96 100644
--- a/docs/tutorials/examples/votes_by_bandwidth_authorities.rst
+++ b/docs/tutorials/examples/votes_by_bandwidth_authorities.rst
@@ -51,7 +51,7 @@ gets their current votes then prints how many relays it had a 
measurement for.
 ::
 
   % python bandwidth_auth_measured_counts.py
-  Getting gabelmoo's vote from 
http://212.112.245.170:80/tor/status-vote/current/authority:
+  Getting gabelmoo's vote from 
http://131.188.40.189:80/tor/status-vote/current/authority:
 5935 measured entries and 1332 unmeasured
   Getting tor26's vote from 
http://86.59.21.38:80/tor/status-vote/current/authority:
 5735 measured entries and 1690 unmeasured
diff --git a/test/unit/descriptor/networkstatus/directory_authority.py 
b/test/unit/descriptor/networkstatus/directory_authority.py
index 0c44a1e..c1dc319 100644
--- a/test/unit/descriptor/networkstatus/directory_authority.py
+++ b/test/unit/descriptor/networkstatus/directory_authority.py
@@ -62,13 +62,13 @@ class TestDirectoryAuthority(unittest.TestCase):
 Parses an authority using the '-legacy' format.
 """
 
-content = 'dir-source gabelmoo-legacy 
81349FC1F2DBA2C2C11B45CB9706637D480AB913 212.112.245.170 212.112.245.170 80 443'
+content = 'dir-source gabelmoo-legacy 
81349FC1F2DBA2C2C11B45CB9706637D480AB913 131.188.40.189 131.188.40.189 80 443'
 authority = DirectoryAuthority(content, is_vote = False)
 
 self.assertEqual('gabelmoo-legacy', authority.nickname)
 self.assertEqual('81349FC1F2DBA2C2C11B45CB9706637D480AB913', 
authority.fingerprint)
-self.assertEqual('212.112.245.170', authority.hostname)
-self.assertEqual('212.112.245.170', authority.address)
+self.assertEqual('131.188.40.189', authority.hostname)
+self.assertEqual('131.188.40.189', authority.address)
 self.assertEqual(80, authority.dir_port)
 self.assertEqual(443, authority.or_port)
 self.assertEqual(True, authority.is_legacy)
diff --git a/test/unit/descriptor/networkstatus/document_v3.py 
b/test/unit/descriptor/networkstatus/document_v3.py
index 3ed7fbe..2f847d7 100644
--- a/test/unit/descriptor/networkstatus/document_v3.py
+++ b/test/unit/descriptor/networkstatus/document_v3.py
@@ -1136,7 +1136,7 @@ DnN5aFtYKiTc19qIC7Nmo+afPdDEf0MlJvEOP5EWl3w=
 Includes both normal authorities and those following the '-legacy' format.
 """
 
-legacy_content = 'dir-source gabelmoo-legacy 
81349FC1F2DBA2C2C11B45CB9706637D480AB913 212.112.245.170 212.112.245.170 80 443'
+legacy_content = 'dir-source gabelmoo-legacy 
81349FC1F2DBA2C2C11B45CB9706637D480AB913 131.188.40.189 131.188.40.189 80 443'
 
 authority1 = get_directory_authority({'contact': 'doctor jekyll'}, is_vote 
= False)
 authority2 = DirectoryAuthority(legacy_content, validate = True, is_vote = 
False)
diff --git a/test/unit/tutorial_examples.py b/test/unit/tutorial_examples.py
index 10d80dd..2985281 100644
--- a/test/unit/tutorial_examples.py
+++ b/test/unit/tutorial_examples.py
@@ -90,7 +90,7 @@ moria1 has the Running flag but maatuska doesn't: 
DCAEC3D069DC39AAE43D13C8AF31B5
 """
 
 VOTES_BY_BANDWIDTH_AUTHORITIES_OUTPUT = """\
-Getting gabelmoo's vote from 
http://212.112.245.170:80/tor/status-vote/current/authority:
+Getting gabelmoo's vote from 
http://131.188.40.189:80/tor/status-vote/current/authority:
   5935 measured entries and 1332 unmeasured
 Getting tor26's vote from 
http://86.59.21.38:80/tor/status-vote/current/authority:
   5735 measured entries and 1690 unmeasured
@@ -408,14 +408,14 @@ class TestTutorialExamples(unittest.TestCase):
   DIRECTORY_AUTHORITIES['maatuska'],
 ]
 
-directory_values[0].address = '212.112.245.170'
+directory_values[0].address = '131.188.40.189'
 get_authorities_mock().values.return_value = directory_values
 
 entry_with_measurement = get_router_status_entry_v3({'w': 'Bandwidth=1 
Measured=1'})
 entry_without_measurement = get_router_status_entry_v3()
 
 query1 = Mock()
-query1.download_url = 
'http://212.112.245.170:80/tor/status-vote/current/authority'
+query1.download_url = 
'http://131.188.40.189:80/tor/status-vote/current/authority'
 query1.run.return_value = [entry_with_measurement] * 5935 + 
[entry_without_measurement] * 1332
 
 query2 = Mock()



___
tor-commits mailing list
tor-commits@lists.torproject.org

[tor-commits] [stem/master] Fix system resolved test on platforms without proc

2015-02-09 Thread atagar
commit 9d644f4c18e8ec7a43591fdc2a8a140fad44571a
Author: Sebastian Hahn 
Date:   Mon Feb 9 20:59:50 2015 +0100

Fix system resolved test on platforms without proc

This was broken when a hack was introduced for Gentoo in commit
500fd38a7d09e883257d84dd67bc7014f4f47085.
---
 test/unit/util/connection.py |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/unit/util/connection.py b/test/unit/util/connection.py
index b6995d0..731fa5b 100644
--- a/test/unit/util/connection.py
+++ b/test/unit/util/connection.py
@@ -105,15 +105,17 @@ BSD_PROCSTAT_OUTPUT = """\
 
 
 class TestConnection(unittest.TestCase):
+  @patch('os.access')
   @patch('stem.util.system.is_available')
   @patch('stem.util.proc.is_available')
-  def test_system_resolvers(self, proc_mock, is_available_mock):
+  def test_system_resolvers(self, proc_mock, is_available_mock, os_mock):
 """
 Checks the system_resolvers function.
 """
 
 is_available_mock.return_value = True
 proc_mock.return_value = False
+os_mock.return_value = True
 
 self.assertEqual([], stem.util.connection.system_resolvers('Windows'))
 self.assertEqual([Resolver.LSOF], 
stem.util.connection.system_resolvers('Darwin'))



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


[tor-commits] [stem/master] Fix a doc typo

2015-02-09 Thread atagar
commit 337c27ca707fc3087cb061c32b9832279040a6fb
Author: Sebastian Hahn 
Date:   Mon Feb 9 20:32:13 2015 +0100

Fix a doc typo
---
 docs/faq.rst |2 +-
 stem/util/connection.py  |2 +-
 test/unit/util/connection.py |2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/faq.rst b/docs/faq.rst
index 08781be..3fc6166 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -397,7 +397,7 @@ the following...
   with Controller.from_port(port = 9051) as controller:
 # do my stuff
 
-... is equivialnt to...
+... is equivalent to...
 
 .. code-block:: python
 
diff --git a/stem/util/connection.py b/stem/util/connection.py
index a7b979a..200699a 100644
--- a/stem/util/connection.py
+++ b/stem/util/connection.py
@@ -260,7 +260,7 @@ def system_resolvers(system = None):
   elif system in ('Darwin', 'OpenBSD'):
 resolvers = [Resolver.LSOF]
   elif system == 'FreeBSD':
-# Netstat is available, but lacks a '-p' equivilant so we can't associate
+# Netstat is available, but lacks a '-p' equivalent so we can't associate
 # the results to processes. The platform also has a ss command, but it
 # belongs to a spreadsheet application.
 
diff --git a/test/unit/util/connection.py b/test/unit/util/connection.py
index 582e747..b6995d0 100644
--- a/test/unit/util/connection.py
+++ b/test/unit/util/connection.py
@@ -124,7 +124,7 @@ class TestConnection(unittest.TestCase):
 proc_mock.return_value = True
 self.assertEqual([Resolver.PROC, Resolver.NETSTAT, Resolver.SOCKSTAT, 
Resolver.LSOF, Resolver.SS], stem.util.connection.system_resolvers('Linux'))
 
-# check that calling without an argument is equivilant to calling for this
+# check that calling without an argument is equivalent to calling for this
 # platform
 
 self.assertEqual(stem.util.connection.system_resolvers(platform.system()), 
stem.util.connection.system_resolvers())



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


[tor-commits] [webwml/master] Fix osx gpg instructions (#12563)

2015-02-09 Thread sebastian
commit dfef746338aeb274bcd24e1e478e07bebd108eff
Author: Sebastian Hahn 
Date:   Mon Feb 9 22:52:42 2015 +0100

Fix osx gpg instructions (#12563)
---
 docs/en/verifying-signatures.wml |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/en/verifying-signatures.wml b/docs/en/verifying-signatures.wml
index 856e01c..430e5e8 100644
--- a/docs/en/verifying-signatures.wml
+++ b/docs/en/verifying-signatures.wml
@@ -137,7 +137,7 @@
 to download the ".asc" file as well. Assuming you downloaded the
 package and its signature to your Desktop, run:
 
-gpg --verify 
/Users/Alice/TorBrowser--osx32_en-US.dmg{.asc*,}
+gpg --verify 
~/Desktop/TorBrowser--osx32_en-US.dmg{.asc*,}
 
 The output should say "Good signature": 
 
@@ -220,7 +220,7 @@
   Windows you can use the http://md5deep.sourceforge.net/";>
   hashdeep utility and run
   C:\location\where\you\saved\hashdeep -c sha256sum .exe
-  On Mac or Linux you can run sha256sum .zip or sha256sum .tar.gz 
without having to download a utility.
+  On Mac or Linux you can run sha256sum .dmg or sha256sum .tar.gz 
without having to download a utility.
   You will see a string of letters and numbers.
   Open sha256sums.txt in a text editor.
   Locate the name of the Tor Browser file you downloaded.

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


[tor-commits] [translation/bridgedb_completed] Update translations for bridgedb_completed

2015-02-09 Thread translation
commit 82fbebe7a5032de5fae7b14a3318757b47473fee
Author: Translation commit bot 
Date:   Mon Feb 9 20:15:08 2015 +

Update translations for bridgedb_completed
---
 pl/LC_MESSAGES/bridgedb.po |   20 ++--
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/pl/LC_MESSAGES/bridgedb.po b/pl/LC_MESSAGES/bridgedb.po
index 88014b4..768377f 100644
--- a/pl/LC_MESSAGES/bridgedb.po
+++ b/pl/LC_MESSAGES/bridgedb.po
@@ -17,7 +17,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: 
'https://trac.torproject.org/projects/tor/newticket?component=BridgeDB&keywords=bridgedb-reported,msgid&cc=isis,sysrqb&owner=isis'\n"
 "POT-Creation-Date: 2014-07-26 02:11+\n"
-"PO-Revision-Date: 2015-02-09 19:44+\n"
+"PO-Revision-Date: 2015-02-09 20:12+\n"
 "Last-Translator: oirpos \n"
 "Language-Team: Polish 
(http://www.transifex.com/projects/p/torproject/language/pl/)\n"
 "MIME-Version: 1.0\n"
@@ -170,7 +170,7 @@ msgid ""
 "Try including as much info about your case as you can, including the list 
of\n"
 "bridges and Pluggable Transports you tried to use, your Tor Browser 
version,\n"
 "and any messages which Tor gave out, etc."
-msgstr "Spróbuj podzielić się informacji o swoim przypadku, uwzględniając 
listę bridges i Pluggable Transports których próbowałeś użyć, wersję 
Tor Browser,\noraz wszelkie wiadomości, które przekazał Tobie Tor itp."
+msgstr "Spróbuj zawrzeć jak najwiecej informacji o swoim problemie, 
uwzględniając listę mostów i Pluggable Transports, których próbowałeś 
użyć, wersję Tor Browser, wszelkie komunikaty, które zwrócił Tor itp."
 
 #: lib/bridgedb/strings.py:103
 msgid "Here are your bridge lines:"
@@ -211,7 +211,7 @@ msgstr "Jak zacząć używać mostów"
 msgid ""
 "To enter bridges into Tor Browser, follow the instructions on the %s Tor\n"
 "Browser download page %s to start Tor Browser."
-msgstr "Aby wprowadzić mosty do Tor Browser, postępuj zgodnie z instrukcjami 
na %s stronie \npobierania Tor Browser %s, aby uruchomić Tor Browser."
+msgstr "Aby dodać mosty do Tor Browser, postępuj zgodnie z instrukcjami 
dostępnymi na %s stronie \npobierania Tor Browser %s w celu uruchomienia Tor 
Browser."
 
 #. TRANSLATORS: Please DO NOT translate "Tor".
 #: lib/bridgedb/strings.py:125
@@ -249,7 +249,7 @@ msgstr "Poproś o regularne mosty."
 
 #: lib/bridgedb/strings.py:146
 msgid "Request IPv6 bridges."
-msgstr "Poproś o IPv6 bridges."
+msgstr "Poproś o mosty IPv6."
 
 #. TRANSLATORS: Please DO NOT translate the word the word "TYPE".
 #: lib/bridgedb/strings.py:148
@@ -284,18 +284,18 @@ msgstr "Kontakt"
 #. or for French: "Sacrebleu!". :)
 #: lib/bridgedb/templates/bridges.html:66
 msgid "Uh oh, spaghettios!"
-msgstr "Oh coś poszło nie tak!"
+msgstr "Ups, coś poszło nie tak!"
 
 #: lib/bridgedb/templates/bridges.html:72
 msgid "There currently aren't any bridges available..."
-msgstr "Obecnie nie ma żadnych dostępnych bridges..."
+msgstr "Obecnie nie ma dostępnych żadnych mostów..."
 
 #: lib/bridgedb/templates/bridges.html:73
 #, python-format
 msgid ""
 " Perhaps you should try %s going back %s and choosing a different bridge "
 "type!"
-msgstr "Być może powinieneś spróbować %s wrócić %s i wybrać inny typ 
mostu!"
+msgstr "Prawdpododobnie powinieneś spróbować %s wrócić %s i wybrać inny 
typ mostu!"
 
 #: lib/bridgedb/templates/index.html:11
 #, python-format
@@ -325,7 +325,7 @@ msgstr "Krok %s3%s"
 #: lib/bridgedb/templates/index.html:38
 #, python-format
 msgid "Now %s add the bridges to Tor Browser %s"
-msgstr "Teraz %s doda bridges do Tor Browser %s"
+msgstr "Teraz %s dodaj mosty do Tor Browser %s"
 
 #. TRANSLATORS: Please make sure the '%s' surrounding single letters at the
 #. beginning of words are present in your final translation. Thanks!
@@ -334,7 +334,7 @@ msgstr "Teraz %s doda bridges do Tor Browser %s"
 #: lib/bridgedb/templates/options.html:38
 #, python-format
 msgid "%sJ%sust give me bridges!"
-msgstr "%sD%saj mi tylko bridges!"
+msgstr "%sD%saj mi tylko mosty!"
 
 #: lib/bridgedb/templates/options.html:52
 msgid "Advanced Options"
@@ -362,4 +362,4 @@ msgstr "%sT%sak!"
 #: lib/bridgedb/templates/options.html:154
 #, python-format
 msgid "%sG%set Bridges"
-msgstr "%sZ%sdobądź Bridges"
+msgstr "%sZ%sdobądź mosty"

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


[tor-commits] [translation/bridgedb] Update translations for bridgedb

2015-02-09 Thread translation
commit 2e4ea8fc264494e3a8f1d0883ccec70d77d0efca
Author: Translation commit bot 
Date:   Mon Feb 9 20:15:04 2015 +

Update translations for bridgedb
---
 pl/LC_MESSAGES/bridgedb.po |   20 ++--
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/pl/LC_MESSAGES/bridgedb.po b/pl/LC_MESSAGES/bridgedb.po
index 88014b4..768377f 100644
--- a/pl/LC_MESSAGES/bridgedb.po
+++ b/pl/LC_MESSAGES/bridgedb.po
@@ -17,7 +17,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: 
'https://trac.torproject.org/projects/tor/newticket?component=BridgeDB&keywords=bridgedb-reported,msgid&cc=isis,sysrqb&owner=isis'\n"
 "POT-Creation-Date: 2014-07-26 02:11+\n"
-"PO-Revision-Date: 2015-02-09 19:44+\n"
+"PO-Revision-Date: 2015-02-09 20:12+\n"
 "Last-Translator: oirpos \n"
 "Language-Team: Polish 
(http://www.transifex.com/projects/p/torproject/language/pl/)\n"
 "MIME-Version: 1.0\n"
@@ -170,7 +170,7 @@ msgid ""
 "Try including as much info about your case as you can, including the list 
of\n"
 "bridges and Pluggable Transports you tried to use, your Tor Browser 
version,\n"
 "and any messages which Tor gave out, etc."
-msgstr "Spróbuj podzielić się informacji o swoim przypadku, uwzględniając 
listę bridges i Pluggable Transports których próbowałeś użyć, wersję 
Tor Browser,\noraz wszelkie wiadomości, które przekazał Tobie Tor itp."
+msgstr "Spróbuj zawrzeć jak najwiecej informacji o swoim problemie, 
uwzględniając listę mostów i Pluggable Transports, których próbowałeś 
użyć, wersję Tor Browser, wszelkie komunikaty, które zwrócił Tor itp."
 
 #: lib/bridgedb/strings.py:103
 msgid "Here are your bridge lines:"
@@ -211,7 +211,7 @@ msgstr "Jak zacząć używać mostów"
 msgid ""
 "To enter bridges into Tor Browser, follow the instructions on the %s Tor\n"
 "Browser download page %s to start Tor Browser."
-msgstr "Aby wprowadzić mosty do Tor Browser, postępuj zgodnie z instrukcjami 
na %s stronie \npobierania Tor Browser %s, aby uruchomić Tor Browser."
+msgstr "Aby dodać mosty do Tor Browser, postępuj zgodnie z instrukcjami 
dostępnymi na %s stronie \npobierania Tor Browser %s w celu uruchomienia Tor 
Browser."
 
 #. TRANSLATORS: Please DO NOT translate "Tor".
 #: lib/bridgedb/strings.py:125
@@ -249,7 +249,7 @@ msgstr "Poproś o regularne mosty."
 
 #: lib/bridgedb/strings.py:146
 msgid "Request IPv6 bridges."
-msgstr "Poproś o IPv6 bridges."
+msgstr "Poproś o mosty IPv6."
 
 #. TRANSLATORS: Please DO NOT translate the word the word "TYPE".
 #: lib/bridgedb/strings.py:148
@@ -284,18 +284,18 @@ msgstr "Kontakt"
 #. or for French: "Sacrebleu!". :)
 #: lib/bridgedb/templates/bridges.html:66
 msgid "Uh oh, spaghettios!"
-msgstr "Oh coś poszło nie tak!"
+msgstr "Ups, coś poszło nie tak!"
 
 #: lib/bridgedb/templates/bridges.html:72
 msgid "There currently aren't any bridges available..."
-msgstr "Obecnie nie ma żadnych dostępnych bridges..."
+msgstr "Obecnie nie ma dostępnych żadnych mostów..."
 
 #: lib/bridgedb/templates/bridges.html:73
 #, python-format
 msgid ""
 " Perhaps you should try %s going back %s and choosing a different bridge "
 "type!"
-msgstr "Być może powinieneś spróbować %s wrócić %s i wybrać inny typ 
mostu!"
+msgstr "Prawdpododobnie powinieneś spróbować %s wrócić %s i wybrać inny 
typ mostu!"
 
 #: lib/bridgedb/templates/index.html:11
 #, python-format
@@ -325,7 +325,7 @@ msgstr "Krok %s3%s"
 #: lib/bridgedb/templates/index.html:38
 #, python-format
 msgid "Now %s add the bridges to Tor Browser %s"
-msgstr "Teraz %s doda bridges do Tor Browser %s"
+msgstr "Teraz %s dodaj mosty do Tor Browser %s"
 
 #. TRANSLATORS: Please make sure the '%s' surrounding single letters at the
 #. beginning of words are present in your final translation. Thanks!
@@ -334,7 +334,7 @@ msgstr "Teraz %s doda bridges do Tor Browser %s"
 #: lib/bridgedb/templates/options.html:38
 #, python-format
 msgid "%sJ%sust give me bridges!"
-msgstr "%sD%saj mi tylko bridges!"
+msgstr "%sD%saj mi tylko mosty!"
 
 #: lib/bridgedb/templates/options.html:52
 msgid "Advanced Options"
@@ -362,4 +362,4 @@ msgstr "%sT%sak!"
 #: lib/bridgedb/templates/options.html:154
 #, python-format
 msgid "%sG%set Bridges"
-msgstr "%sZ%sdobądź Bridges"
+msgstr "%sZ%sdobądź mosty"

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


[tor-commits] [translation/tails-misc] Update translations for tails-misc

2015-02-09 Thread translation
commit c5c70f12a5cf26b6f55aa8b345c1707046f7844b
Author: Translation commit bot 
Date:   Mon Feb 9 19:45:41 2015 +

Update translations for tails-misc
---
 pl.po |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pl.po b/pl.po
index 3d143c9..ace71ec 100644
--- a/pl.po
+++ b/pl.po
@@ -14,7 +14,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-14 16:01+0100\n"
-"PO-Revision-Date: 2015-02-09 19:14+\n"
+"PO-Revision-Date: 2015-02-09 19:21+\n"
 "Last-Translator: oirpos \n"
 "Language-Team: Polish 
(http://www.transifex.com/projects/p/torproject/language/pl/)\n"
 "MIME-Version: 1.0\n"

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


[tor-commits] [translation/tails-misc_completed] Update translations for tails-misc_completed

2015-02-09 Thread translation
commit d593fa01635be9149121d83791a39f6ecca6282a
Author: Translation commit bot 
Date:   Mon Feb 9 19:45:45 2015 +

Update translations for tails-misc_completed
---
 pl.po |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pl.po b/pl.po
index 3d143c9..ace71ec 100644
--- a/pl.po
+++ b/pl.po
@@ -14,7 +14,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-14 16:01+0100\n"
-"PO-Revision-Date: 2015-02-09 19:14+\n"
+"PO-Revision-Date: 2015-02-09 19:21+\n"
 "Last-Translator: oirpos \n"
 "Language-Team: Polish 
(http://www.transifex.com/projects/p/torproject/language/pl/)\n"
 "MIME-Version: 1.0\n"

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


[tor-commits] [translation/bridgedb] Update translations for bridgedb

2015-02-09 Thread translation
commit f68d96d1cbf2d2249c3fc926c191b00a09142317
Author: Translation commit bot 
Date:   Mon Feb 9 19:45:02 2015 +

Update translations for bridgedb
---
 pl/LC_MESSAGES/bridgedb.po |   27 ++-
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/pl/LC_MESSAGES/bridgedb.po b/pl/LC_MESSAGES/bridgedb.po
index b49a2b0..88014b4 100644
--- a/pl/LC_MESSAGES/bridgedb.po
+++ b/pl/LC_MESSAGES/bridgedb.po
@@ -10,14 +10,15 @@
 # Dawid , 2014
 # Rikson , 2014
 # Krzysztof Łojowski , 2014
+# oirpos , 2015
 # seb, 2014
 msgid ""
 msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: 
'https://trac.torproject.org/projects/tor/newticket?component=BridgeDB&keywords=bridgedb-reported,msgid&cc=isis,sysrqb&owner=isis'\n"
 "POT-Creation-Date: 2014-07-26 02:11+\n"
-"PO-Revision-Date: 2014-10-15 17:11+\n"
-"Last-Translator: Rikson \n"
+"PO-Revision-Date: 2015-02-09 19:44+\n"
+"Last-Translator: oirpos \n"
 "Language-Team: Polish 
(http://www.transifex.com/projects/p/torproject/language/pl/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -137,7 +138,7 @@ msgstr "Czym są mostki?"
 #: lib/bridgedb/strings.py:77
 #, python-format
 msgid "%s Bridges %s are Tor relays that help you circumvent censorship."
-msgstr "%s Bridges %s są przekaźnikami sieci Tor pomagającymi  obejść 
cenzurę."
+msgstr "%s Mosty %s są węzłami w sieci Tor pomagającymi ominąć cenzurę."
 
 #: lib/bridgedb/strings.py:82
 msgid "I need an alternative way of getting bridges!"
@@ -149,7 +150,7 @@ msgid ""
 "Another way to get bridges is to send an email to %s. Please note that you 
must\n"
 "send the email using an address from one of the following email providers:\n"
 "%s, %s or %s."
-msgstr "Innym sposobem uzyskania bridges jest poprzez wysłanie e-maila do %s. 
Proszę pamiętaj, że musisz \nwysłać e-mail za używając adresu z jednego 
z następujących dostawców usługi email:\n%s, %s lub %s."
+msgstr "Innym sposobem uzyskania mostu jest wysłanie wiadomości e-mail na 
adres %s. Proszę pamiętać, że należy \nwysłać wiadomość używając 
adresu jednego z następujących dostawców poczty elektronicznej:\n%s, %s lub 
%s."
 
 #: lib/bridgedb/strings.py:90
 msgid "My bridges don't work! I need help!"
@@ -173,7 +174,7 @@ msgstr "Spróbuj podzielić się informacji o swoim 
przypadku, uwzględniając l
 
 #: lib/bridgedb/strings.py:103
 msgid "Here are your bridge lines:"
-msgstr "Oto Twoje połączenia bridge:"
+msgstr "Oto Twoje połączenia z użyciem mostów:"
 
 #: lib/bridgedb/strings.py:104
 msgid "Get Bridges!"
@@ -181,7 +182,7 @@ msgstr "Zdobądź Mosty!"
 
 #: lib/bridgedb/strings.py:108
 msgid "Please select options for bridge type:"
-msgstr "Proszę wybrać opcje typu mostka:"
+msgstr "Proszę wybrać opcje mostu:"
 
 #: lib/bridgedb/strings.py:109
 msgid "Do you need IPv6 addresses?"
@@ -194,15 +195,15 @@ msgstr "Czy potrzebujesz %s?"
 
 #: lib/bridgedb/strings.py:114
 msgid "Your browser is not displaying images properly."
-msgstr "Twoja przeglądarka nie wyświetla odpowiednio obrazów."
+msgstr "Twoja przeglądarka nie wyświetla obrazów prawidłowo."
 
 #: lib/bridgedb/strings.py:115
 msgid "Enter the characters from the image above..."
-msgstr "Wpisz znaki z powyższego obrazka..."
+msgstr "Wprowadź tekst z obrazka powyżej..."
 
 #: lib/bridgedb/strings.py:119
 msgid "How to start using your bridges"
-msgstr "Jak zacząć używać twoich bridges"
+msgstr "Jak zacząć używać mostów"
 
 #. TRANSLATORS: Please DO NOT translate "Tor Browser".
 #: lib/bridgedb/strings.py:121
@@ -210,21 +211,21 @@ msgstr "Jak zacząć używać twoich bridges"
 msgid ""
 "To enter bridges into Tor Browser, follow the instructions on the %s Tor\n"
 "Browser download page %s to start Tor Browser."
-msgstr "Aby wprowadzić bridges do Tor Browser, postępuj zgodnie z 
instrukcjami  na %s stronie \npobierania Tor Browser %s, aby uruchomić Tor 
Browser."
+msgstr "Aby wprowadzić mosty do Tor Browser, postępuj zgodnie z instrukcjami 
na %s stronie \npobierania Tor Browser %s, aby uruchomić Tor Browser."
 
 #. TRANSLATORS: Please DO NOT translate "Tor".
 #: lib/bridgedb/strings.py:125
 msgid ""
 "When the 'Tor Network Settings' dialogue pops up, click 'Configure' and 
follow\n"
 "the wizard until it asks:"
-msgstr "Kiedy pojawi się dialog 'Ustawienia Sieci Tor' to kliknij przycisk 
\"Konfiguruj\" i postępuj zgodnie z\nkreatorem aż poprosi o:"
+msgstr "Po pojawieniu się okna 'Ustawienia Sieci Tor' naciśnij przycisk 
\"Konfiguruj\", a następnie postępuj zgodnie z\nwskazówkami kreatora do 
momentu pytania o:"
 
 #. TRANSLATORS: Please DO NOT translate "Tor".
 #: lib/bridgedb/strings.py:129
 msgid ""
 "Does your Internet Service Provider (ISP) block or otherwise censor 
connections\n"
 "to the Tor network?"
-msgstr "Czy Twój dostawca usług internetowych (ISP) blokuje lub cenzuruje 
połączenia sieci Tor?"
+msgstr "Czy Twój dostawca usług

[tor-commits] [translation/bridgedb_completed] Update translations for bridgedb_completed

2015-02-09 Thread translation
commit 44d871a9d17eca284eabb137809d45e6159ce9c0
Author: Translation commit bot 
Date:   Mon Feb 9 19:45:06 2015 +

Update translations for bridgedb_completed
---
 pl/LC_MESSAGES/bridgedb.po |   27 ++-
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/pl/LC_MESSAGES/bridgedb.po b/pl/LC_MESSAGES/bridgedb.po
index b49a2b0..88014b4 100644
--- a/pl/LC_MESSAGES/bridgedb.po
+++ b/pl/LC_MESSAGES/bridgedb.po
@@ -10,14 +10,15 @@
 # Dawid , 2014
 # Rikson , 2014
 # Krzysztof Łojowski , 2014
+# oirpos , 2015
 # seb, 2014
 msgid ""
 msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: 
'https://trac.torproject.org/projects/tor/newticket?component=BridgeDB&keywords=bridgedb-reported,msgid&cc=isis,sysrqb&owner=isis'\n"
 "POT-Creation-Date: 2014-07-26 02:11+\n"
-"PO-Revision-Date: 2014-10-15 17:11+\n"
-"Last-Translator: Rikson \n"
+"PO-Revision-Date: 2015-02-09 19:44+\n"
+"Last-Translator: oirpos \n"
 "Language-Team: Polish 
(http://www.transifex.com/projects/p/torproject/language/pl/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -137,7 +138,7 @@ msgstr "Czym są mostki?"
 #: lib/bridgedb/strings.py:77
 #, python-format
 msgid "%s Bridges %s are Tor relays that help you circumvent censorship."
-msgstr "%s Bridges %s są przekaźnikami sieci Tor pomagającymi  obejść 
cenzurę."
+msgstr "%s Mosty %s są węzłami w sieci Tor pomagającymi ominąć cenzurę."
 
 #: lib/bridgedb/strings.py:82
 msgid "I need an alternative way of getting bridges!"
@@ -149,7 +150,7 @@ msgid ""
 "Another way to get bridges is to send an email to %s. Please note that you 
must\n"
 "send the email using an address from one of the following email providers:\n"
 "%s, %s or %s."
-msgstr "Innym sposobem uzyskania bridges jest poprzez wysłanie e-maila do %s. 
Proszę pamiętaj, że musisz \nwysłać e-mail za używając adresu z jednego 
z następujących dostawców usługi email:\n%s, %s lub %s."
+msgstr "Innym sposobem uzyskania mostu jest wysłanie wiadomości e-mail na 
adres %s. Proszę pamiętać, że należy \nwysłać wiadomość używając 
adresu jednego z następujących dostawców poczty elektronicznej:\n%s, %s lub 
%s."
 
 #: lib/bridgedb/strings.py:90
 msgid "My bridges don't work! I need help!"
@@ -173,7 +174,7 @@ msgstr "Spróbuj podzielić się informacji o swoim 
przypadku, uwzględniając l
 
 #: lib/bridgedb/strings.py:103
 msgid "Here are your bridge lines:"
-msgstr "Oto Twoje połączenia bridge:"
+msgstr "Oto Twoje połączenia z użyciem mostów:"
 
 #: lib/bridgedb/strings.py:104
 msgid "Get Bridges!"
@@ -181,7 +182,7 @@ msgstr "Zdobądź Mosty!"
 
 #: lib/bridgedb/strings.py:108
 msgid "Please select options for bridge type:"
-msgstr "Proszę wybrać opcje typu mostka:"
+msgstr "Proszę wybrać opcje mostu:"
 
 #: lib/bridgedb/strings.py:109
 msgid "Do you need IPv6 addresses?"
@@ -194,15 +195,15 @@ msgstr "Czy potrzebujesz %s?"
 
 #: lib/bridgedb/strings.py:114
 msgid "Your browser is not displaying images properly."
-msgstr "Twoja przeglądarka nie wyświetla odpowiednio obrazów."
+msgstr "Twoja przeglądarka nie wyświetla obrazów prawidłowo."
 
 #: lib/bridgedb/strings.py:115
 msgid "Enter the characters from the image above..."
-msgstr "Wpisz znaki z powyższego obrazka..."
+msgstr "Wprowadź tekst z obrazka powyżej..."
 
 #: lib/bridgedb/strings.py:119
 msgid "How to start using your bridges"
-msgstr "Jak zacząć używać twoich bridges"
+msgstr "Jak zacząć używać mostów"
 
 #. TRANSLATORS: Please DO NOT translate "Tor Browser".
 #: lib/bridgedb/strings.py:121
@@ -210,21 +211,21 @@ msgstr "Jak zacząć używać twoich bridges"
 msgid ""
 "To enter bridges into Tor Browser, follow the instructions on the %s Tor\n"
 "Browser download page %s to start Tor Browser."
-msgstr "Aby wprowadzić bridges do Tor Browser, postępuj zgodnie z 
instrukcjami  na %s stronie \npobierania Tor Browser %s, aby uruchomić Tor 
Browser."
+msgstr "Aby wprowadzić mosty do Tor Browser, postępuj zgodnie z instrukcjami 
na %s stronie \npobierania Tor Browser %s, aby uruchomić Tor Browser."
 
 #. TRANSLATORS: Please DO NOT translate "Tor".
 #: lib/bridgedb/strings.py:125
 msgid ""
 "When the 'Tor Network Settings' dialogue pops up, click 'Configure' and 
follow\n"
 "the wizard until it asks:"
-msgstr "Kiedy pojawi się dialog 'Ustawienia Sieci Tor' to kliknij przycisk 
\"Konfiguruj\" i postępuj zgodnie z\nkreatorem aż poprosi o:"
+msgstr "Po pojawieniu się okna 'Ustawienia Sieci Tor' naciśnij przycisk 
\"Konfiguruj\", a następnie postępuj zgodnie z\nwskazówkami kreatora do 
momentu pytania o:"
 
 #. TRANSLATORS: Please DO NOT translate "Tor".
 #: lib/bridgedb/strings.py:129
 msgid ""
 "Does your Internet Service Provider (ISP) block or otherwise censor 
connections\n"
 "to the Tor network?"
-msgstr "Czy Twój dostawca usług internetowych (ISP) blokuje lub cenzuruje 
połączenia sieci Tor?"
+msgstr "Czy Twój dosta

[tor-commits] [translation/tails-misc_completed] Update translations for tails-misc_completed

2015-02-09 Thread translation
commit da0d9c4c569a0cb28449482168bcb04b2aefc361
Author: Translation commit bot 
Date:   Mon Feb 9 19:15:40 2015 +

Update translations for tails-misc_completed
---
 pl.po |   27 ++-
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/pl.po b/pl.po
index feb0256..3d143c9 100644
--- a/pl.po
+++ b/pl.po
@@ -6,15 +6,16 @@
 # Aron , 2014
 # Dawid , 2014
 # Dawid , 2014
+# oirpos , 2015
 # phla47 , 2013
 # seb, 2013-2014
 msgid ""
 msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-12-02 11:29+0100\n"
-"PO-Revision-Date: 2014-12-04 08:50+\n"
-"Last-Translator: runasand \n"
+"POT-Creation-Date: 2015-01-14 16:01+0100\n"
+"PO-Revision-Date: 2015-02-09 19:14+\n"
+"Last-Translator: oirpos \n"
 "Language-Team: Polish 
(http://www.transifex.com/projects/p/torproject/language/pl/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -190,7 +191,7 @@ msgstr "Błąd GnuPG"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:764
 msgid "Therefore the operation cannot be performed."
-msgstr "W związku z tym operacja nie może być wykonana."
+msgstr "W związku z tym operacja nie może zostać wykonana."
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:814
 msgid "GnuPG results"
@@ -198,7 +199,7 @@ msgstr "Rezultaty GnuPG"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:820
 msgid "Output of GnuPG:"
-msgstr "Wydajność GnuPG:"
+msgstr "Wyniki GnuPG"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:845
 msgid "Other messages provided by GnuPG:"
@@ -214,7 +215,7 @@ msgstr "Zresetuj natychmiast"
 
 #: config/chroot_local-includes/usr/local/bin/tails-about:16
 msgid "not available"
-msgstr "nie dostępne"
+msgstr "Niedostępne"
 
 #: config/chroot_local-includes/usr/local/bin/tails-about:19
 #: 
../config/chroot_local-includes/usr/share/desktop-directories/Tails.directory.in.h:1
@@ -230,7 +231,7 @@ msgstr "The Amnesic Incognito Live System"
 msgid ""
 "Build information:\n"
 "%s"
-msgstr "Informacja budowy:\n%s"
+msgstr "Informacja o wersji:\n%s"
 
 #: config/chroot_local-includes/usr/local/bin/tails-about:27
 #: 
../config/chroot_local-includes/usr/share/applications/tails-about.desktop.in.h:1
@@ -249,11 +250,11 @@ msgid ""
 "The upgrade failed. This might be due to a network problem. Please check "
 "your network connection, try to restart Tails, or read the system log to "
 "understand better the problem."
-msgstr "Aktualizacja nieudana. Może być to spowodowane problemem z Twoją 
siecią. Sprawdź swoje połączenie internetowe, spróbuj zrestartować Tails, 
lub sprawdź logi systemowe aby lepiej zrozumieć problem."
+msgstr "Aktualizacja nie powiodła się. Może być to spowodowane problemem z 
Twoją siecią. Sprawdź swoje połączenie internetowe, spróbuj zrestartować 
Tails lub sprawdź logi systemowe, aby zdiagnozować problem."
 
 #: config/chroot_local-includes/usr/local/sbin/tails-additional-software:125
 msgid "The upgrade was successful."
-msgstr "Uaktualnienie powiodło się."
+msgstr "Aktualizacja zakończona sukcesem."
 
 #: config/chroot_local-includes/usr/local/bin/tails-htp-notify-user:52
 msgid "Synchronizing the system's clock"
@@ -285,23 +286,23 @@ msgstr "Wygląda na to, że jesteś zablokowany od strony 
sieci. Może to być z
 msgid "This version of Tails has known security issues:"
 msgstr "Ta wersja Tails ma błędy bezpieczeństwa:"
 
-#: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:29
+#: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:37
 #, sh-format
 msgid "Network card ${nic} disabled"
 msgstr "Karta sieciowa ${nic} wyłączona"
 
-#: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:30
+#: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:38
 #, sh-format
 msgid ""
 "MAC spoofing failed for network card ${nic_name} (${nic}) so it is 
temporarily disabled.\n"
 "You might prefer to restart Tails and disable MAC spoofing. See the documentation."
 msgstr "Spoofing adresu MAC nieudany dla karty ${nic_name} (${nic}), tak więc 
tymczasowo jest ona wyłączona.\nMoże będziesz wolał zrestartować Tails i 
wyłączyć MAC spoofing. Zobacz dokumentację."
 
-#: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:39
+#: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:47
 msgid "All networking disabled"
 msgstr "Wszystkie połączenia wyłączone"
 
-#: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:40
+#: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:48
 #, sh-format
 msgid ""
 "MAC spoofing failed for network card ${nic_name} (${nic}). The error recovery 
also failed so all networking is disabled.\n"

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


[tor-commits] [translation/tails-misc] Update translations for tails-misc

2015-02-09 Thread translation
commit d3ce63c71b9606770cc45a025e140d17bfdd7ae0
Author: Translation commit bot 
Date:   Mon Feb 9 19:15:35 2015 +

Update translations for tails-misc
---
 pl.po |   27 ++-
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/pl.po b/pl.po
index feb0256..3d143c9 100644
--- a/pl.po
+++ b/pl.po
@@ -6,15 +6,16 @@
 # Aron , 2014
 # Dawid , 2014
 # Dawid , 2014
+# oirpos , 2015
 # phla47 , 2013
 # seb, 2013-2014
 msgid ""
 msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-12-02 11:29+0100\n"
-"PO-Revision-Date: 2014-12-04 08:50+\n"
-"Last-Translator: runasand \n"
+"POT-Creation-Date: 2015-01-14 16:01+0100\n"
+"PO-Revision-Date: 2015-02-09 19:14+\n"
+"Last-Translator: oirpos \n"
 "Language-Team: Polish 
(http://www.transifex.com/projects/p/torproject/language/pl/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -190,7 +191,7 @@ msgstr "Błąd GnuPG"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:764
 msgid "Therefore the operation cannot be performed."
-msgstr "W związku z tym operacja nie może być wykonana."
+msgstr "W związku z tym operacja nie może zostać wykonana."
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:814
 msgid "GnuPG results"
@@ -198,7 +199,7 @@ msgstr "Rezultaty GnuPG"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:820
 msgid "Output of GnuPG:"
-msgstr "Wydajność GnuPG:"
+msgstr "Wyniki GnuPG"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:845
 msgid "Other messages provided by GnuPG:"
@@ -214,7 +215,7 @@ msgstr "Zresetuj natychmiast"
 
 #: config/chroot_local-includes/usr/local/bin/tails-about:16
 msgid "not available"
-msgstr "nie dostępne"
+msgstr "Niedostępne"
 
 #: config/chroot_local-includes/usr/local/bin/tails-about:19
 #: 
../config/chroot_local-includes/usr/share/desktop-directories/Tails.directory.in.h:1
@@ -230,7 +231,7 @@ msgstr "The Amnesic Incognito Live System"
 msgid ""
 "Build information:\n"
 "%s"
-msgstr "Informacja budowy:\n%s"
+msgstr "Informacja o wersji:\n%s"
 
 #: config/chroot_local-includes/usr/local/bin/tails-about:27
 #: 
../config/chroot_local-includes/usr/share/applications/tails-about.desktop.in.h:1
@@ -249,11 +250,11 @@ msgid ""
 "The upgrade failed. This might be due to a network problem. Please check "
 "your network connection, try to restart Tails, or read the system log to "
 "understand better the problem."
-msgstr "Aktualizacja nieudana. Może być to spowodowane problemem z Twoją 
siecią. Sprawdź swoje połączenie internetowe, spróbuj zrestartować Tails, 
lub sprawdź logi systemowe aby lepiej zrozumieć problem."
+msgstr "Aktualizacja nie powiodła się. Może być to spowodowane problemem z 
Twoją siecią. Sprawdź swoje połączenie internetowe, spróbuj zrestartować 
Tails lub sprawdź logi systemowe, aby zdiagnozować problem."
 
 #: config/chroot_local-includes/usr/local/sbin/tails-additional-software:125
 msgid "The upgrade was successful."
-msgstr "Uaktualnienie powiodło się."
+msgstr "Aktualizacja zakończona sukcesem."
 
 #: config/chroot_local-includes/usr/local/bin/tails-htp-notify-user:52
 msgid "Synchronizing the system's clock"
@@ -285,23 +286,23 @@ msgstr "Wygląda na to, że jesteś zablokowany od strony 
sieci. Może to być z
 msgid "This version of Tails has known security issues:"
 msgstr "Ta wersja Tails ma błędy bezpieczeństwa:"
 
-#: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:29
+#: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:37
 #, sh-format
 msgid "Network card ${nic} disabled"
 msgstr "Karta sieciowa ${nic} wyłączona"
 
-#: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:30
+#: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:38
 #, sh-format
 msgid ""
 "MAC spoofing failed for network card ${nic_name} (${nic}) so it is 
temporarily disabled.\n"
 "You might prefer to restart Tails and disable MAC spoofing. See the documentation."
 msgstr "Spoofing adresu MAC nieudany dla karty ${nic_name} (${nic}), tak więc 
tymczasowo jest ona wyłączona.\nMoże będziesz wolał zrestartować Tails i 
wyłączyć MAC spoofing. Zobacz dokumentację."
 
-#: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:39
+#: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:47
 msgid "All networking disabled"
 msgstr "Wszystkie połączenia wyłączone"
 
-#: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:40
+#: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:48
 #, sh-format
 msgid ""
 "MAC spoofing failed for network card ${nic_name} (${nic}). The error recovery 
also failed so all networking is disabled.\n"

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


[tor-commits] [onionoo/master] Fix task-14780 file encoding problem that blows up files with utf characters.

2015-02-09 Thread karsten
commit 8c21e0e70a3db645d532721f67e0c4c993ab7465
Author: iwakeh 
Date:   Sat Feb 7 16:50:00 2015 +

Fix task-14780 file encoding problem that blows up files with utf 
characters.
---
 .../org/torproject/onionoo/docs/DocumentStore.java |   25 ++--
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/src/main/java/org/torproject/onionoo/docs/DocumentStore.java 
b/src/main/java/org/torproject/onionoo/docs/DocumentStore.java
index 054fe3b..974f4c1 100644
--- a/src/main/java/org/torproject/onionoo/docs/DocumentStore.java
+++ b/src/main/java/org/torproject/onionoo/docs/DocumentStore.java
@@ -3,13 +3,13 @@
 package org.torproject.onionoo.docs;
 
 import java.io.BufferedInputStream;
+import java.io.BufferedOutputStream;
 import java.io.BufferedReader;
-import java.io.BufferedWriter;
 import java.io.ByteArrayOutputStream;
 import java.io.File;
 import java.io.FileInputStream;
+import java.io.FileOutputStream;
 import java.io.FileReader;
-import java.io.FileWriter;
 import java.io.FileNotFoundException;
 import java.io.IOException;
 import java.util.ArrayList;
@@ -345,10 +345,7 @@ public class DocumentStore {
   documentFile.getParentFile().mkdirs();
   File documentTempFile = new File(
   documentFile.getAbsolutePath() + ".tmp");
-  BufferedWriter bw = new BufferedWriter(new FileWriter(
-  documentTempFile));
-  bw.write(documentString);
-  bw.close();
+  writeToFile(documentTempFile, documentString);
   documentFile.delete();
   documentTempFile.renameTo(documentFile);
   this.storedFiles++;
@@ -740,9 +737,7 @@ public class DocumentStore {
 String documentString = sb.toString();
 try {
   summaryFile.getParentFile().mkdirs();
-  BufferedWriter bw = new BufferedWriter(new FileWriter(summaryFile));
-  bw.write(documentString);
-  bw.close();
+  writeToFile(summaryFile, documentString);
   this.lastModifiedNodeStatuses = summaryFile.lastModified();
   this.updatedNodeStatuses.clear();
   this.storedFiles++;
@@ -753,6 +748,14 @@ public class DocumentStore {
 }
   }
 
+  private static void writeToFile(File file, String content)
+  throws IOException {
+BufferedOutputStream bos = new BufferedOutputStream(
+new FileOutputStream(file));
+bos.write(content.getBytes("US-ASCII"));
+bos.close();
+  }
+
   private void writeSummaryDocuments() {
 StringBuilder sb = new StringBuilder();
 Gson gson = new Gson();
@@ -770,9 +773,7 @@ public class DocumentStore {
 File summaryFile = new File(this.outDir, "summary");
 try {
   summaryFile.getParentFile().mkdirs();
-  BufferedWriter bw = new BufferedWriter(new FileWriter(summaryFile));
-  bw.write(documentString);
-  bw.close();
+  writeToFile(summaryFile, documentString);
   this.lastModifiedSummaryDocuments = summaryFile.lastModified();
   this.updatedSummaryDocuments.clear();
   this.storedFiles++;

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


[tor-commits] [tech-reports/master] Incorporate feedback from Aaron.

2015-02-09 Thread karsten
commit 0a077f97a1cfb4a1467e8044debec45b32c03825
Author: Karsten Loesing 
Date:   Thu Jan 22 17:45:28 2015 +0100

Incorporate feedback from Aaron.
---
 .../extrapolating-hidserv-stats.tex|   38 
 1 file changed, 31 insertions(+), 7 deletions(-)

diff --git a/2015/extrapolating-hidserv-stats/extrapolating-hidserv-stats.tex 
b/2015/extrapolating-hidserv-stats/extrapolating-hidserv-stats.tex
index 60507a0..053a081 100644
--- a/2015/extrapolating-hidserv-stats/extrapolating-hidserv-stats.tex
+++ b/2015/extrapolating-hidserv-stats/extrapolating-hidserv-stats.tex
@@ -122,6 +122,14 @@ previously added noise.
 Negative values are the result of relays adding negative
 Laplace-distributed noise values to very small observed values.
 We will describe an attempt to remove such values shortly.
+\footnote{A plausible step three in the previously described process could
+have been to round negative values to 0, because that represents the most
+likely rounded value before Laplace noise was added.
+However, removing negative values would add bias to the result, because it
+would only remove negative noise without being able to detect and remove
+positive noise.
+That's why we'd rather want to remove implausible values based on other
+criteria.}
 
 \begin{figure}
 \centering
@@ -267,6 +275,20 @@ $b=8/0.3$ as defined for the respective statistics.}
 \label{fig:zero}
 \end{figure}
 
+Another cause for implausible statistics could be very large positive or
+negative noise added by the Laplace distribution.
+In theory, a single relay, with non-zero probability of observing
+hidden-service activity, could have added noise from $-\infty$ to
+$\infty$, which could derail statistics for the entire day.
+These extreme values could be removed by calculating an interval of
+plausible values for each relay, based on the probability of observing
+hidden-service activity, and discarding values outside that interval.
+Another option for avoiding these extreme values would be to cap noise
+added at relays by adapting concepts from ($\epsilon,\delta)$-differential
+privacy to the noise-generating code used by relays.%
+\footnote{Whether or not either of these approaches is necessary depends
+on whether or not our extrapolation method can handle outliers.}
+
 \section{Extrapolating hidden-service traffic in the network}
 
 We start the extrapolation of network totals with reported cells on
@@ -353,6 +375,8 @@ hidden-service activity means publication of a 
hidden-service descriptor.
 We define this fraction as the part of descriptor space that the directory
 is responsible for, divided by \emph{three}, because each descriptor
 published to this descriptor is also published to two other directories.
+Note that, without dividing the fraction of a relay's descriptor space by
+three, fractions would not add up to 100\%.
 Figure~\ref{fig:corr-probs-by-relay}~(right) shows the correlation of
 reported .onion addresses and fraction of hidden-service activity.
 
@@ -406,18 +430,18 @@ least 1\% of hidden-service directories.
 \section{Open questions}
 
 \begin{itemize}
-\item The Laplace noise added by a single relay may range from $-\infty$
-to $\infty$ and therefore possibly derail statistics for the entire day.
-Maybe, as part of removing implausible statistics, we should calculate the
-ratio between reported value and calculated probability (see
-Figure~\ref{fig:corr-probs-by-relay}) and exclude any outliers before the
-extrapolation step.
+\item Maybe we should switch back to the first extrapolation method, where
+we're extrapolating from single observations, and then take the weighted
+mean as best extrapolation result.
+This has some advantages for handling outliers.
+We'll want to run new simulations using this method.
 \item The ribbon in Figure~\ref{fig:extrapolated-network-totals} implies a
 confidence interval of some sort, but it's really only the standard error
 of the local regression algorithm added by the graphing software.
 We should instead calculate the confidence interval of our extrapolation,
 similar to the simulation, and graph that.
-But how do we calculate that?
+One option might be to run simulations as part of the extrapolation
+process.
 \end{itemize}
 
 \end{document}



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


[tor-commits] [tech-reports/master] Add hidserv-stats extrapolation tech report draft.

2015-02-09 Thread karsten
commit 6511b8b34d30f63c370e369458149b054b423934
Author: Karsten Loesing 
Date:   Sat Jan 17 19:21:49 2015 +0100

Add hidserv-stats extrapolation tech report draft.
---
 2015/extrapolating-hidserv-stats/.gitignore|2 +
 .../extrapolating-hidserv-stats.tex|  424 
 2015/extrapolating-hidserv-stats/tortechrep.cls|1 +
 3 files changed, 427 insertions(+)

diff --git a/2015/extrapolating-hidserv-stats/.gitignore 
b/2015/extrapolating-hidserv-stats/.gitignore
new file mode 100644
index 000..75d2c50
--- /dev/null
+++ b/2015/extrapolating-hidserv-stats/.gitignore
@@ -0,0 +1,2 @@
+extrapolating-hidserv-stats.pdf
+
diff --git a/2015/extrapolating-hidserv-stats/extrapolating-hidserv-stats.tex 
b/2015/extrapolating-hidserv-stats/extrapolating-hidserv-stats.tex
new file mode 100644
index 000..60507a0
--- /dev/null
+++ b/2015/extrapolating-hidserv-stats/extrapolating-hidserv-stats.tex
@@ -0,0 +1,424 @@
+\documentclass{tortechrep}
+\usepackage{graphicx}
+\usepackage{subcaption}
+\usepackage{url}
+\begin{document}
+
+\title{Extrapolating network totals from hidden-service statistics}
+
+\author{yet unnamed authors}
+
+\reportid{DRAFT}
+\date{to be published in January 2015}
+
+\maketitle
+
+\begin{abstract}
+Starting on December 19, 2014, we added two new statistics to the Tor
+software that shall give us some first insights into hidden-service usage.
+The first is the number of .onion addresses observed by a hidden-service
+directory, and the second is the number of cells on rendezvous circuits
+observed by a rendezvous point.
+Each relay that opts in to reporting these statistics publishes these two
+numbers for 24-hour intervals of operation.
+In the following, we explain our approach for extrapolating network totals
+from these statistics.
+The goal is to learn how many unique .onion addresses exist in the network
+and what amount of traffic can be attributed to hidden-service usage.
+We show that we can extrapolate network totals from hidden-service
+statistics with reasonable accuracy as long as at least 1\% of relays
+report these statistics.
+\end{abstract}
+
+\section{Parsing reported statistics}
+
+There are two types of documents produced by Tor relays that we consider
+in our analysis.
+The first are extra-info descriptors that contain hidden-service
+statistics if a relay opts in to reporting them.
+The second are consensuses that indicate what fraction of hidden-service
+descriptors a hidden-service directory has observed and what fraction of
+rendezvous circuits a relay has handled.
+
+% SAMPLE:
+% fingerprint F528DED21EACD2E4E9301EC0AABD370EDCAD2C47
+% stats_start 2014-12-31 16:17:33
+% stats_end 2015-01-01 16:17:33
+% hidserv_rend_relayed_cells 152599040
+% hidserv_dir_onions_seen 84
+% prob_rend_point 0.01509326
+% frac_hsdesc 0.00069757
+
+\begin{figure}[b]
+\begin{verbatim}
+extra-info ryroConoha F528DED21EACD2E4E9301EC0AABD370EDCAD2C47
+[...]
+hidserv-stats-end 2015-01-01 16:17:33 (86400 s)
+hidserv-rend-relayed-cells 152599508 delta_f=2048 epsilon=0.30 bin_size=1024
+hidserv-dir-onions-seen 91 delta_f=8 epsilon=0.30 bin_size=8
+\end{verbatim}
+\caption{Sample hidden-service statistics contained in an extra-info
+descriptor.}
+\label{fig:extrainfo}
+\end{figure}
+
+We start by describing how we're parsing and processing hidden-service
+statistics from extra-info descriptors.
+Figure~\ref{fig:extrainfo} shows a sample of hidden-service statistics as
+contained in extra-info descriptors.
+The relevant parts for this analysis are:
+
+\begin{itemize}
+\item The \verb+extra-info+ line tells us which relay reported these
+statistics, which we need to know to derive what fraction of
+hidden-service activity this relay has observed.
+\item The \verb+hidserv-stats-end+ line tells us when the statistics
+interval ended, and, together with the interval length, when it started.
+\item The \verb+hidserv-rend-relayed-cells+ line tells us the number of
+cells that the relay handled on rendezvous circuits, and it tells us how
+this number has been obfuscated by the relay.
+The value for \verb+bin_size+ is the bin size used for rounding up the
+originally observed cell number, and the values for \verb+delta_f+ and
+\verb+epsilon+ are inputs for the additive noise following a Laplace
+distribution.
+\item And finally, the \verb+hidserv-dir-onions-seen+ line tells us the
+number of .onion addresses that the relay observed in published
+hidden-service descriptors in its role as hidden-service directory.
+\end{itemize}
+
+\begin{figure}
+\centering
+\includegraphics[width=\textwidth]{graphics/num-reported-stats.pdf}
+\caption{Number of relays reporting hidden-service statistics.}
+\label{fig:num-reported-stats}
+\end{figure}
+
+Figure~\ref{fig:num-reported-stats} shows the number of statistics
+reported by day.
+
+\section{Removing previously added noise}
+
+When processing hidden-service statistics, we need to handle the fact that
+they have been obfuscated

[tor-commits] [tech-reports/master] Tweak extrapolation report before publication.

2015-02-09 Thread karsten
commit 75f5c0c13c2a858ad77309b4b468b39f1003721c
Author: Karsten Loesing 
Date:   Sun Feb 8 19:19:10 2015 +0100

Tweak extrapolation report before publication.
---
 .../extrapolating-hidserv-stats.tex|  482 
 1 file changed, 285 insertions(+), 197 deletions(-)

diff --git a/2015/extrapolating-hidserv-stats/extrapolating-hidserv-stats.tex 
b/2015/extrapolating-hidserv-stats/extrapolating-hidserv-stats.tex
index 053a081..bef857f 100644
--- a/2015/extrapolating-hidserv-stats/extrapolating-hidserv-stats.tex
+++ b/2015/extrapolating-hidserv-stats/extrapolating-hidserv-stats.tex
@@ -4,32 +4,69 @@
 \usepackage{url}
 \begin{document}
 
-\title{Extrapolating network totals from hidden-service statistics}
+\title{Extrapolating network totals\\from hidden-service statistics}
 
-\author{yet unnamed authors}
+\author{George Kadianakis and Karsten Loesing}
 
-\reportid{DRAFT}
-\date{to be published in January 2015}
+\contact{
+\href{mailto:a...@torproject.org}{a...@torproject.org},%
+\href{mailto:kars...@torproject.org}{kars...@torproject.org}}
+
+\reportid{2015-01-001}
+\date{January 31, 2015}
 
 \maketitle
 
 \begin{abstract}
 Starting on December 19, 2014, we added two new statistics to the Tor
 software that shall give us some first insights into hidden-service usage.
-The first is the number of .onion addresses observed by a hidden-service
-directory, and the second is the number of cells on rendezvous circuits
-observed by a rendezvous point.
+The first statistic is the number of cells on rendezvous circuits observed
+by a rendezvous point, and the second is the number of unique .onion
+addresses observed by a hidden-service directory.
 Each relay that opts in to reporting these statistics publishes these two
 numbers for 24-hour intervals of operation.
-In the following, we explain our approach for extrapolating network totals
+In the following, we describe an approach for extrapolating network totals
 from these statistics.
-The goal is to learn how many unique .onion addresses exist in the network
-and what amount of traffic can be attributed to hidden-service usage.
-We show that we can extrapolate network totals from hidden-service
-statistics with reasonable accuracy as long as at least 1\% of relays
-report these statistics.
+The goal is to learn what amount of traffic can be attributed to
+hidden-service usage and how many unique .onion addresses exist in the
+network.
+We show that we can extrapolate network totals with reasonable accuracy as
+long as at least 1\% of relays report these statistics.
 \end{abstract}
 
+\section*{Introduction}
+
+As of December 19, 2014, a small number of relays has started reporting
+statistics on hidden-service usage.
+Similar to other statistics, these statistics are based solely on what the
+reporting relay observes, without exchanging observations with other
+relays.
+In this report we describe a method for extrapolating these statistics to
+network totals.
+
+\begin{figure}
+\centering
+\includegraphics[width=.8\textwidth]{overview.pdf}
+\caption{Overview of the extrapolation method used for extrapolating
+network totals from hidden-service statistics.}
+\label{fig:overview}
+\end{figure}
+
+Figure~\ref{fig:overview} gives an overview of the extrapolation method
+where each step corresponds to a section in this report.
+In step~1 we parse the statistics that relays report in their extra-info
+descriptors.
+These statistics contain noise that was added by relays to obfuscate
+original observations, which we attempt to remove in step~2.
+In step~3 we process consensuses to derive network fractions of reporting
+relays, that is, what fraction of hidden-service usage a relay should have
+observed.
+We use these fractions to remove implausible statistics in step~4.
+Then we extrapolate network totals in step~5, where each extrapolation is
+based on the report from a single relay.
+Finally, in step~6 we select daily averages from these network totals
+which constitutes our result.
+
 \section{Parsing reported statistics}
 
 There are two types of documents produced by Tor relays that we consider
@@ -40,6 +77,19 @@ The second are consensuses that indicate what fraction of 
hidden-service
 descriptors a hidden-service directory has observed and what fraction of
 rendezvous circuits a relay has handled.
 
+We start by describing how we're parsing and processing hidden-service
+statistics from extra-info descriptors.
+Figure~\ref{fig:num-reported-stats} shows the number of statistics
+reported by day, and Figure~\ref{fig:extrainfo} shows a sample.
+The relevant parts for this analysis are:
+
+\begin{figure}[b]
+\centering
+\includegraphics[width=\textwidth]{graphics/num-reported-stats.pdf}
+\caption{Number of reported hidden-service statistics.}
+\label{fig:num-reported-stats}
+\end{figure}
+
 % SAMPLE:
 % fingerprint F528DED21EACD2E4E9301EC0AABD370EDCAD2C47
 % stats_start 2014-12-31 16:17:33
@@ -49,7 +99,7 @@ rendezvous circuits a relay ha

[tor-commits] [tech-reports/master] Add graphics, fix an error in extrapolation report.

2015-02-09 Thread karsten
commit 85c141e98e828602bc853e2d96d7db2ad2a85b6b
Author: Karsten Loesing 
Date:   Mon Feb 9 18:49:49 2015 +0100

Add graphics, fix an error in extrapolation report.
---
 2015/extrapolating-hidserv-stats/.gitignore|1 +
 .../extrapolating-hidserv-stats.tex|   16 ++--
 .../graphics/corr-probs-cells-by-relay.pdf |  Bin 0 -> 72487 bytes
 .../graphics/corr-probs-onions-by-relay.pdf|  Bin 0 -> 76829 bytes
 .../graphics/extrapolated-cells.pdf|  Bin 0 -> 13117 bytes
 .../graphics/extrapolated-network-totals.pdf   |  Bin 0 -> 5247 bytes
 .../graphics/extrapolated-onions.pdf   |  Bin 0 -> 12040 bytes
 .../graphics/num-reported-stats.pdf|  Bin 0 -> 4804 bytes
 2015/extrapolating-hidserv-stats/graphics/overview.odg |  Bin 0 -> 18134 bytes
 2015/extrapolating-hidserv-stats/graphics/overview.pdf |  Bin 0 -> 20330 bytes
 .../graphics/probs-by-day.pdf  |  Bin 0 -> 5568 bytes
 .../graphics/probs-by-relay.pdf|  Bin 0 -> 0 bytes
 .../extrapolating-hidserv-stats/graphics/sim-cells.pdf |  Bin 0 -> 5181 bytes
 .../graphics/sim-onions.pdf|  Bin 0 -> 5141 bytes
 .../graphics/stats-by-day.pdf  |  Bin 0 -> 11217 bytes
 .../graphics/zero-prob-cells.pdf   |  Bin 0 -> 7169 bytes
 .../graphics/zero-prob-onions.pdf  |  Bin 0 -> 7016 bytes
 17 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/2015/extrapolating-hidserv-stats/.gitignore 
b/2015/extrapolating-hidserv-stats/.gitignore
index 75d2c50..8ae5f9d 100644
--- a/2015/extrapolating-hidserv-stats/.gitignore
+++ b/2015/extrapolating-hidserv-stats/.gitignore
@@ -1,2 +1,3 @@
 extrapolating-hidserv-stats.pdf
+extrapolating-hidserv-stats-2015-01-31.pdf
 
diff --git a/2015/extrapolating-hidserv-stats/extrapolating-hidserv-stats.tex 
b/2015/extrapolating-hidserv-stats/extrapolating-hidserv-stats.tex
index bef857f..126c79c 100644
--- a/2015/extrapolating-hidserv-stats/extrapolating-hidserv-stats.tex
+++ b/2015/extrapolating-hidserv-stats/extrapolating-hidserv-stats.tex
@@ -46,7 +46,7 @@ network totals.
 
 \begin{figure}
 \centering
-\includegraphics[width=.8\textwidth]{overview.pdf}
+\includegraphics[width=.8\textwidth]{graphics/overview.pdf}
 \caption{Overview of the extrapolation method used for extrapolating
 network totals from hidden-service statistics.}
 \label{fig:overview}
@@ -150,10 +150,14 @@ Figure~\ref{fig:extrainfo} are processed to 
152599040~cells and 84~.onion
 addresses.
 For the subsequent analysis we're also converting cells/day to
 bits/second by multiplying cell numbers with 512~bytes/cell, multiplying
-with 8~bits/byte, dividing by 86400~seconds/day, and dividing by 2 to
-account for the fact that statistics include cells in both incoming and
-outgoing direction.
-As a result we obtain 3.6~Mbit/s in the given sample.
+with 8~bits/byte, and dividing by 86400~seconds/day.%
+\footnote{The originally published report had another quotient of 2 in
+this calculation, based on the false assumption that we would otherwise
+double-count cells going in incoming and outgoing direction.
+But this is not the case: we're counting each cell going in either
+incoming or outgoing direction only once when relaying it.
+All subsequent results have been fixed accordingly.}
+As a result we obtain 7.2~Mbit/s in the given sample.
 
 Figure~\ref{fig:stats-by-day} shows parsed values after removing
 previously added noise.
@@ -264,7 +268,7 @@ In the sample consensus entry, we'd extract the 
base64-encoded fingerprint
 of the statistics-reporting relay, \verb+9Sje0h6...+, and the fingerprint
 of the hidden-service directory that precedes the relay by three
 positions, \verb+9PodlaV...+, and compute what fraction of descriptor
-space that is, in this case $0.071$.
+space that is, in this case $0.071\%$.
 So, the relay has observed $0.024\%$ of descriptors in the network.
 
 % 9Sje0h6... -> F528DED2 ->   4113096402
diff --git 
a/2015/extrapolating-hidserv-stats/graphics/corr-probs-cells-by-relay.pdf 
b/2015/extrapolating-hidserv-stats/graphics/corr-probs-cells-by-relay.pdf
new file mode 100644
index 000..c8106f5
Binary files /dev/null and 
b/2015/extrapolating-hidserv-stats/graphics/corr-probs-cells-by-relay.pdf differ
diff --git 
a/2015/extrapolating-hidserv-stats/graphics/corr-probs-onions-by-relay.pdf 
b/2015/extrapolating-hidserv-stats/graphics/corr-probs-onions-by-relay.pdf
new file mode 100644
index 000..d4d2756
Binary files /dev/null and 
b/2015/extrapolating-hidserv-stats/graphics/corr-probs-onions-by-relay.pdf 
differ
diff --git a/2015/extrapolating-hidserv-stats/graphics/extrapolated-cells.pdf 
b/2015/extrapolating-hidserv-stats/graphics/extrapolated-cells.pdf
new file mode 100644
index 000..fabacc8
Binary files /dev/null and 
b/2015/extrapolating-hidserv-stats/graphics/extrapolated-cells.

[tor-commits] [translation/gettor] Update translations for gettor

2015-02-09 Thread translation
commit b490d1dbd7f78e66316f5214f0990f553311de62
Author: Translation commit bot 
Date:   Mon Feb 9 17:45:05 2015 +

Update translations for gettor
---
 ta/gettor.po |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ta/gettor.po b/ta/gettor.po
index dbd9af2..2ed35db 100644
--- a/ta/gettor.po
+++ b/ta/gettor.po
@@ -10,7 +10,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2013-01-19 13:40+0100\n"
-"PO-Revision-Date: 2015-02-09 17:15+\n"
+"PO-Revision-Date: 2015-02-09 17:31+\n"
 "Last-Translator: git12a \n"
 "Language-Team: Tamil 
(http://www.transifex.com/projects/p/torproject/language/ta/)\n"
 "MIME-Version: 1.0\n"
@@ -352,14 +352,14 @@ msgid ""
 "The Tor Browser Bundle package for Windows operating systems. If you're \n"
 "running some version of Windows, like Windows XP, Windows Vista or \n"
 "Windows 7, this is the package you should get."
-msgstr ""
+msgstr "windows:\nவிண்டோஸ் 
இயங்குமென்பொருளுக்கான Tor Browser 
கட்டு. நீங்கள் \nவிண்டோஸ் XP, 
விண்டோஸ் Vista, அல்லது 
விண்டோஸ் 7,  
உபயோகிக்கிரீர்கள் என்றால், 
\nஇது நீங்கள் பெற வேண்டும் 
தொகுப்பு ஆகும்."
 
 #: lib/gettor/i18n.py:227
 msgid ""
 "macos-i386:\n"
 "The Tor Browser Bundle package for OS X, Intel CPU architecture. In \n"
 "general, newer Mac hardware will require you to use this package."
-msgstr ""
+msgstr "macos-i386:\nOS X, Intel CPU 
கட்டமைப்புக்கான Tor Browser கட்டு. 
பொதுவாக, \nபுதிய Mac 
வன்பொருளில் இந்த தொகுப்பு 
பயன்படுத்த 
வேண்டியிருக்கும்."
 
 #: lib/gettor/i18n.py:231
 msgid ""
@@ -481,7 +481,7 @@ msgstr "இது நீங்கள் 
பயன்படுத்தும்
 
 #: lib/gettor/i18n.py:299
 msgid "How do I extract the file(s) you sent me?"
-msgstr "நீங்கள் அனுப்பிய 
கோப்புகளை விரிவாக்குவது 
எப்படி?"
+msgstr "நீங்கள் அனுப்பிய 
கோப்பு(களை) விரிவாக்குவது 
எப்படி?"
 
 #: lib/gettor/i18n.py:301
 msgid "QUESTION:"

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


[tor-commits] [metrics-tasks/master] Update hidserv-stats extrapolation code (#13192).

2015-02-09 Thread karsten
commit 3c90c181a13dcc12c69e8e8fa013948b1a6405e2
Author: Karsten Loesing 
Date:   Mon Feb 9 18:25:38 2015 +0100

Update hidserv-stats extrapolation code (#13192).
---
 task-13192/.gitignore|1 +
 task-13192/src/R/blog.R  |   47 ++
 task-13192/src/R/plot.R  |  214 +++
 task-13192/src/java/Aggregate.java   |  129 
 task-13192/src/java/Extrapolate.java |  424 +
 task-13192/src/java/ExtrapolateHidServStats.java |  722 --
 task-13192/src/java/Simulate.java|  357 +++
 7 files changed, 1066 insertions(+), 828 deletions(-)

diff --git a/task-13192/.gitignore b/task-13192/.gitignore
index 7e8bf3b..89d161b 100644
--- a/task-13192/.gitignore
+++ b/task-13192/.gitignore
@@ -4,4 +4,5 @@ in/
 src/bash/
 src/bin/
 out/
+Rplots.pdf
 
diff --git a/task-13192/src/R/blog.R b/task-13192/src/R/blog.R
new file mode 100644
index 000..82a07e9
--- /dev/null
+++ b/task-13192/src/R/blog.R
@@ -0,0 +1,47 @@
+# Load required libraries.
+require(ggplot2, warn.conflicts = FALSE, quietly = TRUE)
+require(scales, warn.conflicts = FALSE, quietly = TRUE)
+require(reshape, warn.conflicts = FALSE, quietly = TRUE)
+require(splines, warn.conflicts = FALSE, quietly = TRUE)
+require(Hmisc, warn.conflicts = FALSE, quietly = TRUE)
+
+# Read .csv files written by Java.
+h <- read.csv("out/csv/hidserv-stats.csv", stringsAsFactors = FALSE)
+
+# Create directories for graphs.
+dir.create(file.path("out", "graphs", "blog"), showWarnings = FALSE,
+  recursive = TRUE)
+
+# Cut off last two days, because stats might be incomplete for those.
+h <- h[as.Date(h$stats_end) < max(as.Date(h$stats_end) - 1), ]
+
+# Graph the number of reported stats by day.
+h7 <- data.frame(date = as.Date(h$stats_end), reports = 1)
+ggplot(h7, aes(x = date)) +
+geom_bar(colour = 'lightgray', width = .7, binwidth = 1) +
+scale_x_date("") +
+scale_y_continuous("")
+ggsave("out/graphs/blog/num-reported-stats.png", width = 10, height = 3,
+  dpi = 100)
+
+e <- read.csv("out/csv/hidserv-stats-extrapolated.csv",
+  stringsAsFactors = FALSE)
+e <- melt(e, by = c("date", "type"))
+e <- e[e$variable == "wiqm", ]
+e <- rbind(e, data.frame(date = NA, type = c("onions", "cells"),
+  variable = NA, value = 0))
+
+ggplot(e[e$type == "cells", ], aes(x = as.Date(date), y = value)) +
+geom_line() +
+scale_x_date(name = "") +
+scale_y_continuous(name = "")
+ggsave("out/graphs/blog/extrapolated-cells.png", width = 10,
+  height = 3, dpi = 100)
+
+ggplot(e[e$type != "cells", ], aes(x = as.Date(date), y = value)) +
+geom_line() +
+scale_x_date(name = "") +
+scale_y_continuous(name = "")
+ggsave("out/graphs/blog/extrapolated-onions.png", width = 10,
+  height = 3, dpi = 100)
+
diff --git a/task-13192/src/R/plot.R b/task-13192/src/R/plot.R
index 991928b..552b810 100644
--- a/task-13192/src/R/plot.R
+++ b/task-13192/src/R/plot.R
@@ -5,17 +5,12 @@ require(reshape, warn.conflicts = FALSE, quietly = TRUE)
 require(splines, warn.conflicts = FALSE, quietly = TRUE)
 require(Hmisc, warn.conflicts = FALSE, quietly = TRUE)
 
-# Avoid scientific notation.
-options(scipen = 15)
-
 # Read .csv file written by Java.
 h <- read.csv("out/csv/hidserv-stats.csv", stringsAsFactors = FALSE)
 
 # Create directories for graphs.
 dir.create(file.path("out", "graphs", "report"), showWarnings = FALSE,
   recursive = TRUE)
-dir.create(file.path("out", "graphs", "slides"), showWarnings = FALSE,
-  recursive = TRUE)
 
 # Cut off last two days, because stats might be incomplete for those.
 h <- h[as.Date(h$stats_end) < max(as.Date(h$stats_end) - 1), ]
@@ -28,17 +23,15 @@ scale_x_date("") +
 scale_y_continuous("")
 ggsave("out/graphs/report/num-reported-stats.pdf", width = 10, height = 3,
   dpi = 100)
-ggsave("out/graphs/slides/hidserv-12.png", width = 8, height = 3,
-  dpi = 100)
 
 # Graph distributions of reported values by day.
 h1 <- data.frame(date = as.Date(h$stats_end),
-  traffic = h$hidserv_rend_relayed_cells * 512 / (86400 * 1000 * 1000),
+  traffic = h$hidserv_rend_relayed_cells * 512 * 8 / (86400 * 1e6),
   services = h$hidserv_dir_onions_seen)
 h1 <- melt(h1, "date")
 h1 <- data.frame(date = h1$date,
-  variable = ifelse(h1$variable == "traffic", "traffic in MB/s",
-  ".onion addresses"), value = h1$value)
+  variable = ifelse(h1$variable == "traffic", "traffic in Mbit/s",
+  "unique .onion addresses"), value = h1$value)
 ggplot(h1, aes(x = date, y = value, group = date)) +
 geom_boxplot() +
 facet_grid(variable ~ ., scales = "free_y") +
@@ -49,23 +42,22 @@ ggsave("out/graphs/report/stats-by-day.pdf", width = 10, 
height = 5,
 
 # Graph distributions of calculated fractions by day.
 h2 <- data.frame(date = as.Date(h$stats_end),
-  prob_rend_point = h$prob_rend_point,
-  x_frac_hsdesc = h$frac_hsdesc / 3.0)
+  frac_rend_relayed_cells = h$frac_rend_relayed_cells, x_frac_dir_onions_seen 
= h$frac_dir_onions_seen)
 h2 <- melt(h2, "date")
 h2 <- data.

[tor-commits] [translation/whisperback] Update translations for whisperback

2015-02-09 Thread translation
commit f08adb64d5f0db433fa31e57a4252b576c3427d6
Author: Translation commit bot 
Date:   Mon Feb 9 17:15:16 2015 +

Update translations for whisperback
---
 ta/ta.po |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ta/ta.po b/ta/ta.po
index c0312a2..413de92 100644
--- a/ta/ta.po
+++ b/ta/ta.po
@@ -11,7 +11,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2014-03-17 17:40+0100\n"
-"PO-Revision-Date: 2015-02-09 16:41+\n"
+"PO-Revision-Date: 2015-02-09 17:02+\n"
 "Last-Translator: git12a \n"
 "Language-Team: Tamil 
(http://www.transifex.com/projects/p/torproject/language/ta/)\n"
 "MIME-Version: 1.0\n"
@@ -106,7 +106,7 @@ msgid ""
 "As a work-around you can save the bug report as a file on a USB drive and try 
to send it to us at %s from your email account using another system. Note that 
your bug report will not be anonymous when doing so unless you take further 
steps yourself (e.g. using Tor with a throw-away email account).\n"
 "\n"
 "Do you want to save the bug report to a file?"
-msgstr ""
+msgstr "பிழை அறிக்கை நெட்வொர்க் 
பிரச்னையால் அ
னுப்பப்படயியலவில்லை. \n\nபிழை அ
றிக்கையை USB-டிரைவில் கோப்பாக 
சேமித்து, வேறொரு கணினியில் 
உங்களின் மின்னஞ்சல் மூலம் 
எங்களின் %s முகவரியிக்கு அ
னுப்ப முயற்ச்சிக்கலாம். 
கவனத்திற்கு : நீங்கள் சிறப்பு 
வழிமுறைகளை (உதாரணம், Tor 
பயன்படுத்தி தற்காலிக 
மின்னஞ்சல் கணக்கை  
பயன்படுத்துதல்)  
மேற்கொள்ளவில்லையென்றால் 
உங்களின் பிழை அறிக்கை அ
நாமதேயà
 ®®à®¾à®• இருக்காது.\n\nநீங்கள் பிழை அ
றிக்கையை ஒரு கோப்பாக 
சேமிக்க வேண்டுமா?"
 
 #: ../whisperBack/gui.py:389 ../data/whisperback.ui.h:21
 msgid "WhisperBack"

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


[tor-commits] [translation/gettor] Update translations for gettor

2015-02-09 Thread translation
commit b056a1abdd9b2a57ba152896f5084257b03bcda5
Author: Translation commit bot 
Date:   Mon Feb 9 17:15:06 2015 +

Update translations for gettor
---
 ta/gettor.po |   14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/ta/gettor.po b/ta/gettor.po
index 5664ca4..dbd9af2 100644
--- a/ta/gettor.po
+++ b/ta/gettor.po
@@ -10,7 +10,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2013-01-19 13:40+0100\n"
-"PO-Revision-Date: 2015-02-07 16:10+\n"
+"PO-Revision-Date: 2015-02-09 17:15+\n"
 "Last-Translator: git12a \n"
 "Language-Team: Tamil 
(http://www.transifex.com/projects/p/torproject/language/ta/)\n"
 "MIME-Version: 1.0\n"
@@ -254,13 +254,13 @@ msgid ""
 "in the body of the email to the following email address:\n"
 "\n"
 "brid...@torproject.org"
-msgstr ""
+msgstr "நீங்கள் bridge-களை 
மின்னஞ்சலின் 
கடிதவுல்விவரத்தில் \"get bridges\"\nஎன 
குறிப்பிட்டு கீழேவுள்ள 
முகவரிக்கு அனுப்பிப் 
பெறலாம்:\n\nbrid...@torproject.org"
 
 #: lib/gettor/i18n.py:172
 msgid ""
 "It is also possible to fetch bridges with a web browser at the following\n"
 "url: https://bridges.torproject.org/";
-msgstr ""
+msgstr "இணைய Browser-இல் கீழ்காணும் 
முகவரியிலும் 
பெறலாம்:\nhttps://bridges.torproject.org/";
 
 #: lib/gettor/i18n.py:175
 msgid ""
@@ -289,7 +289,7 @@ msgstr ""
 msgid ""
 "It was successfully understood. Your request is currently being processed.\n"
 "Your package (%s) should arrive within the next ten minutes."
-msgstr ""
+msgstr "கோரிக்கை வெற்றிகரமாக 
புரிந்து கொள்ளப்பட்டது. 
உங்கள் கோரிக்கை தற்போது 
செயல்முறையிலுள்ளது. 
உங்களின் (%s) தொகுப்புகள் அ
டுத்த பத்து நிமிடங்களில் 
வந்து சேரும்."
 
 #: lib/gettor/i18n.py:191
 msgid ""
@@ -301,7 +301,7 @@ msgstr ""
 msgid ""
 "Unfortunately we are currently experiencing problems and we can't fulfill\n"
 "your request right now. Please be patient as we try to resolve this issue."
-msgstr ""
+msgstr "துரதிர்ஷ்டவசமாக நாங்கள் 
தற்போது பிரச்சினைகள் 
சந்திக்கிறோம், ஆகையால் 
உங்கள் கோரிக்கை நிறைவேற்ற 
முடியாது. இந்தச் 
பிரச்சினைகளை  தீர்க்க 
முயற்சிக்கும் நேரத்தில்  
தயவுசெய்து பொறுமையாக 
இருங்கள்."
 
 #: lib/gettor/i18n.py:197
 msgid ""
@@ -315,7 +315,7 @@ msgstr ""
 msgid ""
 "UNPACKING THE FILES\n"
 "==="
-msgstr ""
+msgstr "கோப்புகளை விரிவாக்குவது 
எப்படி\n==="
 
 #: lib/gettor/i18n.py:205
 msgid ""
@@ -481,7 +481,7 @@ msgstr "இது நீங்கள் 
பயன்படுத்தும்
 
 #: lib/gettor/i18n.py:299
 msgid "How do I extract the file(s) you sent me?"
-msgstr ""
+msgstr "நீங்கள் அனுப்பிய 
கோப்புகளை விரிவாக்குவது 
எப்படி?"
 
 #: lib/gettor/i18n.py:301
 msgid "QUESTION:"

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


[tor-commits] [stem/master] Our ONLINE target could fail with an undefined 'streams'

2015-02-09 Thread atagar
commit 6069f40bcb5114265345dd74fb312d9af46ee8a3
Author: Damian Johnson 
Date:   Mon Feb 9 09:07:08 2015 -0800

Our ONLINE target could fail with an undefined 'streams'

Doesn't make the test pass, but was masking the actual issue which is
"SocksError: [6] TTL expired".

==
ERROR: test_attachstream
--
Traceback (most recent call last):
  File "/home/atagar/Desktop/stem/test/integ/control/controller.py", line 
1206, in test_attachstream
our_stream = [stream for stream in streams if stream.target_address == 
host][0]
UnboundLocalError: local variable 'streams' referenced before assignment
---
 test/integ/control/controller.py |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/integ/control/controller.py b/test/integ/control/controller.py
index 0839bc1..6ec03a0 100644
--- a/test/integ/control/controller.py
+++ b/test/integ/control/controller.py
@@ -1176,7 +1176,7 @@ class TestController(unittest.TestCase):
 host = '38.229.72.14'   # www.torproject.org
 port = 80
 
-circuit_id = None
+circuit_id, streams = None, []
 
 def handle_streamcreated(stream):
   if stream.status == 'NEW' and circuit_id:

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


[tor-commits] [stem/master] Better argument handling for run_tests.py

2015-02-09 Thread atagar
commit f36f81bb5c90c6f8a06f22f755e00ababe7407b8
Merge: ba47de6 c9dcc48
Author: Damian Johnson 
Date:   Mon Feb 9 08:50:40 2015 -0800

Better argument handling for run_tests.py

Balking if provided with unrecognized arguments, and more intuitive handling
for targets...

  https://trac.torproject.org/projects/tor/ticket/14804

 run_tests.py  |   20 +---
 stem/interpreter/arguments.py |8 ++--
 2 files changed, 23 insertions(+), 5 deletions(-)

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


[tor-commits] [translation/whisperback] Update translations for whisperback

2015-02-09 Thread translation
commit afbfec9ee96c79ea4e426cf66d1101cf35327141
Author: Translation commit bot 
Date:   Mon Feb 9 16:45:11 2015 +

Update translations for whisperback
---
 ta/ta.po |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/ta/ta.po b/ta/ta.po
index 8e3fcd6..c0312a2 100644
--- a/ta/ta.po
+++ b/ta/ta.po
@@ -4,14 +4,15 @@
 # 
 # Translators:
 # annes badusha , 2014
+# git12a , 2015
 # Khaleel Jageer , 2014
 msgid ""
 msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2014-03-17 17:40+0100\n"
-"PO-Revision-Date: 2014-12-19 17:10+\n"
-"Last-Translator: annes badusha \n"
+"PO-Revision-Date: 2015-02-09 16:41+\n"
+"Last-Translator: git12a \n"
 "Language-Team: Tamil 
(http://www.transifex.com/projects/p/torproject/language/ta/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -81,7 +82,7 @@ msgid ""
 "The bug report could not be sent, likely due to network problems. Please try 
to reconnect to the network and click send again.\n"
 "\n"
 "If it does not work, you will be offered to save the bug report."
-msgstr "\nபிழை அறிக்கை நெட்வொர்க் 
பிரச்னையால் வாய்ப்பு அ
னுப்பப்படும். 
நெட்வொர்க்கில் மீண்டும் 
மற்றும் again. அனுப்ப கிளிக் 
முயற்சிக்கவும்\n\nஅது வேலை 
செய்யவில்லை என்றால், நீங்கள் 
பிழை அறிக்கையை சேமிக்க 
வழங்கப்படும்."
+msgstr "\n\nபிழை அறிக்கை 
நெட்வொர்க் பிரச்னையால் அ
னுப்பப்படயியலவில்லை. 
நெட்வொர்க்கை மீண்டும் 
இணைக்க முயற்சித்தபின் , 
மீண்டும் அனுப்பு கிளிக் 
செய்யவும்.\n\n\nஅது வேலை 
செய்யவில்லை என்றால், பிழை அ
றிக்கையை கோப்பாக சேமிக்க 
வழிவழங்கப்படும்."
 
 #: ../whisperBack/gui.py:274
 msgid "Your message has been sent."

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


[tor-commits] [stem/master] Rather than error, keep the default target when none are provided

2015-02-09 Thread atagar
commit c9dcc48de7222f8e1819fdef4e324ac7d9176839
Author: Damian Johnson 
Date:   Mon Feb 9 08:37:54 2015 -0800

Rather than error, keep the default target when none are provided

Actually, on reflection if the user only provides attribute targets (ex.
'--target ONLINE') there's no point in erroring. They clearly want to keep 
the
default.
---
 run_tests.py |   10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/run_tests.py b/run_tests.py
index c696b1d..0d45175 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -385,11 +385,13 @@ def _get_args(argv):
 attribute_targets.remove(Target.RUN_ALL)
 run_targets = all_run_targets
 
-  args['run_targets'] = run_targets
-  args['attribute_targets'] = attribute_targets
+  # if no RUN_* targets are provided then keep the default (otherwise we
+  # won't have any tests to run)
+
+  if run_targets:
+args['run_targets'] = run_targets
 
-  if not args['run_targets']:
-raise ValueError("This wouldn't run anything. You need to provide at 
least one target that starts with 'RUN_'.")
+  args['attribute_targets'] = attribute_targets
 elif opt == '--test':
   args['specific_test'] = arg
 elif opt in ('-l', '--log'):

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


[tor-commits] [stem/master] The run_tests.py's -t argument aliased to two things

2015-02-09 Thread atagar
commit 34a900b5affc967f6d9717e527d32ad63a56d1c9
Author: Damian Johnson 
Date:   Mon Feb 9 08:01:11 2015 -0800

The run_tests.py's -t argument aliased to two things

The '-t' argument was an alias for '--target' and '--test'. In practice and
according to the help output it was actually just the former. This souldn't
actually change anything, just clarifying the code. Found as part of...

  https://trac.torproject.org/projects/tor/ticket/14804
---
 run_tests.py |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run_tests.py b/run_tests.py
index c0fa4be..dbead2d 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -378,7 +378,7 @@ def _get_args(argv):
 
   args['run_targets'] = run_targets
   args['attribute_targets'] = attribute_targets
-elif opt in ('-t', '--test'):
+elif opt == '--test':
   args['specific_test'] = arg
 elif opt in ('-l', '--log'):
   arg = arg.upper()



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


[tor-commits] [stem/master] Don't hardcode /tmp/foo as a test path

2015-02-09 Thread atagar
commit 2644ec5ab18ae24d4bc0480c9883dccc7ab9
Author: Damian Johnson 
Date:   Mon Feb 9 07:53:12 2015 -0800

Don't hardcode /tmp/foo as a test path

Turns out I make foo test paths a lot. Running 'mkdir /tmp/foo' for 
something
else broke the unit tests for me. Easy enough to do the proper thing and 
pick a
random unused path.
---
 test/unit/descriptor/reader.py |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/unit/descriptor/reader.py b/test/unit/descriptor/reader.py
index a699af2..debb88a 100644
--- a/test/unit/descriptor/reader.py
+++ b/test/unit/descriptor/reader.py
@@ -232,15 +232,16 @@ class TestDescriptorReader(unittest.TestCase):
 missing_filename = {'': 123}
 relative_filename = {'foobar': 123}
 string_timestamp = {'/tmp': '123a'}
+temp_path = tempfile.mkstemp(prefix = 'stem-unit-tests-', text = True)[1]
 
 for listing in (missing_filename, relative_filename, string_timestamp):
-  self.assertRaises(TypeError, 
stem.descriptor.reader.save_processed_files, '/tmp/foo', listing)
+  self.assertRaises(TypeError, 
stem.descriptor.reader.save_processed_files, temp_path, listing)
 
 # Though our attempts to save the processed files fail we'll write an empty
 # file. Cleaning it up.
 
 try:
-  os.remove('/tmp/foo')
+  os.remove(temp_path)
 except:
   pass
 



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


[tor-commits] [stem/master] Balk if an unrecognized argument is provided

2015-02-09 Thread atagar
commit 7753976dc7477a86fa8bc923292af3a09da7d660
Author: Damian Johnson 
Date:   Mon Feb 9 08:18:22 2015 -0800

Balk if an unrecognized argument is provided

Interesting, thought getopt did this. For both run_tests.py and the 
tor-prompt
providing an error when unrecognized arguments are provided. Caught by
Sebastian on...

  https://trac.torproject.org/projects/tor/ticket/14804
---
 run_tests.py  |   11 ++-
 stem/interpreter/arguments.py |8 ++--
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/run_tests.py b/run_tests.py
index dbead2d..63102a4 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -343,7 +343,16 @@ def _get_args(argv):
 
   args = dict(ARGS)
 
-  for opt, arg in getopt.getopt(argv, OPT, OPT_EXPANDED)[0]:
+  try:
+recognized_args, unrecognized_args = getopt.getopt(argv, OPT, OPT_EXPANDED)
+
+if unrecognized_args:
+  error_msg = "aren't recognized arguments" if len(unrecognized_args) > 1 
else "isn't a recognized argument"
+  raise ValueError("'%s' %s" % ("', '".join(unrecognized_args), error_msg))
+  except getopt.GetoptError as exc:
+raise ValueError('%s (for usage provide --help)' % exc)
+
+  for opt, arg in recognized_args:
 if opt in ('-a', '--all'):
   args['run_unit'] = True
   args['run_integ'] = True
diff --git a/stem/interpreter/arguments.py b/stem/interpreter/arguments.py
index d62a386..acf6d42 100644
--- a/stem/interpreter/arguments.py
+++ b/stem/interpreter/arguments.py
@@ -45,11 +45,15 @@ def parse(argv):
   args = dict(DEFAULT_ARGS)
 
   try:
-getopt_results = getopt.getopt(argv, OPT, OPT_EXPANDED)[0]
+recognized_args, unrecognized_args = getopt.getopt(argv, OPT, OPT_EXPANDED)
+
+if unrecognized_args:
+  error_msg = "aren't recognized arguments" if len(unrecognized_args) > 1 
else "isn't a recognized argument"
+  raise ValueError("'%s' %s" % ("', '".join(unrecognized_args), error_msg))
   except getopt.GetoptError as exc:
 raise ValueError('%s (for usage provide --help)' % exc)
 
-  for opt, arg in getopt_results:
+  for opt, arg in recognized_args:
 if opt in ('-i', '--interface'):
   if ':' in arg:
 address, port = arg.split(':', 1)



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


[tor-commits] [stem/master] Don't run test for 'tor --version' when using the RUN_NONE target

2015-02-09 Thread atagar
commit ba47de68650c0d9f6735ad8b463b2148e268f6d2
Author: Damian Johnson 
Date:   Mon Feb 9 07:58:31 2015 -0800

Don't run test for 'tor --version' when using the RUN_NONE target

This test compares the output to 'GETINFO version' so being unable to 
connect
to tor breaks the test.
---
 test/integ/process.py |3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/integ/process.py b/test/integ/process.py
index b1fbe73..b935d46 100644
--- a/test/integ/process.py
+++ b/test/integ/process.py
@@ -49,6 +49,9 @@ class TestProcess(unittest.TestCase):
 Check that 'tor --version' matches 'GETINFO version'.
 """
 
+if test.runner.require_control(self):
+  return
+
 with test.runner.get_runner().get_tor_controller() as controller:
   self.assertEqual('Tor version %s.\n' % controller.get_version(), 
self.run_tor('--version'))
 



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


[tor-commits] [stem/master] Warn if user doesn't provide any runnable integ targets

2015-02-09 Thread atagar
commit b9d66c4dfb0e50466872208c7f8bb22600eb8c06
Author: Damian Johnson 
Date:   Mon Feb 9 08:30:20 2015 -0800

Warn if user doesn't provide any runnable integ targets

Sebastian was understandably confused on ticket 14804 when running '--target
ONLINE' didn't run anything.
---
 run_tests.py |3 +++
 1 file changed, 3 insertions(+)

diff --git a/run_tests.py b/run_tests.py
index 63102a4..c696b1d 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -387,6 +387,9 @@ def _get_args(argv):
 
   args['run_targets'] = run_targets
   args['attribute_targets'] = attribute_targets
+
+  if not args['run_targets']:
+raise ValueError("This wouldn't run anything. You need to provide at 
least one target that starts with 'RUN_'.")
 elif opt == '--test':
   args['specific_test'] = arg
 elif opt in ('-l', '--log'):

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


[tor-commits] [tor/master] Add some comments to or_circuit_t.workqueue_entry

2015-02-09 Thread nickm
commit 9667b2b88a1f8e9af08704c8bc95b8399a6e4145
Author: Sebastian Hahn 
Date:   Mon Feb 9 16:11:45 2015 +0100

Add some comments to or_circuit_t.workqueue_entry

These were suggested by dgoulet, thanks!
---
 src/or/cpuworker.c |1 +
 src/or/or.h|3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index 7fe2351..c5e78ed 100644
--- a/src/or/cpuworker.c
+++ b/src/or/cpuworker.c
@@ -556,6 +556,7 @@ cpuworker_cancel_circ_handshake(or_circuit_t *circ)
 tor_free(job);
 tor_assert(total_pending_tasks > 0);
 --total_pending_tasks;
+/* if (!job), this is done in cpuworker_onion_handshake_replyfn. */
 circ->workqueue_entry = NULL;
   }
 }
diff --git a/src/or/or.h b/src/or/or.h
index 520b7db..5d70798 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3126,7 +3126,8 @@ typedef struct or_circuit_t {
* chance to give an onionskin to a cpuworker. Used only in onion.c */
   struct onion_queue_t *onionqueue_entry;
   /** Pointer to a workqueue entry, if this circuit has given an onionskin to
-   * a cpuworker and is waiting for a response. Used only in cpuworker.c */
+   * a cpuworker and is waiting for a response. Used to decide whether it is
+   * safe to free a circuit or if it is still in use by a cpuworker. */
   struct workqueue_entry_s *workqueue_entry;
 
   /** The circuit_id used in the previous (backward) hop of this circuit. */

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


[tor-commits] [tor/master] Avoid use-after-free of circ belonging to cancelled job

2015-02-09 Thread nickm
commit 733751009058a8ff140c15ddd8b022da6a77afdd
Author: Sebastian Hahn 
Date:   Mon Feb 9 16:04:51 2015 +0100

Avoid use-after-free of circ belonging to cancelled job

This fixes a bug where we decide to free the circuit because it isn't on
any workqueue anymore, and then the job finishes and the circuit gets
freed again.

Fixes bug #14815, not in any released version of Tor.
---
 src/or/cpuworker.c |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index 5e8b32d..7fe2351 100644
--- a/src/or/cpuworker.c
+++ b/src/or/cpuworker.c
@@ -556,8 +556,7 @@ cpuworker_cancel_circ_handshake(or_circuit_t *circ)
 tor_free(job);
 tor_assert(total_pending_tasks > 0);
 --total_pending_tasks;
+circ->workqueue_entry = NULL;
   }
-
-  circ->workqueue_entry = NULL;
 }
 



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


[tor-commits] [translation/tails-misc] Update translations for tails-misc

2015-02-09 Thread translation
commit 9cd8d6f002e3d93a6c6867196cfee02152e84b5d
Author: Translation commit bot 
Date:   Mon Feb 9 12:45:35 2015 +

Update translations for tails-misc
---
 hr_HR.po |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hr_HR.po b/hr_HR.po
index 2072c25..5aee662 100644
--- a/hr_HR.po
+++ b/hr_HR.po
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-14 16:01+0100\n"
-"PO-Revision-Date: 2015-02-09 12:13+\n"
+"PO-Revision-Date: 2015-02-09 12:32+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
@@ -298,7 +298,7 @@ msgstr "MAC maskiranje nije uspjelo za mržnu karticu  
${nic_name} (${nic}) tako
 
 #: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:47
 msgid "All networking disabled"
-msgstr "Sve mreže onemogućene"
+msgstr "Sav mrežni rad onemogućen"
 
 #: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:48
 #, sh-format

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


[tor-commits] [translation/tails-misc_completed] Update translations for tails-misc_completed

2015-02-09 Thread translation
commit aa5340b3b221e18be373cb126f6cafd0682b0a18
Author: Translation commit bot 
Date:   Mon Feb 9 12:45:39 2015 +

Update translations for tails-misc_completed
---
 hr_HR.po |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hr_HR.po b/hr_HR.po
index 2072c25..5aee662 100644
--- a/hr_HR.po
+++ b/hr_HR.po
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-14 16:01+0100\n"
-"PO-Revision-Date: 2015-02-09 12:13+\n"
+"PO-Revision-Date: 2015-02-09 12:32+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
@@ -298,7 +298,7 @@ msgstr "MAC maskiranje nije uspjelo za mržnu karticu  
${nic_name} (${nic}) tako
 
 #: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:47
 msgid "All networking disabled"
-msgstr "Sve mreže onemogućene"
+msgstr "Sav mrežni rad onemogućen"
 
 #: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:48
 #, sh-format

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


[tor-commits] [translation/tails-misc_completed] Update translations for tails-misc_completed

2015-02-09 Thread translation
commit 94a9b12ce213db2d7443a78c5266eb298bd3323d
Author: Translation commit bot 
Date:   Mon Feb 9 12:15:41 2015 +

Update translations for tails-misc_completed
---
 hr_HR.po |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/hr_HR.po b/hr_HR.po
index 2dd0cdf..2072c25 100644
--- a/hr_HR.po
+++ b/hr_HR.po
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-14 16:01+0100\n"
-"PO-Revision-Date: 2015-02-09 11:21+\n"
+"PO-Revision-Date: 2015-02-09 12:13+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
@@ -278,23 +278,23 @@ msgid ""
 "MAC spoofing feature. For more information, see the MAC"
 " spoofing documentation."
-msgstr "Čini se da ste blokirani s mreže. Ovo može biti povezano sa 
mogućnosti oponašanja MAC-a. Za više informacija, pogledajte 
 dokumentacija o oponašanju MAC-a."
+msgstr "Čini se da ste blokirani s mreže. Ovo može biti povezano sa 
mogućnosti maskiranja MAC-a. Za više informacija, pogledajte 
 dokumentacija o maskiranju MAC-a."
 
 #: config/chroot_local-includes/usr/local/bin/tails-security-check:145
 msgid "This version of Tails has known security issues:"
-msgstr "Ova verzija Tails-a ima poznate sigurnosne probleme : "
+msgstr "Ova verzija Tails-a ima poznate sigurnosne probleme:"
 
 #: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:37
 #, sh-format
 msgid "Network card ${nic} disabled"
-msgstr "Mrežna kartica ${nic} onesposobljena"
+msgstr "Mrežna kartica ${nic} je onesposobljena"
 
 #: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:38
 #, sh-format
 msgid ""
 "MAC spoofing failed for network card ${nic_name} (${nic}) so it is 
temporarily disabled.\n"
 "You might prefer to restart Tails and disable MAC spoofing. See the documentation."
-msgstr "MAC ometanje neuspješno za mržnu karticu  ${nic_name} (${nic}) tako 
da je privremeno onemogućeno. Možda bi ste radije ponovno pokrenuli Tails i 
onemogućili MAC ometanje. Pogledajte dokumentaciju."
+msgstr "MAC maskiranje nije uspjelo za mržnu karticu  ${nic_name} (${nic}) 
tako da je privremeno onemogućena. Možda bi ste radije ponovno pokrenuli 
Tails i onemogućili MAC maskiranje. Pogledajte dokumentaciju."
 
 #: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:47
 msgid "All networking disabled"

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


[tor-commits] [translation/tails-misc] Update translations for tails-misc

2015-02-09 Thread translation
commit 0ee3581012785edeefffdd36ad928d3290757e8c
Author: Translation commit bot 
Date:   Mon Feb 9 12:15:37 2015 +

Update translations for tails-misc
---
 hr_HR.po |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/hr_HR.po b/hr_HR.po
index 2dd0cdf..2072c25 100644
--- a/hr_HR.po
+++ b/hr_HR.po
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-14 16:01+0100\n"
-"PO-Revision-Date: 2015-02-09 11:21+\n"
+"PO-Revision-Date: 2015-02-09 12:13+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
@@ -278,23 +278,23 @@ msgid ""
 "MAC spoofing feature. For more information, see the MAC"
 " spoofing documentation."
-msgstr "Čini se da ste blokirani s mreže. Ovo može biti povezano sa 
mogućnosti oponašanja MAC-a. Za više informacija, pogledajte 
 dokumentacija o oponašanju MAC-a."
+msgstr "Čini se da ste blokirani s mreže. Ovo može biti povezano sa 
mogućnosti maskiranja MAC-a. Za više informacija, pogledajte 
 dokumentacija o maskiranju MAC-a."
 
 #: config/chroot_local-includes/usr/local/bin/tails-security-check:145
 msgid "This version of Tails has known security issues:"
-msgstr "Ova verzija Tails-a ima poznate sigurnosne probleme : "
+msgstr "Ova verzija Tails-a ima poznate sigurnosne probleme:"
 
 #: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:37
 #, sh-format
 msgid "Network card ${nic} disabled"
-msgstr "Mrežna kartica ${nic} onesposobljena"
+msgstr "Mrežna kartica ${nic} je onesposobljena"
 
 #: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:38
 #, sh-format
 msgid ""
 "MAC spoofing failed for network card ${nic_name} (${nic}) so it is 
temporarily disabled.\n"
 "You might prefer to restart Tails and disable MAC spoofing. See the documentation."
-msgstr "MAC ometanje neuspješno za mržnu karticu  ${nic_name} (${nic}) tako 
da je privremeno onemogućeno. Možda bi ste radije ponovno pokrenuli Tails i 
onemogućili MAC ometanje. Pogledajte dokumentaciju."
+msgstr "MAC maskiranje nije uspjelo za mržnu karticu  ${nic_name} (${nic}) 
tako da je privremeno onemogućena. Možda bi ste radije ponovno pokrenuli 
Tails i onemogućili MAC maskiranje. Pogledajte dokumentaciju."
 
 #: config/chroot_local-includes/usr/local/sbin/tails-spoof-mac:47
 msgid "All networking disabled"

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


[tor-commits] [translation/tails-misc] Update translations for tails-misc

2015-02-09 Thread translation
commit 1b260b339c90419ace97fafec13854235c4ee6fa
Author: Translation commit bot 
Date:   Mon Feb 9 11:45:36 2015 +

Update translations for tails-misc
---
 hr_HR.po |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/hr_HR.po b/hr_HR.po
index 5588cdd..2dd0cdf 100644
--- a/hr_HR.po
+++ b/hr_HR.po
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-14 16:01+0100\n"
-"PO-Revision-Date: 2015-02-09 11:15+\n"
+"PO-Revision-Date: 2015-02-09 11:21+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
@@ -266,11 +266,11 @@ msgstr "Tor treba točan sat da bi radio ispravno, 
posebno za skrivene usluge. M
 
 #: config/chroot_local-includes/usr/local/bin/tails-htp-notify-user:87
 msgid "Failed to synchronize the clock!"
-msgstr "Neuspješno sikronizovanje sata ! "
+msgstr "Neuspješno sinkroniziranje sata!"
 
 #: 
config/chroot_local-includes/usr/local/sbin/tails-restricted-network-detector:38
 msgid "Network connection blocked?"
-msgstr "Mrežna veza blokirana ? "
+msgstr "Mrežna veza blokirana?"
 
 #: 
config/chroot_local-includes/usr/local/sbin/tails-restricted-network-detector:40
 msgid ""
@@ -278,7 +278,7 @@ msgid ""
 "MAC spoofing feature. For more information, see the MAC"
 " spoofing documentation."
-msgstr "Izgleda da ste blokirani s mreže. Ovo moze biti povezano sa MAC 
osobinom ometanja. Za vise informacija,pogledajte MAC
 dokumentacija za ometanje."
+msgstr "Čini se da ste blokirani s mreže. Ovo može biti povezano sa 
mogućnosti oponašanja MAC-a. Za više informacija, pogledajte 
 dokumentacija o oponašanju MAC-a."
 
 #: config/chroot_local-includes/usr/local/bin/tails-security-check:145
 msgid "This version of Tails has known security issues:"

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


[tor-commits] [translation/tails-misc_completed] Update translations for tails-misc_completed

2015-02-09 Thread translation
commit 9c1b31b6ebcf0fecae9222f294dbccd65b6f36a5
Author: Translation commit bot 
Date:   Mon Feb 9 11:45:40 2015 +

Update translations for tails-misc_completed
---
 hr_HR.po |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/hr_HR.po b/hr_HR.po
index 5588cdd..2dd0cdf 100644
--- a/hr_HR.po
+++ b/hr_HR.po
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-14 16:01+0100\n"
-"PO-Revision-Date: 2015-02-09 11:15+\n"
+"PO-Revision-Date: 2015-02-09 11:21+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
@@ -266,11 +266,11 @@ msgstr "Tor treba točan sat da bi radio ispravno, 
posebno za skrivene usluge. M
 
 #: config/chroot_local-includes/usr/local/bin/tails-htp-notify-user:87
 msgid "Failed to synchronize the clock!"
-msgstr "Neuspješno sikronizovanje sata ! "
+msgstr "Neuspješno sinkroniziranje sata!"
 
 #: 
config/chroot_local-includes/usr/local/sbin/tails-restricted-network-detector:38
 msgid "Network connection blocked?"
-msgstr "Mrežna veza blokirana ? "
+msgstr "Mrežna veza blokirana?"
 
 #: 
config/chroot_local-includes/usr/local/sbin/tails-restricted-network-detector:40
 msgid ""
@@ -278,7 +278,7 @@ msgid ""
 "MAC spoofing feature. For more information, see the MAC"
 " spoofing documentation."
-msgstr "Izgleda da ste blokirani s mreže. Ovo moze biti povezano sa MAC 
osobinom ometanja. Za vise informacija,pogledajte MAC
 dokumentacija za ometanje."
+msgstr "Čini se da ste blokirani s mreže. Ovo može biti povezano sa 
mogućnosti oponašanja MAC-a. Za više informacija, pogledajte 
 dokumentacija o oponašanju MAC-a."
 
 #: config/chroot_local-includes/usr/local/bin/tails-security-check:145
 msgid "This version of Tails has known security issues:"

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


[tor-commits] [translation/tails-misc] Update translations for tails-misc

2015-02-09 Thread translation
commit be8bfd486b8be729f833fde9b267a288773146a0
Author: Translation commit bot 
Date:   Mon Feb 9 11:15:36 2015 +

Update translations for tails-misc
---
 hr_HR.po |   66 +++---
 1 file changed, 33 insertions(+), 33 deletions(-)

diff --git a/hr_HR.po b/hr_HR.po
index 9dee6e9..5588cdd 100644
--- a/hr_HR.po
+++ b/hr_HR.po
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-14 16:01+0100\n"
-"PO-Revision-Date: 2015-01-29 14:57+\n"
+"PO-Revision-Date: 2015-02-09 11:15+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
@@ -27,7 +27,7 @@ msgstr "Tor je spreman "
 
 #: 
config/chroot_local-includes/etc/NetworkManager/dispatcher.d/60-tor-ready-notification.sh:43
 msgid "You can now access the Internet."
-msgstr "Sada mozete pristupiti internetu. "
+msgstr "Sad možete pristupiti internetu."
 
 #: config/chroot_local-includes/etc/whisperback/config.py:64
 #, python-format
@@ -45,11 +45,11 @@ msgid ""
 "Anyone who can see this reply will probably infer you are\n"
 "a Tails user. Time to wonder how much you trust your\n"
 "Internet and mailbox providers?\n"
-msgstr "Pomozite nam da rijesimo vaš kvar !\nPročitajte naše upute za prijavljivanje kvara.\nNemojte 
upisati više ličnih informacija nego što je\npotrebno!\nO 
davanju vaše email adrese\nAko nemate ništa protiv otkrivanja malih 
dijelova vašeg identiteta\n Tail programerima, možete da nam obezbijedite 
svoju email adresu\ni dozvolite nam da vas pitamo detalje o kvaru. Dodatni 
ulazak\njavni PGP ključ omogućava nam da šifriramo takvu 
buduću\nkomunikaciju.\nSvako ko može da vidi ovaj odgovor će 
vjerovatno zaključiti da ste\n Tail korisnik. Vrijeme da se zapitate koliko 
vjerujete vašim \nInternet i mailbox provajderima?\n"
+msgstr "Pomozite nam da riješimo vaš kvar !\nPročitajte naše upute za prijavljivanje kvara.\nNemojte 
upisati više osobnih informacija nego što je\npotrebno!\nO 
davanju email adrese\nAko nemate ništa protiv otkrivanja malih 
dijelova Vašeg identiteta\n Tails programerima, možete nam dati svoju email 
adresu\nda Vas pitamo detalje o kvaru. Također, dodavanje\njavnog PGP ključa 
omogućava nam da šifriramo takvu buduću\nkomunikaciju.\nSvatko tko 
može vidijeti ovaj odgovor će vjerovatno zaključiti da ste\n Tails korisnik. 
Vrijeme da se zapitate koliko vjerujete Vašim davateljima \nInternet i mailbox 
usluga?\n"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:136
 msgid "OpenPGP encryption applet"
-msgstr "Otvori PGP aplet za kodiranje"
+msgstr "OpenPGP aplikacija za kodiranje"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:139
 msgid "Exit"
@@ -61,19 +61,19 @@ msgstr "O"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:192
 msgid "Encrypt Clipboard with _Passphrase"
-msgstr "Å ifriraj Clipboard sa lozinkom"
+msgstr "Å ifriraj Clipboard s _Lozinkom"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:195
 msgid "Sign/Encrypt Clipboard with Public _Keys"
-msgstr "Potpiši/ Šifriraj Clipboard sa Javnim_Ključevima"
+msgstr "Potpiši/Šifriraj Clipboard s Javnim_Ključevima"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:200
 msgid "_Decrypt/Verify Clipboard"
-msgstr "Dešifruj/ Potvrdi Clipboard"
+msgstr "_Dešifriraj/Potvrdi Clipboard"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:204
 msgid "_Manage Keys"
-msgstr "Upravljaj ključevima"
+msgstr "_Upravljaj ključevima"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:244
 msgid "The clipboard does not contain valid input data."
@@ -83,19 +83,19 @@ msgstr "Clipboard ne sadrži važeće ulazne podatke. "
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:297
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:299
 msgid "Unknown Trust"
-msgstr "Nepoznati Trust"
+msgstr "Nepoznato Povjerenje"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:301
 msgid "Marginal Trust"
-msgstr "Rubni Trust"
+msgstr "Rubno Povjerenje"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:303
 msgid "Full Trust"
-msgstr "Puno povjerenje"
+msgstr "Potpuno Povjerenje"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:305
 msgid "Ultimate Trust"
-msgstr "Konačno povjerenje"
+msgstr "Ultimativno Povjerenje"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:358
 msgid "Name"
@@ -111,58 +111,58 @@ msgstr "Status"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:392
 msgid "Fingerprint:"
-msgstr "Otisak"
+msgstr "Otisak:"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:395
 msgid "User ID:"
 msgid_plural "User IDs:"
 msgstr[0] "ID korisnika"
 msgstr[1] "ID-i korisnika"
-msgstr[2] "ID-i korisnika"
+msgstr[2] "Identifikacije korisnik:"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:42

[tor-commits] [translation/tails-misc_completed] Update translations for tails-misc_completed

2015-02-09 Thread translation
commit c015596a61abaf2950f84159f4b0bff747c885be
Author: Translation commit bot 
Date:   Mon Feb 9 11:15:42 2015 +

Update translations for tails-misc_completed
---
 hr_HR.po |   66 +++---
 1 file changed, 33 insertions(+), 33 deletions(-)

diff --git a/hr_HR.po b/hr_HR.po
index 9dee6e9..5588cdd 100644
--- a/hr_HR.po
+++ b/hr_HR.po
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-14 16:01+0100\n"
-"PO-Revision-Date: 2015-01-29 14:57+\n"
+"PO-Revision-Date: 2015-02-09 11:15+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
@@ -27,7 +27,7 @@ msgstr "Tor je spreman "
 
 #: 
config/chroot_local-includes/etc/NetworkManager/dispatcher.d/60-tor-ready-notification.sh:43
 msgid "You can now access the Internet."
-msgstr "Sada mozete pristupiti internetu. "
+msgstr "Sad možete pristupiti internetu."
 
 #: config/chroot_local-includes/etc/whisperback/config.py:64
 #, python-format
@@ -45,11 +45,11 @@ msgid ""
 "Anyone who can see this reply will probably infer you are\n"
 "a Tails user. Time to wonder how much you trust your\n"
 "Internet and mailbox providers?\n"
-msgstr "Pomozite nam da rijesimo vaš kvar !\nPročitajte naše upute za prijavljivanje kvara.\nNemojte 
upisati više ličnih informacija nego što je\npotrebno!\nO 
davanju vaše email adrese\nAko nemate ništa protiv otkrivanja malih 
dijelova vašeg identiteta\n Tail programerima, možete da nam obezbijedite 
svoju email adresu\ni dozvolite nam da vas pitamo detalje o kvaru. Dodatni 
ulazak\njavni PGP ključ omogućava nam da šifriramo takvu 
buduću\nkomunikaciju.\nSvako ko može da vidi ovaj odgovor će 
vjerovatno zaključiti da ste\n Tail korisnik. Vrijeme da se zapitate koliko 
vjerujete vašim \nInternet i mailbox provajderima?\n"
+msgstr "Pomozite nam da riješimo vaš kvar !\nPročitajte naše upute za prijavljivanje kvara.\nNemojte 
upisati više osobnih informacija nego što je\npotrebno!\nO 
davanju email adrese\nAko nemate ništa protiv otkrivanja malih 
dijelova Vašeg identiteta\n Tails programerima, možete nam dati svoju email 
adresu\nda Vas pitamo detalje o kvaru. Također, dodavanje\njavnog PGP ključa 
omogućava nam da šifriramo takvu buduću\nkomunikaciju.\nSvatko tko 
može vidijeti ovaj odgovor će vjerovatno zaključiti da ste\n Tails korisnik. 
Vrijeme da se zapitate koliko vjerujete Vašim davateljima \nInternet i mailbox 
usluga?\n"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:136
 msgid "OpenPGP encryption applet"
-msgstr "Otvori PGP aplet za kodiranje"
+msgstr "OpenPGP aplikacija za kodiranje"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:139
 msgid "Exit"
@@ -61,19 +61,19 @@ msgstr "O"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:192
 msgid "Encrypt Clipboard with _Passphrase"
-msgstr "Å ifriraj Clipboard sa lozinkom"
+msgstr "Å ifriraj Clipboard s _Lozinkom"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:195
 msgid "Sign/Encrypt Clipboard with Public _Keys"
-msgstr "Potpiši/ Šifriraj Clipboard sa Javnim_Ključevima"
+msgstr "Potpiši/Šifriraj Clipboard s Javnim_Ključevima"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:200
 msgid "_Decrypt/Verify Clipboard"
-msgstr "Dešifruj/ Potvrdi Clipboard"
+msgstr "_Dešifriraj/Potvrdi Clipboard"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:204
 msgid "_Manage Keys"
-msgstr "Upravljaj ključevima"
+msgstr "_Upravljaj ključevima"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:244
 msgid "The clipboard does not contain valid input data."
@@ -83,19 +83,19 @@ msgstr "Clipboard ne sadrži važeće ulazne podatke. "
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:297
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:299
 msgid "Unknown Trust"
-msgstr "Nepoznati Trust"
+msgstr "Nepoznato Povjerenje"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:301
 msgid "Marginal Trust"
-msgstr "Rubni Trust"
+msgstr "Rubno Povjerenje"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:303
 msgid "Full Trust"
-msgstr "Puno povjerenje"
+msgstr "Potpuno Povjerenje"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:305
 msgid "Ultimate Trust"
-msgstr "Konačno povjerenje"
+msgstr "Ultimativno Povjerenje"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:358
 msgid "Name"
@@ -111,58 +111,58 @@ msgstr "Status"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:392
 msgid "Fingerprint:"
-msgstr "Otisak"
+msgstr "Otisak:"
 
 #: config/chroot_local-includes/usr/local/bin/gpgApplet:395
 msgid "User ID:"
 msgid_plural "User IDs:"
 msgstr[0] "ID korisnika"
 msgstr[1] "ID-i korisnika"
-msgstr[2] "ID-i korisnika"
+msgstr[2] "Identifikacije korisnik:"
 
 #: config/chroot_local-includes/usr/local/bin/gp

[tor-commits] [webwml/master] add hivos into our 2015 sponsors list too

2015-02-09 Thread arma
commit 7d787e46e100a1d6abb6ca0d618a6c1f31036396
Author: Roger Dingledine 
Date:   Mon Feb 9 05:50:26 2015 -0500

add hivos into our 2015 sponsors list too
---
 about/en/sponsors.wml |1 +
 1 file changed, 1 insertion(+)

diff --git a/about/en/sponsors.wml b/about/en/sponsors.wml
index 1c77eb5..b0c268a 100644
--- a/about/en/sponsors.wml
+++ b/about/en/sponsors.wml
@@ -28,6 +28,7 @@
  http://www.rfa.org/english/";>Radio Free Asia 
(2012-2014)
  http://nsf.gov/";>National Science Foundation joint 
with Georgia Tech and Princeton University (2012-2016)
  http://nsf.gov/";>National Science Foundation via 
University of Minnesota (2013-2017)
+ https://digitaldefenders.org/";>Hivos/The Digital 
Defenders Partnership (2014-2015)
  http://www.sri.com/";>SRI International 
(2011-2015)
  http://www.state.gov/j/drl/";>US Department of State 
Bureau of Democracy, Human Rights, and Labor (2013-2016)
  An anonymous North American ISP (2009-present)

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


[tor-commits] [translation/mat-gui_completed] Update translations for mat-gui_completed

2015-02-09 Thread translation
commit 49317c3d5d943589781432fe3fb0bf6b516761d8
Author: Translation commit bot 
Date:   Mon Feb 9 09:15:40 2015 +

Update translations for mat-gui_completed
---
 hr_HR.po |   21 +++--
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/hr_HR.po b/hr_HR.po
index e4080d8..559126b 100644
--- a/hr_HR.po
+++ b/hr_HR.po
@@ -4,15 +4,16 @@
 # 
 # Translators:
 # Translators:
-# dlb031, 2013
+# Ana B, 2013
+# skiddiep , 2015
 # Tea Horvatic , 2014
 msgid ""
 msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2014-01-19 14:48+\n"
-"PO-Revision-Date: 2014-03-14 13:50+\n"
-"Last-Translator: Tea Horvatic \n"
+"PO-Revision-Date: 2015-02-09 09:01+\n"
+"Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -26,7 +27,7 @@ msgstr "Spremno"
 
 #: mat-gui:128
 msgid "Choose files"
-msgstr "Odaberi datoteke"
+msgstr "Odaberite datoteke"
 
 #: mat-gui:135
 msgid "All files"
@@ -51,7 +52,7 @@ msgstr "Prljavo"
 #: mat-gui:165
 #, python-format
 msgid "%s's metadata"
-msgstr "%s's metapodaci"
+msgstr " metapodaci %s"
 
 #: mat-gui:176
 msgid "Trash your meta, keep your data"
@@ -59,7 +60,7 @@ msgstr "Odbaci meta, ostavi podatke"
 
 #: mat-gui:181
 msgid "Website"
-msgstr "Web Stranica"
+msgstr "Web stranica"
 
 #: mat-gui:207 data/mat.ui:107
 msgid "Preferences"
@@ -79,7 +80,7 @@ msgstr "Dodaj nepodržane datoteke u arhive"
 
 #: mat-gui:229
 msgid "Add non-supported (and so non-anonymised) file to output archive"
-msgstr "Dodaj nepodržane(i neanonimizirane) datoteke u izlazni arhiv"
+msgstr "Dodaj nepodržane (i neanonimizirane) datoteke u izlazni arhiv"
 
 #: mat-gui:268
 msgid "Unknown"
@@ -99,7 +100,7 @@ msgstr "Format datoteke nije podržan"
 
 #: mat-gui:329
 msgid "These files can not be processed:"
-msgstr "Ove datoteke se ne mogu procesirati:"
+msgstr "Ove datoteke se ne mogu obraditi:"
 
 #: mat-gui:334 mat-gui:363 data/mat.ui:292
 msgid "Filename"
@@ -115,11 +116,11 @@ msgstr "Nepodržane datoteke u arhivi"
 
 #: mat-gui:349 data/mat.ui:227
 msgid "Scour"
-msgstr "Pretraži"
+msgstr "Očisti"
 
 #: mat-gui:362
 msgid "Include"
-msgstr "uključi"
+msgstr "Uključi"
 
 #: mat-gui:378
 #, python-format

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


[tor-commits] [translation/mat-gui] Update translations for mat-gui

2015-02-09 Thread translation
commit c8a8f5eb0146de7b001a2e515571861407a8c4c2
Author: Translation commit bot 
Date:   Mon Feb 9 09:15:36 2015 +

Update translations for mat-gui
---
 hr_HR.po |   21 +++--
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/hr_HR.po b/hr_HR.po
index e4080d8..559126b 100644
--- a/hr_HR.po
+++ b/hr_HR.po
@@ -4,15 +4,16 @@
 # 
 # Translators:
 # Translators:
-# dlb031, 2013
+# Ana B, 2013
+# skiddiep , 2015
 # Tea Horvatic , 2014
 msgid ""
 msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2014-01-19 14:48+\n"
-"PO-Revision-Date: 2014-03-14 13:50+\n"
-"Last-Translator: Tea Horvatic \n"
+"PO-Revision-Date: 2015-02-09 09:01+\n"
+"Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -26,7 +27,7 @@ msgstr "Spremno"
 
 #: mat-gui:128
 msgid "Choose files"
-msgstr "Odaberi datoteke"
+msgstr "Odaberite datoteke"
 
 #: mat-gui:135
 msgid "All files"
@@ -51,7 +52,7 @@ msgstr "Prljavo"
 #: mat-gui:165
 #, python-format
 msgid "%s's metadata"
-msgstr "%s's metapodaci"
+msgstr " metapodaci %s"
 
 #: mat-gui:176
 msgid "Trash your meta, keep your data"
@@ -59,7 +60,7 @@ msgstr "Odbaci meta, ostavi podatke"
 
 #: mat-gui:181
 msgid "Website"
-msgstr "Web Stranica"
+msgstr "Web stranica"
 
 #: mat-gui:207 data/mat.ui:107
 msgid "Preferences"
@@ -79,7 +80,7 @@ msgstr "Dodaj nepodržane datoteke u arhive"
 
 #: mat-gui:229
 msgid "Add non-supported (and so non-anonymised) file to output archive"
-msgstr "Dodaj nepodržane(i neanonimizirane) datoteke u izlazni arhiv"
+msgstr "Dodaj nepodržane (i neanonimizirane) datoteke u izlazni arhiv"
 
 #: mat-gui:268
 msgid "Unknown"
@@ -99,7 +100,7 @@ msgstr "Format datoteke nije podržan"
 
 #: mat-gui:329
 msgid "These files can not be processed:"
-msgstr "Ove datoteke se ne mogu procesirati:"
+msgstr "Ove datoteke se ne mogu obraditi:"
 
 #: mat-gui:334 mat-gui:363 data/mat.ui:292
 msgid "Filename"
@@ -115,11 +116,11 @@ msgstr "Nepodržane datoteke u arhivi"
 
 #: mat-gui:349 data/mat.ui:227
 msgid "Scour"
-msgstr "Pretraži"
+msgstr "Očisti"
 
 #: mat-gui:362
 msgid "Include"
-msgstr "uključi"
+msgstr "Uključi"
 
 #: mat-gui:378
 #, python-format

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


[tor-commits] [translation/liveusb-creator_completed] Update translations for liveusb-creator_completed

2015-02-09 Thread translation
commit 6194e017955432a37702e2f307a71f44a432ec85
Author: Translation commit bot 
Date:   Mon Feb 9 09:15:21 2015 +

Update translations for liveusb-creator_completed
---
 hr_HR/hr_HR.po |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/hr_HR/hr_HR.po b/hr_HR/hr_HR.po
index 6bfe9da..facb234 100644
--- a/hr_HR/hr_HR.po
+++ b/hr_HR/hr_HR.po
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-13 18:07+0100\n"
-"PO-Revision-Date: 2015-02-09 08:42+\n"
+"PO-Revision-Date: 2015-02-09 08:51+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
@@ -529,7 +529,7 @@ msgstr "Provjeravam SHA1 kontrolni broj slike ŽivogCD-a..."
 
 #: ../liveusb/creator.py:368
 msgid "Verifying SHA256 checksum of LiveCD image..."
-msgstr "Provjeravam SHA256 kontrolni broj slike ŽivogCD-..."
+msgstr "Provjeravam SHA256 kontrolni broj slike ŽivogCD-a..."
 
 #: ../liveusb/creator.py:930 ../liveusb/creator.py:1242
 msgid "Verifying filesystem..."
@@ -565,13 +565,13 @@ msgid ""
 "You are going to upgrade Tails on the %(parent_size)s %(vendor)s %(model)s "
 "device (%(device)s). Any persistent volume on this device will remain "
 "unchanged. Continue?"
-msgstr "Nadograditi ćete Tails na %(parent_size)s %(vendor)s %(model)s 
uređaj (%(device)s). Bilo koji trajni pogon na ovom uređaju će ostati 
nepromijenjen. Nastaviti?"
+msgstr "Nadograditi ćete Tails na %(parent_size)s %(vendor)s %(model)s 
uređaj (%(device)s). Svi trajni pogoni na ovom uređaju će ostati 
nepromijenjeni. Nastaviti?"
 
 #: ../liveusb/creator.py:618
 msgid ""
 "You are using an old version of syslinux-extlinux that does not support the "
 "ext4 filesystem"
-msgstr "Koristite staru syslinux-extlinux inačicu koja ne podržava ext4 
datotečni sustav"
+msgstr "Koristite staru syslinux-extlinux inačicu koja ne podržava ext4 
sustav datoteka"
 
 #: ../liveusb/gui.py:754
 msgid "You can try again to resume your download"

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


[tor-commits] [translation/liveusb-creator] Update translations for liveusb-creator

2015-02-09 Thread translation
commit 74e293368d0516b1490ccb464e5f79e5017bfff5
Author: Translation commit bot 
Date:   Mon Feb 9 09:15:17 2015 +

Update translations for liveusb-creator
---
 hr_HR/hr_HR.po |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/hr_HR/hr_HR.po b/hr_HR/hr_HR.po
index 6bfe9da..facb234 100644
--- a/hr_HR/hr_HR.po
+++ b/hr_HR/hr_HR.po
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-13 18:07+0100\n"
-"PO-Revision-Date: 2015-02-09 08:42+\n"
+"PO-Revision-Date: 2015-02-09 08:51+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
@@ -529,7 +529,7 @@ msgstr "Provjeravam SHA1 kontrolni broj slike ŽivogCD-a..."
 
 #: ../liveusb/creator.py:368
 msgid "Verifying SHA256 checksum of LiveCD image..."
-msgstr "Provjeravam SHA256 kontrolni broj slike ŽivogCD-..."
+msgstr "Provjeravam SHA256 kontrolni broj slike ŽivogCD-a..."
 
 #: ../liveusb/creator.py:930 ../liveusb/creator.py:1242
 msgid "Verifying filesystem..."
@@ -565,13 +565,13 @@ msgid ""
 "You are going to upgrade Tails on the %(parent_size)s %(vendor)s %(model)s "
 "device (%(device)s). Any persistent volume on this device will remain "
 "unchanged. Continue?"
-msgstr "Nadograditi ćete Tails na %(parent_size)s %(vendor)s %(model)s 
uređaj (%(device)s). Bilo koji trajni pogon na ovom uređaju će ostati 
nepromijenjen. Nastaviti?"
+msgstr "Nadograditi ćete Tails na %(parent_size)s %(vendor)s %(model)s 
uređaj (%(device)s). Svi trajni pogoni na ovom uređaju će ostati 
nepromijenjeni. Nastaviti?"
 
 #: ../liveusb/creator.py:618
 msgid ""
 "You are using an old version of syslinux-extlinux that does not support the "
 "ext4 filesystem"
-msgstr "Koristite staru syslinux-extlinux inačicu koja ne podržava ext4 
datotečni sustav"
+msgstr "Koristite staru syslinux-extlinux inačicu koja ne podržava ext4 
sustav datoteka"
 
 #: ../liveusb/gui.py:754
 msgid "You can try again to resume your download"

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


[tor-commits] [translation/liveusb-creator_completed] Update translations for liveusb-creator_completed

2015-02-09 Thread translation
commit 8fe22299f605f3b8a695f274673c29bbaa65e022
Author: Translation commit bot 
Date:   Mon Feb 9 08:45:21 2015 +

Update translations for liveusb-creator_completed
---
 hr_HR/hr_HR.po |   30 +++---
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/hr_HR/hr_HR.po b/hr_HR/hr_HR.po
index b07f679..6bfe9da 100644
--- a/hr_HR/hr_HR.po
+++ b/hr_HR/hr_HR.po
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-13 18:07+0100\n"
-"PO-Revision-Date: 2015-02-09 08:07+\n"
+"PO-Revision-Date: 2015-02-09 08:42+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
@@ -373,7 +373,7 @@ msgstr "Ovo je USB na koji želite ugraditi Vaš Živi 
sustav. Ovaj uređaj mora
 msgid ""
 "This is the progress bar that will indicate how far along in the LiveUSB "
 "creation process you are"
-msgstr "Ovo je traka napredka koja će ukazivati koliko ste daleko u postupku 
stvaranja ŽiviUSB‑a"
+msgstr "Ovo je traka napretka koja će pokazivati koliko ste daleko u postupku 
stvaranja ŽivogUSB‑a"
 
 #: ../liveusb/dialog.py:162
 msgid "This is the status console, where all messages get written to."
@@ -390,7 +390,7 @@ msgstr "USB pogon pronađen"
 #: ../liveusb/creator.py:954
 #, python-format
 msgid "Unable to change volume label: %(message)s"
-msgstr "Ne mogu izmijeniti oznaku obujma: %(message)s"
+msgstr "Ne mogu izmijeniti oznaku pogona: %(message)s"
 
 #: ../liveusb/creator.py:492 ../liveusb/creator.py:503
 #, python-format
@@ -412,51 +412,51 @@ msgstr "Ne mogu naći niti jedan podržani uređaj"
 
 #: ../liveusb/creator.py:1079
 msgid "Unable to find partition"
-msgstr "Ne mogu naći podjelu"
+msgstr "Ne mogu naći particiju"
 
 #: ../liveusb/creator.py:1316
 msgid ""
 "Unable to get Win32_LogicalDisk; win32com query did not return any results"
-msgstr "Ne mogu dobiti Win32_LogicalDisk; win32com upit nije vratio nikakve 
ishode"
+msgstr "Ne mogu dobiti Win32_LogicalDisk; win32com upit nije vratio nikakve 
rezultate"
 
 #: ../liveusb/gui.py:662
 msgid "Unable to mount device"
-msgstr "Ne mogu montirati uređaj"
+msgstr "Ne mogu postaviti uređaj"
 
 #: ../liveusb/creator.py:804
 #, python-format
 msgid "Unable to mount device: %(message)s"
-msgstr "Ne mogu montirati uređaj: %(message)s"
+msgstr "Ne mogu postaviti uređaj: %(message)s"
 
 #: ../liveusb/creator.py:508
 #, python-format
 msgid "Unable to remove directory from previous LiveOS: %(message)s"
-msgstr "Ne mogu maknuti popis iz predhodnoga ŽiviOS‑a: %(message)s"
+msgstr "Ne mogu maknuti direktorij iz prethodnoga ŽivogOS‑a: %(message)s"
 
 #: ../liveusb/creator.py:496
 #, python-format
 msgid "Unable to remove file from previous LiveOS: %(message)s"
-msgstr "Ne mogu maknuti datoteku iz predhodnoga ŽiviOS‑a: %(message)s"
+msgstr "Ne mogu maknuti datoteku iz prethodnoga ŽivogOS‑a: %(message)s"
 
 #: ../liveusb/creator.py:1151
 msgid ""
 "Unable to reset MBR.  You may not have the `syslinux` package installed."
-msgstr "Ne mogu prepostaviti MBR. Možda nemate ugrađen paket „syslinux“."
+msgstr "Ne mogu ponovno postaviti MBR. Možda nemate ugrađen paket 
'syslinux'."
 
 #: ../liveusb/gui.py:769
 msgid ""
 "Unable to use the selected file.  You may have better luck if you move your "
 "ISO to the root of your drive (ie: C:\\)"
-msgstr "Nisam u mogućnosti koristiti izabranu datoteku. Možda ćete imati 
više sreće ako Vaš ISO premjestite u korijen Vašega pogona (na primjer 
C:\\)"
+msgstr "Nisam u mogućnosti koristiti izabranu datoteku. Možda ćete imati 
više sreće ako Vaš ISO premjestite u korijen Vašega pogona (npr C:\\)"
 
 #: ../liveusb/creator.py:711
 #, python-format
 msgid "Unable to write on %(device)s, skipping."
-msgstr "Ne mogu pisati po %(device)s; preskačem."
+msgstr "Ne mogu pisati na %(device)s; preskačem."
 
 #: ../liveusb/creator.py:390
 msgid "Unknown ISO, skipping checksum verification"
-msgstr "Nepoznat ISO; preskačem potvrdu provjerom zbrojem"
+msgstr "Nepoznat ISO; preskačem provjeru kontrolnog zbroja"
 
 #: ../liveusb/creator.py:800
 #, python-format
@@ -470,7 +470,7 @@ msgstr "Nepoznat sustav datoteka. Vaš uređaj možda treba 
ponovno formatirati.
 #: ../liveusb/gui.py:84
 #, python-format
 msgid "Unknown release: %s"
-msgstr "Nepoznato izvješće: %s"
+msgstr "Nepoznato izdanje: %s"
 
 #: ../liveusb/creator.py:841
 #, python-format
@@ -521,7 +521,7 @@ msgstr "Koristite postojeći ISO Živog sustava"
 
 #: ../liveusb/creator.py:135
 msgid "Verifying ISO MD5 checksum"
-msgstr "Provjera ISO MD5 kontrolne sume"
+msgstr "Provjera MD5 kontrolnog zbroja ISO-a"
 
 #: ../liveusb/creator.py:364
 msgid "Verifying SHA1 checksum of LiveCD image..."

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/l

[tor-commits] [translation/liveusb-creator] Update translations for liveusb-creator

2015-02-09 Thread translation
commit 7fa155fb9892cb50a4fc996c5df994c6f7452393
Author: Translation commit bot 
Date:   Mon Feb 9 08:45:17 2015 +

Update translations for liveusb-creator
---
 hr_HR/hr_HR.po |   30 +++---
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/hr_HR/hr_HR.po b/hr_HR/hr_HR.po
index b07f679..6bfe9da 100644
--- a/hr_HR/hr_HR.po
+++ b/hr_HR/hr_HR.po
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-13 18:07+0100\n"
-"PO-Revision-Date: 2015-02-09 08:07+\n"
+"PO-Revision-Date: 2015-02-09 08:42+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
@@ -373,7 +373,7 @@ msgstr "Ovo je USB na koji želite ugraditi Vaš Živi 
sustav. Ovaj uređaj mora
 msgid ""
 "This is the progress bar that will indicate how far along in the LiveUSB "
 "creation process you are"
-msgstr "Ovo je traka napredka koja će ukazivati koliko ste daleko u postupku 
stvaranja ŽiviUSB‑a"
+msgstr "Ovo je traka napretka koja će pokazivati koliko ste daleko u postupku 
stvaranja ŽivogUSB‑a"
 
 #: ../liveusb/dialog.py:162
 msgid "This is the status console, where all messages get written to."
@@ -390,7 +390,7 @@ msgstr "USB pogon pronađen"
 #: ../liveusb/creator.py:954
 #, python-format
 msgid "Unable to change volume label: %(message)s"
-msgstr "Ne mogu izmijeniti oznaku obujma: %(message)s"
+msgstr "Ne mogu izmijeniti oznaku pogona: %(message)s"
 
 #: ../liveusb/creator.py:492 ../liveusb/creator.py:503
 #, python-format
@@ -412,51 +412,51 @@ msgstr "Ne mogu naći niti jedan podržani uređaj"
 
 #: ../liveusb/creator.py:1079
 msgid "Unable to find partition"
-msgstr "Ne mogu naći podjelu"
+msgstr "Ne mogu naći particiju"
 
 #: ../liveusb/creator.py:1316
 msgid ""
 "Unable to get Win32_LogicalDisk; win32com query did not return any results"
-msgstr "Ne mogu dobiti Win32_LogicalDisk; win32com upit nije vratio nikakve 
ishode"
+msgstr "Ne mogu dobiti Win32_LogicalDisk; win32com upit nije vratio nikakve 
rezultate"
 
 #: ../liveusb/gui.py:662
 msgid "Unable to mount device"
-msgstr "Ne mogu montirati uređaj"
+msgstr "Ne mogu postaviti uređaj"
 
 #: ../liveusb/creator.py:804
 #, python-format
 msgid "Unable to mount device: %(message)s"
-msgstr "Ne mogu montirati uređaj: %(message)s"
+msgstr "Ne mogu postaviti uređaj: %(message)s"
 
 #: ../liveusb/creator.py:508
 #, python-format
 msgid "Unable to remove directory from previous LiveOS: %(message)s"
-msgstr "Ne mogu maknuti popis iz predhodnoga ŽiviOS‑a: %(message)s"
+msgstr "Ne mogu maknuti direktorij iz prethodnoga ŽivogOS‑a: %(message)s"
 
 #: ../liveusb/creator.py:496
 #, python-format
 msgid "Unable to remove file from previous LiveOS: %(message)s"
-msgstr "Ne mogu maknuti datoteku iz predhodnoga ŽiviOS‑a: %(message)s"
+msgstr "Ne mogu maknuti datoteku iz prethodnoga ŽivogOS‑a: %(message)s"
 
 #: ../liveusb/creator.py:1151
 msgid ""
 "Unable to reset MBR.  You may not have the `syslinux` package installed."
-msgstr "Ne mogu prepostaviti MBR. Možda nemate ugrađen paket „syslinux“."
+msgstr "Ne mogu ponovno postaviti MBR. Možda nemate ugrađen paket 
'syslinux'."
 
 #: ../liveusb/gui.py:769
 msgid ""
 "Unable to use the selected file.  You may have better luck if you move your "
 "ISO to the root of your drive (ie: C:\\)"
-msgstr "Nisam u mogućnosti koristiti izabranu datoteku. Možda ćete imati 
više sreće ako Vaš ISO premjestite u korijen Vašega pogona (na primjer 
C:\\)"
+msgstr "Nisam u mogućnosti koristiti izabranu datoteku. Možda ćete imati 
više sreće ako Vaš ISO premjestite u korijen Vašega pogona (npr C:\\)"
 
 #: ../liveusb/creator.py:711
 #, python-format
 msgid "Unable to write on %(device)s, skipping."
-msgstr "Ne mogu pisati po %(device)s; preskačem."
+msgstr "Ne mogu pisati na %(device)s; preskačem."
 
 #: ../liveusb/creator.py:390
 msgid "Unknown ISO, skipping checksum verification"
-msgstr "Nepoznat ISO; preskačem potvrdu provjerom zbrojem"
+msgstr "Nepoznat ISO; preskačem provjeru kontrolnog zbroja"
 
 #: ../liveusb/creator.py:800
 #, python-format
@@ -470,7 +470,7 @@ msgstr "Nepoznat sustav datoteka. Vaš uređaj možda treba 
ponovno formatirati.
 #: ../liveusb/gui.py:84
 #, python-format
 msgid "Unknown release: %s"
-msgstr "Nepoznato izvješće: %s"
+msgstr "Nepoznato izdanje: %s"
 
 #: ../liveusb/creator.py:841
 #, python-format
@@ -521,7 +521,7 @@ msgstr "Koristite postojeći ISO Živog sustava"
 
 #: ../liveusb/creator.py:135
 msgid "Verifying ISO MD5 checksum"
-msgstr "Provjera ISO MD5 kontrolne sume"
+msgstr "Provjera MD5 kontrolnog zbroja ISO-a"
 
 #: ../liveusb/creator.py:364
 msgid "Verifying SHA1 checksum of LiveCD image..."

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

[tor-commits] [translation/liveusb-creator] Update translations for liveusb-creator

2015-02-09 Thread translation
commit c5518bcdb3e01151e75d504ad60088a78e156a32
Author: Translation commit bot 
Date:   Mon Feb 9 08:15:17 2015 +

Update translations for liveusb-creator
---
 hr_HR/hr_HR.po |   24 
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/hr_HR/hr_HR.po b/hr_HR/hr_HR.po
index 3ada248..b07f679 100644
--- a/hr_HR/hr_HR.po
+++ b/hr_HR/hr_HR.po
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-13 18:07+0100\n"
-"PO-Revision-Date: 2015-02-09 07:40+\n"
+"PO-Revision-Date: 2015-02-09 08:07+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
@@ -271,15 +271,15 @@ msgstr "Particija je FAT32; ograničavam veličinu 
preklopa na 4 GB"
 #: ../liveusb/creator.py:228 ../liveusb/creator.py:856
 #, python-format
 msgid "Partitioning device %(device)s"
-msgstr "Djelim uređaj %(device)s"
+msgstr "Particioniram uređaj %(device)s"
 
 #: ../liveusb/gui.py:607
 msgid "Persistent Storage"
-msgstr "Ustrajna pohrana"
+msgstr "Trajna pohrana"
 
 #: ../liveusb/dialog.py:161
 msgid "Persistent Storage (0 MB)"
-msgstr "Ustrajna pohrana (0 MB)"
+msgstr "Trajna pohrana (0 MB)"
 
 #: ../liveusb/gui.py:669 ../liveusb/gui.py:698
 msgid "Please confirm your device selection"
@@ -291,7 +291,7 @@ msgstr "Osvježavam izdanja…"
 
 #: ../liveusb/gui.py:458
 msgid "Releases updated!"
-msgstr "Izdanja osvježena!"
+msgstr "Izdanja ažurirana!"
 
 #: ../liveusb/creator.py:966 ../liveusb/creator.py:1293
 #, python-format
@@ -305,7 +305,7 @@ msgstr "Mičem postojeći Živi OS"
 #: ../liveusb/creator.py:1148
 #, python-format
 msgid "Resetting Master Boot Record of %s"
-msgstr "Prepostavljam Glavni pokretački zapis %s"
+msgstr "Ponovno postavljam Master Boot Record %s"
 
 #: ../liveusb/gui.py:760
 msgid "Select Live ISO"
@@ -320,12 +320,12 @@ msgstr "Postavljam OLPC pokretačku datoteku…"
 msgid ""
 "Some partitions of the target device %(device)s are mounted. They will be "
 "unmounted before starting the installation process."
-msgstr "Neke su podjele odredišnoga uređaja %(device)s montirane. One će 
biti odmontirane prije započinjanja ugradbenoga postupka."
+msgstr "Neke particije odredišnoga uređaja %(device)s su postavljene. One 
će biti odmontirane prije započinjanja instalacije."
 
 #: ../liveusb/creator.py:133
 msgid ""
 "Source type does not support verification of ISO MD5 checksum, skipping"
-msgstr "Izovišna vrsta ne podržava potvrdu ISO MD5 zbrojne provjere; 
preskačem"
+msgstr "Vrsta izvora ne podržava MD5 kontrolni međuzbroj ISO-a; preskačem"
 
 #: ../liveusb/creator.py:1182
 msgid "Synchronizing data on disk..."
@@ -346,14 +346,14 @@ msgstr "Izabrana datoteka je nečitljiva. Molimo 
popravite njezine dozvole ili i
 msgid ""
 "There was a problem executing the following command: `%(command)s`.\n"
 "A more detailed error log has been written to '%(filename)s'."
-msgstr "Izvršavanje slijedeće naredbe bilo je problem: 
„%(command)s“.\nPodrobniji zapisnik greški zapisan je u 
„%(filename)s“."
+msgstr "Pojavio se problem prilikom izvođenja sljedeće naredbe: 
'%(command)s'.\nPodrobniji zapisnik o grešci je zapisan u '%(filename)s'."
 
 #: ../liveusb/dialog.py:151
 msgid ""
 "This button allows you to browse for an existing Live system ISO that you "
 "have previously downloaded.  If you do not select one, a release will be "
 "downloaded for you automatically."
-msgstr "Ovaj Vam gumb omogućuje potragu za postojećim ISO‑om Živoga 
sustava kojega ste predhodno skinuli. Ako ne izaberete niti jednoga, jedno će 
izdanje biti skinuto za Vas samostalno."
+msgstr "Ovaj gumb Vam omogućuje potragu za postojećim ISO‑om Živoga 
sustava kojega ste predhodno skinuli. Ako ne izaberete niti jedan, izdanje će 
biti skinuto za Vas automatski."
 
 #: ../liveusb/dialog.py:164
 msgid ""
@@ -361,13 +361,13 @@ msgid ""
 "optionally downloading a release (if an existing one wasn't selected),  "
 "extracting the ISO to the USB device, creating the persistent overlay, and "
 "installing the bootloader."
-msgstr "Ovaj gumb započinje postupak stvaranja ŽiviUSB‑a. To po potrebi 
uključuje skidanje jednoga izdanja (ako neko postojeće nije izabrano), 
razpikiranje ISO‑a na USB uređaj, stvaranje ustrajnoga prelega i ugradnju 
podizača."
+msgstr "Ovaj gumb započinje postupak stvaranja ŽivogUSB‑a. To po potrebi 
uključuje skidanje jednoga izdanja (ako neko postojeće nije izabrano), 
raspakiranje ISO‑a na USB uređaj, stvaranje trajnog preklopa i ugradnju 
podizača."
 
 #: ../liveusb/dialog.py:158
 msgid ""
 "This is the USB stick that you want to install your Live system on.  This "
 "device must be formatted with the FAT filesystem."
-msgstr "Ovo je USB štapić na koji želite ugraditi Vaš Živi sustav. Ovaj 
uređaj mora biti oblikovan datotečnime sustavom FAT."
+msgstr "Ovo

[tor-commits] [translation/liveusb-creator_completed] Update translations for liveusb-creator_completed

2015-02-09 Thread translation
commit 42b0cc26e623f3b5f52b18855876f10f62fb1419
Author: Translation commit bot 
Date:   Mon Feb 9 08:15:20 2015 +

Update translations for liveusb-creator_completed
---
 hr_HR/hr_HR.po |   24 
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/hr_HR/hr_HR.po b/hr_HR/hr_HR.po
index 3ada248..b07f679 100644
--- a/hr_HR/hr_HR.po
+++ b/hr_HR/hr_HR.po
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-01-13 18:07+0100\n"
-"PO-Revision-Date: 2015-02-09 07:40+\n"
+"PO-Revision-Date: 2015-02-09 08:07+\n"
 "Last-Translator: skiddiep \n"
 "Language-Team: Croatian (Croatia) 
(http://www.transifex.com/projects/p/torproject/language/hr_HR/)\n"
 "MIME-Version: 1.0\n"
@@ -271,15 +271,15 @@ msgstr "Particija je FAT32; ograničavam veličinu 
preklopa na 4 GB"
 #: ../liveusb/creator.py:228 ../liveusb/creator.py:856
 #, python-format
 msgid "Partitioning device %(device)s"
-msgstr "Djelim uređaj %(device)s"
+msgstr "Particioniram uređaj %(device)s"
 
 #: ../liveusb/gui.py:607
 msgid "Persistent Storage"
-msgstr "Ustrajna pohrana"
+msgstr "Trajna pohrana"
 
 #: ../liveusb/dialog.py:161
 msgid "Persistent Storage (0 MB)"
-msgstr "Ustrajna pohrana (0 MB)"
+msgstr "Trajna pohrana (0 MB)"
 
 #: ../liveusb/gui.py:669 ../liveusb/gui.py:698
 msgid "Please confirm your device selection"
@@ -291,7 +291,7 @@ msgstr "Osvježavam izdanja…"
 
 #: ../liveusb/gui.py:458
 msgid "Releases updated!"
-msgstr "Izdanja osvježena!"
+msgstr "Izdanja ažurirana!"
 
 #: ../liveusb/creator.py:966 ../liveusb/creator.py:1293
 #, python-format
@@ -305,7 +305,7 @@ msgstr "Mičem postojeći Živi OS"
 #: ../liveusb/creator.py:1148
 #, python-format
 msgid "Resetting Master Boot Record of %s"
-msgstr "Prepostavljam Glavni pokretački zapis %s"
+msgstr "Ponovno postavljam Master Boot Record %s"
 
 #: ../liveusb/gui.py:760
 msgid "Select Live ISO"
@@ -320,12 +320,12 @@ msgstr "Postavljam OLPC pokretačku datoteku…"
 msgid ""
 "Some partitions of the target device %(device)s are mounted. They will be "
 "unmounted before starting the installation process."
-msgstr "Neke su podjele odredišnoga uređaja %(device)s montirane. One će 
biti odmontirane prije započinjanja ugradbenoga postupka."
+msgstr "Neke particije odredišnoga uređaja %(device)s su postavljene. One 
će biti odmontirane prije započinjanja instalacije."
 
 #: ../liveusb/creator.py:133
 msgid ""
 "Source type does not support verification of ISO MD5 checksum, skipping"
-msgstr "Izovišna vrsta ne podržava potvrdu ISO MD5 zbrojne provjere; 
preskačem"
+msgstr "Vrsta izvora ne podržava MD5 kontrolni međuzbroj ISO-a; preskačem"
 
 #: ../liveusb/creator.py:1182
 msgid "Synchronizing data on disk..."
@@ -346,14 +346,14 @@ msgstr "Izabrana datoteka je nečitljiva. Molimo 
popravite njezine dozvole ili i
 msgid ""
 "There was a problem executing the following command: `%(command)s`.\n"
 "A more detailed error log has been written to '%(filename)s'."
-msgstr "Izvršavanje slijedeće naredbe bilo je problem: 
„%(command)s“.\nPodrobniji zapisnik greški zapisan je u 
„%(filename)s“."
+msgstr "Pojavio se problem prilikom izvođenja sljedeće naredbe: 
'%(command)s'.\nPodrobniji zapisnik o grešci je zapisan u '%(filename)s'."
 
 #: ../liveusb/dialog.py:151
 msgid ""
 "This button allows you to browse for an existing Live system ISO that you "
 "have previously downloaded.  If you do not select one, a release will be "
 "downloaded for you automatically."
-msgstr "Ovaj Vam gumb omogućuje potragu za postojećim ISO‑om Živoga 
sustava kojega ste predhodno skinuli. Ako ne izaberete niti jednoga, jedno će 
izdanje biti skinuto za Vas samostalno."
+msgstr "Ovaj gumb Vam omogućuje potragu za postojećim ISO‑om Živoga 
sustava kojega ste predhodno skinuli. Ako ne izaberete niti jedan, izdanje će 
biti skinuto za Vas automatski."
 
 #: ../liveusb/dialog.py:164
 msgid ""
@@ -361,13 +361,13 @@ msgid ""
 "optionally downloading a release (if an existing one wasn't selected),  "
 "extracting the ISO to the USB device, creating the persistent overlay, and "
 "installing the bootloader."
-msgstr "Ovaj gumb započinje postupak stvaranja ŽiviUSB‑a. To po potrebi 
uključuje skidanje jednoga izdanja (ako neko postojeće nije izabrano), 
razpikiranje ISO‑a na USB uređaj, stvaranje ustrajnoga prelega i ugradnju 
podizača."
+msgstr "Ovaj gumb započinje postupak stvaranja ŽivogUSB‑a. To po potrebi 
uključuje skidanje jednoga izdanja (ako neko postojeće nije izabrano), 
raspakiranje ISO‑a na USB uređaj, stvaranje trajnog preklopa i ugradnju 
podizača."
 
 #: ../liveusb/dialog.py:158
 msgid ""
 "This is the USB stick that you want to install your Live system on.  This "
 "device must be formatted with the FAT filesystem."
-msgstr "Ovo je USB štapić na koji želite ugraditi Vaš Živi sustav. Ovaj 
uređaj mora biti oblikovan datotečnime sustavom FAT."
+m