Bugzilla – Attachment 147505 Details for
Bug 33076
Add context to "Quotes"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33076: Add context to "Quotes"
Bug-33076-Add-context-to-Quotes.patch (text/plain), 2.53 KB, created by
Owen Leonard
on 2023-02-28 16:39:21 UTC
(
hide
)
Description:
Bug 33076: Add context to "Quotes"
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-02-28 16:39:21 UTC
Size:
2.53 KB
patch
obsolete
>From 6a444eedc367b167709a70277094079bba6a1b12 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Mon, 27 Feb 2023 22:13:01 +0000 >Subject: [PATCH] Bug 33076: Add context to "Quotes" > >A quote as a part of quoted text and a quote as >part of the acquisition process need to be >translated differently at least in German. >This patch adds context to the terms, so we can >do that. > >To test: >* Go to Tools > Quote editor >* Verify the heading of the page reads "Quotes" >* Enable EDIFACT system preference >* Go to Administration > EDI accounts >* Add a new account save >* Verify the table heading reads "Quotes" >* Apply patch - nothing should change > >Verify the translation process: >* Run: gulp po:update --lang de-DE >* Verify the "Quotes" appear now separated by > different context in > misc/translator/po/de-DE-messages.po > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt | 3 ++- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt | 3 ++- > 2 files changed, 4 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt >index a2ba4f05017..1db6627fdc8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt >@@ -1,6 +1,7 @@ > [% USE raw %] > [% USE Koha %] > [% USE Asset %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] > <title> >@@ -319,7 +320,7 @@ EDI accounts › Administration › Koha > <th>Qualifier</th> > <th>SAN</th> > <th>Standard</th> >- <th>Quotes</th> >+ <th>[% tp('price offers', 'Quotes') | html %]</th> > <th>Orders</th> > <th>Invoices</th> > <th>Responses</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt >index d0d9783ab2a..b96a596ecd9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt >@@ -1,5 +1,6 @@ > [% USE raw %] > [% USE Asset %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Quote editor › Tools › Koha</title> >@@ -104,7 +105,7 @@ > [% END %] > > [% IF op == 'list' %] >- <h1>Quotes</h1> >+ <h1>[% tp('citations', 'Quotes') | html %]</h1> > [% IF quotes_count > 0 %] > <div class="page-section"> > <table id="quotes"> >-- >2.30.2
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 33076
:
147474
|
147505
|
148234
|
148388