Bugzilla – Attachment 19786 Details for
Bug 7598
Acquisitions JavaScript contains untranslatable English strings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7598 [Follow-up] Acquisitions JavaScript contains untranslatable English strings
Bug-7598-Follow-up-Acquisitions-JavaScript-contain.patch (text/plain), 2.27 KB, created by
Jonathan Druart
on 2013-07-19 07:39:05 UTC
(
hide
)
Description:
Bug 7598 [Follow-up] Acquisitions JavaScript contains untranslatable English strings
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-07-19 07:39:05 UTC
Size:
2.27 KB
patch
obsolete
>From 0bd167f51acfaf7c201eeaf1d38411cf459d3493 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 18 Jul 2013 11:30:35 -0400 >Subject: [PATCH] Bug 7598 [Follow-up] Acquisitions JavaScript contains > untranslatable English strings > >This follow-up addresses QA comments and moves punctuation and line >breaks out of the string to be translated. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > koha-tmpl/intranet-tmpl/prog/en/js/acq.js | 8 +------- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt | 5 +++-- > 2 files changed, 4 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/acq.js b/koha-tmpl/intranet-tmpl/prog/en/js/acq.js >index b1fdf58..9997768 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/acq.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/acq.js >@@ -35,12 +35,6 @@ function isNull(f,noalert) { > return true; > } > >- >- >- >- >- >- > //Function returns false if v is not a number (if maybenull is 0, it also returns an error if the number is 0) > function isNum(v,maybenull) { > var n = new Number(v.value); >@@ -822,7 +816,7 @@ if ( newBudgetParent ) { url += '&parent_id=' + newBudgetParent}; > if (result == '1') { > return MSG_BUDGET_PARENT_ALLOCATION; > } else if (result == '2') { >- return MSG_BUDGET_PARENT_ALLOCATION; >+ return MSG_BUDGET_PERIOD_ALLOCATION; > } else { > return false; > } >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >index 44106ae..82a6647 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >@@ -3,8 +3,9 @@ > [% INCLUDE 'doc-head-close.inc' %] > <script type="text/javascript"> > //<![CDATA[ >-var MSG_BUDGET_PARENT_ALLOCATION = _("- Fund amount exceeds parent allocation\n"); >-var MSG_PARENT_BENEATH_BUDGET = _("- New budget-parent is beneath budget\n"); >+var MSG_BUDGET_PARENT_ALLOCATION = "- " + _("Fund amount exceeds parent allocation") + "\n"; >+var MSG_BUDGET_PERIOD_ALLOCATION = "- " + _("Fund amount exceeds period allocation") + "\n"; >+var MSG_PARENT_BENEATH_BUDGET = "- " + _("New budget-parent is beneath budget") + "\n"; > //]]> > </script> > >-- >1.7.10.4
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 7598
:
19580
|
19686
|
19772
|
19785
| 19786