remove linebreaks for translation strings (js)

This commit is contained in:
Pratik Vyas
2014-04-15 10:50:36 +05:30
parent 13c92e3ad5
commit e1eeb22f1e
6 changed files with 10 additions and 18 deletions

View File

@@ -7,8 +7,7 @@ $.extend(cur_frm.cscript, {
if(!(cint(cur_frm.doc.dropbox_access_allowed) ||
cint(cur_frm.doc.gdrive_access_allowed))) {
cur_frm.set_intro(__("You can start by selecting backup frequency and \
granting access for sync"));
cur_frm.set_intro(__("You can start by selecting backup frequency and granting access for sync"));
} else {
var services = {
"dropbox": __("Dropbox"),
@@ -90,4 +89,4 @@ $.extend(cur_frm.cscript, {
// upload_backups_to_gdrive: function() {
// cur_frm.save();
// },
});
});

View File

@@ -3,7 +3,7 @@
cur_frm.cscript.refresh = function(doc, dt, dn) {
doc = locals[dt][dn];
var save_msg = __("You must ")+ "<b>"+__("Save ")+"</b>"+__("the form before proceeding");
var save_msg = __("You must Save the form before proceeding");
var err_msg = __("There was an error. One probable reason could be that you haven't saved the form. Please contact support@erpnext.com if the problem persists.")
cur_frm.add_custom_button(__('View Now'), function() {