Commit graph

2282 commits

Author SHA1 Message Date
acli
63508b81cb This should now handle spurious "strange attribute syntax" much more sanely. 2004-02-25 08:16:24 +00:00
acli
8451615142 Ugly hack to avoid screenfuls of spurious warnings about "Possible SGML
closed tag notation"
2004-02-25 06:56:42 +00:00
acli
fc4cd326b1 Try to be a little bit more helpful with "Strange attribute syntax..."
warnings. (Actually, is syntax like foo="bar"foo="bar" actually valid?)
2004-02-25 06:49:35 +00:00
acli
3c20689a73 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.
2004-02-25 06:25:29 +00:00
acli
3cc7be72c7 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.
2004-02-25 06:08:41 +00:00
acli
09b4e498e2 Bug in previous checkin, because we can't get the number of warnings from
the child.
2004-02-25 03:39:49 +00:00
acli
a399dcefad Benedict wants some message at the end that says success or failure.
It's a good idea too.
2004-02-25 03:37:27 +00:00
oleonard
37edf0427e Changing branchcode input field to maxlength=4 to reflect size limit of MySQL field. 2004-02-24 16:41:14 +00:00
oleonard
bbcc302194 Changing branchcode input field to maxlength=4 to reflect size limit of MySQL field. Also quoted all attributes in HTML. 2004-02-24 16:40:11 +00:00
acli
f6fa24c75d 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.
2004-02-24 14:20:46 +00:00
acli
e4cc939d48 Need meta tag 2004-02-24 08:43:26 +00:00
kb2qzv
b46ac460b4 reversing back to $filter = text-extract.pl. 2004-02-24 08:15:28 +00:00
kb2qzv
2ebce78b5b change $filter value so it defaults to the most recent text-extract2.pl script 2004-02-24 08:01:59 +00:00
acli
382535cf07 New templates generated from opac.zh_TW and intranet.zh_TW 2004-02-24 05:12:47 +00:00
acli
1b9d5b13ec file kohaerror.tmpl was initially added on branch rel_2_0. 2004-02-24 04:51:03 +00:00
acli
b0c60de06a file stats.tmpl was initially added on branch rel_2_0. 2004-02-24 04:51:02 +00:00
acli
d7fd6aff7f file request.tmpl was initially added on branch rel_2_0. 2004-02-24 04:51:02 +00:00
acli
fe45efaa81 file member-flags.tmpl was initially added on branch rel_2_0. 2004-02-24 04:51:02 +00:00
acli
3812a21e93 file addbookbybiblionumber.tmpl was initially added on branch rel_2_0. 2004-02-24 04:51:02 +00:00
acli
3e3aad273d Let's start again with a clean slate 2004-02-24 03:52:00 +00:00
acli
a110de4eba Syntax correction 2004-02-24 03:51:42 +00:00
acli
b3912abb60 Minor corrections 2004-02-24 03:21:37 +00:00
acli
d00bb9795c Minor updates 2004-02-24 00:48:18 +00:00
acli
8eca8478bb 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.
2004-02-24 00:47:53 +00:00
acli
c33a411129 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.
2004-02-23 22:16:08 +00:00
oleonard
28d2659641 Removing NPL-specific 'limit-by-branch' options 2004-02-23 21:45:08 +00:00
acli
7657c143da "Title" problem fixed in English templates 2004-02-23 21:39:21 +00:00
acli
3517d81c52 Use "Salutation" instead of "Title" for personal titles, for the benefit
of translations.
2004-02-23 21:38:38 +00:00
oleonard
b2d7722cb3 Removing NPL-specific links 2004-02-23 21:32:49 +00:00
acli
574b0d3af0 Comment syntax fix to keep the translation tool quiet 2004-02-23 21:21:37 +00:00
acli
e3ef4f78b9 -v option (undocumented) for more verbose output 2004-02-23 20:04:33 +00:00
acli
7975e2ad2e Fixed bug in "create" action reported by Benedict 2004-02-23 20:04:04 +00:00
acli
0a78568959 Bit a bit lenient on whether a file name has been set 2004-02-23 19:56:47 +00:00
acli
620eb8f436 Consistency fix 2004-02-23 19:18:54 +00:00
acli
3ed061c026 Fixed a bug which caused </script> to be not recognized as a tag 2004-02-23 18:49:56 +00:00
acli
270c0783b6 Spelling mistake 2004-02-23 09:27:16 +00:00
acli
b10a690cba Oops, "Title" is untranslatable. Need to fix the English templates some time 2004-02-23 06:48:26 +00:00
acli
e590eb3911 Update including correction 2004-02-23 06:38:51 +00:00
acli
a1080fc70b From the old translation 2004-02-23 06:28:12 +00:00
acli
300c7a7b3c Minor update 2004-02-23 06:11:53 +00:00
acli
82cc7a48fa "Polish" should be capitalized 2004-02-23 06:11:44 +00:00
acli
773104090b Missed this one. This need to have the meta tag too. 2004-02-23 06:08:25 +00:00
acli
09ab9d4769 Interim update 2004-02-23 06:05:56 +00:00
acli
b6f552e6e2 Interim update 2004-02-23 05:56:19 +00:00
acli
d03a71a5e2 More bugs that prevented some strings from being translated properly.
This time it's a trimming bug.
2004-02-23 05:51:30 +00:00
acli
b940141347 This looks much better if the screen is smallish. 2004-02-23 05:07:10 +00:00
acli
dda8e7d233 Off-by-one bug 2004-02-23 04:36:56 +00:00
acli
ae4bf41171 Minor dialect correction 2004-02-23 04:29:28 +00:00
acli
dae8ab184b Bug that prevented msgid's with French characters from being translated
should now be really fixed.
2004-02-23 04:26:04 +00:00
acli
56d4a4d0ba Charset "translation" line 2004-02-23 04:19:24 +00:00