← Back to team overview

openerp-india team mailing list archive

[Bug 1205798] [NEW] Untranslated strings in board/static/src/js/dashboard.js

 

Public bug reported:

In board/static/src/js/dashboard.js:402, the following excerpt contains
two untranslated strings :

            if (r === false) {
                self.do_warn("Could not add filter to dashboard");
            } else {
                self.$el.toggleClass('oe_opened');
                self.do_notify("Filter added to dashboard", '');
            }

I think that these strings should be wrapped into a _t(...) call.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Description changed:

  In board/static/src/js/dashboard.js:402, the following excerpt contains
  two unstranslated strings :
  
-             if (r === false) {
-                 self.do_warn("Could not add filter to dashboard");
-             } else {
-                 self.$el.toggleClass('oe_opened');
-                 self.do_notify("Filter added to dashboard", '');
-             }
-         })
+             if (r === false) {
+                 self.do_warn("Could not add filter to dashboard");
+             } else {
+                 self.$el.toggleClass('oe_opened');
+                 self.do_notify("Filter added to dashboard", '');
+             }
  
- I think that these strings should be wrapped inta a _t(...) call.
+ I think that these strings should be wrapped into a _t(...) call.

** Description changed:

  In board/static/src/js/dashboard.js:402, the following excerpt contains
- two unstranslated strings :
+ two untranslated strings :
  
              if (r === false) {
                  self.do_warn("Could not add filter to dashboard");
              } else {
                  self.$el.toggleClass('oe_opened');
                  self.do_notify("Filter added to dashboard", '');
              }
  
  I think that these strings should be wrapped into a _t(...) call.

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

Title:
  Untranslated strings in board/static/src/js/dashboard.js

Status in OpenERP Addons (modules):
  New

Bug description:
  In board/static/src/js/dashboard.js:402, the following excerpt
  contains two untranslated strings :

              if (r === false) {
                  self.do_warn("Could not add filter to dashboard");
              } else {
                  self.$el.toggleClass('oe_opened');
                  self.do_notify("Filter added to dashboard", '');
              }

  I think that these strings should be wrapped into a _t(...) call.

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


Follow ups

References