From 15cad4a9c07736394768a983dff500da20d8b1c9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 26 Feb 2021 12:58:33 +0300 Subject: [PATCH] rebase translations, fixing a few JS strings not mached; remove obsolete scripts --- utils/extract-i18n-js.pl | 15 --------------- utils/localized_schema.txt | 17 ----------------- ...e-translations.sh => rebase-translations.sh} | 0 3 files changed, 32 deletions(-) delete mode 100755 utils/extract-i18n-js.pl delete mode 100644 utils/localized_schema.txt rename utils/{update-translations.sh => rebase-translations.sh} (100%) 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 () { - 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 similarity index 100% rename from utils/update-translations.sh rename to utils/rebase-translations.sh