improving translator tool a lot :
* managing strings with LIMITED pragma when the string is a koha intenral code too (like search) * improving speed by 50 : just by reading the whole file before s///g, instead of doing a s///g on each line. * NOT overwritting unchanged file => now, we can commit only what has changed ! * removing useless chars (., ?, spaces...) at end of strings. WORKS on french OPAC AND INTRANET without problems.
This commit is contained in:
parent
3c6c62bc6b
commit
bb0ad1b5b5
|
|
@ -1,8 +1,5 @@
|
|||
0 *****
|
||||
A *****
|
||||
A "thesaurus category": it refers to a thesaurus category. See the corresponding admin table. *****
|
||||
A "value builder": values builders are perl programs that help you select the value of the field. They are MARC-flavor dependant and sometimes fill another subfield automatically. *****
|
||||
A MARC record is stored in the breeding farm as long as you have no item. When you type the ISBN or title of a biblio, it's searched for in the breeding farm. If it is found, the biblio is added to Koha active table and removed from the breeding farm. *****
|
||||
A "thesaurus category": it refers to a thesaurus category. See the corresponding admin table *****
|
||||
A "value builder": values builders are perl programs that help you select the value of the field. They are MARC-flavor dependant and sometimes fill another subfield automatically *****
|
||||
About *****
|
||||
Abstract *****
|
||||
Account for *****
|
||||
|
|
@ -14,8 +11,8 @@ action=modrequest.pl method=post> *****
|
|||
ACTUAL *****
|
||||
Actual Cost *****
|
||||
Adam Thick *****
|
||||
Add *****
|
||||
add *****
|
||||
Add *****
|
||||
Add a book by barcode *****
|
||||
Add a New Item for *****
|
||||
Add a system preference *****
|
||||
|
|
@ -25,18 +22,18 @@ Add Authorised value *****
|
|||
Add biblio *****
|
||||
Add Bookfund *****
|
||||
Add Budget *****
|
||||
Add category *****
|
||||
Add Category *****
|
||||
Add category *****
|
||||
Add Child *****
|
||||
Add criteria *****
|
||||
Add Currency *****
|
||||
Add currency *****
|
||||
Add item *****
|
||||
Add Currency *****
|
||||
Add Item *****
|
||||
Add item *****
|
||||
Add item type *****
|
||||
Add Item Type *****
|
||||
Add Member *****
|
||||
Add member *****
|
||||
Add Member *****
|
||||
Add New Branch *****
|
||||
Add New Category *****
|
||||
Add new Institution *****
|
||||
|
|
@ -50,8 +47,8 @@ Add New Website *****
|
|||
Add or Remove Book Shelves *****
|
||||
Add order : enter keyword or title *****
|
||||
Add organisation *****
|
||||
Add Printer *****
|
||||
Add printer *****
|
||||
Add Printer *****
|
||||
Add Shelf *****
|
||||
Add Stop word *****
|
||||
Add supplier *****
|
||||
|
|
@ -68,8 +65,8 @@ addcategory_validate *****
|
|||
Adding *****
|
||||
Adding a new Biblio *****
|
||||
Additional Author *****
|
||||
Additional authors *****
|
||||
Additional Authors *****
|
||||
Additional authors *****
|
||||
Address *****
|
||||
add_form *****
|
||||
add_validate *****
|
||||
|
|
@ -90,25 +87,27 @@ Alternative Contact *****
|
|||
ALTERNATIVE CONTACT DETAIL *****
|
||||
Alternative Phone *****
|
||||
Ambrose Li *****
|
||||
Amount *****
|
||||
AMOUNT *****
|
||||
Amount *****
|
||||
AMOUNT OWING *****
|
||||
An "authorised value": it refers to a list of authorised values for this subfield. See the corresponding admin table. *****
|
||||
An "authorised value": it refers to a list of authorised values for this subfield. See the corresponding admin table *****
|
||||
and *****
|
||||
and all entries depending from this one *****
|
||||
and has been returned. *****
|
||||
and has been returned *****
|
||||
and Simon Blake, Amanda Atkins, Operations Manager, Olwen Williams, Finlay Thompson, Gynn Lomax, Richard Anderson, Jeremy Blake, Rebecca Holden, Olive T. Canine *****
|
||||
and they must all be in the 10 (items) tab *****
|
||||
Andrew Arensburger *****
|
||||
Andrew Hooper *****
|
||||
Ann?e d?but *****
|
||||
Ann?e fin *****
|
||||
Année début *****
|
||||
Année fin *****
|
||||
Any *****
|
||||
any *****
|
||||
Any *****
|
||||
Apache version *****
|
||||
AQUISITIONS *****
|
||||
Area *****
|
||||
Attempting to issue by to . *****
|
||||
Attempting to issue by to *****
|
||||
Auth value *****
|
||||
Author *****
|
||||
AUTHOR *****
|
||||
|
|
@ -121,20 +120,19 @@ Authority *****
|
|||
Authority lib *****
|
||||
Avail *****
|
||||
Available *****
|
||||
B *****
|
||||
Back *****
|
||||
Back to acquisition *****
|
||||
Bar Code *****
|
||||
BARCODE *****
|
||||
Barcode *****
|
||||
Barcode '' has already been assigned. *****
|
||||
BASKET *****
|
||||
BARCODE *****
|
||||
Barcode '' has already been assigned *****
|
||||
Basket *****
|
||||
BASKET *****
|
||||
Baycorp Adjustment *****
|
||||
be in tab -1 *****
|
||||
be in the SAME tag (for example : 090$a and 090$b) *****
|
||||
be mapped to a MARC subfield, *****
|
||||
be mapped to the same tag, *****
|
||||
be mapped to a MARC subfield *****
|
||||
be mapped to the same tag *****
|
||||
Become a Member *****
|
||||
Benedykt P. Barszcz (polish for 2.0) *****
|
||||
Between Brothers by Irene Morck at Main Library *****
|
||||
|
|
@ -145,7 +143,6 @@ Biblio # *****
|
|||
biblio and biblionumber *****
|
||||
Biblio number *****
|
||||
BIBLIO RECORD *****
|
||||
Biblio related *****
|
||||
Biblio Search Results *****
|
||||
biblioitems.itemtype defined *****
|
||||
Biblionumber *****
|
||||
|
|
@ -155,18 +152,19 @@ Biblios in breeding farm *****
|
|||
Biblios in koha *****
|
||||
Bold *****
|
||||
Book fund *****
|
||||
Book fund administration. Remember to edit your book funds before you start editing the budgets. *****
|
||||
Book fund administration. Remember to edit your book funds before you start editing the budgets *****
|
||||
Book fund name *****
|
||||
Book funds *****
|
||||
Bookfund *****
|
||||
Bookfund admin *****
|
||||
Bookshelves *****
|
||||
borrower *****
|
||||
Borrower *****
|
||||
borrower *****
|
||||
Borrower categories *****
|
||||
Borrower Information *****
|
||||
Borrowernumber *****
|
||||
borrowers *****
|
||||
BORROWERS *****
|
||||
borrowers *****
|
||||
Branch *****
|
||||
Branch code *****
|
||||
branch table empty *****
|
||||
|
|
@ -185,10 +183,9 @@ Budgeted GST *****
|
|||
BUDGETED TOTAL *****
|
||||
Budgets *****
|
||||
BUDGETS AND BOOKFUNDS *****
|
||||
Build your request using MARC fields and subfields. Add criteria lets you add another criteria to your search. Search commits the request and displays the results. *****
|
||||
Build your request using MARC fields and subfields. Add criteria lets you add another criteria to your search. Search commits the request and displays the results *****
|
||||
Bulk *****
|
||||
button [left] to amend the biblio. Any changes you make will update the record for *****
|
||||
C *****
|
||||
Cancel *****
|
||||
Cancel reservation and then attempt transfer *****
|
||||
Cancelled *****
|
||||
|
|
@ -199,8 +196,8 @@ Cardnumber *****
|
|||
Cash Refund *****
|
||||
Cat maintenance *****
|
||||
Cataline Library *****
|
||||
CATALOGUE *****
|
||||
Catalogue *****
|
||||
CATALOGUE *****
|
||||
CATALOGUE DETAILS *****
|
||||
Catalogue Search *****
|
||||
Categories *****
|
||||
|
|
@ -215,14 +212,15 @@ Change status to waiting and print *****
|
|||
CHANGES TO AFFECT THESE BARCODES *****
|
||||
Character encoding (MARC21 or UNIMARC) *****
|
||||
Charge *****
|
||||
Charges *****
|
||||
CHARGES *****
|
||||
Charges amounts for itemtypes / borrower types. *****
|
||||
Charges *****
|
||||
Charges amounts for itemtypes / borrower types *****
|
||||
Checked *****
|
||||
checked > No *****
|
||||
checked > Yes *****
|
||||
Checked (searched by default) *****
|
||||
checked value=1> *****
|
||||
checked value=1> (if checked, no item of this type can be issued. If not checked, every item of this type can be issued unless notforloan is set for a specific item) *****
|
||||
checked> M *****
|
||||
checked>Active *****
|
||||
checked>F *****
|
||||
|
|
@ -246,7 +244,7 @@ Clear *****
|
|||
Clear all Fields *****
|
||||
Click *****
|
||||
Click on the *****
|
||||
click on the appropriate radio button (in the green boxes), and choose to either re-assign the item/s to a record already in the system, or modify this record. IF your changes only apply to some items, tick the appropriate ones and a new group record will be created automatically for them. *****
|
||||
click on the appropriate radio button (in the green boxes), and choose to either re-assign the item/s to a record already in the system, or modify this record. IF your changes only apply to some items, tick the appropriate ones and a new group record will be created automatically for them *****
|
||||
Click submit to force the subject *****
|
||||
clr *****
|
||||
Code *****
|
||||
|
|
@ -282,34 +280,33 @@ Currencies admin *****
|
|||
Currency *****
|
||||
Current Branch *****
|
||||
CURRENT STATUS *****
|
||||
D *****
|
||||
Daily Report (today) *****
|
||||
Daily Report (yesterday) *****
|
||||
Daniel Holth *****
|
||||
Data about the current version of Koha for bug reports (or general interest). *****
|
||||
Data about the current version of Koha for bug reports (or general interest) *****
|
||||
Data deleted *****
|
||||
Data recorded *****
|
||||
Database *****
|
||||
DATE *****
|
||||
Date *****
|
||||
Date arrived at current branch *****
|
||||
Date d'enregistrement *****
|
||||
DATE DUE *****
|
||||
Date Due *****
|
||||
Date Of Birth *****
|
||||
Date of Birth *****
|
||||
Date Of Birth *****
|
||||
Date/time *****
|
||||
Date: <!-- TMPL_VAR Name= *****
|
||||
David Strainchamps *****
|
||||
Day *****
|
||||
Define categories and authorised values for them. Authorised values are used in MARC form to limit/help editing MARC biblios. *****
|
||||
Define exchange rates. *****
|
||||
Define item types. *****
|
||||
Define links between the Koha standard DB and the MARC one. Note those links can be defined through MARC structure. This tool is just a shortcut to speed up linkage. *****
|
||||
Define the categories of borrowers. *****
|
||||
Define categories and authorised values for them. Authorised values are used in MARC form to limit/help editing MARC biblios *****
|
||||
Define exchange rates *****
|
||||
Define item types *****
|
||||
Define links between the Koha standard DB and the MARC one. Note those links can be defined through MARC structure. This tool is just a shortcut to speed up linkage *****
|
||||
Define the categories of borrowers *****
|
||||
Del *****
|
||||
delete *****
|
||||
Delete *****
|
||||
Delete a request by selecting "del" from the rank list. *****
|
||||
delete *****
|
||||
Delete a request by selecting "del" from the rank list *****
|
||||
Delete Shelves *****
|
||||
Delete this Website link *****
|
||||
delete_category *****
|
||||
|
|
@ -326,19 +323,17 @@ Dorian Meid *****
|
|||
do_search *****
|
||||
Due *****
|
||||
Due Date *****
|
||||
E *****
|
||||
E-mail *****
|
||||
E-mail Address *****
|
||||
Each box needs to be filled in with fine,time to start charging,charging cycle *****
|
||||
Easy / Picture Books *****
|
||||
Easy Reader *****
|
||||
Ed Summers *****
|
||||
Edit *****
|
||||
edit *****
|
||||
Edit *****
|
||||
Edit Institution *****
|
||||
editcategory *****
|
||||
eg 1,7,7 = $1 fine, after 7 days, every 7 days *****
|
||||
eg 1,7,7 = $1 fine, after 7 days, every 7 days. *****
|
||||
Email *****
|
||||
END *****
|
||||
End date *****
|
||||
|
|
@ -352,39 +347,37 @@ Enrolment fee *****
|
|||
Enrolment period *****
|
||||
Enter Book Barcode *****
|
||||
Enter borrower card number *****
|
||||
enter key to activate search *****
|
||||
ERROR *****
|
||||
Error *****
|
||||
ERROR *****
|
||||
ERROR : Barcode already exists ! *****
|
||||
Error Issuing Book *****
|
||||
Ethnicity *****
|
||||
Ethnicity Notes *****
|
||||
Ethnicity: , *****
|
||||
Exact *****
|
||||
exact *****
|
||||
EXCHANGE RATES *****
|
||||
Existing items *****
|
||||
Expiry Date *****
|
||||
Explanation *****
|
||||
Export *****
|
||||
export *****
|
||||
Export *****
|
||||
Export in MARC format the following biblios *****
|
||||
Exporting in MARC format. *****
|
||||
F *****
|
||||
Exporting in MARC format *****
|
||||
Fax *****
|
||||
Fee *****
|
||||
Fee:$30/year, Paid *****
|
||||
Fiction *****
|
||||
Field *****
|
||||
fields must be filled in to create a new bibilo and item. *****
|
||||
fields must be filled in to create a new bibilo and item *****
|
||||
Fill those tables in the order they appear to get a working Koha *****
|
||||
Fine *****
|
||||
Fine type *****
|
||||
FINES & CHARGES *****
|
||||
Firstname *****
|
||||
FLAGS *****
|
||||
Flags *****
|
||||
FLAGS *****
|
||||
Florian Bischof *****
|
||||
for ( *****
|
||||
for *****
|
||||
For a website add the group only *****
|
||||
for reserve pickups *****
|
||||
Format *****
|
||||
|
|
@ -396,7 +389,6 @@ From *****
|
|||
from biblio number *****
|
||||
Full MARC Record available at bottom *****
|
||||
Funds *****
|
||||
G *****
|
||||
Gender *****
|
||||
General Notes *****
|
||||
German *****
|
||||
|
|
@ -411,31 +403,28 @@ GST *****
|
|||
GST Registered *****
|
||||
Guarantees *****
|
||||
Guarantor *****
|
||||
H *****
|
||||
has been entered into the database with biblionumber and biblioitemnumber *****
|
||||
HDL INTRANET *****
|
||||
HELP *****
|
||||
HELP Ordering *****
|
||||
Henri-Damien Laurent *****
|
||||
here *****
|
||||
HERE *****
|
||||
here *****
|
||||
holdingbranch defined *****
|
||||
holdingbranch NOT mapped *****
|
||||
Home *****
|
||||
Home Address *****
|
||||
Home Address: , *****
|
||||
Home Branch *****
|
||||
homebranch defined *****
|
||||
homebranch NOT mapped *****
|
||||
Horowhenua Library Trust *****
|
||||
Hostname *****
|
||||
I *****
|
||||
I 1 *****
|
||||
If an ISBN already exists in the breeding farm, you can choose whether to ignore the new one or overwrite the old one. *****
|
||||
If an ISBN already exists in the breeding farm, you can choose whether to ignore the new one or overwrite the old one *****
|
||||
If ISBN already in breeding farm *****
|
||||
If some of the items listed above need a different biblio, or are on the wrong biblio, you must use the *****
|
||||
If the ISBN or title is found in the biblio table, it will be retrieved and can be modified. *****
|
||||
If the ISBN or title is found in the breeding farm, it will be retrieved and a biblio will be added. *****
|
||||
If the ISBN or title is found in the biblio table, it will be retrieved and can be modified *****
|
||||
If the ISBN or title is found in the breeding farm, it will be retrieved and a biblio will be added *****
|
||||
Ignore *****
|
||||
Ignore and return to transfers *****
|
||||
Ignore this one, keep the existing one *****
|
||||
|
|
@ -455,7 +444,7 @@ INSTITUTION DETAILS *****
|
|||
Institution Name *****
|
||||
intra *****
|
||||
intranet *****
|
||||
Invalid cardnumber. *****
|
||||
Invalid cardnumber *****
|
||||
Invalid_cardnumber *****
|
||||
Invoice *****
|
||||
Invoice Item Price Includes GST *****
|
||||
|
|
@ -468,8 +457,8 @@ Isbn *****
|
|||
ISBN title *****
|
||||
ISSN *****
|
||||
Issue *****
|
||||
Issue Limit *****
|
||||
Issue limit *****
|
||||
Issue Limit *****
|
||||
Issues *****
|
||||
ISSUES & RETURNS *****
|
||||
Issuing Question *****
|
||||
|
|
@ -479,7 +468,7 @@ Item added with barcode *****
|
|||
Item Barcode *****
|
||||
Item Count *****
|
||||
item fields *****
|
||||
Item is marked waiting at for ( *****
|
||||
Item is marked waiting at for *****
|
||||
Item lost *****
|
||||
Item marked Waiting *****
|
||||
ITEM RESERVED: () barcode: itemtype: COLLECT AT: BORROWER: card number: Phone: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "> *****
|
||||
|
|
@ -502,7 +491,6 @@ Itemtype *****
|
|||
itemtype NOT mapped *****
|
||||
itemtypes table empty *****
|
||||
itemtypes table filled with at least 1 value *****
|
||||
J *****
|
||||
Jo Ransom *****
|
||||
Joined: , Expires *****
|
||||
Joining Branch *****
|
||||
|
|
@ -511,7 +499,6 @@ Joshua Ferraro & the Nelsonville Public Library (MARC features funders) *****
|
|||
Junior Fiction *****
|
||||
Junior Non-Fiction *****
|
||||
Jérome Vizcaino (Esiee School) *****
|
||||
K *****
|
||||
Katipo Communications *****
|
||||
Keep a record of books I have read *****
|
||||
Keyword *****
|
||||
|
|
@ -533,7 +520,6 @@ KOHA: INTRANET: Members *****
|
|||
KOHA: INTRANET: Parameters *****
|
||||
KOHA: INTRANET: Reports *****
|
||||
KOHA: OPAC Catalogue Search *****
|
||||
L *****
|
||||
Language *****
|
||||
Last borrowed *****
|
||||
Last Borrower 1 *****
|
||||
|
|
@ -542,8 +528,8 @@ Last seen *****
|
|||
Last Seen *****
|
||||
Last seen at branch *****
|
||||
LCCN *****
|
||||
Lib *****
|
||||
lib *****
|
||||
Lib *****
|
||||
Lib for librarians *****
|
||||
Lib for librarians / for opac *****
|
||||
Lib for opac *****
|
||||
|
|
@ -553,22 +539,21 @@ Links Koha - MARC DB *****
|
|||
Links to Associated Websites *****
|
||||
List Item Price Includes GST *****
|
||||
List Prices are *****
|
||||
Loan Length *****
|
||||
Loan length *****
|
||||
Location *****
|
||||
Loan Length *****
|
||||
LOCATION *****
|
||||
Location *****
|
||||
Log In *****
|
||||
Log Out *****
|
||||
Logged in as: [ *****
|
||||
Login *****
|
||||
Logged in as *****
|
||||
login *****
|
||||
Login *****
|
||||
Lost *****
|
||||
Lost Item *****
|
||||
M *****
|
||||
Main Library *****
|
||||
Main Menu *****
|
||||
Management of thesaurus and authorities files. *****
|
||||
Manages thesaurus and authorities files. *****
|
||||
Management of thesaurus and authorities files *****
|
||||
Manages thesaurus and authorities files *****
|
||||
Mand *****
|
||||
Mandatory *****
|
||||
Manual Credit *****
|
||||
|
|
@ -580,11 +565,10 @@ MARC biblio management *****
|
|||
MARC Check *****
|
||||
MARC links *****
|
||||
MARC RECORD *****
|
||||
MARC related *****
|
||||
MARC search *****
|
||||
MARC Search *****
|
||||
MARC search *****
|
||||
MARC search results *****
|
||||
MARC structure: tags then subfields. *****
|
||||
MARC structure: tags then subfields *****
|
||||
MARC tag structure *****
|
||||
MARC tag structure admin *****
|
||||
MARC21 *****
|
||||
|
|
@ -604,7 +588,7 @@ Member# , Card Number *****
|
|||
Members *****
|
||||
Membership Category *****
|
||||
MEMBERSHIP DETAILS *****
|
||||
Membership No. *****
|
||||
Membership No *****
|
||||
Membership Number *****
|
||||
MEMBERSHIP RECORD *****
|
||||
Messages *****
|
||||
|
|
@ -615,8 +599,8 @@ Mike Hansen *****
|
|||
Mike Johnson *****
|
||||
Mike Mylonas *****
|
||||
MJ Ray and Turo Technology LLP, england (quality control, installer & updater) *****
|
||||
Modify *****
|
||||
modify *****
|
||||
Modify *****
|
||||
Modify a system preference *****
|
||||
Modify category *****
|
||||
Modify currency *****
|
||||
|
|
@ -634,7 +618,6 @@ mod_validate *****
|
|||
Month *****
|
||||
must *****
|
||||
MySQL version *****
|
||||
N *****
|
||||
Name *****
|
||||
Name of this import *****
|
||||
Name this set of MARC records *****
|
||||
|
|
@ -642,7 +625,7 @@ name=Aform method=post> *****
|
|||
needs to be transfered to *****
|
||||
NEW *****
|
||||
New Card *****
|
||||
New category... *****
|
||||
New category *****
|
||||
New File *****
|
||||
New Item *****
|
||||
NEW MEMBER *****
|
||||
|
|
@ -651,14 +634,15 @@ New Record *****
|
|||
New Search *****
|
||||
New UserID *****
|
||||
Next >> *****
|
||||
Next Available *****
|
||||
Next Available This type only *****
|
||||
Next Available, *****
|
||||
Next Borrower *****
|
||||
Nicholas Rosasco, (Documentation Compiler) *****
|
||||
Nicolas Morin, French Translation *****
|
||||
NO *****
|
||||
no *****
|
||||
No *****
|
||||
NO *****
|
||||
No debts *****
|
||||
no guarantor *****
|
||||
No Item with barcode: Please return item to home branch: Item is already at destination branch. Item was on loan to *****
|
||||
No Item with barcode: Please return to Not On Issue. Item was lost, now found. Item Cancelled *****
|
||||
|
|
@ -668,29 +652,28 @@ No Title *****
|
|||
No. of Issues *****
|
||||
No. of Items *****
|
||||
Non-Fiction *****
|
||||
normal *****
|
||||
Normal *****
|
||||
normal *****
|
||||
Not for loan *****
|
||||
not imported because already in DB *****
|
||||
not imported because already in farm *****
|
||||
not imported because they seems not to be MARC format (or ISBN/ISSN missing) ! *****
|
||||
Not on Issue. *****
|
||||
Not on Issue *****
|
||||
Note : fines are calculated by the fines2.pl script, located in misc directory. Ask your administrator to put this script in crontab (after midnight) to have fines calculated every night *****
|
||||
NOTE : if you change something in this table, ask your administrator to run misc/rebuildnonmarc.pl script. *****
|
||||
NOTE : if you change the link between a MARC subfield and a non-MARC field, ask your administrator to run misc/rebuildnonmarc.pl script. *****
|
||||
NOTE : if you change something in this table, ask your administrator to run misc/rebuildnonmarc.pl script *****
|
||||
NOTE : if you change the link between a MARC subfield and a non-MARC field, ask your administrator to run misc/rebuildnonmarc.pl script *****
|
||||
Note : the items are NOT exported by this tool *****
|
||||
Note: in the last column, you can choose *****
|
||||
Notes *****
|
||||
NOTES *****
|
||||
Notes *****
|
||||
Nothing found *****
|
||||
Notify me about overdues by email *****
|
||||
Notify me about Special Events by email *****
|
||||
Number *****
|
||||
Number of issues since the above date *****
|
||||
O *****
|
||||
OD/Issues *****
|
||||
ODUES *****
|
||||
Of course, if the ISBN already exists in the active DB, the biblio will be ignored. *****
|
||||
offset=&num=5">5 *****
|
||||
Of course, if the ISBN already exists in the active DB, the biblio will be ignored *****
|
||||
OK *****
|
||||
One Author per line *****
|
||||
One Subject per line *****
|
||||
|
|
@ -706,18 +689,17 @@ or partial last name *****
|
|||
Order *****
|
||||
Order placed *****
|
||||
ORDERING INFORMATION *****
|
||||
organisation *****
|
||||
Organisation *****
|
||||
organisation *****
|
||||
OS version (from 'uname -a') *****
|
||||
OTHER *****
|
||||
Other forms *****
|
||||
Other lib *****
|
||||
Otherwise, a biblio can be added from scratch. *****
|
||||
Otherwise, a biblio can be added from scratch *****
|
||||
Overdue *****
|
||||
Overdue items *****
|
||||
Overdue notice required *****
|
||||
Overwrite the existing one with this *****
|
||||
P *****
|
||||
P&P *****
|
||||
Pages *****
|
||||
Paid for *****
|
||||
|
|
@ -751,7 +733,6 @@ Polish *****
|
|||
Port *****
|
||||
Position *****
|
||||
Postal Address *****
|
||||
Postal Address: , *****
|
||||
Postal city *****
|
||||
Postal Street Address *****
|
||||
Prefered Name *****
|
||||
|
|
@ -762,15 +743,14 @@ Printer *****
|
|||
Printer admin *****
|
||||
Printer Name *****
|
||||
Printers *****
|
||||
Printers (UNIX paths). *****
|
||||
process to fix this. You will need to "re-order" the items, and delete them from this biblio. *****
|
||||
processing... *****
|
||||
Printers (UNIX paths) *****
|
||||
process to fix this. You will need to "re-order" the items, and delete them from this biblio *****
|
||||
processing *****
|
||||
Pubdate *****
|
||||
Publication Year *****
|
||||
Published by *****
|
||||
Publisher *****
|
||||
Publishers and Imprints *****
|
||||
Q *****
|
||||
QTY *****
|
||||
Qty *****
|
||||
Quantity *****
|
||||
|
|
@ -778,14 +758,13 @@ Quantity Ordered *****
|
|||
Quantity Received *****
|
||||
Queue *****
|
||||
Quick search *****
|
||||
R *****
|
||||
Rachel Hamilton-Williams, General Manager (Webmistress) *****
|
||||
Rank *****
|
||||
Rank (display order) *****
|
||||
Rate *****
|
||||
RE-ASSIGN TO EXISTING GROUP *****
|
||||
Receipt Summary for : , Invoice *****
|
||||
Receipt Summary for: Invoice, *****
|
||||
Receipt Summary for: Invoice *****
|
||||
Receive *****
|
||||
RECEIVE OR MODIFY PERIODICAL ORDER *****
|
||||
Receive Orders From Supplier *****
|
||||
|
|
@ -803,12 +782,12 @@ Remove *****
|
|||
Remove Selected Items *****
|
||||
Renew *****
|
||||
Renew Items *****
|
||||
Renew Items, view add, modify and delete records, all by starting with this search. *****
|
||||
Renew Items, view add, modify and delete records, all by starting with this search. Type a borrower name, part of a name, or number in the field above and hit the enter key to activate search *****
|
||||
Renewable *****
|
||||
Renewals *****
|
||||
Renewals allowed *****
|
||||
Rental charge *****
|
||||
Rental Charge *****
|
||||
Rental charge *****
|
||||
Rep *****
|
||||
Repeatable *****
|
||||
Repet *****
|
||||
|
|
@ -824,20 +803,19 @@ Requesting *****
|
|||
Reserve *****
|
||||
Reserve Cancelled *****
|
||||
Reserve fee *****
|
||||
Reserve Found *****
|
||||
Reserve found *****
|
||||
reserve found for ( *****
|
||||
Reserve Found *****
|
||||
reserve found for *****
|
||||
Reserved *****
|
||||
Reserves *****
|
||||
Result *****
|
||||
Results *****
|
||||
Results through of records. *****
|
||||
Results through of records *****
|
||||
Results to displayed *****
|
||||
Results to displayed. *****
|
||||
Results to of *****
|
||||
results found *****
|
||||
results found. *****
|
||||
Results per page *****
|
||||
RETURNED *****
|
||||
Returned Item Information *****
|
||||
Returned Items *****
|
||||
Returns *****
|
||||
|
|
@ -845,8 +823,8 @@ Rick Hansen Library *****
|
|||
Roger Buck *****
|
||||
Ron Wickersham *****
|
||||
Rosalie Blake, Head of Libraries *****
|
||||
S *****
|
||||
Save *****
|
||||
save *****
|
||||
Save Changes *****
|
||||
School *****
|
||||
Search *****
|
||||
|
|
@ -854,7 +832,7 @@ search *****
|
|||
Search ISBN or Title *****
|
||||
Search Keyword or Title *****
|
||||
Search Results *****
|
||||
Search still pending... *****
|
||||
Search still pending *****
|
||||
Search the Catalogue *****
|
||||
Searching *****
|
||||
Sebastiaan Durand *****
|
||||
|
|
@ -863,7 +841,7 @@ Sedgewick Library *****
|
|||
select *****
|
||||
Select a borrower *****
|
||||
Select a collection *****
|
||||
Select a file to import into the breeding farm. It will be parsed, and for each ISBN found, a new baby will be created in the breeding farm. *****
|
||||
Select a file to import into the breeding farm. It will be parsed, and for each ISBN found, a new baby will be created in the breeding farm *****
|
||||
Select a New File *****
|
||||
Select a Record to Import from *****
|
||||
Select a set of MARC records *****
|
||||
|
|
@ -884,7 +862,11 @@ selected value="start">Starts with *****
|
|||
selected> *****
|
||||
SELECTED>dir. de publication *****
|
||||
SELECTED>illustrateur *****
|
||||
SELECTED>monographie compl?te *****
|
||||
SELECTED>monographie complète *****
|
||||
SELECTED>p?riodique d'?tat inconnu *****
|
||||
SELECTED>p?riodique en cours *****
|
||||
SELECTED>p?riodique mort *****
|
||||
SELECTED>postface *****
|
||||
SELECTED>préface, notes *****
|
||||
SELECTED>périodique d'état inconnu *****
|
||||
|
|
@ -895,13 +877,13 @@ SELECTED>traducteur *****
|
|||
Serial *****
|
||||
Series *****
|
||||
Series Title *****
|
||||
Servers to query for MARC data. *****
|
||||
Servers to query for MARC data *****
|
||||
Set Flags *****
|
||||
Set Preferences *****
|
||||
Set reserve to waiting and transfer book to *****
|
||||
SetWaiting *****
|
||||
Sex *****
|
||||
Shaded fields can be used to do a "quick" receive, when items have been purchased locally or gifted. In this case the quantity "ordered" will also be entered into the database as the quantity received. *****
|
||||
Shaded fields can be used to do a "quick" receive, when items have been purchased locally or gifted. In this case the quantity "ordered" will also be entered into the database as the quantity received *****
|
||||
Shelf List *****
|
||||
Shopping Basket for *****
|
||||
Shopping Basket For *****
|
||||
|
|
@ -910,9 +892,9 @@ Size *****
|
|||
size=10 value=""> *****
|
||||
size=20 value=""> *****
|
||||
slip *****
|
||||
Sorry, Koha doesn't think you have permission for this page. *****
|
||||
Sorry, Koha doesn't think you have permission for this page *****
|
||||
Sorry, that barcode is already in use *****
|
||||
Sorry, your session has timed out. Please login again. *****
|
||||
Sorry, your session has timed out. Please login again *****
|
||||
Spent *****
|
||||
Staff *****
|
||||
Start date *****
|
||||
|
|
@ -940,7 +922,7 @@ Subtitle *****
|
|||
SubTotal *****
|
||||
SUBTOTALS *****
|
||||
Sundry *****
|
||||
supplier , *****
|
||||
supplier *****
|
||||
SUPPLIER INVOICE INFORMATION *****
|
||||
Supplier Invoice Number *****
|
||||
Supplier is *****
|
||||
|
|
@ -953,38 +935,35 @@ Syntax (z3950 can send records in various format. Choose one) *****
|
|||
System parameters *****
|
||||
System preferences *****
|
||||
System preferences admin *****
|
||||
System preferences. *****
|
||||
Sélectionnez la valeur pour le champ 700 $4. Elle sera automatiquement reportée dans la zone 700 $8 qui suit. *****
|
||||
T *****
|
||||
Sélectionnez la valeur pour le champ 700 $4. Elle sera automatiquement reportée dans la zone 700 $8 qui suit *****
|
||||
Tab *****
|
||||
tag *****
|
||||
Tag *****
|
||||
Teacher Reference *****
|
||||
test *****
|
||||
Test *****
|
||||
Text Messaging *****
|
||||
test *****
|
||||
Text messaging *****
|
||||
Text Messaging *****
|
||||
Thanks to *****
|
||||
The Amazing Apple Book by Paulette Bourgeois *****
|
||||
The biblio.biblionumber and biblioitems.biblioitemnumber fields MUST *****
|
||||
the biblioitems.itemtype field MUST *****
|
||||
The biography of a grizzly by Ernest Thompson Seton *****
|
||||
the branch table is empty. It must contain at least 1 value ! *****
|
||||
The breeding farm is a table where imported MARC records are stored. *****
|
||||
The breeding farm is a table where imported MARC records are stored. A MARC record is stored in the breeding farm as long as you have no item. When you type the ISBN or title of a biblio, it's searched for in the breeding farm. If it is found, the biblio is added to Koha active table and removed from the breeding farm *****
|
||||
The correspounding subfield MUST be in with -1 (ignore) tab *****
|
||||
the correspounding subfield MUST have authorised value=branches *****
|
||||
the correspounding subfield MUST have authorised_value=itemtype *****
|
||||
The differents branches you manage with this Koha server. *****
|
||||
The differents branches you manage with this Koha server *****
|
||||
The field itemnum MUST be mapped *****
|
||||
The following fields have a forbidden value. Please push the back button and try again *****
|
||||
The Great Mom Swap by Betsy Hanes at Main Library *****
|
||||
the items listed above. *****
|
||||
the items listed above *****
|
||||
the items.holdingbranch field MUST *****
|
||||
the items.homebranch field MUST *****
|
||||
the itemtypes table is empty. It must contain at least 1 value *****
|
||||
the koha-DB field linked to this subfield *****
|
||||
The monies allocated to your book funds. *****
|
||||
The total at the bottom of the page should be within a few cents of the total for the invoice. *****
|
||||
The total at the bottom of the page should be within a few cents of the total for the invoice *****
|
||||
Then select a previous shopping basket or create a new one. Note the basket will be attached to the user you've logged to *****
|
||||
Thesaurus *****
|
||||
Thesaurus category *****
|
||||
|
|
@ -994,31 +973,30 @@ Thesaurus search *****
|
|||
Thesaurus value builder for category *****
|
||||
This page is just a mock up *****
|
||||
This record is used times. Deletion not possible *****
|
||||
This table is used in MARC definition. You can define as many categories as you want, and as many authorised values as you want in each category. *****
|
||||
Tick ALL barcodes that changes are to apply too. Those left un-ticked will keep the original group record. *****
|
||||
This table is used in MARC definition. You can define as many categories as you want, and as many authorised values as you want in each category *****
|
||||
Tick ALL barcodes that changes are to apply too. Those left un-ticked will keep the original group record *****
|
||||
Till Reconciliation *****
|
||||
Title *****
|
||||
TITLE *****
|
||||
Title Search *****
|
||||
Title: *****
|
||||
To *****
|
||||
To "unmap", click ==> *****
|
||||
To add a new biblio/item, scan or type the ISBN/ISSN number *****
|
||||
to be picked up by ( *****
|
||||
to be picked up by *****
|
||||
to biblio number *****
|
||||
To change any of the catalogue or accounting information attached to an order, click on the title. *****
|
||||
To close off a shopping basket click on "view shopping baskets" or search above, and then click on "confirm basket". *****
|
||||
to continue to see Member Info. *****
|
||||
To change any of the catalogue or accounting information attached to an order, click on the title *****
|
||||
To close off a shopping basket click on "view shopping baskets" or search above, and then click on "confirm basket" *****
|
||||
to continue to see Member Info *****
|
||||
to Koha *****
|
||||
to Member Record *****
|
||||
To order an item you need to establish whether a biblio already exists for it, and either add an item, or set up a new biblio then add the item. *****
|
||||
To start an acquisition, whether an order, local purchase or donation first search on the supplier, Add a new one if needed. *****
|
||||
To order an item you need to establish whether a biblio already exists for it, and either add an item, or set up a new biblio then add the item *****
|
||||
To start an acquisition, whether an order, local purchase or donation first search on the supplier, Add a new one if needed *****
|
||||
Todays Issues *****
|
||||
Tools *****
|
||||
Total *****
|
||||
TOTAL *****
|
||||
TOTAL : *****
|
||||
Total *****
|
||||
Total Due *****
|
||||
Total due *****
|
||||
total number of Items *****
|
||||
Total Number of Items *****
|
||||
Total paid *****
|
||||
|
|
@ -1028,9 +1006,7 @@ Transfered Items *****
|
|||
Transfers *****
|
||||
Try another *****
|
||||
Type *****
|
||||
Type a borrower name, part of a name, or number in the field above and hit the *****
|
||||
Type in the box and press the enter key. *****
|
||||
U *****
|
||||
Type in the box and press the enter key *****
|
||||
UNIMARC *****
|
||||
UNIMARC constructeur champ 700-4 *****
|
||||
UNIMARC Field 100 builder *****
|
||||
|
|
@ -1038,26 +1014,25 @@ UNIMARC Field 225a builder *****
|
|||
unimarc_field_60X.pl *****
|
||||
unimarc_field_700_701_702.pl *****
|
||||
Unititle *****
|
||||
Update *****
|
||||
update *****
|
||||
Update *****
|
||||
Update Biblio for all Items *****
|
||||
Update this Website Link *****
|
||||
Updating the Biblio for only ONE or SOME Items *****
|
||||
Upload a set of MARC records *****
|
||||
Upload MARC records *****
|
||||
Upload MARC Records *****
|
||||
Upload MARC records *****
|
||||
Upper Age Limit *****
|
||||
Upperage limit *****
|
||||
URL *****
|
||||
Use your reload button [ctrl + r] to get the most recent figures. Committed figures are approximate only, as exchange rates will affect the amount actually paid. *****
|
||||
Use your reload button [ctrl + r] to get the most recent figures. Committed figures are approximate only, as exchange rates will affect the amount actually paid *****
|
||||
User Preferences *****
|
||||
Userid *****
|
||||
Using more fields for your search (eg Keyword + author + class) will slow it down. *****
|
||||
V *****
|
||||
Using more fields for your search (eg Keyword + author + class) will slow it down *****
|
||||
Val build *****
|
||||
Valid values. click OK to confirm this new borrower *****
|
||||
Value *****
|
||||
value *****
|
||||
Value *****
|
||||
Value builder *****
|
||||
value=" ">No Title *****
|
||||
value=""> *****
|
||||
|
|
@ -1073,7 +1048,6 @@ Volume *****
|
|||
Volume Date *****
|
||||
Volume Description *****
|
||||
Volume Info (for serials) *****
|
||||
W *****
|
||||
Waiting *****
|
||||
WAITING *****
|
||||
Website *****
|
||||
|
|
@ -1081,25 +1055,23 @@ Website Biblioitem Added *****
|
|||
Website URL *****
|
||||
WELCOME TO THE KOHA INTRANET *****
|
||||
WELCOME TO THE KOHA OPAC *****
|
||||
When you define the MARC subfield structure, you can link a subfield to an authorised-value category. When the user adds or modifies a biblio, the subfield is not entered through a free field, but though a list of authorised values. *****
|
||||
When you have finished this invoice save the changes. *****
|
||||
When you define the MARC subfield structure, you can link a subfield to an authorised-value category. When the user adds or modifies a biblio, the subfield is not entered through a free field, but though a list of authorised values *****
|
||||
When you have finished this invoice save the changes *****
|
||||
Word *****
|
||||
Words deleted during searches. *****
|
||||
Words deleted during searches *****
|
||||
Worked off *****
|
||||
wrap=physical cols=70 rows=3> *****
|
||||
X *****
|
||||
Y *****
|
||||
Year *****
|
||||
Yes *****
|
||||
YES *****
|
||||
yes *****
|
||||
YES *****
|
||||
Yes, See below *****
|
||||
YesNo *****
|
||||
You *****
|
||||
You are accessing Koha from a different ip address! Please login again. *****
|
||||
You are accessing Koha from a different ip address! Please login again *****
|
||||
You can enter a name for this import. It may be useful, when creating a biblio, to remember where the suggested MARC data comes from! *****
|
||||
You did not specify any seach criteria *****
|
||||
You entered an incorrect username or password. Please try again. *****
|
||||
You entered an incorrect username or password. Please try again *****
|
||||
You have error(s) in your MARC configuration. Please fix them before using koha *****
|
||||
You have the following books waiting to be picked up *****
|
||||
You have the following requests for items on loan *****
|
||||
|
|
@ -1109,7 +1081,6 @@ You Searched for *****
|
|||
You searched for *****
|
||||
You searched on *****
|
||||
Young Adult Fiction *****
|
||||
Z *****
|
||||
Z39.50 Search *****
|
||||
Z39.50 Server *****
|
||||
Z39.50 Servers *****
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -21,7 +21,7 @@ Cannot be Reserved Non r
|
|||
Cardnumber N° de carte
|
||||
Charges Charges
|
||||
City Ville
|
||||
class IGNORE
|
||||
class LIMITED;classe
|
||||
class="hilighted"> *****
|
||||
Classification Classification
|
||||
Clear All Fields Effacer
|
||||
|
|
@ -53,7 +53,7 @@ Home phone T
|
|||
Illus Illus
|
||||
Illustrator Illustrateur
|
||||
Impossible to set reserve because Impossible de réserver parce que
|
||||
in dans
|
||||
in en
|
||||
ISBN ISBN
|
||||
Item Exemplaire
|
||||
Item Count Nombre d'ouvrages
|
||||
|
|
@ -66,7 +66,7 @@ Itemtype Type d'ouvrage
|
|||
Jan Jan
|
||||
Jul Juill
|
||||
Jun Juin
|
||||
keyword mot-clef
|
||||
keyword LIMITED;mot-clef
|
||||
Koha Koha
|
||||
koha koha
|
||||
Koha home page Page d'accueil
|
||||
|
|
@ -78,8 +78,8 @@ Last seen Vu
|
|||
last Seen vu en dernier
|
||||
Library Card Carte lecteur
|
||||
Loan Length Durée prêt
|
||||
Location Localisation
|
||||
location localisation
|
||||
Location LIMITED:Localisation
|
||||
location LIMITED;Localisation
|
||||
Log In S'identifier
|
||||
Log In to Koha S'identifier
|
||||
Log Out Déconnecter
|
||||
|
|
@ -134,7 +134,7 @@ reserves already on this item. R
|
|||
Results Résultats
|
||||
Results through of records. résultats de à
|
||||
results found Réponses trouvées
|
||||
search IGNORE
|
||||
search LIMITED:chercher
|
||||
Search the catalogue Chercher dans le catalogue
|
||||
Sep Sep
|
||||
Serial Périodique
|
||||
|
|
@ -157,7 +157,7 @@ Title Titre
|
|||
to Koha à Koha
|
||||
Total Due Total dû
|
||||
Total Number of Items Nombre total d'exemplaires
|
||||
Try another Essayez un autre
|
||||
Try another Essayez une autre
|
||||
type type
|
||||
Unititle Titre unifié
|
||||
Update Record Mettre à jour
|
||||
|
|
|
|||
|
|
@ -116,8 +116,27 @@ sub install_strhash
|
|||
my $fh_in; my $fh_out; # handles for input and output files
|
||||
my $tmp_dir; # temporary directory name (used to create destination dir)
|
||||
|
||||
$out_dir =~ s/\/$//; # chops the trailing / if any.
|
||||
my $starttime = time();
|
||||
|
||||
$out_dir =~ s/\/$//; # chops the trailing / if any.
|
||||
foreach my $text (keys %{$strhash})
|
||||
{
|
||||
# escaping \|()[{}^$*+?.
|
||||
%{$strhash}->{$text} =~ s/\\/\\\\/g;
|
||||
%{$strhash}->{$text} =~ s/\|/\\\|/g;
|
||||
%{$strhash}->{$text} =~ s/\(/\\\(/g;
|
||||
%{$strhash}->{$text} =~ s/\)/\\\)/g;
|
||||
%{$strhash}->{$text} =~ s/\[/\\\[/g;
|
||||
%{$strhash}->{$text} =~ s/\]/\\\]/g;
|
||||
%{$strhash}->{$text} =~ s/\{/\\\{/g;
|
||||
%{$strhash}->{$text} =~ s/\}/\\\}/g;
|
||||
%{$strhash}->{$text} =~ s/\^/\\\^/g;
|
||||
%{$strhash}->{$text} =~ s/\$/\\\$/g;
|
||||
%{$strhash}->{$text} =~ s/\*/\\\*/g;
|
||||
%{$strhash}->{$text} =~ s/\+/\\\+/g;
|
||||
%{$strhash}->{$text} =~ s/\?/\\\?/g;
|
||||
# %{$strhash}->{$text} =~ s/\./\\\./g;
|
||||
}
|
||||
# Processes every entry found.
|
||||
foreach my $file (@{$in_files})
|
||||
{
|
||||
|
|
@ -129,6 +148,7 @@ sub install_strhash
|
|||
|
||||
# generates the name of the output file
|
||||
my $out_file = $file;
|
||||
my $out_file_tmp = $file.".tmp"; # used to check if file has changed or not.
|
||||
|
||||
if(!defined $in_dir)
|
||||
{
|
||||
|
|
@ -161,55 +181,89 @@ sub install_strhash
|
|||
}
|
||||
|
||||
# opens handle for output
|
||||
if( !open($fh_out, "> $out_file") )
|
||||
if( !open($fh_out, "> $out_file_tmp") )
|
||||
{
|
||||
warn "Can't write $out_file : $!\n";
|
||||
close($fh_in);
|
||||
next;
|
||||
}
|
||||
|
||||
print "Generating $out_file...\n";
|
||||
|
||||
my $lines;
|
||||
while(my $line = <$fh_in>)
|
||||
{
|
||||
foreach my $text (sort {uc($b) cmp uc($a) || length($b) <=> length($a)} keys %{$strhash})
|
||||
$lines.=$line;
|
||||
}
|
||||
foreach my $text (sort {length($b) <=> length($a) || uc($b) cmp uc($a) } keys %{$strhash})
|
||||
{
|
||||
# Test if the key has been translated
|
||||
if( %{$strhash}->{$text} != 1)
|
||||
{
|
||||
# escaping \|()[{}^$*+?.
|
||||
$text =~ s/\\/\\\\/g;
|
||||
$text =~ s/\|/\\\|/g;
|
||||
$text =~ s/\(/\\\(/g;
|
||||
$text =~ s/\)/\\\)/g;
|
||||
$text =~ s/\[/\\\[/g;
|
||||
$text =~ s/\]/\\\]/g;
|
||||
$text =~ s/\{/\\\{/g;
|
||||
$text =~ s/\}/\\\}/g;
|
||||
$text =~ s/\^/\\\^/g;
|
||||
$text =~ s/\$/\\\$/g;
|
||||
$text =~ s/\*/\\\*/g;
|
||||
$text =~ s/\+/\\\+/g;
|
||||
$text =~ s/\?/\\\?/g;
|
||||
$text =~ s/\?/\\\?/g;
|
||||
# Test if the key has been translated
|
||||
if( %{$strhash}->{$text} != 1 )
|
||||
# Does the file contains text that needs to be changed ?
|
||||
if( $lines =~ /$text/ && %{$strhash}->{$text} ne "IGNORE" )
|
||||
{
|
||||
# Does the line contains text that needs to be changed ?
|
||||
if( $line =~ /$text/ && %{$strhash}->{$text} ne "IGNORE")
|
||||
if (%{$strhash}->{$text} =~ "LIMITED")
|
||||
{
|
||||
# changing text
|
||||
my $subst = %{$strhash}->{$text};
|
||||
$line =~ s/(\W)$text(\W)/$1$subst$2/g;
|
||||
# escaping \|()[{}^$*+?.
|
||||
$text =~ s/\\/\\\\/g;
|
||||
$text =~ s/\|/\\\|/g;
|
||||
$text =~ s/\(/\\\(/g;
|
||||
$text =~ s/\)/\\\)/g;
|
||||
$text =~ s/\[/\\\[/g;
|
||||
$text =~ s/\]/\\\]/g;
|
||||
$text =~ s/\{/\\\{/g;
|
||||
$text =~ s/\}/\\\}/g;
|
||||
$text =~ s/\^/\\\^/g;
|
||||
$text =~ s/\$/\\\$/g;
|
||||
$text =~ s/\*/\\\*/g;
|
||||
$text =~ s/\+/\\\+/g;
|
||||
$text =~ s/\?/\\\?/g;
|
||||
$subst =~ s/^LIMITED;//g;
|
||||
$lines =~ s/(.*)>$text/$1>$subst/g;
|
||||
$lines =~ s/(.*) title="$text/$1 title="$subst/g;
|
||||
$lines =~ s/(.*) alt="$text/$1 alt="$subst/g;
|
||||
} else {
|
||||
# changing text
|
||||
my $subst = %{$strhash}->{$text};
|
||||
# escaping \|()[{}^$*+?.
|
||||
$text =~ s/\\/\\\\/g;
|
||||
$text =~ s/\|/\\\|/g;
|
||||
$text =~ s/\(/\\\(/g;
|
||||
$text =~ s/\)/\\\)/g;
|
||||
$text =~ s/\[/\\\[/g;
|
||||
$text =~ s/\]/\\\]/g;
|
||||
$text =~ s/\{/\\\{/g;
|
||||
$text =~ s/\}/\\\}/g;
|
||||
$text =~ s/\^/\\\^/g;
|
||||
$text =~ s/\$/\\\$/g;
|
||||
$text =~ s/\*/\\\*/g;
|
||||
$text =~ s/\+/\\\+/g;
|
||||
$text =~ s/\?/\\\?/g;
|
||||
$lines =~ s/(\W)$text(\W)/$1$subst$2/g;
|
||||
}
|
||||
}
|
||||
}
|
||||
$line =~ s/\<TMPL_(.*?)\>/\<\!-- TMPL_$1 --\>/g;
|
||||
$line =~ s/\<\/TMPL_(.*?)\>/\<\!-- \/TMPL_$1 --\>/g;
|
||||
# Writing the modified (or not) line to output
|
||||
printf($fh_out "%s", $line);
|
||||
}
|
||||
|
||||
$lines =~ s/\<TMPL_(.*?)\>/\<\!-- TMPL_$1 --\>/g;
|
||||
$lines =~ s/\<\/TMPL_(.*?)\>/\<\!-- \/TMPL_$1 --\>/g;
|
||||
# Writing the modified (or not) file to output
|
||||
printf($fh_out "%s", $lines);
|
||||
close($fh_in);
|
||||
close($fh_out);
|
||||
# check if fh_out and previous fh_out has changed or not.
|
||||
my $diff = `diff $out_file $out_file_tmp`;
|
||||
if ($diff) {
|
||||
print "WRITING : $out_file\n";
|
||||
unlink $out_file;
|
||||
system("mv $out_file_tmp $out_file");
|
||||
} else {
|
||||
print "no changes in $out_file\n";
|
||||
unlink $out_file_tmp;
|
||||
}
|
||||
}
|
||||
my $timeneeded = time() - $starttime;
|
||||
print "done in $timeneeded seconds\n";
|
||||
|
||||
}
|
||||
|
||||
########################################################
|
||||
|
|
@ -238,7 +292,7 @@ sub update_strhash
|
|||
{
|
||||
$str =~ s/[\n\r\f]+$//; # chomps the trailing \n (or <cr><lf> if file was edited with Windows)
|
||||
$str =~ s/^\s+//; # remove trailing blanks, ':' or '*'
|
||||
$str =~ s/\s*\**:*\s*$//;
|
||||
$str =~ s/[\s\*:\[*\(|\.,]*$//;
|
||||
|
||||
# the line begins with letter(s) followed by optional words and/or spaces
|
||||
if($str =~ /^[ ]*[\w]+[ \w]*/)
|
||||
|
|
@ -329,7 +383,7 @@ sub write_strhash
|
|||
}
|
||||
else
|
||||
{
|
||||
printf($fh "%s%s%s\n", $str, $split_char,"*****") unless ($str >0);
|
||||
printf($fh "%s%s%s\n", $str, $split_char,"*****") unless ($str >0 || length($str) eq 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
TRANSLATION TOOL :
|
||||
TRANSLATION TOOL , V2.0:
|
||||
============
|
||||
This transation tool should greatly help Koha translators.
|
||||
It's composed of 2 script :
|
||||
|
|
@ -15,7 +15,7 @@ HOW TO TRANSLATE Koha :
|
|||
============
|
||||
1- create your translation file :
|
||||
./tmpl_process.pl update -i /home/paul/koha.dev/koha/koha-tmpl/opac-tmpl/default/en/ -s opac.fr -r
|
||||
2- translate your opac.fr file (english & french being separated by a tab
|
||||
2- translate your opac.fr file (english & french being separated by a tab, using IGNORE and LIMITED pragmas, see below)
|
||||
3- create your translated version :
|
||||
./tmpl_process.pl install -i /home/paul/koha.dev/koha/koha-tmpl/opac-tmpl/default/en/ -o /home/paul/koha.dev/koha/koha-tmpl/opac-tmpl/default/fr2/ -s opac.fr -r
|
||||
4- copy images in your new directory (as they are NOT moved by tmpl_process.pl install)
|
||||
|
|
@ -38,8 +38,19 @@ Don't seem to have any side effect.
|
|||
- WORD exist in FILENAME
|
||||
words that are in the templates and in a perl script name are replaced !
|
||||
For example : Search is replace by Recherche in french, thus,giving <a href="cgi-bin/opac-Recherche.pl">, which is wrong...
|
||||
The only way I've found to solve this is to ignore any translation whose translation string is IGNORE
|
||||
(search is the only cas i've found in french opac)
|
||||
2 ways to solve this problem, IGNORE & LIMITED pragma.
|
||||
IGNORE :
|
||||
if a line in translation file is :
|
||||
this_original_string IGNORE
|
||||
it is ignored during translation.
|
||||
LIMITED :
|
||||
if a line in translation file is :
|
||||
this_original_string LIMITED;the_translation_string
|
||||
The string is translated only if :
|
||||
* has a > just before
|
||||
* has <space>title=" just before
|
||||
* has <space>alt=" just before.
|
||||
This prevent stupid replaces, at the cost of some missing translation maybe.
|
||||
|
||||
- MISSING STRINGS
|
||||
Maybe some strings that should be translated are missing.
|
||||
|
|
|
|||
Loading…
Reference in New Issue