Bug 5709

Summary: Adding the ability to translate HTML5 placeholder text in an input field
Product: Koha Reporter: Brice Sanchez <brice.sanchez>
Component: I18N/L10NAssignee: Brice Sanchez <brice.sanchez>
Status: CLOSED FIXED QA Contact: Paul Poulain <paul.poulain>
Severity: enhancement    
Priority: P5 - low CC: jcamins, julian.maurice, kyle, paul.poulain, pelletiermaxime
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: Sponsored Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: placeholder patch
Adding the ability to translate HTML5 placeholder text in an input field
[SIGNED-OFF] Adding the ability to translate HTML5 placeholder text in an input field
Adding the ability to translate HTML5 placeholder text in an input field

Description Brice Sanchez 2011-02-07 20:50:58 UTC
In our version of Koha, we use a placeholder text in the main search box (with jquery effects if the browser doesn't support placeholder).

So we need to patch the translator in order to be able to translate the sentence in placeholder. 

It would be a great feature for the translator script.
Comment 1 Brice Sanchez 2011-02-07 21:03:34 UTC Comment hidden (obsolete)
Comment 2 Julian Maurice 2012-10-11 12:54:35 UTC Comment hidden (obsolete)
Comment 3 Maxime Pelletier 2012-11-14 19:02:03 UTC
Just wanted to comment that I tested the latest patch successfully and with it the template "pendingreserves.tt" is now translated. 
Quick 2 liners that should be easy to test and apply.
Comment 4 Kyle M Hall 2012-12-07 13:35:58 UTC Comment hidden (obsolete)
Comment 5 Paul Poulain 2012-12-12 08:07:09 UTC
Created attachment 14028 [details] [review]
Adding the ability to translate HTML5 placeholder text in an input field

http://bugs.koha-community.org/show_bug.cgi?id=5709
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Comment 6 Paul Poulain 2012-12-12 08:08:16 UTC
QA comment: trivial -2 lines- patch

passed QA (setting version to "master", it's not 3.2 only)
Comment 7 Jared Camins-Esakov 2012-12-13 15:35:27 UTC
This patch has been pushed to master.