diff options
| author | Martin Trigaux <mat@odoo.com> | 2016-02-15 15:20:51 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-02-15 15:31:45 +0100 |
| commit | 9c4c3809fdf09df71afb7bf84dcc91a15b4c017a (patch) | |
| tree | 67ce815c51bcb440cab8a06f3036443a560e9b19 /addons/web/static | |
| parent | cf62fdb44b4ec217381742f9bd986137e28dfe1d (diff) | |
[FIX] web: missing space in translations
Translated text is stripped of starting and ending spaces on Transifex which
makes the result text look bad (as translators do not put spaces in their
translation either).
Add explicitely a space to be sure it's present in the translation.
Will have no effect on English as it's HTML
Diffstat (limited to 'addons/web/static')
| -rw-r--r-- | addons/web/static/src/js/views/form_common.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/form_common.js b/addons/web/static/src/js/views/form_common.js index 80342f42ee8..7364eeec203 100644 --- a/addons/web/static/src/js/views/form_common.js +++ b/addons/web/static/src/js/views/form_common.js @@ -867,7 +867,7 @@ var FormViewDialog = ViewDialog.extend({ ]; if(!readonly) { - options.buttons.splice(0, 0, {text: _t("Save") + ((multi_select)? _t(" & Close") : ""), classes: "btn-primary o_formdialog_save", click: function() { // o_formdialog_save class for web_tests! + options.buttons.splice(0, 0, {text: _t("Save") + ((multi_select)? " " + _t(" & Close") : ""), classes: "btn-primary o_formdialog_save", click: function() { // o_formdialog_save class for web_tests! self.view_form.onchanges_mutex.def.then(function() { if (!self.view_form.warning_displayed) { $.when(self.view_form.save()).done(function() { |
