Commit Graph

534 Commits

Author SHA1 Message Date
Bernardo Gonzalez Kriegel e7a95c986f Translation updates for 3.8.22 release 2014-01-22 12:44:02 -03:00
Bernardo Gonzalez Kriegel b5841929a4 Translation updates for 3.8.21 release 2013-12-26 22:08:49 -03:00
Bernardo Gonzalez Kriegel a71d506577 Translation updates for 3.8.20 release
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
2013-11-23 15:19:18 -03:00
Bernardo Gonzalez Kriegel 4b98a29f9c Translation updates for 3.8.19
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
2013-10-24 11:23:08 -03:00
Bernardo Gonzalez Kriegel af4be10904 Translation updates for 3.8.18
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
2013-09-21 23:12:36 -03:00
Bernardo Gonzalez Kriegel 0bcddd237b Translation updates for 3.8.17
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
2013-08-23 18:40:17 -03:00
Bernardo Gonzalez Kriegel 26e9da8b52 Translation updates for 3.8.15 2013-07-22 19:17:43 -03:00
Bernardo Gonzalez Kriegel 824932abd9 Language updates for 3.8.14 2013-07-06 14:14:52 -03:00
Chris Cormack a1e9c27353 Bug 6709 : Patch for testing translating .xml files
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Comment on second patch.
2013-06-06 21:29:05 +12:00
D Ruth Bavousett 0ab4b74ee5 Language update for 3.8.13 2013-05-22 21:55:22 -03:00
D Ruth Bavousett d38d769682 Language updates for 3.8.12 2013-04-24 00:56:27 -03:00
Will Stokes 60812239c2 Bug 7938: Added description of -v/--verbose parameter
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
"perldoc misc/translator/translate" looks good and now mentions
the -v option.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2013-03-30 20:23:33 +13:00
D Ruth Bavousett b2431a7f97 3.8.11 language updates 2013-03-22 00:07:01 -03:00
D Ruth Bavousett b95da65075 Updated translations for 3.8.10 2013-02-22 00:16:52 -03:00
D Ruth Bavousett eda2ec36d1 Language updates for 3.8.9 2013-01-22 16:33:02 -03:00
D Ruth Bavousett 4cf4e11faa Updated translations for 3.8.8 2012-12-22 12:15:03 -03:00
Frédéric Demians 19998368fe 3.8.7 Translation Update 2012-11-22 07:56:27 +01:00
Frédéric Demians 88b8d4385a 3.8.6 Translation Update 2012-10-22 07:00:07 +02:00
Frédéric Demians 17d5a085db 3.8.5 Translation Update 2012-09-22 08:03:45 +02:00
Frédéric Demians 6c7fc888f2 3.8.4 Translation Update 2012-08-21 13:08:29 +02:00
Frédéric Demians 87e292777c Koha 3.8.3 Translation Update 2012-07-20 20:07:33 +02:00
Jared Camins-Esakov f6e45171ba Bug 8384: Some Perl scripts do not compile
Fix syntax errors preventing the scripts misc/translator/text-extract2.pl
and misc/cronjobs/thirdparty/TalkingTech_itiva_inbound.pl from compiling.

Remove misc/migration_tools/build6xx.pl entirely since it refers to
columns that no longer exist in the Koha database, and has seemingly
had broken encoding since Koha switched from CVS to git (or before!).

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>

Conflicts:

	misc/cronjobs/thirdparty/TalkingTech_itiva_inbound.pl

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Rebased as the TalkingTech code doesn't exist in 3.8.x
2012-07-11 08:21:29 +12:00
Frédéric Demians 233c9250ba Koha 3.8.2 Translation Update 2012-06-21 19:27:11 +02:00
Frédéric Demians 81a000e007 Koha 3.8.1 Translation Update 2012-05-21 21:06:18 +02:00
Paul Poulain 3a4ea95fe6 fixing missing " in french syspref file 2012-04-23 12:40:16 +02:00
Frédéric Demians f47ad12f9d Koha 3.8.0 Translation Update 2012-04-21 20:02:22 +02:00
Paul Poulain d029ec835d Bug 7780: make silent/verbose flag for translation installing
This patch deal with the -v flag that you can put on translate script.
If you run without -v, the process should be silent
if you run with -v, the process should be verbose

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>

I've refactored your patch to handle verbosity directly via a translator
attribute, rather than with parameter which has to be send to each object call
method.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2012-03-26 11:01:40 +02:00
Frédéric Demians 35b344b609 Bug 6895 Diacritics in Pootle/po files are broken in source text
To test:

  git checkout 3.6.x
  cd misc/translator
  ./tmpl_process3.pl update -i ../../koha-tmpl/opac-tmpl/prog/en/ \
    -s ./po/fr-FR-i-opac-t-prog-v-3006000.po -r

  po/fr-FR-i-opac-t-prog-v-3006000.po contains broken diacritics for NORMARC
  strings for example

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
fixes regression caused by bug 6752
2012-02-27 11:21:50 +01:00
Colin Campbell 263dded818 Bug 6752: Be stricter with utf-8 encoding of output
use encoding(UTF-8) rather than utf-8 for stricter
encoding
Marking output as ':utf8' only flags the data as utf8
using :encoding(UTF-8) also checks it as valid utf-8
see binmode in perlfunc for more details
In accordance with the robustness principle input
filehandles have not been changed as code may make
the undocumented assumption that invalid utf-8 is present
in the imput
Fixes errors reported by t/00-testcritic.t
Where feasable some filehandles have been made lexical rather than
reusing global filehandle vars

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2012-01-27 12:11:06 +01:00
Marc Balmer d9f7922ad7 Bail out early if an invalid language is used.
Signed-off-by: Marc Balmer <marc@msys.ch>

http://bugs.koha-community.org/show_bug.cgi?id=7346
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2011-12-15 18:33:36 +01:00
Chris Cormack afaf7eaffa Bug 6895 : First attempt at fixing the diacritics bug
This is a fairly hacky solution, a counter patch would be more than
welcome

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Updated, translated and installed German po files after applying this patch.
No problems found.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2011-11-04 08:02:55 +01:00
Chris Cormack 69333c9f79 Moving po files to 3.6.0 filenames 2011-10-22 05:33:40 +13:00
Frédéric Demians 019173ad50 3.6.0 Translations update 2011-10-21 12:53:57 +02:00
Chris Cormack 873091dcc8 Bug 6958 : Fix for leading spaces being stripped on translation
This will re-add any leading spaces, so formatting is not messed

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
- all examples from the bug report are fixed now
- verified system preferences are still translated
- verified xslt displays are still translated
- verified javascript alerts are still translated
- verified switching languages works

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
2011-10-07 09:42:13 +13:00
Frédéric Demians a41100a445 Bug 6458 Template Toolkit files test case
This test validate Template Toolkit (TT) Koha files.

For the time being an unique validation is done: Test if TT files
contain TT directive within HTML tag. For example:

  <li[% IF

This kind of constuction MUST be avoided because it break Koha
translation process.

This patch transform also translation specific modules into C4 modules
in order to be able to use them in test case:

  C4::TTPaser
  C4::TmplToken
  C4::TmplTokenType

This patch is a Perl adaptation of a Haskell script from Frère Sébastien
Marie.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Notes on testing:
- translate install de-DE - worked ok
- translate update de-DE > translate install de-DE - worked ok
- running the test xt/tt_valid.t - worked ok and pointed out lots of problems.
Found no problems.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-08-18 21:11:50 +12:00
Frédéric Demians 2281350b6e Bug 6464 Check inconsistent placeholders in translated strings
Display a warning for strings that don't have the same count of %s placeholders
that the English original strings. Don't warn for not translated string and
'fuzzy' string because those strings are not installed, and this is the
translator responsability to examine them.

Based on Frère Sébastien Marie work.

Signed-off-by: Frère Sébastien Marie <semarie-koha@latrappe.fr>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-06-09 19:48:48 +12:00
Frédéric Demians e6b591d95f Improve error message when translation installation fails
For Translator Manager (myself...). A translation installation may fail because
translator hasn't enter properly string parameters (%s). With this patch, the
message ID is displayed not only the parameter.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-05-18 19:25:33 +12:00
Magnus Enger 00f5953924 Move nb-NO-i-staff-prog-v-3002000.po -> nb-NO-i-staff-t-prog-v-3002000.po
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-04-26 19:58:46 +12:00
Frédéric Demians 9c8e493d64 Update ALL Koha translation files 2011-04-22 11:31:36 +02:00
Chris Cormack 3e6ee930c8 Bug 5917 : Testing fixing utf8 for preferences po file
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-04-20 20:43:57 +12:00
Chris Cormack 3bd7461b63 Bug 5917 : Removing comments <!-- etc from the po file 2011-04-19 20:14:06 +12:00
Chris Cormack aed8bfab64 Bug 5917 : We need to catch the comments for the xslt to work 2011-04-19 17:15:17 +12:00
Chris Cormack e7caa309ed 5917 : Working on the translation script, fixing the line breakages 2011-04-19 16:13:29 +12:00
Chris Cormack 5574c350d4 Bug 5917 : Trimming leading spaces - Please test it seems to work ok
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-04-18 11:37:40 +12:00
Chris Cormack 48cc802e46 Bug 5917 : More tweaks to the translation
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-04-18 11:37:34 +12:00
Chris Cormack 1c5005beb2 Bug 5917 Trying to fix the js parsing for translation
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-04-14 13:36:26 +12:00
Chris Cormack 8df93d61bc Bug 5917 : Fix for xgettext.pl 2011-04-12 20:16:57 +12:00
Chris Cormack 3fdf627c19 Bug 5917 : Fix for translating XSLT
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-04-11 21:12:10 +12:00
Chris Cormack 241846c62c Bug 5917 : Fixing the translation script
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-04-11 20:37:31 +12:00
Chris Cormack 256cc9196c Bug 6085 : setting the binmode broke the files rather than fixing them
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-04-11 14:47:25 +12:00