mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-14 09:23:09 +00:00
remove linebreaks for translation strings (js)
This commit is contained in:
@@ -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();
|
||||
// },
|
||||
});
|
||||
});
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user