summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorBenjamin Stiens <bst@odoo.com>2018-02-21 16:53:37 +0100
committerYannick Tivisse <yti@odoo.com>2018-05-28 16:45:48 +0200
commit6383120f3b67ea16d5f0d6cc47ea7b4dbd11e1f4 (patch)
tree0059d5d14169ee0d598e44b456722acc447149d1 /addons/web/static/src
parentc9735c75d61e6792ae32d64a35122dc4664f7cf4 (diff)
[IMP] all: Improve error messages
Many error messages are misleading or too "vague" This task aims to improve all error message. Task #47042 PR #23321
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/js/fields/special_fields.js2
-rw-r--r--addons/web/static/src/js/views/list/list_renderer.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/js/fields/special_fields.js b/addons/web/static/src/js/fields/special_fields.js
index 6bd5d03ac69..3db57c5e158 100644
--- a/addons/web/static/src/js/fields/special_fields.js
+++ b/addons/web/static/src/js/fields/special_fields.js
@@ -91,7 +91,7 @@ var FieldTimezoneMismatch = FieldSelection.extend({
if (this.mismatch){
var $span = $('<span class="fa fa-exclamation-triangle o_tz_warning"/>');
$span.insertAfter(this.$el);
- $span.attr('title', _t("Timezone Mismatch : The timezone of your browser doesn't match the selected one. The time in Odoo is displayed according to your field timezone."));
+ $span.attr('title', _t("Timezone Mismatch : The timezone of your browser doesn't match the selected one. The time in Odoo is displayed according to the timezone set on your user's preferences."));
this.$el = this.$el.add($span);
this.$option = this.$('option').filter(function () {
diff --git a/addons/web/static/src/js/views/list/list_renderer.js b/addons/web/static/src/js/views/list/list_renderer.js
index a304bd0a597..bf206eae32c 100644
--- a/addons/web/static/src/js/views/list/list_renderer.js
+++ b/addons/web/static/src/js/views/list/list_renderer.js
@@ -334,7 +334,7 @@ var ListRenderer = BasicRenderer.extend({
var self = this;
$button.on("click", function (e) {
e.stopPropagation();
- self.do_warn(_t("Warning"), _t('Please click on the "save" button first'));
+ self.do_warn(_t("Warning"), _t('Please click on the "save" button first.'));
});
} else {
$button.prop('disabled', true);