Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create kr.js #1007

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 129 additions & 0 deletions languages/kr.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
(function(){
var factory = function (exports) {
var lang = {
name : "kr",
description : "오픈소스 온라인 마크다운 에디터",
tocTitle : "Table of Contents",
toolbar : {
undo : "되돌리기(Ctrl+Z)",
redo : "재실행(Ctrl+Y)",
bold : "볼드체",
del : "delete",
italic : "기울이기",
quote : "주석",
ucwords : "첫 문자를 대문자로",
uppercase : "선택한 문자 대문자로",
lowercase : "선택한 문자 소문자로",
h1 : "제목",
h2 : "소제목",
h3 : "내용 1",
h4 : "내용 2",
h5 : "내용 3",
h6 : "내용 4",
"list-ul" : "무작위 목록",
"list-ol" : "정렬된 목록",
hr : "수평 규칙",
link : "링크",
"reference-link" : "참고",
image : "사진",
code : "코드",
"preformatted-text" : "preformated text / Code block (탭 들여쓰기)",
"code-block" : "Code block (다중 언어)",
table : "표",
datetime : "일시",
emoji : "이모지",
"html-entities" : "HTML 입력",
pagebreak : "Page break",
watch : "Unwatch",
unwatch : "Watch",
preview : "HTML 미리보기 (Shift + ESC 누르면 나가기)",
fullscreen : "Fullscreen (Press ESC exit)",
clear : "Clear",
search : "검색",
help : "도움말",
info : "About" + exports.title
},
buttons : {
enter : "입력",
cancel : "취소",
close : "닫기"
},
dialog : {
link : {
title : "Link",
url : "Address",
urlTitle : "Title",
urlEmpty : "Error: Please fill in the link address."
},
referenceLink : {
title : "Reference link",
name : "Name",
url : "Address",
urlId : "ID",
urlTitle : "Title",
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."
},
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:"
},
preformattedText : {
title : "Preformatted text / Codes",
emptyAlert : "Error: Please fill in the Preformatted text or content of the codes.",
placeholder : "coding now...."
},
codeBlock : {
title : "Code block",
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.",
placeholder : "coding now...."
},
htmlEntities : {
title : "HTML Entities"
},
help : {
title : "Help"
}
}
};

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);
}

})();