[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-102.9.0esr-12.5-1] fixup! Add TorStrings module for localization

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Thu Apr 6 08:16:21 UTC 2023



Pier Angelo Vendrame pushed to branch tor-browser-102.9.0esr-12.5-1 at The Tor Project / Applications / Tor Browser


Commits:
c7a53b92 by Pier Angelo Vendrame at 2023-04-06T10:15:46+02:00
fixup! Add TorStrings module for localization

Bug 41521: Improve localization notes

- - - - -


3 changed files:

- browser/locales/en-US/chrome/browser/aboutTBUpdate.dtd
- toolkit/torbutton/chrome/locale/en-US/aboutDialog.dtd
- toolkit/torbutton/chrome/locale/en-US/onionLocation.properties


Changes:

=====================================
browser/locales/en-US/chrome/browser/aboutTBUpdate.dtd
=====================================
@@ -1,5 +1,11 @@
 <!ENTITY aboutTBUpdate.changelogTitle "Tor Browser Changelog">
 <!ENTITY aboutTBUpdate.updated "Tor Browser has been updated.">
+<!-- LOCALIZATION NOTE: the following entities are used to create the link to
+  -  obtain more information about the latest update.
+  -  The markup on the page looks like this:
+  -  &aboutTBUpdate.linkPrefix;<a href="...">&aboutTBUpdate.linkLabel;</a>&aboutTBUpdate.linkSuffix;
+  -  So, linkPrefix is what precedes the link, linkLabel is the link itself,
+  -  and linkSuffix is a text after the link. -->
 <!ENTITY aboutTBUpdate.linkPrefix "For the most up-to-date information about this release, ">
 <!ENTITY aboutTBUpdate.linkLabel  "visit our website">
 <!ENTITY aboutTBUpdate.linkSuffix ".">


=====================================
toolkit/torbutton/chrome/locale/en-US/aboutDialog.dtd
=====================================
@@ -9,15 +9,15 @@
 <!ENTITY project.end             ", a nonprofit working to defend your privacy and freedom online.">
 
 <!ENTITY help.start              "Want to help? ">
-<!-- LOCALIZATION NOTE (help.donate): This is a link title that links to https://www.torproject.org/donate/donate.html.en -->
+<!-- LOCALIZATION NOTE (help.donate): This is a link title that links to https://donate.torproject.org/ -->
 <!ENTITY help.donateLink         "Donate">
 <!ENTITY help.or                 " or ">
-<!-- LOCALIZATION NOTE (help.getInvolvedLink): This is a link title that links to https://www.torproject.org/getinvolved/volunteer.html.en -->
+<!-- LOCALIZATION NOTE (help.getInvolvedLink): This is a link title that links to https://community.torproject.org/ -->
 <!ENTITY help.getInvolvedLink    "get involved">
 <!ENTITY help.end                "!">
-<!-- LOCALIZATION NOTE (bottom.questions): This is a link title that links to https://www.torproject.org/docs/trademark-faq.html.en -->
+<!-- LOCALIZATION NOTE (bottom.questions): This is a link title that links to https://support.torproject.org/ -->
 <!ENTITY bottomLinks.questions   "Questions?">
-<!-- LOCALIZATION NOTE (bottom.questions): This is a link title that links to https://www.torproject.org/getinvolved/relays -->
+<!-- LOCALIZATION NOTE (bottom.questions): This is a link title that links to https://community.torproject.org/relay/ -->
 <!ENTITY bottomLinks.grow        "Help the Tor Network Grow!">
 <!-- LOCALIZATION NOTE (bottom.questions): This is a link title that links to about:license -->
 <!ENTITY bottomLinks.license  "Licensing Information">


=====================================
toolkit/torbutton/chrome/locale/en-US/onionLocation.properties
=====================================
@@ -5,8 +5,12 @@
 
 # Onion-Location strings.
 onionLocation.alwaysPrioritize=Always Prioritize Onions
+# Localization note: this is the access key for "Always Prioritize Onions".
+# It should be a character that appears in that string.
 onionLocation.alwaysPrioritizeAccessKey=a
 onionLocation.notNow=Not Now
+# Localization note: this is the access key for "Not now".
+# It should be a character that appears in that string.
 onionLocation.notNowAccessKey=n
 onionLocation.description=There's a more private and secure version of this site available over the Tor network via onion services. Onion services help website publishers and their visitors defeat surveillance and censorship.
 onionLocation.tryThis=Try Onion Services



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/c7a53b920283d97518c9ffe4bfeb42575b0a27a2

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/c7a53b920283d97518c9ffe4bfeb42575b0a27a2
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230406/a144f3b3/attachment-0001.htm>


More information about the tbb-commits mailing list