]>
git.koha-community.org Git - koha.git/log
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).
acli [Sat, 14 Feb 2004 08:03:02 +0000 (08:03 +0000)]
Have to make it know what "closed start tag" notation is; other it spews
out more than a screenful or text for an "unknown token" when such notation
is seen
acli [Sat, 14 Feb 2004 07:49:37 +0000 (07:49 +0000)]
Fixed problem recognizing tags in the form of <foo ... bar=<!-- TMPL_VAR ... >>
acli [Sat, 14 Feb 2004 07:13:09 +0000 (07:13 +0000)]
Don't extract TMPL_VAR's as if they were translatable
acli [Sat, 14 Feb 2004 07:07:36 +0000 (07:07 +0000)]
Don't complain about </TMPL_IF> or </TMPL_LOOP> being strange attribute
syntax; they are fine.
The way TMPL_VAR is warned probably makes more sense now.
acli [Sat, 14 Feb 2004 06:16:36 +0000 (06:16 +0000)]
This should be still more correct regarding when to warn about TMPL_VAR
in attributes
acli [Sat, 14 Feb 2004 05:50:55 +0000 (05:50 +0000)]
More correct version of previous change
acli [Sat, 14 Feb 2004 05:46:38 +0000 (05:46 +0000)]
Make sure that if an attribute contains < or >, a warning is given; these
warnings aren't pedantic because (1) if it's a templating directive, it
might expand into something containing a real < and/or >, and (2) if it
contains >, the browser will close the current tag, and (3) if it contains
< and the browser knows what "SGML closed start tags" are (e.g., Mozilla),
the browser will also close the current tag.
acli [Sat, 14 Feb 2004 05:35:04 +0000 (05:35 +0000)]
Hmm. I didn't know there can be whitespace before and/or after = in
attributes...
acli [Fri, 13 Feb 2004 03:49:26 +0000 (03:49 +0000)]
Handle leading or trailing 's as leading or trailing spaces.
Make sure they are all trimmed off.
$re_end_entity is now used (by the above); there are  's (no ;)
in our templates.
acli [Fri, 13 Feb 2004 02:46:02 +0000 (02:46 +0000)]
Some needed HTML syntax corrections.
acli [Fri, 13 Feb 2004 02:42:06 +0000 (02:42 +0000)]
The fixed search.marc/search.tmpl (nothing between <textarea></textarea>)
caused an eof token to be incorrectly generated by next_token(). This
is now fixed.
acli [Fri, 13 Feb 2004 01:48:58 +0000 (01:48 +0000)]
Don't mindlessly spew out 40 lines of text in a warning message if we get
too confused. Just say we are too confused.
acli [Fri, 13 Feb 2004 01:27:03 +0000 (01:27 +0000)]
This way of reporting line numbers should make more sense,
esp. for pathetic cases like search.marc/search.tmpl
(missing closing " for an attribute)
acli [Fri, 13 Feb 2004 01:20:03 +0000 (01:20 +0000)]
Display something useful if the user doesn't specify -f
acli [Fri, 13 Feb 2004 01:14:18 +0000 (01:14 +0000)]
Don't issue warnings for unquoted attributes containing [^-\.a-zA-Z0-9]
unless --pedantic-warnings is given. These don't seem to cause any trouble,
even in Mozilla's standards compliant mode.
acli [Fri, 13 Feb 2004 01:03:18 +0000 (01:03 +0000)]
Paul's problem #1 is now fixed: Bug in regular expression $re_directive.
Put my "grander plan" :-) in the comments
acli [Fri, 13 Feb 2004 00:48:52 +0000 (00:48 +0000)]
Don't extract purely-numeric strings like "1" either
acli [Fri, 13 Feb 2004 00:42:52 +0000 (00:42 +0000)]
Seems like I wasn't careful enough recognizing unknown tokens. Incomplete
tags like "<b foo" at the end of the file seems to be discarded silently by
Mozilla, even in quirks mode. We now display a warning for these (in case
these ever come up by accident).
acli [Thu, 12 Feb 2004 18:25:43 +0000 (18:25 +0000)]
Minor wording rewrite in warning
acli [Thu, 12 Feb 2004 18:19:17 +0000 (18:19 +0000)]
Warn about unquoted attribute values containing [^-\.a-zA-Z0-9]
acli [Thu, 12 Feb 2004 17:58:24 +0000 (17:58 +0000)]
extract_attributes now knows what XML-style self-closing tags are
acli [Thu, 12 Feb 2004 17:44:59 +0000 (17:44 +0000)]
Warn about <<Prev
acli [Thu, 12 Feb 2004 17:38:42 +0000 (17:38 +0000)]
It now knows what << Prev is, but it may still be confused by other kinds
of tag lookalikes
tipaul [Thu, 12 Feb 2004 13:40:56 +0000 (13:40 +0000)]
deleting subs duplicated by error
acli [Thu, 12 Feb 2004 09:38:20 +0000 (09:38 +0000)]
Handle attributes which are TMPL_VAR's better. It was choking on
systempreferences.tmpl.
acli [Thu, 12 Feb 2004 09:26:54 +0000 (09:26 +0000)]
Don't extract strings in hidden values
tipaul [Thu, 12 Feb 2004 09:16:18 +0000 (09:16 +0000)]
new feature : stocktaking/inventory.
Look in reports menu
(no DB changes)
tipaul [Thu, 12 Feb 2004 09:13:40 +0000 (09:13 +0000)]
ignoring .tmpl that are hidden files (.somthing.tmpl). hidden files are generated by tools like emacs
acli [Thu, 12 Feb 2004 09:02:39 +0000 (09:02 +0000)]
This should be good enough to replace text-extract.pl, but some real
testing is needed.
acli [Thu, 12 Feb 2004 08:55:14 +0000 (08:55 +0000)]
This is an experimental filter, based on simple scanning, that *should*
(ultimately) work better than the standard filter based on real parsing
of the .tmpl files.
tipaul [Wed, 11 Feb 2004 08:57:16 +0000 (08:57 +0000)]
synch'ing 2.0.0 branch (RC4 tag) and head
tipaul [Wed, 11 Feb 2004 08:42:01 +0000 (08:42 +0000)]
synch'ing 2.0.0 branch (RC4 tag) and head
tipaul [Wed, 11 Feb 2004 08:35:31 +0000 (08:35 +0000)]
synch'ing 2.0.0 branch and head
acli [Tue, 10 Feb 2004 09:42:18 +0000 (09:42 +0000)]
exit(-1) after usage() is not needed
acli [Tue, 10 Feb 2004 09:40:21 +0000 (09:40 +0000)]
Minor correction in help text
This handling for --help works too, and is less wordy
acli [Tue, 10 Feb 2004 09:36:44 +0000 (09:36 +0000)]
Arrays are always defined. We should check its length instead.
acli [Tue, 10 Feb 2004 08:36:13 +0000 (08:36 +0000)]
Sync to en template
acli [Tue, 10 Feb 2004 08:22:24 +0000 (08:22 +0000)]
Sync to en, not yet translated
acli [Tue, 10 Feb 2004 08:02:25 +0000 (08:02 +0000)]
This is more consistent
acli [Tue, 10 Feb 2004 07:54:36 +0000 (07:54 +0000)]
New file from en
acli [Tue, 10 Feb 2004 07:54:16 +0000 (07:54 +0000)]
SGML syntax correction
acli [Tue, 10 Feb 2004 07:38:57 +0000 (07:38 +0000)]
$script_name in template causes runtime error. Should be a TMPL_VAR
acli [Tue, 10 Feb 2004 07:33:35 +0000 (07:33 +0000)]
Sync to new en template
acli [Tue, 10 Feb 2004 07:07:42 +0000 (07:07 +0000)]
SGML syntax corrections
acli [Tue, 10 Feb 2004 06:08:35 +0000 (06:08 +0000)]
Minor updates
acli [Tue, 10 Feb 2004 05:58:45 +0000 (05:58 +0000)]
Markup error
acli [Tue, 10 Feb 2004 05:56:32 +0000 (05:56 +0000)]
New "About" templates from en
Minor visual improvements to parameters-{top,bottom}.inc
acli [Tue, 10 Feb 2004 05:51:58 +0000 (05:51 +0000)]
This makes the fonts look more like the English version
acli [Tue, 10 Feb 2004 04:59:09 +0000 (04:59 +0000)]
Pedantic SGML syntax correction
acli [Tue, 10 Feb 2004 04:57:27 +0000 (04:57 +0000)]
Spurious attribute in BODY removed
acli [Tue, 10 Feb 2004 04:46:12 +0000 (04:46 +0000)]
This wording seems to be more commonly used
acli [Tue, 10 Feb 2004 04:40:56 +0000 (04:40 +0000)]
Sync to en (new file)
acli [Tue, 10 Feb 2004 03:26:06 +0000 (03:26 +0000)]
A couple of minor, pedantic SGML syntax corrections
acli [Tue, 10 Feb 2004 03:25:43 +0000 (03:25 +0000)]
Various SGML syntax corrections (needed)
Sync to English template (minor)
Some visual layout corrections
acli [Tue, 10 Feb 2004 03:19:52 +0000 (03:19 +0000)]
This makes a bit more sense
acli [Tue, 10 Feb 2004 03:13:41 +0000 (03:13 +0000)]
Various pedantic SGML syntax corrections (e.g., <!----...--> must contain
a multiple of 4 hyphens)
Inserted some blank rows in admin-home for visual consistency.
acli [Tue, 10 Feb 2004 03:08:00 +0000 (03:08 +0000)]
Minor improvements
acli [Tue, 10 Feb 2004 03:01:36 +0000 (03:01 +0000)]
Sync to en
acli [Tue, 10 Feb 2004 03:00:59 +0000 (03:00 +0000)]
Changed DTD declaration so that Mozilla will use standards mode for this.
acli [Tue, 10 Feb 2004 03:00:50 +0000 (03:00 +0000)]
Use more standard translation for "About"