Commit Graph

565 Commits

Author SHA1 Message Date
kados efbd8b407c Fixing wrong mapping for biblionumber should be 090$c not 090$9 2005-12-11 04:09:29 +00:00
kados 67134b5feb Adding usmarc zebra configuration files. 2005-12-11 00:57:08 +00:00
tipaul e82eca42c9 see mail on koha-devel : code cleaning on Search.pm + normalizing API + use of biblionumber everywhere (instead of bn, biblio, ...) 2005-09-22 10:01:45 +00:00
tipaul 11337d7ef4 minor change in UNIMARC zebra.cfg 2005-08-12 13:58:08 +00:00
tipaul dba37f38e7 This script can be use to rebuild the zebra DB. It stores all koha MARC records in iso2709, in the bilbios directory. After that, you just have to "zebraidx update biblios"
I tried on a 9900 DB, here are the results :

[paul@bureau migration_tools]$ ./rebuild_zebra.pl -c
9900
9903 MARC record done in 37.9104120731354 seconds

[paul@bureau zebra]$ zebraidx update biblios
<snip>
18:31:24-11/08 zebraidx(20348) [log] Iterations . . . 144575
18:31:24-11/08 zebraidx(20348) [log] Distinct words .  39891
18:31:24-11/08 zebraidx(20348) [log] Updates. . . . .     46
18:31:24-11/08 zebraidx(20348) [log] Deletions. . . .      2
18:31:24-11/08 zebraidx(20348) [log] Insertions . . .  39843
18:31:24-11/08 zebraidx(20348) [log] zebra_register_close p=0x8104cf8
18:31:25-11/08 zebraidx(20348) [log] Records:    9887 i/u/d 9881/6/0
18:31:25-11/08 zebraidx(20348) [log] user/system: 531/145
18:31:25-11/08 zebraidx(20348) [log] zebra_stop
18:31:25-11/08 zebraidx(20348) [log] zebraidx times: 11.33  5.31  1.45
2005-08-11 16:35:54 +00:00
tipaul 9a508fe3df Playing with the zebra...
* go to koha cvs home directory
* in misc/zebra there is a unimarc directory. I suggest that marc21 libraries create a marc21 directory
* put your zebra.cfg files here & create your database.
* from koha cvs home directory, ln -s misc/zebra/marc21 zebra (I mean create a symbolic link to YOUR zebra directory)
* now, everytime you add/modify a biblio/item your zebra DB is updated correctly.

NOTE :
* this uses a system call in perl. CPU consumming, but we are waiting for indexdata Perl/zoom
* deletion still not work
* UNIMARC zebra config files are provided in misc/zebra/unimarc directory. The most important line being :
in zebra.cfg :
recordId: (bib1,Local-number)
storeKeys:1

in .abs file :
elm 090            Local-number            -
elm 090/?          Local-number            -
elm 090/?/9        Local-number            !:w

(090$9 being the field mapped to biblio.biblionumber in Koha)
2005-08-11 16:12:47 +00:00
tipaul c52e5b61dd synch'ing 2.2 and head 2005-08-04 14:10:52 +00:00
tipaul 86438403bd some parameter files for zebra for UNIMARC. Just for testing & sharing purposes for instance. 2005-06-27 13:13:17 +00:00
slef 30a17190d9 perldoc and prototype updates 2005-06-24 12:19:34 +00:00
tipaul 6b0ee5525b synch'ing 2.2 and head 2005-06-20 14:10:00 +00:00
tipaul 4cdb643e3e new version, doing tag by tag. Should be slower, but requires a lot less memory 2005-06-01 18:55:08 +00:00
tipaul b79bc88f4b new version, doing tag by tag. Should be slower, but requires a lot less memory 2005-06-01 18:47:38 +00:00
slef 113a1f8f50 possible fix for shell characters in kohaadmin user and database names 2005-05-27 13:33:42 +00:00
tipaul 41c209a4bd proof of concept for inverted index tables for search
how it works :
* create the table marc_Tword with the following structure :
CREATE TABLE `marc_Tword` (
  `word` varchar(80) NOT NULL default '',
  `usedin` text NOT NULL,
  `tagsubfield` varchar(4) NOT NULL default '',
  PRIMARY KEY  (`word`,`tagsubfield`)
) TYPE=MyISAM;
* open a console & type export PERL5LIB & export KOHA_CONF as usual.
* fill this table with misc/build_marc_Tword.pl. Warning, this script uses a very very consumming but very fast method to fill the table : it does everything in memory, then write everything. Another method is provided (& commented), but it's 100x times slower (really !)
* open opac-search.pl and replace use C4::SearchMarc; by use C4::SearchMarcTest; as the API hasn't changed, it will work immediatly.
* go to opac-search (advanced search) & search whatever you want. Should work fine.

LIMITS :
* build_marc_Tword has problem with extended chars (accented ones mainly). So don't be afraid if you get sql errors. They are not a problem for a POC
* search works always order by title, whatever you choose.
* search works only search WORDA and WOARDB, not yet WORDA or WORDB or WORDA except WORDB.
2005-05-27 09:30:23 +00:00
tipaul 9d21434743 changing dewey to varchar 2005-05-06 15:56:06 +00:00
joshferraro fd9122cdba produces a comma separated list of currently available reserves, with item and borrower details.
NOTE: it's NPL-specific because of hardcoded branch info -- this could be
fixed with a query for branches.
2005-05-04 14:01:45 +00:00
joshferraro ce775cce9c Fixes priority of reserves it also e-mails a list of 'problem' reserves to me at the library 2005-05-04 13:58:35 +00:00
joshferraro 82b9f92bd9 set itemlost status to '2' ("long overdue") on items more than 90 days overdue. 2005-05-04 13:54:01 +00:00
joshferraro 8810f62ad4 Changed the status of a Juvinile patron to Adult on his/her 18th birthday 2005-05-04 13:52:03 +00:00
joshferraro effd10ecdf Minor change to generalize the script 2005-05-04 13:45:18 +00:00
joshferraro 0bd7d912b8 Files relevant to LibLime's spellcheck and suggest features are placed
in this directory.
2005-05-04 13:41:36 +00:00
tipaul 64cd740d2b synch'ing 2.2 and head 2005-05-04 08:58:30 +00:00
tipaul 93ff09d081 merging 2.2 branch with head. Sorry for not making it before, many many commits done here 2005-03-01 13:40:35 +00:00
acli 0fbc036392 Some changes from rel_2_2:
Make the generated pot file (i.e., result of "create") look more "real",
but using msgmerge to reformat the output

Script failed to create intermediate directories if the directory of the
target does not exist and the parent of that directory does not exist
either. This should fix that.
2005-02-04 03:49:33 +00:00
tipaul 0eb7623640 *** empty log message *** 2005-01-05 14:41:49 +00:00
tipaul 056c211411 minor update just before releasing official 2.2.0 2005-01-05 14:31:06 +00:00
tipaul 8664309215 updating doc & adding a script to rebuild officially supported languages 2005-01-03 16:30:13 +00:00
tipaul ae197cb5dd removing .po in the wrong place (is in po/ now) 2005-01-03 16:12:28 +00:00
tipaul 51e204fa23 moving bulkmarcimport script to migration_tools directory 2005-01-03 15:25:50 +00:00
tipaul cd6f87a689 Auto-build LANG authorized values 2005-01-03 12:59:49 +00:00
tipaul 453a01a391 adding an index 2005-01-03 12:55:22 +00:00
tipaul f02a496ab0 * rolling back lock_tables_privs = 'Y' during install stage (too many problems) The option is shown in bulkmacimport instead. 2005-01-03 11:11:10 +00:00
acli 2dfe2c917a *** empty log message *** 2004-12-30 10:29:28 +00:00
acli 6fe93e5363 *** empty log message *** 2004-12-30 09:37:19 +00:00
acli 80dbe83160 Preliminary, incomplete update 2004-12-30 09:20:41 +00:00
acli b8604171cb Some progress 2004-12-30 08:01:43 +00:00
acli f04e3656d2 Oops, specified the wrong English template directory
The css translation file is only about 33% done.
2004-12-30 07:15:53 +00:00
acli 2cce962b98 Preliminary update (based on old default_opac_zh_TW.po file) 2004-12-30 07:05:04 +00:00
acli 78c09f8e7b Recommend relative paths for English template location, to make PO files
somewhat easier to read
2004-12-30 06:58:19 +00:00
acli 5c84b3411e Minor documentation correction 2004-12-30 06:53:13 +00:00
acli 52e5918b91 Minor documentation updates 2004-12-30 06:48:19 +00:00
acli 9638aa4638 Moved the old po files to the new standard location 2004-12-30 06:17:21 +00:00
tipaul 35d533a7f0 fix for http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=874
Installer Should ask for apache group

No need to ask, just use a getgrnam() ;-)
2004-12-15 14:39:21 +00:00
tipaul ad32053d26 set lock_tables_privs = 'Y' during install stage 2004-12-15 13:27:48 +00:00
tipaul 1b576fae1c fix following Klaus Weidenbach mail, to backup in manually entered directory. 2004-12-08 15:37:26 +00:00
tipaul cef8798f7c *** empty log message *** 2004-12-08 10:37:19 +00:00
tipaul ee11fc4616 text_extract is deprecated. Replaced by text_extract3 2004-12-08 10:36:53 +00:00
tipaul eb25e7e691 translations updates 2004-12-08 10:36:03 +00:00
tipaul 3f0d06fbcd defaulting variables to avoir Perl warnings 2004-12-08 10:28:42 +00:00
tipaul 97d603a706 modified french translation 2004-11-24 20:38:30 +00:00
tipaul 52cad99cb9 moving stopwords into sql-datas. Now, they can be accessed during install 2004-11-24 16:05:33 +00:00
tipaul 62fd54745e fix suggested by Slef 2004-11-23 16:02:32 +00:00
tipaul 23fa406ed6 fix for #862 : Upgrade does not work (from 2.2RC1 to 2.2RC2) 2004-11-23 12:27:39 +00:00
tipaul fa603ebde9 release notes 2004-11-16 13:38:43 +00:00
tipaul 92a3491b7d sql datas for authorities 2004-11-16 13:38:11 +00:00
tipaul d2461f10de bugfixes in installer 2004-11-16 13:04:18 +00:00
tipaul a1787654c0 updated french frameworks 2004-11-15 11:05:55 +00:00
tipaul d2beab17b1 french opac (definitive version) and french intranet (some tuning still needed) 2004-11-15 11:02:43 +00:00
tipaul 7866825377 useless, translation is now done through tmpl_process3.pl, that generates.pl files 2004-11-15 11:01:28 +00:00
tipaul 531a7472af koha 2.2 DB structure (final ? I hope...) 2004-11-12 16:39:48 +00:00
tipaul a159a488f3 testing PDF::API2 and removing mandatory test of Net::LDAP 2004-11-02 18:03:15 +00:00
tipaul ce4d2c7cbf adding .po files in english for translators (for 2.2 translation) 2004-10-05 19:38:38 +00:00
tipaul f2ef101936 Bugfix for the the problem of duplicate items : the record contains biblio & items.
The biblio & the items are separated.
The bug was that the item was still in the biblio (thus being added twice : as "biblio" and as "item")

thanks to dana for pointing the bug.
2004-09-28 15:25:29 +00:00
tipaul b7e7625ccb fixing a major bug in rebuildnonmarc (calculation of itemnumber was wrong & caused SQL bugs everywhere)
improving performance by not rewritting the MARC DB, it's useless
2004-09-23 16:23:55 +00:00
tipaul 279b390887 adding release notes for history 2004-09-23 16:19:45 +00:00
tipaul f34eaffa70 update of french UNIMARC datas 2004-09-20 13:20:01 +00:00
tipaul 9fa18db1ed fix for DB (installer) 2004-09-13 15:33:43 +00:00
tipaul 6615c0098b po for french OPAC 2004-09-02 16:42:22 +00:00
tipaul 126681c4c1 little tool to analyse the marc parameters.
run without arguments to know what it does.
export PERL5LIB (& export KOHA_CONF if not /etc/koha.conf) as usual
2004-09-02 16:34:04 +00:00
shedges 5246492046 Added MARC21 authority tag and subfield structure. 2004-08-22 00:45:58 +00:00
tipaul 9aa13fbda9 default framework for authorities in UNIMARC (french language) 2004-08-18 16:00:02 +00:00
tipaul 48ff16eabd commiting release notes for 2.1.0 (late...) 2004-08-18 15:59:15 +00:00
tipaul 37d454a82a adding frameworkcode to API in some subs 2004-08-13 16:37:25 +00:00
tipaul 78ac1e13ea useless file (use tmpl_process3.pl instead & files in po directory) 2004-08-12 14:48:58 +00:00
tipaul 10032f8af6 moving translation files to a .po directory 2004-08-12 14:43:54 +00:00
tipaul cfc3a22d9f indentations modifs 2004-07-15 09:51:26 +00:00
tipaul 24313714e3 MARC structure updated for 2.1.0 2004-06-29 15:59:36 +00:00
tipaul ff9e881af3 moving release notes to specific directory 2004-06-29 11:52:51 +00:00
tipaul 43874d7276 files in french/unimarc to be selected by the user during installation. 2004-06-29 08:37:01 +00:00
tipaul 39203f3c71 moved to "french" directory 2004-06-29 08:35:25 +00:00
tipaul d1037dda96 Adding "directory-select" feature to the "select sql file to insert to your DB". 2004-06-29 08:34:05 +00:00
tipaul 635618b2f2 uninstaller 2004-06-22 15:33:06 +00:00
tipaul 897f959bda adding new feature to installer :
the user can select sql-datas to add to it's DB
can be populated by any SQL
french UNIMARC sample being added really soon
- framework for monography
- framework for URL
- framework for ...
- Personal UNIMARC autority
...
2004-06-22 15:32:43 +00:00
tipaul 19bbe6a37e adding auto-install option.
run ./installer -i /path/to/install_file
2004-06-22 11:33:47 +00:00
tipaul 1dcbbce170 * uninstaller.pl to uninstall Koha
* -i auto_install_file to install without questions (useful for developper)
2004-06-21 17:13:32 +00:00
tipaul b1d362a277 koha.mysql in 2.0 by default. Cleaning of updatedatabase should be the next thing to do
upgrade will ONLY be from 2.0 to 2.2
thus, users in 1.2 should upgrade to 2.0, then 2.2
2004-06-21 17:10:51 +00:00
tipaul 7d1b435d42 importing iso2709 authority file 2004-06-21 07:51:41 +00:00
joshferraro 1b33f5f63a This script builds a new marc_word
table with a reduced number of tags (only those
tags that should be searched) allowing for
faster and more accurate searching when used
with the SearchMarc routines.  Make sure that
the MARCaddword routine in Biblio.pm will index
characters >= 1 char; otherwise, searches like
"O'brian, Patrick" will fail as the search
routines will seperate that query into "o",
"brian", and "patrick".  (If "o" is not in the
database the search will fail)
2004-06-11 15:07:48 +00:00
kb2qzv 52f48ea4b4 minor update. 2004-05-04 19:30:07 +00:00
kb2qzv 3aa0b04399 minor update. 2004-05-01 14:34:54 +00:00
kb2qzv d477335f7c minor update of translation, removal of fuzzies 2004-04-17 16:26:24 +00:00
tipaul 4cbdd6d405 adding -w parameter to have warnings 2004-04-14 19:48:13 +00:00
acli c9008d810f Correction from Arthur 2004-04-01 04:03:45 +00:00
acli f3d52458a0 Various corrections & updates 2004-03-28 08:54:32 +00:00
acli b0feb8e92e Some corrections and new translations 2004-03-28 07:29:12 +00:00
acli 475839bb06 Minor consistency changes 2004-03-21 03:19:49 +00:00
acli a97c7e81c6 New strings 2004-03-21 03:06:32 +00:00
acli c85fb728dc Various corrections 2004-03-20 08:42:27 +00:00
acli 7969fc1c4f Oops, wrong dialect 2004-03-20 06:49:24 +00:00
kb2qzv f4c8f892c4 translated, after having run "update". 2004-03-16 19:24:49 +00:00
acli 8f40eaa445 Workaround for strange label. Didn't realize this happens in the OPAC too. 2004-03-16 06:42:18 +00:00
acli 2c12fbcddf Forgot about this change from Arthur 2004-03-16 06:32:02 +00:00
acli 6829211a9d Minor updates 2004-03-16 06:00:00 +00:00
acli f973e2a7ac Some more corrections, some from Arthur 2004-03-16 05:53:44 +00:00
acli 9cb14c3ac7 Various corrections, mostly from Arthur 2004-03-12 05:42:34 +00:00
acli 2fa6629bf4 Minor corrections 2004-03-12 02:50:35 +00:00
acli fc4a43fcd0 Make the page headings translatable while trying not to break old templates 2004-03-11 05:42:55 +00:00
kb2qzv 9154c58594 minor update. 2004-03-10 19:29:24 +00:00
acli a4e62f9d84 Missed a couple 2004-03-10 08:25:07 +00:00
acli ac591883ca Interim updates due to the Javascript changes 2004-03-10 08:09:02 +00:00
acli 2d132d2b6b Added hack to extract and translate strings inside JavaScript CDATA blocks,
using C-like _("some translatable string") notation. English templates will
need to be modified.
2004-03-10 07:00:27 +00:00
acli 424149c742 Interim update 2004-03-10 03:09:22 +00:00
kb2qzv 327be56936 header update. 2004-03-08 16:31:13 +00:00
kb2qzv d508695d81 Updates due to Ambrose's improvements to the translation tool.
These are now ready for rel_2_0.
2004-03-08 15:58:24 +00:00
acli 8e43a8c326 Updates due to bug fixes to the translation tool just committed 2004-03-08 05:41:55 +00:00
acli 507773d963 Sorry, forgot to take out debugging code before committing 2004-03-08 05:00:42 +00:00
acli db1660f512 Fixed some bugs which caused some context to be not recognized, and some
spurious context to be recognized.  In particular, the bugs fixed are:

1. Failure to recognize INPUT element at the end, e.g., if the input has
   the form "Item number:%S", then the pattern was recognized as only
   "Item number".

2. Failure to remove matching <foo></foo> tags if the pattern contains
   INPUT or TMPL_VAR; e.g., if the input has the form "<h1>%s %s</h1>",
   the form would not be simplified to "%s %s".

Unfortunately, fixing these 2 bugs will cause about 40 fuzzies to appear.
2004-03-08 04:59:38 +00:00
kb2qzv 5dba7d6dbd Version 2.0 ready. Corrections are needed since there's no proofreading performed.
Niech ktos pomoze.
2004-03-08 00:04:52 +00:00
kb2qzv ff5c653bfa 107 more strings to translate and I'll be finished. No proofreading though, yet. 2004-03-07 22:59:31 +00:00
kb2qzv 3aee16178e minor update, about 343 strings more to go for completion 2004-03-07 13:48:03 +00:00
acli 29b1df6046 Various updates/fixes from rel_2_0
Fixes for bugs 721 (templating), 727, and 734
2004-03-07 05:47:31 +00:00
rangi 97e878c514 Bugfix, now it actually does whats its supposed to. 2004-03-06 07:55:35 +00:00
rangi e122410f9b First cut of a script to scrap the average customer ratings for books from
Amazon and store them in a ratings table in the Koha db
ratings.sql is the table definition

My next task is to extend it to work for cd's and dvds as well.
2004-03-06 07:45:33 +00:00
rangi 8bb2e860b1 Templates for use with the notifys/fines.pl script 2004-03-05 21:24:38 +00:00
rangi 14ccd6237e Little script to format a letter for printing to be sent to a borrower with overdue items 2004-03-05 21:23:32 +00:00
rangi d8bbc4ec5c Scripts to deal with overdues.
fines.pl will levy fines and place them on patrons accounts, it will also then attempt to notify
the borrowers.
Either by email, sms, fax etc depending on what the patron has set as preferred contact.
Email and letters are currently working fine, fax, and sms need to be worked on.

Test with caution in your library, you dont want to be bombarding patrons with emails :)
2004-03-05 21:22:15 +00:00
acli a12fd4c5cc Minor update 2004-03-05 06:37:54 +00:00
acli a7ebbbba0b Consistency fix; we should be using the equivalent of "vous", not "tu" 2004-03-05 06:09:28 +00:00
acli 8fd1f042cb Reverted translated first name/last name order; Koha does not work well
with name forms other than the English ordering (and the names should be
in English too...)
2004-03-05 05:54:04 +00:00
acli 19e83afb55 More translations 2004-03-05 05:33:01 +00:00
acli 246170e5ce Minor updates 2004-03-02 03:08:24 +00:00
acli aaeb2d8895 More perldoc updates 2004-03-01 18:46:43 +00:00
acli 15ecec16d9 Perldoc update 2004-03-01 18:16:30 +00:00
acli 19a05db1f5 Correct translation of "Clear" 2004-03-01 06:37:34 +00:00
acli 9af4c898d7 Minor consistency fixes 2004-03-01 06:18:02 +00:00
acli 2b656e0f4a Minor updates 2004-03-01 06:03:36 +00:00
acli 71add1ce88 Corrections from Arthur 2004-03-01 04:34:49 +00:00
acli f962b261bf Minor updates 2004-03-01 03:26:26 +00:00
acli b240a8c8c7 Minor updates 2004-03-01 00:15:53 +00:00
kb2qzv 9bd5aae80a minor updates 2004-02-29 19:50:53 +00:00
kb2qzv 3fcc028ed8 translation file over 60% completed. 2004-02-29 19:11:46 +00:00
acli 73b69b56a5 Updates and corrections 2004-02-29 16:27:42 +00:00
acli 35e55e7941 Minor update 2004-02-29 10:07:49 +00:00
acli 191f0bb99b Minor update 2004-02-29 09:09:50 +00:00
acli dfa00bd0ae Minor correction 2004-02-29 08:59:08 +00:00
acli 047819d716 Minor updates plus some corrections 2004-02-29 07:35:00 +00:00
acli 67f236aaed Minor updates 2004-02-29 06:25:14 +00:00
acli 3dbee3f098 Minor updates 2004-02-29 04:29:38 +00:00
acli 8cfc7c7629 Minor updates 2004-02-29 03:58:10 +00:00
acli 53a5494412 Various corrections, including correction of the translation of "acquisition" 2004-02-29 03:38:18 +00:00
acli 3617982fc0 Minor corrections 2004-02-29 01:03:58 +00:00
acli 087aa3a64f Applied most of Arthur's corrections, some with editorial changes.
Some other corrections.
2004-02-29 00:56:10 +00:00
kb2qzv caf87bd6f9 Usable translation, nearly a 100% translated. 2004-02-28 15:18:42 +00:00
kb2qzv f6d431f26c no fuzzy strings, over 50% translated. 2004-02-28 15:17:55 +00:00
kb2qzv 2f4aaeae31 incomlete translation of default intranet 2004-02-28 10:02:42 +00:00
acli 66775a8646 - Consider <INPUT type=text> and <INPUT type=text> part of strings.
- If a string is enclosed by a tag, remove that tag from the extracted string
- Generate automatic comments to provide more information for the translator
- A couple bug fixes
2004-02-27 13:26:07 +00:00
acli 2ecaaff2f2 One more suggested change from Arthur 2004-02-26 22:17:08 +00:00
kb2qzv f3a1fe23f0 incomplete; but just in case my HDD crashed here is an upload. 2004-02-26 16:50:18 +00:00
kb2qzv 825d973c12 minor updates 2004-02-26 10:56:37 +00:00
acli 8dd6e3c250 First half of Arthur's corrections; the rest pending clarifications 2004-02-26 07:12:10 +00:00
acli f24796e81f Interim minor update 2004-02-26 05:29:03 +00:00
kb2qzv 3760ff3edd Translated (need polishing) strings file generated by tmpl_process3.pl and xgettext.pl 2004-02-25 22:45:35 +00:00
acli 0d6288178e Minor updates 2004-02-25 08:16:34 +00:00
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
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
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 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
acli 7657c143da "Title" problem fixed in English templates 2004-02-23 21:39:21 +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 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 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 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
acli ec6562b7d3 Oops, forgot to take out some debugging print statements 2004-02-23 04:02:06 +00:00
acli 3e140b7053 More interim updates 2004-02-23 04:00:38 +00:00
acli 422739c80d Interim update 2004-02-23 03:15:01 +00:00
acli 77a1d8682d 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).
2004-02-23 01:21:03 +00:00
acli 10a00d1b50 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.
2004-02-22 21:34:40 +00:00
acli 03695ce811 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.
2004-02-22 09:04:53 +00:00