Bugzilla – Attachment 4658 Details for
Bug 4497
Acq > Manage suggestions contains untranslated strings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Signed-off patch
0001-SIGNED-OFF-Bug-4497-Make-tabs-for-managing-suggestio.patch (text/plain), 2.49 KB, created by
Owen Leonard
on 2011-07-18 12:40:26 UTC
(
hide
)
Description:
Signed-off patch
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-07-18 12:40:26 UTC
Size:
2.49 KB
patch
obsolete
>From 805dcd8c068da6f5279277888420eaf3228d79d1 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Sun, 17 Jul 2011 20:53:29 +0200 >Subject: [PATCH] [SIGNED-OFF]Bug 4497: Make tabs for managing suggestions translatable >Content-Type: text/plain; charset="utf-8" > >This patch makes the tabs on the manage suggestion page translatable. > >To test: >- Create some suggestions in intranet or opac and manage them to make the >different status tabs appear: accecpted, pending, checked, rejected >- Apply patch, run 'perl translate update <languagecode>' >- Check po file for string '%s %sPending %sAccepted %sChecked %sRejected %sAvailable %sOrdered%s %s%s %sNo name%s (%s)' >- Translate it, save and run 'perl translate install <languagecode>' > >Tabs should now appear translated. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../prog/en/modules/suggestion/suggestion.tt | 10 +++++++++- > 1 files changed, 9 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >index 8bcf5cb..38d784f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >@@ -204,7 +204,15 @@ $(document).ready(function() { calcNewsuggTotal(); }); > <div id="suggestiontabs" class="toptabs"> > <ul class="ui-tabs-nav"> > [% FOREACH suggestion IN suggestions %] >-[% IF ( suggestion.first ) %]<li class="ui-tabs-selected">[% ELSE %]<li>[% END %]<a href="suggestion.pl#[% suggestion.suggestiontype %]">[% IF ( suggestion.suggestiontypelabel ) %][% suggestion.suggestiontypelabel %][% ELSE %]No name[% END %] ([% suggestion.suggestionscount %])</a></li> >+[% IF ( suggestion.first ) %]<li class="ui-tabs-selected">[% ELSE %]<li>[% END %]<a href="suggestion.pl#[% suggestion.suggestiontype %]">[% IF ( suggestion.suggestiontypelabel ) %] >+ [% IF (suggestion.suggestiontypelabel == "Pending") %]Pending >+ [% ELSIF (suggestion.suggestiontypelabel == "Accepted") %]Accepted >+ [% ELSIF (suggestion.suggestiontypelabel == "Checked") %]Checked >+ [% ELSIF (suggestion.suggestiontypelabel == "Rejected") %]Rejected >+ [% ELSIF (suggestion.suggestiontypelabel == "Available") %]Available >+ [% ELSIF (suggestion.suggestiontypelabel == "Ordered") %]Ordered[% ELSE %] >+ [% suggestion.suggestiontypelabel %][% END %] >+ [% ELSE %]No name[% END %] ([% suggestion.suggestionscount %])</a></li> > [% END %] > </ul> > </div> >-- >1.7.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 4497
:
2130
|
4646
| 4658