Jiten (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-placeholder-translatable into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-placeholder-translatable/+merge/110310

Improved Placeholder to make it translatable.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-placeholder-translatable/+merge/110310
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-placeholder-translatable.
=== modified file 'edi/static/src/xml/edi.xml'
--- edi/static/src/xml/edi.xml	2012-03-20 18:29:12 +0000
+++ edi/static/src/xml/edi.xml	2012-06-14 12:27:36 +0000
@@ -35,10 +35,9 @@
                         <p class="oe_edi_nested_block_import oe_edi_import_openerp_nested">
                             <label for="oe_edi_txt_server_url">OpenERP instance address:</label>
                             <br/>
-                            <input type="text" id="oe_edi_txt_server_url" placeholder="http://example.my.openerp.com/"/><br/>
+                            <input type="text" id="oe_edi_txt_server_url" t-att-placeholder="_t('http://example.my.openerp.com/')"/><br/>
                             <button type="button" class="oe_edi_import_button" id="oe_edi_import_existing">Import</button>
                         </p>
-
                         <div class="oe_edi_option">
                         <input type="radio" id="oe_edi_import_saas" name="oe_edi_import" class="oe_edi_import_choice"/>
                         <label for="oe_edi_import_saas"  id="oe_edi_import_saas" class="oe_edi_import_choice_label">Import it into a new OpenERP Online instance</label>
@@ -46,7 +45,6 @@
                         <p class="oe_edi_nested_block_import oe_edi_import_saas_nested">
                             <button type="button" class="oe_edi_import_button" id="oe_edi_import_create">Create my new OpenERP instance</button>
                         </p>
-
                         <div class="oe_edi_option">
                         <input type="radio" id="oe_edi_import_download" name="oe_edi_import" class="oe_edi_import_choice"/>
                         <label for="oe_edi_import_download" id="oe_edi_import_download" class="oe_edi_import_choice_label">Import into another application</label>

=== modified file 'mail/static/src/xml/mail.xml'
--- mail/static/src/xml/mail.xml	2012-06-07 17:53:28 +0000
+++ mail/static/src/xml/mail.xml	2012-06-14 12:27:36 +0000
@@ -11,7 +11,7 @@
         <div class="oe_mail_wall_left">
             <div class="oe_mail_wall_act">
                 <img class="oe_mail_msg_image oe_left" alt="User img"/>
-                <textarea class="oe_mail oe_mail_wall_action_textarea" placeholder="What are you working on?"/>
+                <textarea class="oe_mail oe_mail_wall_action_textarea" t-att-placeholder="_t('What are you working on?')"/>
                 <button class="oe_right oe_mail_wall_button_comment" type="button">Post comment</button>
             </div>
             <div class="oe_clear"></div>
@@ -48,7 +48,7 @@
         <div class="oe_mail_thread_act">
             <img class="oe_mail_msg_image oe_left" alt="User img"/>
             <div class="oe_mail_msg_content">
-                <textarea class="oe_mail oe_mail_action_textarea" placeholder="Add your comment here..." onfocus="this.value = '';"/>
+                <textarea class="oe_mail oe_mail_action_textarea" t-att-placeholder= "_t('Add your comment here...')" onfocus="this.value = '';"/>
             </div>
         </div>
         <div class="oe_mail_thread_display"></div>

=== modified file 'point_of_sale/static/src/xml/pos.xml'
--- point_of_sale/static/src/xml/pos.xml	2012-02-13 15:27:55 +0000
+++ point_of_sale/static/src/xml/pos.xml	2012-06-14 12:27:36 +0000
@@ -162,7 +162,7 @@
                 </t>
             </ol>
             <div class="searchbox">
-                <input placeholder="Search Products" />
+                <input t-att-placeholder="_t('Search Products')" />
                 <img class="search-clear" src="/point_of_sale/static/src/img/search_reset.gif" />
             </div>
         </header>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to