This is an automated email from the git hooks/post-receive script.
cohosh pushed a commit to branch main in repository pluggable-transports/snowflake-webext.
The following commit(s) were added to refs/heads/main by this push: new e0f968b Rename badge.json to message.json to comply with firefox i18n e0f968b is described below
commit e0f968bfe607092674c276e08cbff4caf3d437d1 Author: Cecylia Bocovich cohosh@torproject.org AuthorDate: Tue Nov 1 14:28:48 2022 -0400
Rename badge.json to message.json to comply with firefox i18n --- README.md | 2 +- init-badge.js | 2 +- static/_locales/en_US/{badge.json => messages.json} | 0 3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md index b3b354b..96fde7b 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ npm run clean # Maybe check what's left behind git clean -n -d -x
-# Be sure that website.json and badge.json in translation/en/ have been +# Be sure that website.json and messages.json in translation/en/ have been # populated with any new strings that may have been merged in the recent # patches. It may take some time for weblate to have updated. You can # check with the following, diff --git a/init-badge.js b/init-badge.js index 30f0242..a4305a2 100644 --- a/init-badge.js +++ b/init-badge.js @@ -247,7 +247,7 @@ var };
window.onload = function() { - fetch(`./_locales/${getLang()}/badge.json`) + fetch(`./_locales/${getLang()}/messages.json`) .then((res) => { if (!res.ok) { return; } return res.json(); diff --git a/static/_locales/en_US/badge.json b/static/_locales/en_US/messages.json similarity index 100% rename from static/_locales/en_US/badge.json rename to static/_locales/en_US/messages.json
tor-commits@lists.torproject.org