aboutsummaryrefslogtreecommitdiffstats
path: root/touch_translations.pl
Commit message (Collapse)AuthorAgeFilesLines
* Fix up logic bug in touch_translations.plSteve McIntyre2018-06-071-2/+12
| | | | | | | | | | | The original logic was broken and was causing comparisons against the wrong originals for some translated files. This looks like it was being hidden by the lax CVS versioning code underneath, so we never saw the bug previously. Split the code out, correct it and document what it's actually doing now. Fixes a lot of reported errors with git revisions not being found...
* More useful info when count_changes() failsSteve McIntyre2018-06-071-1/+1
| | | | Print the translation filename as well as the original filename
* Fix debug message in touch_translations.plSteve McIntyre2018-06-071-1/+1
|
* Several updates for touch_translations.plSteve McIntyre2018-06-061-12/+11
| | | | | | | If count_changes() returns undef due to error, abort and print the error Update boilerplate Pass on the debug level to the underlying VCS module
* Major updates to perl scriptsSteve McIntyre2018-05-301-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new git backend in VCS_git.pm Switch from an old-style set of function calls to an OO API. This allows for initialisation and some state to be kept in the VCS_git.pm module - namely a per-file cache of commit hashes for a massive performance boost when doing lots of lookups. Extend the API with 2 new utility functions: * get_oldest_revision() * next_revision() Extended the vcs_cmp_rev() function to take a filename too. Add a test harness to validate the git and cvs backends. Add switch_to_git_translations.pl to walk the tree and switch from cvs revisions to git commit hashes in translation-check headers. Change all of our local scripts to use the new Local::VCS frontend *where it makes sense*. Some scripts will behave slightly differently, as the new world can't exactly match the old behaviour. CVS version numbers check_desc_trans.pl: 1.9 -> 1.10 check_trans.pl: 1.93 -> 1.94 copypage.pl: 1.42 -> 1.43 karma.pl: 1.6 -> 1.7 remove_stale.pl: 1.22 -> 1.23 smart_change.pl: 1.8 -> 1.9 stattrans.pl: 1.127 -> 1.128 switch_to_git_translations.pl: INITIAL -> 1.1 touch_translations.pl: 1.9 -> 1.10 vcs-test.pl: INITIAL -> 1.1 Perl/Local/Util.pm: 1.4 -> 1.5 Perl/Local/VCS.pm: 1.3 -> 1.4 Perl/Local/VCS_CVS.pm: 1.13 -> 1.14 Perl/Local/VCS_git.pm: 1.12 -> 1.13 Perl/Webwml/Langs.pm: 1.5 -> 1.6 Perl/Webwml/TransIgnore.pm: 1.3 -> 1.4
* Update these scripts to use modules found under Perl/Denis Barbier2001-09-041-63/+22
| | | | | | | | CVS version numbers check_trans.pl: 1.35 -> 1.36 stattrans.pl: 1.23 -> 1.24 touch_translations.pl: 1.8 -> 1.9
* commented out arabic from the hash because we don't actually have an Arabic ↵Josip Rodin2001-07-221-1/+1
| | | | | | | | | | translation right now :/ CVS version numbers stattrans.pl: 1.21 -> 1.22 touch_translations.pl: 1.7 -> 1.8 english/template/debian/languages.wml: 1.90 -> 1.91
* s/hellas/greek/Josip Rodin2001-07-221-1/+1
| | | | | | | | | | CVS version numbers Makefile: 1.27 -> 1.28 stattrans.pl: 1.18 -> 1.19 touch_translations.pl: 1.6 -> 1.7 english/template/debian/language_names.wml: 1.157 -> 1.158 english/template/debian/languages.wml: 1.89 -> 1.90
* Synchronize language list with english/template/debian/languages.wml.Matt Kraai2001-07-091-1/+4
| | | | | | CVS version numbers touch_translations.pl: 1.5 -> 1.6
* Workaround to make it stop from bailing out when working in aMartin Schulze2001-05-271-2/+5
| | | | | | | | | | directory that wasn't yet committed to CVS, which is the case when working on new pages and only committing them when they have proved to work properly. CVS version numbers touch_translations.pl: 1.4 -> 1.5
* Small correction in Makefile, large result, make broke down. HellasMartin Schulze2001-05-181-1/+2
| | | | | | | | wasn't known to touch_translations.pl. CVS version numbers touch_translations.pl: 1.3 -> 1.4
* cut down on verbosityPolish Language Team2000-11-231-3/+3
| | | | | | CVS version numbers touch_translations.pl: 1.2 -> 1.3
* The language argument $(LANGUAGE) in Makefile.common is just a two-letterPolish Language Team2000-10-271-6/+27
| | | | | | | | code. Added a hash "code" => "full-language-name" CVS version numbers touch_translations.pl: 1.1 -> 1.2
* A script to touch outdated translations at given intervalsPolish Language Team2000-10-021-0/+149
CVS version numbers touch_translations.pl: INITIAL -> 1.1

© 2014-2024 Faster IT GmbH | imprint | privacy policy