]> git.koha-community.org Git - koha.git/log
koha.git
20 years agoTranslated (need polishing) strings file generated by tmpl_process3.pl and xgettext.pl
kb2qzv [Wed, 25 Feb 2004 22:45:35 +0000 (22:45 +0000)]
Translated (need polishing) strings file generated by tmpl_process3.pl and xgettext.pl

20 years agoMinor correction to HTML to go with fix for Bug 606
oleonard [Wed, 25 Feb 2004 22:09:58 +0000 (22:09 +0000)]
Minor correction to HTML to go with fix for Bug 606

20 years agofix for bug 606,
rangi [Wed, 25 Feb 2004 21:44:40 +0000 (21:44 +0000)]
fix for bug 606,
seems to be an error in the tmpl still but the functionality seems to be working again

20 years ago*** empty log message ***
kb2qzv [Wed, 25 Feb 2004 20:08:15 +0000 (20:08 +0000)]
*** empty log message ***

20 years agoAddition of quotation marks where they where needed for translator
kb2qzv [Wed, 25 Feb 2004 20:03:05 +0000 (20:03 +0000)]
Addition of quotation marks where they where needed for translator

20 years agoChanging French string to English, cleaning up some HTML markup
oleonard [Wed, 25 Feb 2004 20:02:14 +0000 (20:02 +0000)]
Changing French string to English, cleaning up some HTML markup

20 years agomissing ; added to the end of  
kb2qzv [Wed, 25 Feb 2004 19:56:55 +0000 (19:56 +0000)]
missing ; added to the end of  

20 years agoremoval of 2 quotation marks from the bgcolor= so that translator is happy.
kb2qzv [Wed, 25 Feb 2004 19:54:57 +0000 (19:54 +0000)]
removal of 2 quotation marks from the bgcolor= so that translator is happy.

20 years agoAdded &gt; and &lt; instead of << >>.
kb2qzv [Wed, 25 Feb 2004 19:49:01 +0000 (19:49 +0000)]
Added &gt; and &lt; instead of << >>.

20 years agoSmall changes to help fix Bug 436
oleonard [Wed, 25 Feb 2004 18:15:35 +0000 (18:15 +0000)]
Small changes to help fix Bug 436

20 years agoSmall changes to help fix Bug 436
oleonard [Wed, 25 Feb 2004 18:09:29 +0000 (18:09 +0000)]
Small changes to help fix Bug 436

20 years agoMinor correction to HTML (closing input tags)
oleonard [Wed, 25 Feb 2004 17:28:43 +0000 (17:28 +0000)]
Minor correction to HTML (closing input tags)

20 years agoMinor updates
acli [Wed, 25 Feb 2004 08:16:34 +0000 (08:16 +0000)]
Minor updates

20 years agoThis should now handle spurious "strange attribute syntax" much more sanely.
acli [Wed, 25 Feb 2004 08:16:24 +0000 (08:16 +0000)]
This should now handle spurious "strange attribute syntax" much more sanely.

20 years agoUgly hack to avoid screenfuls of spurious warnings about "Possible SGML
acli [Wed, 25 Feb 2004 06:56:42 +0000 (06:56 +0000)]
Ugly hack to avoid screenfuls of spurious warnings about "Possible SGML
closed tag notation"

20 years agoTry to be a little bit more helpful with "Strange attribute syntax..."
acli [Wed, 25 Feb 2004 06:49:35 +0000 (06:49 +0000)]
Try to be a little bit more helpful with "Strange attribute syntax..."
warnings. (Actually, is syntax like foo="bar"foo="bar" actually valid?)

20 years agoAfter the previous change, the scanner will hang if the input is malformed
acli [Wed, 25 Feb 2004 06:25:29 +0000 (06:25 +0000)]
After the previous change, the scanner will hang if the input is malformed
in a certain way, such as having a <title> but not matching </title>.
This should fix it.

20 years agoThis should make it handle commenting out of whole blocks of HTML better.
acli [Wed, 25 Feb 2004 06:08:41 +0000 (06:08 +0000)]
This should make it handle commenting out of whole blocks of HTML better.
It seems to be still correct, and it is no longer complaining about syntax
errors when seeing commented-out HTML (esp. with TMPL_* directives).

Don't try to translate stuff between <title>...</title> too, the stuff in
the middle is supposed to be PCDATA.

20 years agoBug in previous checkin, because we can't get the number of warnings from
acli [Wed, 25 Feb 2004 03:39:49 +0000 (03:39 +0000)]
Bug in previous checkin, because we can't get the number of warnings from
the child.

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.