Bugzilla – Attachment 36004 Details for
Bug 13350
Untranslatable strings in aqbudgetperiods.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13350 - Untranslatable strings in aqbudgetperiods.tt
Bug-13350---Untranslatable-strings-in-aqbudgetperi.patch (text/plain), 3.46 KB, created by
Héctor Eduardo Castro Avalos
on 2015-02-18 20:54:06 UTC
(
hide
)
Description:
Bug 13350 - Untranslatable strings in aqbudgetperiods.tt
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2015-02-18 20:54:06 UTC
Size:
3.46 KB
patch
obsolete
>From e7e5b3243f631413bdbe8e912e2531fbe0ecffc5 Mon Sep 17 00:00:00 2001 >From: Hector Castro <hector.hecaxmmx@gmail.com> >Date: Wed, 18 Feb 2015 14:34:42 -0600 >Subject: [PATCH] Bug 13350 - Untranslatable strings in aqbudgetperiods.tt >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch fix a few untranslatable strings in aqbudgetperiods.tt. >Style not pretty but work. The section modified is BREADCRUMBS. >This patch adds html tags to be recognized by misc/translator/translate script. > >Test plan >--------------- >1) Use another language (not English) >2) Go to More > Administration > Budgets. Notice that "> Budgets administration" is untranslatable in the Navigation section. >3) Try to create a New budget. Notice the same happens as previous step. >4) Try delete, edit, duplicate, and close a budget. The result is the same. >5) Apply the patch. >6) Run perl translate update xx-XX (in my case es-ES) >7) Edit es-ES-i-staff-t-prog-v-3006000.po >8) Get notice that a new lines has been adhered to po file. >9) Run perl translate install es-ES >10) Go to Global system preferences and search for "language" in I18N/L10N preferences. Enable Español(es-ES). >11) Follow step 2 and 3 and notice that the strings were translated. > >Sponsored-by: Universidad de El Salvador > >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> >--- > .../intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >index 6e78916..a276746 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >@@ -225,7 +225,7 @@ > Modify budget <i>[% budget_period_description %]</i> > > [% ELSE %] >- Add budget >+ <strong>Add budget</strong> > [% END %] > [% END %] > >@@ -234,14 +234,14 @@ > [% IF ( delete_confirm ) %] > <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a> › > [% IF ( total ) %] >- Cannot delete budget '[% budget_period_description %]' >+ Cannot delete budget <i>'[% budget_period_description %]'</i> > [% ELSE %] >- Delete budget '[% budget_period_description %]'? >+ Delete budget <i>'[% budget_period_description %]'?</i> > [% END %] > [% END %] > <!-- duplicate a budget --> > [% IF ( duplicate_form ) %] >- <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a> › Duplicate budget >+ <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a> › <strong>Duplicate budget</strong> > [% END %] > > <!-- close a budget --> >@@ -253,12 +253,12 @@ > <!-- budget closed --> > [% IF closed %] > <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a> › >- Budget <a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% budget_period_id %]">[% budget_period_description %]</a> closed >+ Budget <a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% budget_period_id %]">[% budget_period_description %]</a> <strong>closed</strong> > [% END %] > <!-- display budget periods list --> > <!-- ########################################## --> > [% IF ( else ) %] >- Budgets administration >+ <strong>Budgets administration</strong> > [% END %] > </div> > >-- >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 13350
:
36003
|
36004
|
36407
|
36634
|
36639
|
36772