[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
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user