diff options
author | Andrew Dolgov <[email protected]> | 2021-02-26 12:58:33 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-26 12:58:33 +0300 |
commit | 15cad4a9c07736394768a983dff500da20d8b1c9 (patch) | |
tree | ad52c7b449dfda9686bcb408d01dad537825f9c1 /utils | |
parent | 634f1210a6f6f4c30fedec04098f47c7fd385fb0 (diff) |
rebase translations, fixing a few JS strings not mached; remove obsolete scripts
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/extract-i18n-js.pl | 15 | ||||
-rw-r--r-- | utils/localized_schema.txt | 17 | ||||
-rwxr-xr-x | utils/rebase-translations.sh (renamed from utils/update-translations.sh) | 0 |
3 files changed, 0 insertions, 32 deletions
diff --git a/utils/extract-i18n-js.pl b/utils/extract-i18n-js.pl deleted file mode 100755 index b51e7ce5a..000000000 --- a/utils/extract-i18n-js.pl +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/perl -w -# -use strict; - -while (<STDIN>) { - chomp; - - if (/(__|Notify.progress|Notify.msg|Notify.info|Notify.error)\(['"](.*?)['"]\)/) { - my $msg = $2; - - $msg =~ s/\"/\\\"/g; - - print "print T_js_decl(\"$msg\");\n"; - } -} diff --git a/utils/localized_schema.txt b/utils/localized_schema.txt deleted file mode 100644 index 417b690c4..000000000 --- a/utils/localized_schema.txt +++ /dev/null @@ -1,17 +0,0 @@ -__("Title"); -__("Title or Content"); -__("Link"); -__("Content"); -__("Article Date"); - -__("Delete article"); -__("Mark as read"); -__("Set starred"); -__("Publish article"); -__("Assign tags"); -__("Assign label"); -__("Modify score"); - -__("General"); -__("Interface"); -__("Advanced"); diff --git a/utils/update-translations.sh b/utils/rebase-translations.sh index 51869986b..51869986b 100755 --- a/utils/update-translations.sh +++ b/utils/rebase-translations.sh |