]> git.koha-community.org Git - koha.git/log
koha.git
20 years agoBenedict wants some message at the end that says success or failure.
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.

20 years agoChanging branchcode input field to maxlength=4 to reflect size limit of MySQL field.
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.

20 years agoChanging 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.

20 years agotmpl_process3.pl did not know how to handle absolute pathnames in -i.
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.

20 years agoNeed meta tag
acli [Tue, 24 Feb 2004 08:43:26 +0000 (08:43 +0000)]
Need meta tag

20 years agoreversing back to $filter = text-extract.pl.
kb2qzv [Tue, 24 Feb 2004 08:15:28 +0000 (08:15 +0000)]
reversing back to $filter = text-extract.pl.

20 years agochange $filter value so it defaults to the most recent text-extract2.pl script
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

20 years agoNew templates generated from opac.zh_TW and intranet.zh_TW
acli [Tue, 24 Feb 2004 05:12:47 +0000 (05:12 +0000)]
New templates generated from opac.zh_TW and intranet.zh_TW

20 years agofile kohaerror.tmpl was initially added on branch rel_2_0.
acli [Tue, 24 Feb 2004 04:51:03 +0000 (04:51 +0000)]
file kohaerror.tmpl was initially added on branch rel_2_0.

20 years agofile stats.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.

20 years agofile request.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.

20 years agofile member-flags.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.

20 years agofile addbookbybiblionumber.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.

20 years agoLet's start again with a clean slate
acli [Tue, 24 Feb 2004 03:52:00 +0000 (03:52 +0000)]
Let's start again with a clean slate

20 years agoSyntax correction
acli [Tue, 24 Feb 2004 03:51:42 +0000 (03:51 +0000)]
Syntax correction

20 years agoMinor corrections
acli [Tue, 24 Feb 2004 03:21:37 +0000 (03:21 +0000)]
Minor corrections

20 years agoMinor updates
acli [Tue, 24 Feb 2004 00:48:18 +0000 (00:48 +0000)]
Minor updates

20 years agoWe now have a --help option.
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.

20 years agoThe timestamps in the generated PO file should make a little bit more sense
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.

20 years agoRemoving NPL-specific 'limit-by-branch' options
oleonard [Mon, 23 Feb 2004 21:45:08 +0000 (21:45 +0000)]
Removing NPL-specific 'limit-by-branch' options

20 years ago"Title" problem fixed in English templates
acli [Mon, 23 Feb 2004 21:39:21 +0000 (21:39 +0000)]
"Title" problem fixed in English templates

20 years agoUse "Salutation" instead of "Title" for personal titles, for the benefit
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.

20 years agoRemoving NPL-specific links
oleonard [Mon, 23 Feb 2004 21:32:49 +0000 (21:32 +0000)]
Removing NPL-specific links

20 years agoComment syntax fix to keep the translation tool quiet
acli [Mon, 23 Feb 2004 21:21:37 +0000 (21:21 +0000)]
Comment syntax fix to keep the translation tool quiet

20 years ago-v option (undocumented) for more verbose output
acli [Mon, 23 Feb 2004 20:04:33 +0000 (20:04 +0000)]
-v option (undocumented) for more verbose output

20 years agoFixed bug in "create" action reported by Benedict
acli [Mon, 23 Feb 2004 20:04:04 +0000 (20:04 +0000)]
Fixed bug in "create" action reported by Benedict

20 years agoBit a bit lenient on whether a file name has been set
acli [Mon, 23 Feb 2004 19:56:47 +0000 (19:56 +0000)]
Bit a bit lenient on whether a file name has been set

20 years agoConsistency fix
acli [Mon, 23 Feb 2004 19:18:54 +0000 (19:18 +0000)]
Consistency fix

20 years agoFixed a bug which caused </script> to be not recognized as a tag
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

20 years agoSpelling mistake
acli [Mon, 23 Feb 2004 09:27:16 +0000 (09:27 +0000)]
Spelling mistake

20 years agoOops, "Title" is untranslatable. Need to fix the English templates some time
acli [Mon, 23 Feb 2004 06:48:26 +0000 (06:48 +0000)]
Oops, "Title" is untranslatable. Need to fix the English templates some time

20 years agoUpdate including correction
acli [Mon, 23 Feb 2004 06:38:51 +0000 (06:38 +0000)]
Update including correction

20 years agoFrom the old translation
acli [Mon, 23 Feb 2004 06:28:12 +0000 (06:28 +0000)]
From the old translation

20 years agoMinor update
acli [Mon, 23 Feb 2004 06:11:53 +0000 (06:11 +0000)]
Minor update

20 years ago"Polish" should be capitalized
acli [Mon, 23 Feb 2004 06:11:44 +0000 (06:11 +0000)]
"Polish" should be capitalized

20 years agoMissed this one. This need to have the meta tag too.
acli [Mon, 23 Feb 2004 06:08:25 +0000 (06:08 +0000)]
Missed this one. This need to have the meta tag too.

20 years agoInterim update
acli [Mon, 23 Feb 2004 06:05:56 +0000 (06:05 +0000)]
Interim update

20 years agoInterim update
acli [Mon, 23 Feb 2004 05:56:19 +0000 (05:56 +0000)]
Interim update

20 years agoMore bugs that prevented some strings from being translated properly.
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.

20 years agoThis looks much better if the screen is smallish.
acli [Mon, 23 Feb 2004 05:07:10 +0000 (05:07 +0000)]
This looks much better if the screen is smallish.

20 years agoOff-by-one bug
acli [Mon, 23 Feb 2004 04:36:56 +0000 (04:36 +0000)]
Off-by-one bug

20 years agoMinor dialect correction
acli [Mon, 23 Feb 2004 04:29:28 +0000 (04:29 +0000)]
Minor dialect correction

20 years agoBug that prevented msgid's with French characters from being translated
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.

20 years agoCharset "translation" line
acli [Mon, 23 Feb 2004 04:19:24 +0000 (04:19 +0000)]
Charset "translation" line

20 years agoMissing charset declarations. Needed for translations generated by the
acli [Mon, 23 Feb 2004 04:18:51 +0000 (04:18 +0000)]
Missing charset declarations. Needed for translations generated by the
translation tools.

20 years agoOops, forgot to take out some debugging print statements
acli [Mon, 23 Feb 2004 04:02:06 +0000 (04:02 +0000)]
Oops, forgot to take out some debugging print statements

20 years agoMore interim updates
acli [Mon, 23 Feb 2004 04:00:38 +0000 (04:00 +0000)]
More interim updates

20 years agoComment syntax correction
acli [Mon, 23 Feb 2004 03:18:29 +0000 (03:18 +0000)]
Comment syntax correction

20 years agoInterim update
acli [Mon, 23 Feb 2004 03:15:01 +0000 (03:15 +0000)]
Interim update

20 years ago"maxlenght" should be "maxlength"
acli [Mon, 23 Feb 2004 03:13:35 +0000 (03:13 +0000)]
"maxlenght" should be "maxlength"

20 years agoFold all consecutive whitespaces into single blanks. This avoids problems
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).

20 years agoPreliminary support for "analysis" of strings with <a> tags.
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.

20 years agoTry to relax the criteria for allowing groups of tokens without TMPL_VAR
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.

20 years agoGrammatical correction
acli [Sun, 22 Feb 2004 08:49:31 +0000 (08:49 +0000)]
Grammatical correction

20 years agoThe French character handling fix for tmpl_process3 was not checked in
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.

20 years agoUgly hack to get rid of the close tag in pathetic "foo %s</h1>"-like strings
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

20 years agoTemplates with French characters were not handled properly in the install
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.

20 years agoSome French letters were ?
acli [Sun, 22 Feb 2004 06:04:05 +0000 (06:04 +0000)]
Some French letters were ?

20 years agoHandle the iso8859-1 charset somewhat, so that when the po file is in
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.

20 years agoTranslation by way of ./tmpl_process & text_extract2.pl script
kb2qzv [Sat, 21 Feb 2004 13:07:55 +0000 (13:07 +0000)]
Translation by way of ./tmpl_process & text_extract2.pl script

20 years agobugfix (wrong synch with rel_2_0)
tipaul [Fri, 20 Feb 2004 10:34:59 +0000 (10:34 +0000)]
bugfix (wrong synch with rel_2_0)

20 years agoUpdates
acli [Fri, 20 Feb 2004 09:32:14 +0000 (09:32 +0000)]
Updates

20 years agoFixed bug where a <textarea...>#cdata</textarea> on one line won't be
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.

20 years agoMinor updates
acli [Fri, 20 Feb 2004 07:25:38 +0000 (07:25 +0000)]
Minor updates

20 years agoMinor update (after changing TmplTokenizer.pm)
acli [Fri, 20 Feb 2004 07:13:21 +0000 (07:13 +0000)]
Minor update (after changing TmplTokenizer.pm)

20 years agoPartially allow combination of several TEXT tokens. It seems that this
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.)

20 years agoUpdates
acli [Fri, 20 Feb 2004 07:04:10 +0000 (07:04 +0000)]
Updates

20 years agoMinor capitalization correction
acli [Fri, 20 Feb 2004 06:16:28 +0000 (06:16 +0000)]
Minor capitalization correction

20 years agoPreliminary checkin
acli [Fri, 20 Feb 2004 04:38:36 +0000 (04:38 +0000)]
Preliminary checkin

20 years agoSupport %0.0s notation so that we can omit the %s as in Year%s for the
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.)

20 years agoA few spelling and markup corrections
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)

20 years agoMake the translation tool happier.
acli [Fri, 20 Feb 2004 02:49:21 +0000 (02:49 +0000)]
Make the translation tool happier.

20 years agoTry to not display like 40-line warnings too often
acli [Fri, 20 Feb 2004 02:48:39 +0000 (02:48 +0000)]
Try to not display like 40-line warnings too often

20 years agoEscape ISO8859-1 characters. msgmerge still hates these strings, but at
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.

20 years agoForgot to check for fuzzy-ness.
acli [Thu, 19 Feb 2004 21:28:14 +0000 (21:28 +0000)]
Forgot to check for fuzzy-ness.

20 years agoNew scripts for translation into Chinese and other languages where English
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).

20 years agoNew NPL templates
oleonard [Thu, 19 Feb 2004 19:19:55 +0000 (19:19 +0000)]
New NPL templates

20 years agoNew NPL templates
oleonard [Thu, 19 Feb 2004 18:59:36 +0000 (18:59 +0000)]
New NPL templates

20 years agoAdding item information variable declarations to 'Waiting' section already present...
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

20 years agoWarn against Apache #include directive
acli [Wed, 18 Feb 2004 06:56:19 +0000 (06:56 +0000)]
Warn against Apache #include directive

20 years agoUpdated w.r.t. the text-extract2.pl filter.
acli [Wed, 18 Feb 2004 06:39:34 +0000 (06:39 +0000)]
Updated w.r.t. the text-extract2.pl filter.

20 years agoAdding variable declarations so that 'waiting' screen shows same information 'reserve...
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

20 years agoThe previous change was wrong.
acli [Tue, 17 Feb 2004 07:45:17 +0000 (07:45 +0000)]
The previous change was wrong.

20 years agoAllow trim to return the trimmed whitespace if the caller wants them.
acli [Tue, 17 Feb 2004 07:26:29 +0000 (07:26 +0000)]
Allow trim to return the trimmed whitespace if the caller wants them.

20 years agoDon't extract strings from the VALUE attributes of RADIO type INPUT fields;
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.

20 years agoInsert the filename of the token into the TmplToken object too
acli [Tue, 17 Feb 2004 05:42:27 +0000 (05:42 +0000)]
Insert the filename of the token into the TmplToken object too

20 years agoConverted TmplTokenizer into a class. Everything still seems ok, but it is
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.

20 years agoStill more bugfixes for my own bugs.
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.

20 years agoFixed more bugs during the modularization
acli [Tue, 17 Feb 2004 03:02:39 +0000 (03:02 +0000)]
Fixed more bugs during the modularization

20 years agoFurther breaking up of the TmplTokenizer module.
acli [Tue, 17 Feb 2004 02:45:27 +0000 (02:45 +0000)]
Further breaking up of the TmplTokenizer module.
A couple of minor fixes.

20 years agoAvoid direct accessing of variables inside the module
acli [Mon, 16 Feb 2004 23:50:56 +0000 (23:50 +0000)]
Avoid direct accessing of variables inside the module

20 years agoSome functions should not be in the module; these are now removed.
acli [Mon, 16 Feb 2004 23:46:34 +0000 (23:46 +0000)]
Some functions should not be in the module; these are now removed.

20 years agoPulled the tokenizer out into a module. Hope this has been done right.
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.

20 years agoMinor factoring of construction of warning messages.
acli [Mon, 16 Feb 2004 22:50:34 +0000 (22:50 +0000)]
Minor factoring of construction of warning messages.

20 years agoDon't bother warning about TMPL_VAR if the key is onclick, onblur, etc.
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

20 years agoFix spurious warnings if attribute is in the form foo="bar"</TMPL_IF>
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>

20 years agoMake a reasonable suggestion for ESCAPE= if we warn about lack of it
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

20 years agoFixed spurious warning about unescaped < inside cdata
acli [Sat, 14 Feb 2004 09:23:34 +0000 (09:23 +0000)]
Fixed spurious warning about unescaped < inside cdata

20 years agoMinor change to make the "closed start tag" warning more understandable
acli [Sat, 14 Feb 2004 09:10:20 +0000 (09:10 +0000)]
Minor change to make the "closed start tag" warning more understandable

20 years agoDon't complain about strange attribute syntax if what we see is a
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).