https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40510

Emmi Takkinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #184905|0                           |1
        is obsolete|                            |
                 CC|                            |[email protected]

--- Comment #2 from Emmi Takkinen <[email protected]> ---
Created attachment 186554
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186554&action=edit
Bug 40510: Add context to the word "More" in several templates

This patch updates several templates to use internationalization
template functions to add context to the word "More." This gives
translators information about the context of the word.

To test, apply the patch and test that the correct strings are
translatable. In this example I'm testing fr-FR:

- Update a translation:

> gulp po:update
> cd misc/translator
> perl translate update fr-FR

- Open the corresponding .po file for the strings which were
  updated e.g.  misc/translator/po/fr-FR-messages.po
- Locate instances of the string 'msgid "More"', for example:

  #: koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_providers.tt:308
  msgctxt "Show more information"
  msgid "More"
  msgstr ""

- Edit each of the three instances of the "msgstr" string however you
  want (it's just for testing)
- Install the updated translation:

> perl translate install fr-FR

- In the staff interface, switch to the updated translation and confirm
  that your translations appear:
  - In the header menu
  - In the toolbar shown on a patron checkout or detail page
  - In Acquisitions -> Invoices -> Invoice search results ->
    - Click the invoice number
    - Follow the "Go to receipt page" link
    - If necessary, receive a pending order so that the "Already
      received" table appears.
    - Confirm that your translated string appears as a column header
  - Go to Administration -> Identity providers
    - Edit an identity provider
    - Under "Advanced configuration" you should see your translated
      string as a link to show more information about the fields.
    - Click the "Manage domains" link for an identity provider.
    - Edit a domain.
    - You should see your translated string as a link to show more
      information under the "Domain" field.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Emmi Takkinen <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to