Bug 27416: Make "Modify tag" and "Add tag" translatable
Those two strings are not translatable as they are passed from the controller. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> (cherry picked from commit4491cdd803) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit054428a57d) Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> (cherry picked from commitae21f41f48) Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
This commit is contained in:
parent
9e2a328d48
commit
43021f62a5
|
|
@ -95,10 +95,8 @@ if ($op eq 'add_form') {
|
|||
|
||||
if ($searchfield) {
|
||||
$template->param(searchfield => $searchfield);
|
||||
$template->param(action => "Modify tag");
|
||||
$template->param('heading_modify_tag_p' => 1);
|
||||
} else {
|
||||
$template->param(action => "Add tag");
|
||||
$template->param('heading_add_tag_p' => 1);
|
||||
}
|
||||
$template->param('use_heading_flags_p' => 1);
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Koha › Administration ›
|
||||
[% IF ( add_form ) %]MARC frameworks › [% action | html %] [% searchfield | html %][% END %]
|
||||
[% IF ( add_form ) %]MARC frameworks › [% IF heading_add_tag_p %]Add tag[% ELSE %]Modify tag[% END %] [% searchfield | html %][% END %]
|
||||
[% IF ( delete_confirm ) %]MARC frameworks › Confirm deletion of tag '[% searchfield | html %]'[% END %]
|
||||
[% IF ( delete_confirmed ) %]MARC frameworks › Data deleted[% END %]
|
||||
[% IF ( else ) %]MARC frameworks[% END %]</title>
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
› <a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC frameworks</a>
|
||||
[% IF ( add_form ) %]
|
||||
› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% framework.frameworkcode | uri %]">[% IF framework %][% framework.frameworktext | html %] ([% framework.frameworkcode | html %])[% ELSE %]Default MARC framework[% END%]</a>
|
||||
› [% action | html %] [% searchfield | html %]
|
||||
› [% IF heading_add_tag_p %]Add tag[% ELSE %]Modify tag[% END %] [% searchfield | html %]
|
||||
[% ELSIF ( else ) %]
|
||||
› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% framework.frameworkcode | uri %]">[% IF framework %][% framework.frameworktext | html %] ([% framework.frameworkcode | html %])[% ELSE %]Default MARC framework[% END %]</a>
|
||||
[% ELSIF ( delete_confirm ) %]
|
||||
|
|
@ -49,9 +49,16 @@
|
|||
|
||||
<form action="[% script_name | html %]" name="Aform" method="post" class="validated">
|
||||
|
||||
<fieldset class="rows"><legend>[% IF ( use_heading_flags_p ) %][% IF ( heading_modify_tag_p ) %]Modify tag <input type="hidden" name="modif" value="1" />[% searchfield | html %][% END %][% IF ( heading_add_tag_p ) %]Add tag[% END %][% ELSE %][% action | html %][% END %]</legend> <input type="hidden" name="op" value="add_validate" />
|
||||
<input type="hidden" name="frameworkcode" value="[% framework.frameworkcode | html %]" />
|
||||
|
||||
<fieldset class="rows">
|
||||
<legend>
|
||||
[% IF heading_add_tag_p %]
|
||||
Add tag
|
||||
[% ELSE %]
|
||||
Modify tag <input type="hidden" name="modif" value="1" />[% searchfield | html %]
|
||||
[% END %]
|
||||
</legend>
|
||||
<input type="hidden" name="op" value="add_validate" />
|
||||
<input type="hidden" name="frameworkcode" value="[% framework.frameworkcode | html %]" />
|
||||
<ol>
|
||||
<li>
|
||||
[% IF ( heading_modify_tag_p ) %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue