← Back to team overview

openerp-india team mailing list archive

[Bug 1112412] Re: [7.0] placeholder are not translatable

 

Hello Yannick Vaucher,


I do have the same problem.

How ever you can try with this minimal patch:

=== modified file 'openerp/tools/translate.py'
--- openerp/tools/translate.py	2012-12-14 12:43:10 +0000
+++ openerp/tools/translate.py	2013-02-11 08:45:01 +0000
@@ -550,6 +550,8 @@
         res.append(de.get('sum').encode("utf8"))
     if de.get("confirm"):
         res.append(de.get('confirm').encode("utf8"))
+    if de.get("placeholder"):
+        res.append(de.get('placeholder').encode("utf8"))
     for n in de:
         res.extend(trans_parse_view(n))
     return res

Thanks,

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1112412

Title:
  [7.0] placeholder are not translatable

Status in OpenERP Server:
  New

Bug description:
  When synchronizing terms I can't translate a placeholder in
  untranslated terms.

  I see nowhere in po files a placeholder that has been translated.

  Am I missing something or placeholder aren't translatable ?

  
  revision-ids:
  server: odo@xxxxxxxxxxx-20130108105410-tjagkt0anx45my31
  webclient: launchpad_translations_on_behalf_of_openerp-20130108060625-j9tf52wfuw30yh8i
  addons: odo@xxxxxxxxxxx-20130108105410-tjagkt0anx45my31

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1112412/+subscriptions


References