본문으로 이동
주 메뉴
주 메뉴
사이드바로 이동
숨기기
둘러보기
대문
최근 바뀜
요즘 화제
임의의 문서로
sitesupport
사용자 모임
사랑방
사용자 모임
관리 요청
편집 안내
소개
도움말
정책과 지침
질문방
한울위키
검색
검색
보이기
로그인
개인 도구
로그인
모듈:Wd/i18n 문서 원본 보기
모듈
토론
English
읽기
원본 보기
역사 보기
도구
도구
사이드바로 이동
숨기기
동작
읽기
원본 보기
역사 보기
일반
여기를 가리키는 문서
가리키는 글의 최근 바뀜
문서 정보
보이기
사이드바로 이동
숨기기
←
모듈:Wd/i18n
문서 편집 권한이 없습니다. 다음 이유를 확인해주세요:
요청한 명령은 다음 권한을 가진 사용자에게 제한됩니다:
일반 사용자
.
문서의 원본을 보거나 복사할 수 있습니다.
-- The values and functions in this submodule should be localized per wiki. local p = {} function p.init(aliasesP) p = { ["version"] = "8", -- increment this each time the below parameters are changed to avoid reference conflict errors ["errors"] = { ["unknown-data-type"] = "'%s' 틀은 알 수 없거나 지원하지 않습니다.", ["missing-required-parameter"] = "필수 변수가 정의되어 있지 않습니다. 적어도 하나는 필요합니다.", ["extra-required-parameter"] = "'%s' 변수는 선택적으로 지정해야 합니다", ["no-function-specified"] = "호출할 함수를 지정해야 합니다", -- equal to the standard module error message ["main-called-twice"] = '"main" 함수는 두 번 호출할 수 없습니다', ["no-such-function"] = '"%s" 함수가 존재하지 않습니다', -- equal to the standard module error message ["no-such-reference-template"] = 'Error: template "%s", which is set in %s as the output template for the citation-output type "%s", does not exist', -- Parts of the error message signalling a malformed reference. ["malformed-reference-header"] = "<span style=\"color:#dd3333\">\nError: Unable to display the reference from Wikidata properly. Technical details:\n", ["malformed-reference-footer"] = "See [[:en:Module:wd/doc#References|the documentation]] for further details.\n</span>", ["template-failure-reason"] = "* Reason for the failure of {{tl|%s}}: %s\n", ["missing-mandatory-param"] = 'The output template call would miss the mandatory parameter <code>%s</code>.', ["unknown-property-in-ref"] = 'The Wikidata reference contains the property {{property|%s}}, which is not assigned to any parameter of this template.' }, ["info"] = { ["edit-on-wikidata"] = "위키데이터에서 편집하기" }, ["numeric"] = { ["decimal-mark"] = ".", ["delimiter"] = "," }, ["datetime"] = { ["prefixes"] = { ["decade-period"] = "" }, ["suffixes"] = { ["decade-period"] = "년대", ["millennium"] = "천 세기", ["century"] = "세기", ["million-years"] = "백만 년", ["billion-years"] = "억 년", ["year"] = "년", ["years"] = "년" }, ["julian-calendar"] = "율리우스력", -- linked page title ["julian"] = "율리우스력", ["BCE"] = "BCE", -- 기원전으로 번역 안 함? ["CE"] = "CE", -- 기원후로 번역 안 함? ["common-era"] = "공통 기원" -- linked page title }, ["coord"] = { ["latitude-north"] = "북위", ["latitude-south"] = "남위", ["longitude-east"] = "동경", ["longitude-west"] = "서경", ["degrees"] = "°", ["minutes"] = "'", ["seconds"] = '"', ["separator"] = ", " }, ["values"] = { ["unknown"] = "알 수 없음", ["none"] = "없음" }, ["cite"] = { ["output-types"] = {"web", "q"}, -- In this order, the output types will be tried ["param-mapping"] = { ["web"] = { -- <= left side: all allowed reference properties for *web page sources* per https://www.wikidata.org/wiki/Help:Sources -- => right side: corresponding parameter names in (equivalent of) [[:en:Template:Cite web]] (if non-existent, keep empty i.e. "") [aliasesP.statedIn] = "웹사이트", [aliasesP.referenceURL] = "url", [aliasesP.publicationDate] = "날짜", [aliasesP.lastUpdate] = "날짜", [aliasesP.retrieved] = "확인날짜", [aliasesP.title] = "제목", [aliasesP.subjectNamedAs] = "제목", [aliasesP.archiveURL] = "보존url", [aliasesP.archiveDate] = "보존날짜", [aliasesP.language] = "언어", [aliasesP.author] = "저자", [aliasesP.authorNameString] = "저자", [aliasesP.publisher] = "출판사", [aliasesP.quote] = "인용문", [aliasesP.pages] = "pages", -- extra option [aliasesP.publishedIn] = "웹사이트", [aliasesP.sectionVerseOrParagraph] = "쪽기타" }, ["q"] = { -- <= left side: all allowed reference properties for *sources other than web pages* per https://www.wikidata.org/wiki/Help:Sources -- => right side: corresponding parameter names in (equivalent of) [[:en:Template:Cite Q]] (if non-existent, keep empty i.e. "") [aliasesP.statedIn] = "1", [aliasesP.pages] = "pages", [aliasesP.column] = "at", [aliasesP.chapter] = "chapter", [aliasesP.sectionVerseOrParagraph] = "section", ["external-id"] = "id", -- used for any type of database property ID [aliasesP.title] = "title", [aliasesP.publicationDate] = "date", [aliasesP.lastUpdate] = "date", [aliasesP.retrieved] = "access-date" } }, ["config"] = { -- supported fields: -- - template: name of the template used for output -- - numbered-params: citation params accepting an arbitrary number of values by numbering the params (e.g. author1, author2) -- - raw-value-params: params taking a raw value (which means the property is rendered with getValue with raw=true) -- - mandatory-params: params that are required be in the template call (after potentially appending numbers to params listed in numbered-params) -- - prioritization: table associating a list of properties, in the order in which they are preferred, to template parameters; -- properties not mentioned here have the lowest priority; -- prioritization of properties handled through additionalProcessedProperties is unsupported; -- no key of this table can be from numbered-params -- Leaving out the "template" field causes the output type to be ignored. ["web"] = { ["template"] = "웹 인용", ["numbered-params"] = {"저자"}, ["mandatory-params"] = {"url"}, ["prioritization"] = { ["date"] = {aliasesP.lastUpdate, aliasesP.publicationDate}, ["title"] = {aliasesP.title, aliasesP.subjectNamedAs} } }, ["q"] = { ["template"] = "Cite Q", ["raw-value-params"] = {"1"}, -- the first, unnamed parameter of CiteQ takes a QID, not the name of the item cited ["mandatory-params"] = {"1"}, ["prioritization"] = { ["date"] = {aliasesP.lastUpdate, aliasesP.publicationDate} } } } } } p.getOrdinalSuffix = function(num) if tostring(num):sub(-2,-2) == '1' then return "번째" -- 10th, 11th, 12th, 13th, ... 19th end num = tostring(num):sub(-1) if num == '1' then return "번째" elseif num == '2' then return "번째" elseif num == '3' then return "번째" else return "번째" end end p.addDelimiters = function(n) local left, num, right = string.match(n, "^([^%d]*%d)(%d*)(.-)$") if left and num and right then return left .. (num:reverse():gsub("(%d%d%d)", "%1" .. p['numeric']['delimiter']):reverse()) .. right else return n end end return p end return p
모듈:Wd/i18n
문서로 돌아갑니다.
검색
검색
모듈:Wd/i18n 문서 원본 보기
새 주제