Bug 11225: remove \n from some strings to be translated

Some strings in the serials module contain linebreaks \n that cause
problems in translation.

Test plan:
- Update your po file
- Verify that strings in serials/subscription-add.tt and
  serials/subscription-numberpatterns.tt are present and don't contain
  "\n" character.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Template only change, passes all tests and QA script.
Updated po files now contain only the strings and no line breaks.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
No regressions found. Passes koha-qa.pl and xt.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 860b99594f)
Signed-off-by: Fridolin SOMERS <fridolin.somers@biblibre.com>
This commit is contained in:
Jonathan Druart 2013-11-12 15:31:56 +01:00 committed by Fridolin SOMERS
parent e59e28c75e
commit aa5d08ee53
2 changed files with 7 additions and 7 deletions

View File

@ -256,24 +256,24 @@ function testPredictionPattern() {
var error = 0;
var error_msg = "";
if(frequencyid == undefined || frequencyid == ""){
error_msg += _("- Frequency is not defined\n");
error_msg += _("- Frequency is not defined") + "\n";
error ++;
}
acquidate = $("#acqui_date").val();
if(acquidate == undefined || acquidate == ""){
error_msg += _("- First publication date is not defined\n");
error_msg += _("- First publication date is not defined") + "\n";
error ++;
}
[% IF (more_than_one_serial) %]
var nextacquidate = $("#nextacquidate").val();
if(nextacquidate == undefined || nextacquidate == ""){
error_msg += _("- Next issue publication date is not defined\n");
error_msg += _("- Next issue publication date is not defined") + "\n";
error ++;
}
[% END %]
if(error){
alert(_("Cannot test prediction pattern for the following reason(s):\n\n")
alert(_("Cannot test prediction pattern for the following reason(s):") + "\n\n"
+ error_msg);
return false;
}

View File

@ -11,16 +11,16 @@
var error = 0;
var error_msg = "";
if(frequencyid == undefined || frequencyid == "") {
error_msg += _("- Frequency is not defined\n");
error_msg += _("- Frequency is not defined") + "\n";
error ++;
}
if(firstacquidate == undefined || firstacquidate == "") {
error_msg += _("- First publication date is not defined\n");
error_msg += _("- First publication date is not defined") + "\n";
error ++;
}
if(error){
alert(_("Cannot test prediction pattern for the following reason(s):\n\n")
alert(_("Cannot test prediction pattern for the following reason(s):") + "\n\n"
+ error_msg);
return false;
}