Skip to content

Commit

Permalink
Remove some rotted l10n code
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmadewell committed Aug 9, 2019
1 parent 909d16b commit 43ff0e2
Show file tree
Hide file tree
Showing 10 changed files with 1,734 additions and 2,320 deletions.
1 change: 0 additions & 1 deletion .eslintignore
@@ -1,6 +1,5 @@
node_modules
**/*/resize-inspector/jquery-resizable.min.js
**/*/l10n/get_ember_strings.js
**/*/lib/
**/assets
**/extension/features/index.js
Expand Down
5 changes: 1 addition & 4 deletions scripts/update_l10n_strings
Expand Up @@ -7,11 +7,8 @@ fi

cd src/extension/legacy/features/l10n/

echo "Loading actual localisation strings from app.youneedabudget.com."
phantomjs get_ember_strings.js > actual.json

echo "Merging actual localisation into current one."
jq -s '.[0] * .[1]' en.json actual.json > new.json
jq -s '.[0] * .[1] * .[2]' en.json ynab.json toolkit.json > new.json
mv new.json en.json

echo "Sending updated localisation to Crowdin."
Expand Down
2 changes: 1 addition & 1 deletion src/extension/legacy/features/l10n/.gitignore
@@ -1 +1 @@
actual.json
en.json
1,660 changes: 633 additions & 1,027 deletions src/extension/legacy/features/l10n/en.json

Large diffs are not rendered by default.

18 changes: 0 additions & 18 deletions src/extension/legacy/features/l10n/get_ember_strings.js

This file was deleted.

0 comments on commit 43ff0e2

Please sign in to comment.