[tor-bugs] #10398 [TorBrowserButton]: Please do not create strings untranslatable with Transifex

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Dec 14 00:30:25 UTC 2013


#10398: Please do not create strings untranslatable with Transifex
------------------------------+---------------------------
 Reporter:  lunar             |          Owner:  mikeperry
     Type:  defect            |         Status:  new
 Priority:  normal            |      Milestone:
Component:  TorBrowserButton  |        Version:
 Keywords:                    |  Actual Points:
Parent ID:                    |         Points:
------------------------------+---------------------------
 In [
 https://gitweb.torproject.org/torbutton.git/blob/HEAD:/src/chrome/locale/en/aboutTor.dtd#l26]
 aboutTor.dtd one can currently find:

 {{{
 <!-- Note to translators: the following 18 entities are used to construct
 a
    - sentence (either the SP or DDG entities are used, but not both at the
    - same time).   In English, the sentence reads:
    -    Search securely with Startpage.
    - or:
    -    Search securely with DuckDuckGo.
    - The sentence contains two embedded links for "securely" and
    - the search engine ("Startpage" or "DuckDuckGo").
   -->
 }}}

 That's really, really not the way to do it. Isn't there an equivalent to
 sprintf for
 Firefox extensions?

 The following strings can't be translated properly with Transifex:

 {{{
 <!ENTITY aboutTor.searchSP.privacy.beforeLink.label "Search ">
 <!ENTITY aboutTor.searchDDG.privacy.beforeLink.label "Search ">
 <!ENTITY aboutTor.searchSP.search.beforeLink.label "with ">
 <!ENTITY aboutTor.searchDDG.search.beforeLink.label "with ">
 }}}

 The ending space is invisible in any graphical translator (e.g. Transifex,
 our recommended tool for translators). :(

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10398>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list