Преглед на файлове

[minor] email_account.js spelling fixes

GMail → Gmail
allows → allow
version-14
strixaluco преди 9 години
committed by GitHub
родител
ревизия
50f8360d46
променени са 1 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. +5
    -5
      frappe/email/doctype/email_account/email_account.js

+ 5
- 5
frappe/email/doctype/email_account/email_account.js Целия файл

@@ -1,5 +1,5 @@
email_defaults = { email_defaults = {
"GMail": {
"Gmail": {
"email_server": "pop.gmail.com", "email_server": "pop.gmail.com",
"use_ssl": 1, "use_ssl": 1,
"enable_outgoing": 1, "enable_outgoing": 1,
@@ -34,7 +34,7 @@ email_defaults = {
}; };


email_defaults_imap = { email_defaults_imap = {
"GMail": {
"Gmail": {
"email_server": "imap.gmail.com" "email_server": "imap.gmail.com"
}, },
"Outlook.com": { "Outlook.com": {
@@ -97,9 +97,9 @@ frappe.ui.form.on("Email Account", {
}, },
show_gmail_message_for_less_secure_apps: function(frm) { show_gmail_message_for_less_secure_apps: function(frm) {
frm.dashboard.reset(); frm.dashboard.reset();
if(frm.doc.service==="GMail") {
frm.dashboard.set_headline_alert('GMail will only work if you allows access for Less Secure \
Apps in GMail Settings. <a target="_blank" \
if(frm.doc.service==="Gmail") {
frm.dashboard.set_headline_alert('Gmail will only work if you allow access for less secure \
apps in Gmail settings. <a target="_blank" \
href="https://support.google.com/accounts/answer/6010255?hl=en">Read this for details</a>'); href="https://support.google.com/accounts/answer/6010255?hl=en">Read this for details</a>');
} }
}, },


Зареждане…
Отказ
Запис