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>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Katrin Fischer 2023-02-27 22:13:01 +00:00 committed by Tomas Cohen Arazi
parent c07ada6c85
commit 2413ab7e79
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,7 @@
[% USE raw %]
[% USE Koha %]
[% USE Asset %]
[% PROCESS 'i18n.inc' %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>
@ -305,7 +306,7 @@ EDI accounts &rsaquo; Administration &rsaquo; 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>

View file

@ -1,5 +1,6 @@
[% USE raw %]
[% USE Asset %]
[% PROCESS 'i18n.inc' %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Quote editor &rsaquo; Tools &rsaquo; 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">