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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs