[FIX] web: minor improvements to some translateable terms
authorOlivier Dony <odo@openerp.com>
Fri, 28 Sep 2012 21:00:07 +0000 (23:00 +0200)
committerOlivier Dony <odo@openerp.com>
Fri, 28 Sep 2012 21:00:07 +0000 (23:00 +0200)
bzr revid: odo@openerp.com-20120928210007-ukf4u20rpwmugfwt

addons/web/static/src/js/coresetup.js
addons/web/static/src/js/search.js

index 826275b..4a30a31 100644 (file)
@@ -605,8 +605,7 @@ var messages_by_seconds = function() {
         [120, _t("Don't leave yet,<br />it's still loading...")],
         [300, _t("You may not believe it,<br />but the application is actually loading...")],
         [420, _t("Take a minute to get a coffee,<br />because it's loading...")],
-        [600, _t("It's loading...<br />By the way, did you tried the kitten mode?")],
-        [3600, _t("Maybe you should consider pressing F5...")],
+        [3600, _t("Maybe you should consider reloading the application by pressing F5...")],
     ];
 };
 
index 8e9a319..cd36113 100644 (file)
@@ -1496,7 +1496,7 @@ instance.web.search.ManyToOneField = instance.web.search.CharField.extend({
             if (value.length > 1) {
                 // more than one search_default m2o id? Should we OR them?
                 throw new Error(
-                    _("M2O search fields do not currently handle multiple default values"));
+                    _t("M2O search fields do not currently handle multiple default values"));
             }
             // there are many cases of {search_default_$m2ofield: [id]}, need
             // to handle this as if it were a single value.
@@ -1581,7 +1581,7 @@ instance.web.search.CustomFilters = instance.web.search.Input.extend({
 
         $filter.unbind('click').click(function () {
             self.view.query.reset([{
-                category: _("Custom Filter"),
+                category: _t("Custom Filter"),
                 icon: 'M',
                 field: {
                     get_context: function () { return filter.context; },