summaryrefslogtreecommitdiffhomepage
path: root/build/i18n-scan.pl
AgeCommit message (Collapse)Author
2019-05-31build: i18n-scan.pl: properly handle bracket-quoted stringsJo-Philipp Wich
Fixes: #2738 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05build: i18n-scan.pl: *.js support, location annotationsJo-Philipp Wich
Extend i18n-scan.pl to scan JavaScript files for translation strings as well and annotate produced *.po template files with source code location markers. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-10treewide: Fix typos in commentsyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2012-04-22build: escape backslashes in i18n stringsJo-Philipp Wich
2012-04-03build: rework checks in i18n-scan.plJo-Philipp Wich
2012-04-02build: rework i18n-scan.pl defined checksJo-Philipp Wich
2012-04-02build/i18n-scan.pl: avoid a possible endless loopJo-Philipp Wich
Issuing './build/i18n-scan.pl libs/core/' leads to this endless loop with some perl implementations: <...> Use of uninitialized value in concatenation (.) or string at../build/i18n-scan.pl line 69. substr outside of string at ./build/i18n-scan.pl line 69. Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69. substr outside of string at ./build/i18n-scan.pl line 69. Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69. substr outside of string at ./build/i18n-scan.pl line 69. Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69. substr outside of string at ./build/i18n-scan.pl line 69. Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69. substr outside of string at ./build/i18n-scan.pl line 69. Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69. substr outside of string at ./build/i18n-scan.pl line 69. Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69. substr outside of string at ./build/i18n-scan.pl line 69. Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69. substr outside of string at ./build/i18n-scan.pl line 69. Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69. substr outside of string at ./build/i18n-scan.pl line 69. <...> Experienced with this perl version: "This is perl, v5.8.8 built for i386-linux" Fix it by undefining the 'sub' variable if it is an empty string. Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
2011-11-05build: i18n-scan.pl: cope with strings that contain escaped newlines, ↵Jo-Philipp Wich
spotted in luci-pbx
2011-01-14build: fix some errors in i18n-scan.pl, support bracketed Lua string notationJo-Philipp Wich
2011-01-14build: properly handle i18n tags with whitespace strip tokens in i18n-scan.plJo-Philipp Wich
2010-12-11build/: Replace -or with -o #133Manuel Munz
2009-11-01build: fix corner case when extracting i18n tokens from templatesJo-Philipp Wich
2009-11-01build: allow multiple search directories in i18n-scan.plJo-Philipp Wich
2009-11-01build: update i18n-scan.pl, now reliably finds template and Lua i18n tokensJo-Philipp Wich
2009-05-17build: remove debugging code from i18n-scan.plJo-Philipp Wich
2009-05-17build: add script to extract i18n tags from sources and generate *.po snippetsJo-Philipp Wich