cavern/include/js/lib/zh-tw.js
2019-05-30 14:18:07 +08:00

127 lines
5.2 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(){
var factory = function (exports) {
var lang = {
name : "zh-tw",
description : "開源在線Markdown編輯器<br/>Open source online Markdown editor.",
tocTitle : "選單",
toolbar : {
undo : "復原Ctrl+Z",
redo : "重做Ctrl+Y",
bold : "粗體",
del : "刪除線",
italic : "斜體",
quote : "引用",
ucwords : "將所選的每個單字首字母轉成大寫",
uppercase : "將所選文字轉成大寫",
lowercase : "將所選文字轉成小寫",
h1 : "標題1",
h2 : "標題2",
h3 : "標題3",
h4 : "標題4",
h5 : "標題5",
h6 : "標題6",
"list-ul" : "無序清單",
"list-ol" : "有序清單",
hr : "分隔線",
link : "連結",
"reference-link" : "引用連結",
image : "圖片",
code : "行內代碼",
"preformatted-text" : "預格式文本 / 代碼塊(縮進風格)",
"code-block" : "代碼塊(多語言風格)",
table : "添加表格",
datetime : "日期時間",
emoji : "Emoji 表情",
"html-entities" : "HTML 實體字符",
pagebreak : "插入分頁符",
watch : "關閉實時預覽",
unwatch : "開啟實時預覽",
preview : "預覽(按 Shift + ESC 退出)",
fullscreen : "全螢幕(按 ESC 退出)",
clear : "清空",
search : "搜尋",
help : "幫助",
info : "關於" + exports.title
},
buttons : {
enter : "確定",
cancel : "取消",
close : "關閉"
},
dialog : {
link : {
title : "添加連結",
url : "連結位址",
urlTitle : "連結標題",
urlEmpty : "錯誤:請填寫連結位址。"
},
referenceLink : {
title : "添加引用連結",
name : "引用名稱",
url : "連結位址",
urlId : "連結ID",
urlTitle : "連結標題",
nameEmpty: "錯誤:引用連結的名稱不能為空。",
idEmpty : "錯誤請填寫引用連結的ID。",
urlEmpty : "錯誤請填寫引用連結的URL地址。"
},
image : {
title : "添加圖片",
url : "圖片位址",
link : "圖片連結",
alt : "圖片描述",
uploadButton : "本地上傳",
imageURLEmpty : "錯誤:圖片地址不能為空。",
uploadFileEmpty : "錯誤:上傳的圖片不能為空!",
formatNotAllowed : "錯誤:只允許上傳圖片文件,允許上傳的圖片文件格式有:"
},
preformattedText : {
title : "添加預格式文本或代碼塊",
emptyAlert : "錯誤:請填寫預格式文本或代碼的內容。"
},
codeBlock : {
title : "添加代碼塊",
selectLabel : "代碼語言:",
selectDefaultText : "請語言代碼語言",
otherLanguage : "其他語言",
unselectedLanguageAlert : "錯誤:請選擇代碼所屬的語言類型。",
codeEmptyAlert : "錯誤:請填寫代碼內容。"
},
htmlEntities : {
title : "HTML實體字符"
},
help : {
title : "幫助"
}
}
};
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);
}
})();