Bugzilla – Attachment 2249 Details for
Bug 4883
Problem translating \n (newline) with pootle.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch: remove \n from opac files
0001-Bug-4833-OPAC-remove-n-from-strings-for-translation.patch (text/plain), 2.47 KB, created by
Katrin Fischer
on 2010-06-17 20:00:56 UTC
(
hide
)
Description:
patch: remove \n from opac files
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2010-06-17 20:00:56 UTC
Size:
2.47 KB
patch
obsolete
>From 613ed312602f502bc5352b7280889e7dc0f89a67 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Sat, 5 Jun 2010 00:25:05 +0200 >Subject: [PATCH 1/2] Bug 4833: OPAC - remove \n from strings for translation >Content-Type: text/plain; charset="utf-8" > >--- > .../opac-tmpl/prog/en/modules/opac-shelves.tmpl | 6 +++--- > .../prog/en/modules/opac-suggestions.tmpl | 6 +++--- > 2 files changed, 6 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl >index 217993c..0e25c38 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl >@@ -129,14 +129,14 @@ $(function() { > var alertString2; > > if(f.addshelf.value.length ==0){ >- _alertString += _("- You must enter a List Name\n"); >+ _alertString += _("- You must enter a List Name") + "\n"; > } > > if (_alertString.length==0) { > document.Aform.submit(); > } else { >- alertString2 = _("Form not submitted because of the following problem(s)\n"); >- alertString2 += "------------------------------------------------------------------------------------\n\n"; >+ alertString2 = _("Form not submitted because of the following problem(s)"); >+ alertString2 += "\n------------------------------------------------------------------------------------\n\n"; > alertString2 += _alertString; > alert(alertString2); > } >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tmpl >index dfbd432..ab5b753 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tmpl >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tmpl >@@ -48,14 +48,14 @@ $.tablesorter.addParser({ > var alertString2; > > if(f.title.value.length ==0){ >- _alertString += _("- You must enter a Title\n"); >+ _alertString += _("- You must enter a Title") + "\n"; > } > > if (_alertString.length==0) { > f.submit(); > } else { >- alertString2 = _("Form not submitted because of the following problem(s)\n"); >- alertString2 += "------------------------------------------------------------------------------------\n\n"; >+ alertString2 = _("Form not submitted because of the following problem(s)"); >+ alertString2 += "\n------------------------------------------------------------------------------------\n\n"; > alertString2 += _alertString; > alert(alertString2); > } >-- >1.6.3.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 4883
:
2235
| 2249 |
2250