This commit is contained in:
Liang Ding 2014-12-08 16:11:43 +08:00
parent e001df500e
commit 2333e1d422
4 changed files with 13 additions and 10 deletions

View File

@ -156,5 +156,6 @@
"source": "ソース",
"toggle_comment": "トグルコメント",
"find_in_files": "ファイルから検索",
"email": "Eメール"
"email": "Eメール",
"no_empty": "空ではありません"
}

View File

@ -156,5 +156,6 @@
"source": "源码",
"toggle_comment": "注释",
"find_in_files": "在文件中查找",
"email": "电子邮件"
"email": "电子邮件",
"no_empty": "不能为空"
}

View File

@ -156,5 +156,6 @@
"source": "源代碼",
"toggle_comment": "註釋",
"find_in_files": "在文件中查找",
"email": "電子郵件"
"email": "電子郵件",
"no_empty": "不能為空"
}

View File

@ -312,8 +312,8 @@ var menu = {
$("#dialogPreference").find(".tip").html("");
} else {
for (var i = 0, max = emptys.length; i < max; i++) {
emptysTip += emptys[i].closest('div').data("index") + ' -> ' + emptys[i].attr("name")
+ ' ' + config.label.no_empty + "<br/>";
emptysTip += '[' + emptys[i].closest('div').data("index") + '] -> [' + emptys[i].attr("name")
+ ']: ' + config.label.no_empty + "<br/>";
}
$("#dialogPreference").find(".tip").html(emptysTip);
}
@ -351,20 +351,20 @@ var menu = {
$dialogPreference = $("#dialogPreference"),
$fontFamily = $dialogPreference.find("input[name=fontFamily]"),
$fontSize = $dialogPreference.find("input[name=fontSize]"),
$goFmt = $dialogPreference.find("input[name=goFmt]"),
$goFmt = $dialogPreference.find("select[name=goFmt]"),
$workspace = $dialogPreference.find("input[name=workspace]"),
$password = $dialogPreference.find("input[name=password]"),
$email = $dialogPreference.find("input[name=email]"),
$locale = $dialogPreference.find("input[name=locale]"),
$theme = $dialogPreference.find("input[name=theme]"),
$locale = $dialogPreference.find("select[name=locale]"),
$theme = $dialogPreference.find("select[name=theme]"),
$editorFontFamily = $dialogPreference.find("input[name=editorFontFamily]"),
$editorFontSize = $dialogPreference.find("input[name=editorFontSize]"),
$editorLineHeight = $dialogPreference.find("input[name=editorLineHeight]"),
$editorTheme = $dialogPreference.find("input[name=editorTheme]"),
$editorTheme = $dialogPreference.find("select[name=editorTheme]"),
$editorTabSize = $dialogPreference.find("input[name=editorTabSize]");
if ($.trim($email.val()) === "") {
$dialogPreference.find(".tip").html("user -> email " + config.label.no_empty);
$dialogPreference.find(".tip").html("[user] -> [email]: " + config.label.no_empty);
return false;
}