[tor-commits] [pluggable-transports/snowflake-webext] 06/08: improvement: make the "runInBackground" string localizable

gitolite role git at cupani.torproject.org
Wed Oct 12 14:28:55 UTC 2022


This is an automated email from the git hooks/post-receive script.

shelikhoo pushed a commit to branch main
in repository pluggable-transports/snowflake-webext.

commit c124752b29f63d295bc7cfe65477459f8db63daa
Author: WofWca <wofwca at protonmail.com>
AuthorDate: Fri Jun 24 21:02:44 2022 +0300

    improvement: make the "runInBackground" string localizable
---
 static/_locales/en_US/messages.json | 3 +++
 static/embed.html                   | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/static/_locales/en_US/messages.json b/static/_locales/en_US/messages.json
index 62c16db..1343805 100644
--- a/static/_locales/en_US/messages.json
+++ b/static/_locales/en_US/messages.json
@@ -5,6 +5,9 @@
   "popupEnabled": {
     "message": "Enabled"
   },
+  "popupRunInBackground": {
+    "message": "Keep running when the browser is closed"
+  },
   "popupLearnMore": {
     "message": "Learn more"
   },
diff --git a/static/embed.html b/static/embed.html
index 3add406..b0c4a95 100644
--- a/static/embed.html
+++ b/static/embed.html
@@ -26,7 +26,7 @@
     </div>
     <!-- `display-none` is to be removed when appropriate -->
     <div id="run-in-background-wrapper" class="display-none b button">
-      <label for="run-in-background">Keep running when the browser is closed</label>
+      <label for="run-in-background">__MSG_popupRunInBackground__</label>
       <label class="switch">
         <input id="run-in-background" type="checkbox" />
         <span class="slider round"></span>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list