From 5edb223ec18d721a83e73982864544f3e15fc567 Mon Sep 17 00:00:00 2001 From: Chris Garrity Date: Tue, 10 Aug 2021 11:16:56 -0400 Subject: [PATCH] Fix tx-push script for conference 2021 page Fixes #5912 : handling of the conference 2021 translation updates. Testing: * run `./bin/tx-push-www`: * output shows what would run with the --execute flag. * look for `tx-push-src` wtih resource name 'conference-index-2021-l10njson', for the conference 2021 view. DO NOT RUN THE SCRIPT WITH `--execute` Steps to land this PR: 1. rename the resource on transifex: `conference-2021-index-l10njson` to `conference-index-2021-l10njson` so that we don't lose any current translations. 2. merge the PR. Nightly update-translations job will execute the script. 3. rename or remove [conference-2021-index-l10njson](https://github.com/LLK/scratch-l10n/tree/master/www/scratch-website.conference-2021-index-l10njson) in scratch-l10n. --- bin/tx-push-www | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tx-push-www b/bin/tx-push-www index 0e7a55760..c87f3a6f2 100755 --- a/bin/tx-push-www +++ b/bin/tx-push-www @@ -31,7 +31,7 @@ if (args[0] === '--execute') { const overrides = { 'src/views/teachers/faq/l10n.json': 'teacher-faq-l10njson', 'src/views/teachers/landing/l10n.json': 'educator-landing-l10njson', - 'src/views/conference/2020/index/l10n.json': 'conference-index-2020-l10njson', + 'src/views/conference/2021/index/l10n.json': 'conference-index-2021-l10njson', 'src/views/conference/2019/index/l10n.json': 'conference-index-2019-l10njson', 'src/views/conference/2017/index/l10n.json': 'conference-index-2017-l10njson' };