Bug 15117

Summary: There is no translation of confirm dialog when transfering a basket
Product: Koha Reporter: Genevieve Plantin <genevieve.plantin>
Component: I18N/L10NAssignee: Marc Véron <veron>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: eric.begin, f.demians, francois.charbonnier, genevieve.plantin, jonathan.druart, liz, philippe.blouin, tomascohen, veron
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 15117: Transfer Order: Better user information and translation handling
Bug 15117: Transfer Order: Better user information and translation handling
Bug 15117: Transfer Order: Better user information and translation handling

Description Genevieve Plantin 2015-11-03 21:21:16 UTC
The popup confirm dialog that shows "Do you want to transfer order [% ordernumber %] from       basket [% basketfromname %] ([% booksellerfromname %]) to basket [% basket.basketname %] ([% booksellertoname %]) ?" in the transferorder.tt file is not translated.
Comment 1 Marc Véron 2015-11-04 09:37:49 UTC Comment hidden (obsolete)
Comment 2 Frédéric Demians 2015-11-06 06:45:01 UTC Comment hidden (obsolete)
Comment 3 Jonathan Druart 2015-11-06 11:13:12 UTC
Created attachment 44547 [details] [review]
Bug 15117: Transfer Order: Better user information and translation handling

While transferring an order, a untranslatable JavaScript confirmation
dialog pops up.

This patch moves the information about the order to be transferred to the
top of the screen to better inform the user what order is to be transferred,
and simplifies the confirmation dialog.

To test:
- Apply patch
- Transfer an order from a basket to another basket
- Verify, that on top of the screen an information is displayed about which
  order from which vendor and basket is to be transferred
- Verify that the transfer works OK
- Update a po lang file and confirm you see the string and you are able
  to translate it.

Signed-off-by: Frederic Demians <f.demians@tamil.fr>
  Dialog box with readable & translatable info.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 4 Jonathan Druart 2015-11-06 11:14:28 UTC
Marc, why did not you keep the original wording?
Comment 5 Marc Véron 2015-11-06 11:18:54 UTC
(In reply to Jonathan Druart from comment #4)
> Marc, why did not you keep the original wording?

For the JS confirmation? - Because the information about "from where / where to" now is displayed on the screen. But I'm not against it if you restore it in a follow up.
Comment 6 Jonathan Druart 2015-11-06 11:27:10 UTC
I am sure we could improve it, even if the info are on the page "Transfer order to this basket" sounds a bit rude :)
Comment 7 Tomás Cohen Arazi (tcohen) 2015-11-06 15:12:54 UTC
Patch pushed to master.

Thanks Marc!
Comment 8 Frédéric Demians 2015-11-29 20:25:31 UTC
This patch has been pushed to 3.20.x, will be in 3.20.6.
Comment 9 Liz Rea 2016-01-06 21:18:53 UTC
Pushed to 3.18.13, and released.