]>
git.koha-community.org Git - koha.git/log
acli [Wed, 25 Feb 2004 03:37:27 +0000 (03:37 +0000)]
Benedict wants some message at the end that says success or failure.
It's a good idea too.
oleonard [Tue, 24 Feb 2004 16:41:14 +0000 (16:41 +0000)]
Changing branchcode input field to maxlength=4 to reflect size limit of MySQL field.
oleonard [Tue, 24 Feb 2004 16:40:11 +0000 (16:40 +0000)]
Changing branchcode input field to maxlength=4 to reflect size limit of MySQL field. Also quoted all attributes in HTML.
acli [Tue, 24 Feb 2004 14:20:46 +0000 (14:20 +0000)]
tmpl_process3.pl did not know how to handle absolute pathnames in -i.
(Actually, xgettext.pl did not know how to handle them in the files listed
in the list of files.)
If the po file is empty (corrupted), $href->{'""'} will be undefined.
We just blindly dereferenced this null value without checking.
acli [Tue, 24 Feb 2004 08:43:26 +0000 (08:43 +0000)]
Need meta tag
kb2qzv [Tue, 24 Feb 2004 08:15:28 +0000 (08:15 +0000)]
reversing back to $filter = text-extract.pl.
kb2qzv [Tue, 24 Feb 2004 08:01:59 +0000 (08:01 +0000)]
change $filter value so it defaults to the most recent text-extract2.pl script
acli [Tue, 24 Feb 2004 05:12:47 +0000 (05:12 +0000)]
New templates generated from opac.zh_TW and intranet.zh_TW
acli [Tue, 24 Feb 2004 04:51:03 +0000 (04:51 +0000)]
file kohaerror.tmpl was initially added on branch rel_2_0.
acli [Tue, 24 Feb 2004 04:51:02 +0000 (04:51 +0000)]
file stats.tmpl was initially added on branch rel_2_0.
acli [Tue, 24 Feb 2004 04:51:02 +0000 (04:51 +0000)]
file request.tmpl was initially added on branch rel_2_0.
acli [Tue, 24 Feb 2004 04:51:02 +0000 (04:51 +0000)]
file member-flags.tmpl was initially added on branch rel_2_0.
acli [Tue, 24 Feb 2004 04:51:02 +0000 (04:51 +0000)]
file addbookbybiblionumber.tmpl was initially added on branch rel_2_0.
acli [Tue, 24 Feb 2004 03:52:00 +0000 (03:52 +0000)]
Let's start again with a clean slate
acli [Tue, 24 Feb 2004 03:51:42 +0000 (03:51 +0000)]
Syntax correction
acli [Tue, 24 Feb 2004 03:21:37 +0000 (03:21 +0000)]
Minor corrections
acli [Tue, 24 Feb 2004 00:48:18 +0000 (00:48 +0000)]
Minor updates
acli [Tue, 24 Feb 2004 00:47:53 +0000 (00:47 +0000)]
We now have a --help option.
Minor comment update
Removed forced backups and the comment about interrupting xgettext.pl
corrupting the po file, now that we seem to be detecting the situation.
acli [Mon, 23 Feb 2004 22:16:08 +0000 (22:16 +0000)]
The timestamps in the generated PO file should make a little bit more sense
this way. In any case hard-coding a date didn't make any sense at all.
oleonard [Mon, 23 Feb 2004 21:45:08 +0000 (21:45 +0000)]
Removing NPL-specific 'limit-by-branch' options
acli [Mon, 23 Feb 2004 21:39:21 +0000 (21:39 +0000)]
"Title" problem fixed in English templates
acli [Mon, 23 Feb 2004 21:38:38 +0000 (21:38 +0000)]
Use "Salutation" instead of "Title" for personal titles, for the benefit
of translations.
oleonard [Mon, 23 Feb 2004 21:32:49 +0000 (21:32 +0000)]
Removing NPL-specific links
acli [Mon, 23 Feb 2004 21:21:37 +0000 (21:21 +0000)]
Comment syntax fix to keep the translation tool quiet
acli [Mon, 23 Feb 2004 20:04:33 +0000 (20:04 +0000)]
-v option (undocumented) for more verbose output
acli [Mon, 23 Feb 2004 20:04:04 +0000 (20:04 +0000)]
Fixed bug in "create" action reported by Benedict
acli [Mon, 23 Feb 2004 19:56:47 +0000 (19:56 +0000)]
Bit a bit lenient on whether a file name has been set
acli [Mon, 23 Feb 2004 19:18:54 +0000 (19:18 +0000)]
Consistency fix
acli [Mon, 23 Feb 2004 18:49:56 +0000 (18:49 +0000)]
Fixed a bug which caused </script> to be not recognized as a tag
acli [Mon, 23 Feb 2004 09:27:16 +0000 (09:27 +0000)]
Spelling mistake
acli [Mon, 23 Feb 2004 06:48:26 +0000 (06:48 +0000)]
Oops, "Title" is untranslatable. Need to fix the English templates some time
acli [Mon, 23 Feb 2004 06:38:51 +0000 (06:38 +0000)]
Update including correction
acli [Mon, 23 Feb 2004 06:28:12 +0000 (06:28 +0000)]
From the old translation
acli [Mon, 23 Feb 2004 06:11:53 +0000 (06:11 +0000)]
Minor update
acli [Mon, 23 Feb 2004 06:11:44 +0000 (06:11 +0000)]
"Polish" should be capitalized
acli [Mon, 23 Feb 2004 06:08:25 +0000 (06:08 +0000)]
Missed this one. This need to have the meta tag too.
acli [Mon, 23 Feb 2004 06:05:56 +0000 (06:05 +0000)]
Interim update
acli [Mon, 23 Feb 2004 05:56:19 +0000 (05:56 +0000)]
Interim update
acli [Mon, 23 Feb 2004 05:51:30 +0000 (05:51 +0000)]
More bugs that prevented some strings from being translated properly.
This time it's a trimming bug.
acli [Mon, 23 Feb 2004 05:07:10 +0000 (05:07 +0000)]
This looks much better if the screen is smallish.
acli [Mon, 23 Feb 2004 04:36:56 +0000 (04:36 +0000)]
Off-by-one bug
acli [Mon, 23 Feb 2004 04:29:28 +0000 (04:29 +0000)]
Minor dialect correction
acli [Mon, 23 Feb 2004 04:26:04 +0000 (04:26 +0000)]
Bug that prevented msgid's with French characters from being translated
should now be really fixed.
acli [Mon, 23 Feb 2004 04:19:24 +0000 (04:19 +0000)]
Charset "translation" line
acli [Mon, 23 Feb 2004 04:18:51 +0000 (04:18 +0000)]
Missing charset declarations. Needed for translations generated by the
translation tools.
acli [Mon, 23 Feb 2004 04:02:06 +0000 (04:02 +0000)]
Oops, forgot to take out some debugging print statements
acli [Mon, 23 Feb 2004 04:00:38 +0000 (04:00 +0000)]
More interim updates
acli [Mon, 23 Feb 2004 03:18:29 +0000 (03:18 +0000)]
Comment syntax correction
acli [Mon, 23 Feb 2004 03:15:01 +0000 (03:15 +0000)]
Interim update
acli [Mon, 23 Feb 2004 03:13:35 +0000 (03:13 +0000)]
"maxlenght" should be "maxlength"
acli [Mon, 23 Feb 2004 01:21:03 +0000 (01:21 +0000)]
Fold all consecutive whitespaces into single blanks. This avoids problems
when minor whitespace changes occur in the original templates; it also
makes the strings much easier to read (e.g., instead of "foo\n\n\t\t bar",
xgettext.pl will now always generate "foo bar" and tmpl_process3.pl will
understand it to be the same as the original string).
acli [Sun, 22 Feb 2004 21:34:40 +0000 (21:34 +0000)]
Preliminary support for "analysis" of strings with <a> tags.
Early termination of analysis if we encounter some strings, such as </h1>
or | or ||, in order to avoid extracting strings that are unnecessarily
long and which doesn't add any meaningful context.
acli [Sun, 22 Feb 2004 09:04:53 +0000 (09:04 +0000)]
Try to relax the criteria for allowing groups of tokens without TMPL_VAR
to be combined together into one string. This seems to have the desired
effect (that "<b>foo</b> bar" type strings are now recognized in one piece).
However, "<h1>foo</h1>\nexplanation"-type things may now also be (arguably
wrongly) recognized as one piece.
acli [Sun, 22 Feb 2004 08:49:31 +0000 (08:49 +0000)]
Grammatical correction
acli [Sun, 22 Feb 2004 08:18:27 +0000 (08:18 +0000)]
The French character handling fix for tmpl_process3 was not checked in
for some reason.
Try to remove trailing ( in strings too.
acli [Sun, 22 Feb 2004 07:00:16 +0000 (07:00 +0000)]
Ugly hack to get rid of the close tag in pathetic "foo %s</h1>"-like strings
acli [Sun, 22 Feb 2004 06:46:15 +0000 (06:46 +0000)]
Templates with French characters were not handled properly in the install
step. This is now fixed.
acli [Sun, 22 Feb 2004 06:04:05 +0000 (06:04 +0000)]
Some French letters were ?
acli [Sun, 22 Feb 2004 05:18:52 +0000 (05:18 +0000)]
Handle the iso8859-1 charset somewhat, so that when the po file is in
either iso8859-1 or utf8, msgmerge(1) won't crap out. The code is ugly;
the conversion table is hard-coded, and in some place not very appropriate.
However, this does fix the case where a few strings containing French
characters can't be translated. As a side effect, tmpl_process3 can now
also be used for French or other languages using iso8859-1.
kb2qzv [Sat, 21 Feb 2004 13:07:55 +0000 (13:07 +0000)]
Translation by way of ./tmpl_process & text_extract2.pl script
tipaul [Fri, 20 Feb 2004 10:34:59 +0000 (10:34 +0000)]
bugfix (wrong synch with rel_2_0)
acli [Fri, 20 Feb 2004 09:32:14 +0000 (09:32 +0000)]
Updates
acli [Fri, 20 Feb 2004 07:52:32 +0000 (07:52 +0000)]
Fixed bug where a <textarea...>#cdata</textarea> on one line won't be
scanned properly.
acli [Fri, 20 Feb 2004 07:25:38 +0000 (07:25 +0000)]
Minor updates
acli [Fri, 20 Feb 2004 07:13:21 +0000 (07:13 +0000)]
Minor update (after changing TmplTokenizer.pm)
acli [Fri, 20 Feb 2004 07:09:47 +0000 (07:09 +0000)]
Partially allow combination of several TEXT tokens. It seems that this
gives better strings. (Always allowing combinations gives havoc, we
currently avoid this by allowing combination only if the first and last
tokens are both TEXT.)
acli [Fri, 20 Feb 2004 07:04:10 +0000 (07:04 +0000)]
Updates
acli [Fri, 20 Feb 2004 06:16:28 +0000 (06:16 +0000)]
Minor capitalization correction
acli [Fri, 20 Feb 2004 04:38:36 +0000 (04:38 +0000)]
Preliminary checkin
acli [Fri, 20 Feb 2004 04:38:02 +0000 (04:38 +0000)]
Support %0.0s notation so that we can omit the %s as in Year%s for the
Chinese translation. (This won't work for all languages; ultimately the
English templates must be fixed.)
acli [Fri, 20 Feb 2004 03:01:21 +0000 (03:01 +0000)]
A few spelling and markup corrections
(Probably a bit unnecessary adding quotes in issues-top.inc)
acli [Fri, 20 Feb 2004 02:49:21 +0000 (02:49 +0000)]
Make the translation tool happier.
acli [Fri, 20 Feb 2004 02:48:39 +0000 (02:48 +0000)]
Try to not display like 40-line warnings too often
acli [Fri, 20 Feb 2004 00:39:26 +0000 (00:39 +0000)]
Escape ISO8859-1 characters. msgmerge still hates these strings, but at
least the po file merges.
acli [Thu, 19 Feb 2004 21:28:14 +0000 (21:28 +0000)]
Forgot to check for fuzzy-ness.
acli [Thu, 19 Feb 2004 21:24:30 +0000 (21:24 +0000)]
New scripts for translation into Chinese and other languages where English
word order is too different than the word order of the target language to
yield meaningful translations.
The new scripts use a different translation file format (namely standard
gettext-style PO files).
This seems to reasonably work (e.g., producing an empty en_GB translation
then installing seems to not corrupt the "translated" files), but it likely
will still contain some bugs. There is also little documentation, but try
to run perldoc on the .p[lm] files to see what's there. There are also some
spurious warnings (both from bugs in the new scripts and from buggy third-
party Locale::PO module).
oleonard [Thu, 19 Feb 2004 19:19:55 +0000 (19:19 +0000)]
New NPL templates
oleonard [Thu, 19 Feb 2004 18:59:36 +0000 (18:59 +0000)]
New NPL templates
oleonard [Wed, 18 Feb 2004 16:51:20 +0000 (16:51 +0000)]
Adding item information variable declarations to 'Waiting' section already present in 'Reserved' section
acli [Wed, 18 Feb 2004 06:56:19 +0000 (06:56 +0000)]
Warn against Apache #include directive
acli [Wed, 18 Feb 2004 06:39:34 +0000 (06:39 +0000)]
Updated w.r.t. the text-extract2.pl filter.
oleonard [Tue, 17 Feb 2004 22:15:33 +0000 (22:15 +0000)]
Adding variable declarations so that 'waiting' screen shows same information 'reserved' screen does, adding more address info
acli [Tue, 17 Feb 2004 07:45:17 +0000 (07:45 +0000)]
The previous change was wrong.
acli [Tue, 17 Feb 2004 07:26:29 +0000 (07:26 +0000)]
Allow trim to return the trimmed whitespace if the caller wants them.
acli [Tue, 17 Feb 2004 06:30:38 +0000 (06:30 +0000)]
Don't extract strings from the VALUE attributes of RADIO type INPUT fields;
these aren't translatable.
acli [Tue, 17 Feb 2004 05:42:27 +0000 (05:42 +0000)]
Insert the filename of the token into the TmplToken object too
acli [Tue, 17 Feb 2004 05:07:04 +0000 (05:07 +0000)]
Converted TmplTokenizer into a class. Everything still seems ok, but it is
not tested thoroughly.
acli [Tue, 17 Feb 2004 03:17:48 +0000 (03:17 +0000)]
Still more bugfixes for my own bugs.
$readahead is now an array @readahead which can contain TmplToken objects,
so "ungetting" tokens should not disturb the line number counter any more.
acli [Tue, 17 Feb 2004 03:02:39 +0000 (03:02 +0000)]
Fixed more bugs during the modularization
acli [Tue, 17 Feb 2004 02:45:27 +0000 (02:45 +0000)]
Further breaking up of the TmplTokenizer module.
A couple of minor fixes.
acli [Mon, 16 Feb 2004 23:50:56 +0000 (23:50 +0000)]
Avoid direct accessing of variables inside the module
acli [Mon, 16 Feb 2004 23:46:34 +0000 (23:46 +0000)]
Some functions should not be in the module; these are now removed.
acli [Mon, 16 Feb 2004 23:42:57 +0000 (23:42 +0000)]
Pulled the tokenizer out into a module. Hope this has been done right.
acli [Mon, 16 Feb 2004 22:50:34 +0000 (22:50 +0000)]
Minor factoring of construction of warning messages.
acli [Sat, 14 Feb 2004 09:50:11 +0000 (09:50 +0000)]
Don't bother warning about TMPL_VAR if the key is onclick, onblur, etc.
We don't know how to warn/what to suggest, & that will only confuse people
acli [Sat, 14 Feb 2004 09:41:28 +0000 (09:41 +0000)]
Fix spurious warnings if attribute is in the form foo="bar"</TMPL_IF>
acli [Sat, 14 Feb 2004 09:33:09 +0000 (09:33 +0000)]
Make a reasonable suggestion for ESCAPE= if we warn about lack of it
acli [Sat, 14 Feb 2004 09:23:34 +0000 (09:23 +0000)]
Fixed spurious warning about unescaped < inside cdata
acli [Sat, 14 Feb 2004 09:10:20 +0000 (09:10 +0000)]
Minor change to make the "closed start tag" warning more understandable
acli [Sat, 14 Feb 2004 08:49:21 +0000 (08:49 +0000)]
Don't complain about strange attribute syntax if what we see is a
reasonable templating control flow directive (if, else, unless).