玛氪宕·梦魔(Markdown Memo),使用Markdown的云端备忘录,百度IFE的RIA启航班的不合格的作业,才……才没有什么阴谋呢! 源gitee链接https://gitee.com/arathi/MarkdownMemo?_from=gitee_search
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

127 lines
5.2 KiB

10 years ago
(function(){
var factory = function (exports) {
var lang = {
name : "en",
10 years ago
description : "Open source online Markdown editor.",
tocTitle : "Table of Contents",
10 years ago
toolbar : {
undo : "Undo(Ctrl+Z)",
redo : "Redo(Ctrl+Y)",
bold : "Bold",
del : "Strikethrough",
italic : "Italic",
quote : "Block quote",
10 years ago
ucwords : "Words first letter convert to uppercase",
uppercase : "Selection text convert to uppercase",
lowercase : "Selection text convert to lowercase",
10 years ago
h1 : "Heading 1",
h2 : "Heading 2",
h3 : "Heading 3",
h4 : "Heading 4",
h5 : "Heading 5",
h6 : "Heading 6",
"list-ul" : "Unordered list",
"list-ol" : "Ordered list",
10 years ago
hr : "Horizontal rule",
10 years ago
link : "Link",
10 years ago
"reference-link" : "Reference link",
10 years ago
image : "Image",
code : "Code inline",
10 years ago
"preformatted-text" : "Preformatted text / Code block (Tab indent)",
10 years ago
"code-block" : "Code block (Multi-languages)",
10 years ago
table : "Tables",
10 years ago
datetime : "Datetime",
10 years ago
emoji : "Emoji",
10 years ago
"html-entities" : "HTML Entities",
pagebreak : "Page break",
10 years ago
watch : "Unwatch",
unwatch : "Watch",
10 years ago
preview : "HTML Preview (Press Shift + ESC exit)",
fullscreen : "Fullscreen (Press ESC exit)",
10 years ago
clear : "Clear",
10 years ago
search : "Search",
10 years ago
help : "Help",
10 years ago
info : "About " + exports.title
},
buttons : {
enter : "Enter",
10 years ago
cancel : "Cancel",
close : "Close"
10 years ago
},
dialog : {
link : {
title : "Link",
url : "Address",
urlTitle : "Title",
10 years ago
urlEmpty : "Error: Please fill in the link address."
10 years ago
},
10 years ago
referenceLink : {
title : "Reference link",
10 years ago
name : "Name",
url : "Address",
10 years ago
urlId : "ID",
10 years ago
urlTitle : "Title",
10 years ago
nameEmpty: "Error: Reference name can't be empty.",
idEmpty : "Error: Please fill in reference link id.",
urlEmpty : "Error: Please fill in reference link url address."
10 years ago
},
image : {
title : "Image",
url : "Address",
link : "Link",
alt : "Title",
uploadButton : "Upload",
imageURLEmpty : "Error: picture url address can't be empty.",
uploadFileEmpty : "Error: upload pictures cannot be empty!",
formatNotAllowed : "Error: only allows to upload pictures file, upload allowed image file format:"
},
10 years ago
preformattedText : {
10 years ago
title : "Preformatted text / Codes",
10 years ago
emptyAlert : "Error: Please fill in the Preformatted text or content of the codes."
10 years ago
},
codeBlock : {
10 years ago
title : "Code block",
10 years ago
selectLabel : "Languages: ",
selectDefaultText : "select a code language...",
otherLanguage : "Other languages",
unselectedLanguageAlert : "Error: Please select the code language.",
codeEmptyAlert : "Error: Please fill in the code content."
10 years ago
},
htmlEntities : {
title : "HTML Entities"
},
help : {
title : "Help"
10 years ago
}
}
};
exports.defaults.lang = lang;
};
// CommonJS/Node.js
if (typeof require === "function" && typeof exports === "object" && typeof module === "object")
{
module.exports = factory;
}
else if (typeof define === "function") // AMD/CMD/Sea.js
{
if (define.amd) { // for Require.js
define(["editormd"], function(editormd) {
factory(editormd);
});
} else { // for Sea.js
define(function(require) {
var editormd = require("../editormd");
factory(editormd);
});
}
}
else
{
factory(window.editormd);
}
})();