Bugzilla – Attachment 19626 Details for
Bug 10170
non translatable strings in manage-marc-import (actions and table values)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 10170: strings in MARC import made translatable
PASSED-QA-Bug-10170-strings-in-MARC-import-made-tr.patch (text/plain), 5.81 KB, created by
Katrin Fischer
on 2013-07-14 11:44:36 UTC
(
hide
)
Description:
[PASSED QA] Bug 10170: strings in MARC import made translatable
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-07-14 11:44:36 UTC
Size:
5.81 KB
patch
obsolete
>From 0cb000be0718321e4679e94904af8da24ae74551 Mon Sep 17 00:00:00 2001 >From: Adrien Saurat <adrien.saurat@biblibre.com> >Date: Thu, 2 May 2013 16:56:54 +0200 >Subject: [PATCH] [PASSED QA] Bug 10170: strings in MARC import made > translatable > >Following bug 9215: non translatable strings are now >present in the template and translatable > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> > >Not only does this make the strings translatable it makes the template >a lot easier to read >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >All tests pass. >--- > .../prog/en/modules/tools/manage-marc-import.tt | 78 ++++++++++++++++++-- > 1 file changed, 70 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >index 5b0e3a2..74f2ef8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >@@ -168,14 +168,58 @@ $(document).ready(function(){ > No matching rule in effect > [% END %][% END %] > </li> >- <li>[% IF ( can_commit ) %] <label for="overlay_action">Action if matching record found:</label> >- [% INCLUDE 'tools-overlay-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_overlay_action">Reset</a></span>[% ELSE %]<span class="label">Action if matching record found:</span>[% overlay_action %][% END %]</li> >+ <li> >+ [% IF ( can_commit ) %] >+ <label for="overlay_action">Action if matching record found:</label> >+ [% INCLUDE 'tools-overlay-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_overlay_action">Reset</a></span> >+ [% ELSE %] >+ <span class="label">Action if matching record found:</span> >+ [% IF ( overlay_action == 'replace' ) %] >+ Replace existing record with incoming record >+ [% ELSIF ( overlay_action == 'create_new' ) %] >+ Add incoming record >+ [% ELSIF ( overlay_action == 'ignore' ) %] >+ Ignore incoming record (its items may still be processed) >+ [% ELSE %] >+ [% overlay_action %] >+ [% END %] >+ [% END %]</li> > >- <li>[% IF ( can_commit ) %]<label for="nomatch_action">Action if no match found:</label> >- [% INCLUDE 'tools-nomatch-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_nomatch_action">Reset</a></span>[% ELSE %]<span class="label">Action if no match found:</span>[% nomatch_action %][% END %]</li> >+ <li> >+ [% IF ( can_commit ) %] >+ <label for="nomatch_action">Action if no match found:</label> >+ [% INCLUDE 'tools-nomatch-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_nomatch_action">Reset</a></span> >+ [% ELSE %] >+ <span class="label">Action if no match found:</span> >+ [% IF ( nomatch_action == 'create_new' ) %] >+ Add incoming record >+ [% ELSIF ( nomatch_action == 'ignore' ) %] >+ Ignore incoming record (its items may still be processed) >+ [% ELSE %] >+ [% nomatch_action %] >+ [% END %] >+ [% END %] >+ </li> > >- <li>[% IF ( can_commit ) %]<label for="item_action">Item processing:</label> >- [% INCLUDE 'tools-item-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_item_action">Reset</a></span>[% ELSE %]<span class="label">Item processing:</span>[% item_action %][% END %]</li> >+ <li> >+ [% IF ( can_commit ) %] >+ <label for="item_action">Item processing:</label> >+ [% INCLUDE 'tools-item-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_item_action">Reset</a></span> >+ [% ELSE %] >+ <span class="label">Item processing:</span> >+ [% IF ( item_action == 'always_add' ) %] >+ Always add items >+ [% ELSIF ( item_action == 'add_only_for_matches' ) %] >+ Add items only if matching bib was found >+ [% ELSIF ( item_action == 'add_only_for_new' ) %] >+ Add items only if no matching bib was found >+ [% ELSIF ( item_action == 'ignore' ) %] >+ Ignore items >+ [% ELSE %] >+ [% item_action %] >+ [% END %] >+ [% END %] >+ </li> > </ol> > [% IF ( can_commit ) %]<fieldset class="action"><input type="submit" value="Apply different matching rules" class="button" /></fieldset></form>[% END %] > </fieldset> >@@ -342,8 +386,26 @@ Page > [% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %] > <td>[% record_lis.record_sequence %]</td> > <td><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% record_lis.import_record_id %]" rel="gb_page_center[600,500]">[% record_lis.citation %]</a></td> >- <td>[% record_lis.status %]</td> >- <td>[% record_lis.overlay_status %]</td> >+ <td> >+ [% IF ( record_lis.status == 'imported' ) %] >+ Imported >+ [% ELSIF ( record_lis.status == 'ignored' ) %] >+ Ignored >+ [% ELSIF ( record_lis.status == 'reverted' ) %] >+ Reverted >+ [% ELSE %] >+ [% record_lis.status %] >+ [% END %] >+ </td> >+ <td> >+ [% IF ( record_lis.overlay_status == 'no_match' ) %] >+ No match >+ [% ELSIF ( record_lis.overlay_status == 'match_applied' ) %] >+ Match applied >+ [% ELSE %] >+ [% record_lis.overlay_status %] >+ [% END %] >+ </td> > <td>[% IF ( record_lis.final_match_id ) %] > [% PROCESS final_match_link record=record_lis %] > [% END %] >-- >1.7.9.5
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 10170
:
17880
|
17900
|
17917
|
18020
|
18257
|
19496
| 19626 |
19627