Bugzilla – Attachment 34176 Details for
Bug 13400
Untranslatable "Are you sure you want to delete this authority?"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13400 - Untranslatable "Are you sure you want to delete this authority?"
Bug-13400---Untranslatable-Are-you-sure-you-want-t.patch (text/plain), 1.98 KB, created by
Marc Véron
on 2014-12-08 15:27:20 UTC
(
hide
)
Description:
Bug 13400 - Untranslatable "Are you sure you want to delete this authority?"
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2014-12-08 15:27:20 UTC
Size:
1.98 KB
patch
obsolete
>From bd613e063c69921a09f6092a96b7c936e1bf6a69 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Mon, 8 Dec 2014 03:55:15 +0100 >Subject: [PATCH] Bug 13400 - Untranslatable "Are you sure you want to delete > this authority?" > >This patch makes the string "Are you sure you want to delete this authority?" translatable using the function _(...) > >To test, apply patch and check that deleting authorities still works. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt | 2 +- > .../intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt | 3 +-- > 2 files changed, 2 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt >index 427e6b0..561ac96 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt >@@ -32,7 +32,7 @@ > }); > > function confirm_deletion() { >- var is_confirmed = confirm('Are you sure you want to delete this authority?'); >+ var is_confirmed = confirm(_('Are you sure you want to delete this authority?')); > if (is_confirmed) { > window.location="authorities-home.pl?op=delete&authid=[% authid %]"; > } >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt >index ebe5491..90da56e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt >@@ -5,8 +5,7 @@ > <script type="text/javascript" > > //<![CDATA[ > function confirm_deletion(id) { >- >- var is_confirmed = confirm('Are you sure you want to delete this authority?'); >+ var is_confirmed = confirm(_('Are you sure you want to delete this authority?')); > if (is_confirmed) { > window.location="authorities-home.pl?op=delete" > + "&authid=" + id >-- >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 13400
:
34176
|
34278
|
34346
|
34347
|
34348