Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (annotate) |
| Sticky Tag: |
skip non-translated files (i.e., most of the english originals) while doing a trans_check (for real this time)
Rool back last change: I have lots more local changes that shouldn't have been committed
skip non-translated files (i.e., most of the english originals) while doing a trans_check
Skip english/template/ when checking translatations. These files should not be translated.
Fix the output of the -g mail debug option: now output the mail in the correct charset (i.e., the charset specified in the mail header, rather than the charset Perl thinks you like).
Properly ignore commented lines in $lang/.wmlrc files (see http://lists.debian.org/debian-www/2008/12/msg00122.html)
Fixed the mail subject of sent mails.
Fixed the charset of the mailbody
Changed the mailer logic as proposed in http://lists.debian.org/debian-www/2008/10/msg00049.html
Fix invocation help (-c option was removed)
Add option -c to disable colours in the output
Reset the terminal colour when ctrl-c is pressed
typo
Remove mention of -M, which is not implmented atm.
Minor changes to help text and display function
Minor changes to help text
Add -l (show logs) option for check_trans.pl
Remove trailing spaces
Add -Q (be really quiet) option to check_trans.pl
Remove unused module Date::Parse
Move read_file() to Local::Util.
- Introduce Local::Util to contain useful utility functions. - Copy uniq() from List::MoreUtils to Local::Util - Get rid of dependencies on List::MoreUtils in favour of Local::Util
Remove overly strict check for translation headers that would also fire on translations of translations
Remove use of File::Slurp
Remove use of flush(). This apparently only supported in very recent perls
Only load MIME::Lite and Email::Address if we actually need them (i.e., -m option was specified)
Fix mailing of check_trans updates: - actually parse the argument to -m - fix the format of log output (still had svn revisions) - fix encoding of mails - fix overly verbose errors
Commit rewritten version of check_trans.pl
Changed by surname.
Remove the *.html pattern, the only file returned (english/security/audit/examples/test.c.html) is not translatable
current_status.pl is obsolete
Stop reading language.conf once the $defaultlanguage is set.
Fixed reading of language.conf
Skip comments in language.conf, thanks to Luca Monducci.
Avoid depending on non-standard lib unless we really need it
Added support for checking for how long a translation has been outdated.
added a very verbose mode (-V) which passes the verbose parameter to cvs->readinfo
Fixed a typo.
Remove warnings generated by perl 5.6
The -M option now will not mark Makefiles just containing an include line as different from the original.
Bugfix matching of exceptions listed in the global .transignore list; none of them were evaluated properly due to an extra slash in the substitution regexp.
Fix problem with diff not being created from the correct directory when dealing with translations from non-English sources.
Don't try to display diffs if the original file is missing
After scanning through the english directory, also look through the target language's directory. This will catch two types of files: * Files for which there is no English version, but that are translated from another language. * Files where the English version has been deleted, but the translation still has a file referencing it. I was bitten by both problems recently...
Add a -c flag to define charset used in mails
When invoked with -Q and -m flags, sending mails to translators do no more display notices.
Improve mail support: message body is read from file to ease translations. Add special users in translator.db.pl to track unmaintained or outdated pages.
we cannot assume old revision is 1.1 if it is not defined (i.e. not found in the headers), because that's a valid current revision of an English document; 1.0 should work OTOH
Added $DWWW_LANG handling, like already in copypage.pl available.
Fix -C option, chdir must be called before Webwml::TransIgnore->new
Ooops, -t was already used, and I forgot to stop the debuging output. Sorry...
Add the -t option to get the 'translated diff'
Missing files were never displayed because of a bug introduced during the transition to using modules under Perl/
fixed numoldr and numrev variables
Files matching m#$langto/international/$langto#i and without any wml::debian::translation-check line are assumed to be original, and English document is checked.
Some variables were not initialized with missing wml::debian::translation-check line in documents.
Update these scripts to use modules found under Perl/
Fix version number comparison.
oops. readd some of Denis' changes that got lost.
doh
use strict cleanups; one /i put back; cosmetics
New flags:
-C dir : similar to `make', chdir before running this script
-t type: specify output, currently implementations are only
of type `text' (default) and `perl'
In Perl output, last modification date is printed too.
Internal changes in load_entries: hash `data' is now an anonymous
reference, and its indices are swapped.
Added some `my' declarations
Bugfix. Was >> really intended to perform numerical comparison?
Remove some /i flags in regexps when it did not make sense, e.g. on wml::debian::translation-check header line because variables are case sensitive.
a bunch of irrelevant nitpicking
details, details
diffs don't work properly for /intl/ files
just debugging stuff
properly fixed figuring out that original file is in the translation and not english; somewhat reworked the code to figure out the variables from the file, stopped processing when things are found to speed it up, segregated the old style stuff and marked it as obsolete
skipped printing some extra stuff (hope this doesn't break things)
ignore a few files that can't be translated (no need for .transignore files when nobody translates these)
Added -M option to check differences in Makefiles. Made display a help screen if invoked with invalid parameters.
hmm. this should work.
let's also handle the case where I make a typo :)
changed the message that is displayed for files that have no translation-check tag
Fix -l option to only show the relevant log entries.
let's try Joey's fix for MIME::Lite use
undef opt_m, remove use MIME::Lite, check for opt_m in verify_send
Should now work with perl 5.6 and perl 5.005. The price for it is to not use strict, what is a bad thing IMHO
A radically new version: it can now send mail to translators. Please read the comments at the beginning of the script for more info.
Made detection tolerant to extra parameters after the translation number.
Added option to show relevant log messages
Added -q (quiet): Don't whine about missing files (For more fine grained 'quiet', touch .transignore in directories you aren't going to translate.) Now check_trans removes trailing slash from target language. (Happens for me usually because I use tab completition.)
Script check_trans.pl now supports #use wml::debian::translation-check syntax.
Accidentally checked in with "italian" changed to "norwegian" earlier; now reversed.
Added Andreas Hagli to list of translators.
Made default language configurable (language.conf)
template/debian shouldn't be listed, since the translations are handled centrally.
Added a feature allowing listing of files to ignore when reporting missing files, that can for example be used for old news items that the translators do not intend to translate, and want to not get warned about. Create a file called ".transignore" in the directory where the translations would have resided, listing all files that are to be ignored.
*** empty log message ***
Now flushes stdout before calling diff, which fixes the problem of the diff output being intermixed with the other output.
Tue, 8 Sep 1998 10:06:29 +0200 Paolo Molaro <lupus@debian.org> * Script to keep track of documents needing translation or updates.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.5 |