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

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Dec 14 01:01:33 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:
   Resolution:                    |   Keywords:
Actual Points:                    |  Parent ID:
       Points:                    |
----------------------------------+-----------------------

Comment (by mikeperry):

 Assembling this string dynamically should be possible, but I think that
 means we will have to invalidate existing translations and convert these
 to properties instead of DTD elements. It may also require Javascript
 running in about:tor to do this, though we may be able to assemble the
 strings in Torbutton and inject them.

 If we end up needing to inject them anyway, I suppose an extreme hack
 might be to create a hidden XUL element with the DTDs in it, extract the
 elements they are contained in, and reassemble them in JS, and then inject
 that into about:tor. That will require us to invalidate less strings
 (perhaps only the ones with spaces), but it might be a little crazy and
 messy.

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


More information about the tor-bugs mailing list