Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
Owen Leonard 2ac76aee66 Bug 26339: Move translatable strings out of addorderiso2709.tt into addorderiso2709.js
This patch moves strings defined for translation in addorderiso2709.tt
into addorderiso2709.js for translation using the new double-underscore
i81n function.

To test, apply the patch and go to Acquisitions -> Vendor -> Basket ->
Add orders from MARC file.

 - Click "Add orders" next to a staged file.
 - Without making any selections, click "Save." You should get an error,
   "There is no record selected."
 - Select a record and click "Save." You should get an error, "Some
   budgets are not defined in item records."
 - Enter a non-numeric value in the "Quantity" field and click "Save."
   You should get an error, "1 quantity values are not filled in or are
    not numbers."

TESTING TRANSLATABILITY

- Update a translation, e.g. fr-FR:

  > cd misc/translator
  > perl translate update fr-FR

- Open the corresponding .po file for JavaScript strings, e.g.
  misc/translator/po/fr-FR-messages-js.po
- Locate strings pulled from
  koha-tmpl/intranet-tmpl/prog/js/addorderiso2709.js for translation,
  e.g.:

  msgid "Some budgets are not defined in item records"
  msgstr ""

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

  > perl translate install fr-FR

- Switch to your newly translated language in the staff client
  and repeat the test plan above. The translated strings should
  appear.

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

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-09-29 14:28:18 +02:00
..
csv Bug 24161: Keep tracks of late orders claims 2020-05-04 09:44:44 +01:00
tables Bug 18480: Get rid of unwanted / distracting link in patron search for fund owner 2018-10-15 14:19:08 +00:00
acqui-home.tt Bug 25033: Display both local and all pending suggestions counts if the numbers differ 2020-08-25 11:31:40 +02:00
addorder.tt
addorderiso2709.tt Bug 26339: Move translatable strings out of addorderiso2709.tt into addorderiso2709.js 2020-09-29 14:28:18 +02:00
ajax.tt
basket.tt Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
basketgroup.tt Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
basketheader.tt Bug 23863: (QA follow-up) Add missing html filter 2019-10-24 10:56:17 +01:00
booksellers.tt Bug 24648: Contextualization of past tense 'Created' 2020-02-19 15:57:21 +00:00
cancelorder.tt Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
duplicate_orders.tt Bug 26234: Teach our KohaTable constructor the specific th classes 2020-08-19 08:24:04 +02:00
edi_ean.tt
edifactmsgs.tt Bug 23682: Add ability to manually import EDI invoices as an alternative to automatic importing on download 2020-09-03 15:00:48 +02:00
edimsg.tt
histsearch.tt Bug 26234: Teach our KohaTable constructor the specific th classes 2020-08-19 08:24:04 +02:00
invoice-files.tt Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
invoice.tt Bug 24157: Handle the case where logged in user does not have edit_invoices 2020-07-30 17:30:23 +02:00
invoices.tt Bug 24157: Handle the case where logged in user does not have edit_invoices 2020-07-30 17:30:23 +02:00
lateorders.tt Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
modordernotes.tt Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
neworderempty.tt Bug 25317: Move translatable strings out of additem.js.inc 2020-09-29 14:28:18 +02:00
neworderempty_duplicate.tt Bug 23958: Use Font Awesome icon to replace "new window" icon image 2019-11-27 09:25:16 +00:00
newordersubscription.tt Bug 11500: Use dateformat syspref and datepicker on additems.pl (and other item cataloguing pages) 2019-12-23 12:01:45 +00:00
newordersuggestion.tt Bug 25744: Replace <i> with <em> in staff interface 2020-09-18 11:08:35 +02:00
ordered.tt Bug 23983: Remove comment 2019-11-13 13:15:49 +00:00
orderreceive.tt Bug 25317: Move translatable strings out of additem.js.inc 2020-09-29 14:28:18 +02:00
parcel.tt Bug 17458: Remove use of datereceived from order receive page 2020-09-28 16:09:10 +02:00
parcels.tt Bug 22975: Remove type attribute from script tags: Acquisitions 2019-05-30 10:25:53 +00:00
showorder.tt Bug 24161: Keep tracks of late orders claims 2020-05-04 09:44:44 +01:00
spent.tt Bug 23983: Remove comment 2019-11-13 13:15:49 +00:00
supplier.tt Bug 24877: Add link from vendor to linked subscriptions 2020-03-24 11:28:32 +00:00
transferorder.tt Bug 24648: Contextualization of past tense 'Created' 2020-02-19 15:57:21 +00:00
uncertainprice.tt Bug 18177: remove aqbooksellers.booksellerurl 2020-03-27 12:15:47 +00:00
z3950_search.tt Bug 26014: Add publication year and edition to Z39.50 results in acquisition 2020-08-26 15:21:41 +02:00