Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Caroline Cyr La Rose 96d50e45d0
Bug 31807: Context for translation: Filter (verb) vs. Filter (noun)
This patch add the context 'noun' to the 'Filter' string in
marc-overlay-rules.tt. This will separate that instance of 'Filter' from
the other ones, where it is meant as a verb.

To test:
1. Apply patch
2. Visit Administration > MARC overlay rules, make sure the page works
(no errors) and that there is a column called 'Filter'
3. Update the po files

gulp po:update --lang xx-XX

for example, gulp po:update --lang fr-CA

4. Check the xx-XX-messages.po file (e.g.
misc/translator/po/fr-CA-messages.po), there should be an entry for
'Filter', with a line msgctxt that gives the 'noun' context
5. Update the file with a random word for the 'Filter' translation
for example, I translated 'Filter' by 'Filter as a noun', just to see
the difference

\#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt:83
msgctxt "noun"
msgid "Filter"
msgstr "Filter as a noun"

6. Install a new language
6.1. Run the following commands in the terminal, replacing xx-XX with
the language code (e.g. fr-CA)

cd misc/translator
./translate install xx-XX

6.2. In the Koha staff interface, go to Administration > Global system
preferences
6.3. Search for language
6.4. Check the box next to the new language
6.5. Save

7. View the MARC overlay rules page in the new language, the 'Filter'
column heading should be whatever you put in step 5

Optional test
8. In the staff interface in English, view one or more of these pages,
the 'Filter' should be unchanged
- Acquisitions > Late orders (Filter button)
- Aquisitions > Search for vendor > Receive shipments (Filter heading on
the left and Filter button)
- Acquisitions > Search for vendor > Click vendor's name > Uncertain
prices (Filter button)
- Administration > Budgets > Click budget's name > Planning > Plan by
... (any option) (Filter heading on the left)
- Reports > Use saved (Filter heading on the left)
- Reports > Acquisitions statistics wizard (Filter column heading)
- Reports > Patrons statistics wizard (Filter column heading)
- Reports > Catalog statistics wizard (Filter column heading)
- Reports > Circulation statistics wizard (Filter column heading)
- Reports > Holds statistics wizard (Filter column heading)
- Reports > Average loan time (Filter column heading)
- Tools > News (Filter heading on the left)

9. View these same pages in the other language, the Filter should NOT be
changed to whatever you put in step 5

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-10-17 08:10:23 -03:00
..
preferences Bug 31257: Add a new English 1 page layout to export basketgroup 2022-10-11 10:44:10 -03:00
searchengine/elasticsearch Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
additional-fields.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
admin-home.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
adveditorshortcuts.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
aqbudgetperiods.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
aqbudgets.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
aqcontract.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
aqplan.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
audio_alerts.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
auth_subfields_structure.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
auth_tag_structure.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
authorised_values.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
authtypes.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
background_jobs.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
biblio_framework.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
branch_transfer_limits.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
branches.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
cash_registers.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
categories.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
checkmarc.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
cities.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
classsources.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
clone-rules.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
columns_settings.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
credit_types.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
curbside_pickup.tt
currency.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
debit_types.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
desks.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
didyoumean.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
edi_accounts.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
edi_ean_accounts.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
item_circulation_alerts.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
items_search_field.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
items_search_fields.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
itemtypes.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
koha2marclinks.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
library_groups.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
localization.tt
marc-overlay-rules.tt Bug 31807: Context for translation: Filter (verb) vs. Filter (noun) 2022-10-17 08:10:23 -03:00
marc_subfields_structure.tt Bug 31724: Remove 'i' from breadcrumb when deleting a MARC framework subfield 2022-10-14 09:32:09 -03:00
marctagstructure.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
matching-rules.tt Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
oai_set_mappings.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
oai_sets.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
overdrive.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
patron-attr-types.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
preferences.tt Bug 31758: Add page-section div around subsections 2022-10-17 07:59:29 -03:00
restrictions.tt Bug 23681: Move to ::Patron::Restriction::Type(s) 2022-08-25 08:50:35 -03:00
share_content.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
smart-rules.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
sms_providers.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
smtp_servers.tt Bug 31412: Add focus to 'name' on SMTP Servers 2022-10-03 08:21:48 -03:00
sru_modmapping.tt
sru_modmapping_auth.tt
systempreferences.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
transfer_limits.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
transport-cost-matrix.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
usage_statistics.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00
z3950servers.tt Bug 30952: (follow-up) Undo change to Home breadcrumb 2022-10-12 16:00:45 -03:00