Skip to content

Commit e799c60

Browse files
committed
Added koKR Localization.
1 parent 3529356 commit e799c60

7 files changed

+70
-9
lines changed

Config.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ frame:SetScript("OnShow", function()
2828

2929
local resetpos = tekbutton.new_small(frame, "TOP", showstatusframe, "CENTER", 0, 11)
3030
resetpos:SetPoint("RIGHT", -16, 0)
31-
resetpos:SetText("Reset")
31+
resetpos:SetText(L["Reset"])
3232
resetpos.tiptext = L["Reset the status frame to the default position"]
3333
resetpos:SetScript("OnClick", function(self)
3434
TourGuide.db.profile.statusframepoint, TourGuide.db.profile.statusframex, TourGuide.db.profile.statusframey = nil
@@ -42,7 +42,7 @@ frame:SetScript("OnShow", function()
4242

4343
local resetpos2 = tekbutton.new_small(frame, "TOP", showuseitem, "CENTER", 0, 11)
4444
resetpos2:SetPoint("RIGHT", -16, 0)
45-
resetpos2:SetText("Reset")
45+
resetpos2:SetText(L["Reset"])
4646
resetpos2.tiptext = L["Reset the item button to the default position"]
4747
resetpos2:SetScript("OnClick", function(self)
4848
TourGuide.db.profile.itemframepoint, TourGuide.db.profile.itemframex, TourGuide.db.profile.itemframey = nil

GuideList.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ frame.name = L["Guides"]
1212
frame.parent = "Tour Guide"
1313
frame:Hide()
1414
frame:SetScript("OnShow", function()
15-
local title, subtitle = LibStub("tekKonfig-Heading").new(frame, "Tour Guide - Guides", L["This panel lets you choose a guide to load. Upon completion the next guide will load automatically. Completed guides can be reset by shift-clicking."])
15+
local title, subtitle = LibStub("tekKonfig-Heading").new(frame, L["Tour Guide - Guides"], L["This panel lets you choose a guide to load. Upon completion the next guide will load automatically. Completed guides can be reset by shift-clicking."])
1616

1717
local group = LibStub("tekKonfig-Group").new(frame, nil, "TOP", subtitle, "BOTTOM", 0, -EDGEGAP-GAP)
1818
group:SetPoint("LEFT", EDGEGAP, 0)
@@ -96,7 +96,7 @@ function TourGuide:UpdateGuidesPanel()
9696

9797
local complete = self.db.char.currentguide == name and (self.current-1)/#self.actions or self.db.char.completion[name]
9898
local r,g,b = self.ColorGradient(complete or 0)
99-
local completetext = complete and complete ~= 0 and string.format("|cff%02x%02x%02x%d%% complete", r*255, g*255, b*255, complete*100)
99+
local completetext = complete and complete ~= 0 and string.format(L["|cff%02x%02x%02x%d%% complete"], r*255, g*255, b*255, complete*100)
100100
row.complete:SetText(completetext)
101101
end
102102
end

Locale.lua

+57
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,63 @@ if loc == "ruRU" then localized = {
124124
} end
125125

126126

127+
----------------------
128+
-- Korean --
129+
----------------------
130+
131+
if loc == "koKR" then localized = {
132+
PART_GSUB = "%s%(파트 %d+%)",
133+
PART_FIND = "(.+)%s%(파트 %d+%)",
134+
["(.*) is now your home."] = "이제부터 (.*) 여관에 머무릅니다.",
135+
["Quest accepted: (.*)"] = "퀘스트 수락함: (.*)",
136+
["^You .*Hitem:(%d+).*(%[.+%])"] = "^You .*Hitem:(%d+).*(%[.+%])",
137+
["|cffff4500This quest is not listed in your current guide"] = "|cffff4500이 퀘스트는 현재 가이드 목록에 없습니다.",
138+
["This panel lets you choose a guide to load. Upon completion the next guide will load automatically. Completed guides can be reset by shift-clicking."] = "이 패널에서 가이드를 선택하여 불러오세요. 완료를 하면 다음 가이드를 자동으로 불러 올 것입니다. 완료된 가이드를 초기화 하려면 Shift-클릭을 하세요.",
139+
["These settings are saved on a per-char basis."] = "이 설정은 기본적으로 캐릭터 마다 따로 저장됩니다.",
140+
["Guides"] = "가이드",
141+
["Config"] = "설정",
142+
["|cff%02x%02x%02x%d%% complete"] = "|cff%02x%02x%02x%d%% 완료",
143+
["No Guide Loaded"] = "불러온 가이드 없음",
144+
["Accept quest"] = "퀘스트 수락",
145+
["Complete quest"] = "퀘스트 이행",
146+
["Turn in quest"] = "퀘스트 제출",
147+
["Kill mob"] = "몹 죽이기",
148+
["Run to"] = "달려서",
149+
["Fly to"] = "날아서",
150+
["Set hearth"] = "귀환석 설정",
151+
["Use hearth"] = "귀환석 사용",
152+
["Note"] = "노트",
153+
["Use item"] = "아이템 사용",
154+
["Buy item"] = "아이템 구입",
155+
["Boat to"] = "배를 타고",
156+
["Get flight point"] = "비행 경로 발견",
157+
["Tour Guide - Help"] = "Tour Guide - 도움말",
158+
["Confused? GOOD! Okey, fine... here's a few hints."] = "뭐가 뭔지 어리둥절했다구요? 좋군요! 그래요, 알겠습니다... 약간의 힌트를 드리죠.",
159+
["Automatically track quests"] = "자동으로 퀘스트 추적",
160+
["Automatically toggle the default quest tracker for current 'complete quest' objectives."] = "현재 '퀘스트 이행' 목표를 위해서 자동으로 기본 퀘스트 추적을 토글합니다.",
161+
["Show status frame"] = "상태 프레임 보이기",
162+
["Display the status frame with current quest objective."] = "현재 퀘스트 목표를 상태 프레임에 표시합니다.",
163+
["Map note coords"] = "지도 노트 좌표",
164+
["Map coordinates found in tooltip notes (requires TomTom)."] = "툴팁 노트의 지도 좌표를 이용해서 찾습니다. (TomTom 필요).",
165+
["Automatically map questgivers"] = "자동으로 지도에 퀘스트 제공자 표시",
166+
["Automatically map questgivers for accept and turnin objectives (requires LightHeaded and TomTom)."] = "퀘스트를 수락하거나 목표 제출을 위해서 자동으로 지도에 퀘스트 제공자를 표시합니다. (LightHeaded와 TomTom 필요).",
167+
["Always map coords from notes"] = "항상 노트에 지도 좌표 표시",
168+
["Map note coords even when LightHeaded provides coords."] = "LightHeaded가 제공하는 좌표가 있을 경우 노트에 지도 좌표를 표시합니다.",
169+
["Help"] = "도움말",
170+
["Reset"] = "초기화",
171+
["Reset the status frame to the default position"] = "상태 프레임을 기본 위치로 초기화합니다.",
172+
["Reset the item button to the default position"] = "아이템 버튼을 기본 위치로 초기화합니다.",
173+
["Show item button"] = "아이템 버튼 보이기",
174+
["Display a button when you must use an item to start or complete a quest."] = "퀘스트를 시작 또는 완료를 하기 위해서 반드시 사용해야 하는 아이템을 버튼으로 표시합니다.",
175+
["Show buttom for 'complete' objectives"] = "'이행' 목표를 위한 버튼 보이기",
176+
["The advanced quest tracker in the default UI will show these items. Enable this if you would rather have TourGuide's button."] = "기본 UI의 고급 퀘스트 추적에 해당 아이템이 보이도록 합니다. 만약 TourGuide의 버튼을 선호한다면 활성화하세요.",
177+
["Tour Guide - Guides"] = "Tour Guide - 가이드",
178+
["K No guide loaded... |N|Click to select a guide|"] = "K 불러온 가이드 없음... |N|가이드를 선택하려면 클릭하세요|",
179+
[" |cff808080(Optional)"] = " |cff808080(임의 선택)",
180+
["Cannot find zone %q, using current zone."] = "%q 지역을 찾을 수 없습니다. 현재 지역의 가이드를 사용하세요.",
181+
["No zone provided, using current zone."] = "제공되는 지역이 없습니다. 현재 지역의 사용하세요.",
182+
} end
183+
127184
-- Metatable majicks... makes localized table fallback to engrish, or fallback to the index requested.
128185
-- This ensures we ALWAYS get a value back, even if it's the index we requested originally
129186
TOURGUIDE_LOCALE = localized and setmetatable(localized, {__index = function(t,i) return engrish[i] or i end})

Mapping.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ local function MapPoint(zone, x, y, desc, c, z)
1515
TourGuide:DebugF(1, "Mapping %q - %s (%.2f, %.2f)", desc, zone or z, x, y)
1616
local zi, zc = z or zone and zonei[zone], c or zone and zonec[zone]
1717
if not zi then
18-
if zone then TourGuide:PrintF("Cannot find zone %q, using current zone.", zone)
19-
else TourGuide:Print("No zone provided, using current zone.") end
18+
if zone then TourGuide:PrintF(L["Cannot find zone %q, using current zone."], zone)
19+
else TourGuide:Print(L["No zone provided, using current zone."]) end
2020

2121
zi, zc = GetCurrentMapZone(), GetCurrentMapContinent()
2222
end

NilGuide.lua

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
TourGuide:RegisterGuide("No Guide", nil, "Alliance", function() return "K No guide loaded... |N|Click to select a guide|" end)
2-
TourGuide:RegisterGuide("No Guide", nil, "Horde", function() return "K No guide loaded... |N|Click to select a guide|" end)
1+
2+
local L = TourGuide.Locale
3+
4+
TourGuide:RegisterGuide("No Guide", nil, "Alliance", function() return L["K No guide loaded... |N|Click to select a guide|"] end)
5+
TourGuide:RegisterGuide("No Guide", nil, "Horde", function() return L["K No guide loaded... |N|Click to select a guide|"] end)

ObjectivesFrame.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ function TourGuide:UpdateOHPanel(value)
220220

221221
row.icon:SetTexture(self.icons[action])
222222
if action ~= "ACCEPT" and action ~= "TURNIN" then row.icon:SetTexCoord(4/48, 44/48, 4/48, 44/48) end
223-
row.text:SetText(name..(optional and " |cff808080(Optional)" or ""))
223+
row.text:SetText(name..(optional and L[" |cff808080(Optional)"] or ""))
224224
row.detail:SetText(self:GetObjectiveTag("N", i + offset))
225225
row.check:SetChecked(checked)
226226
row.questhover.qid = self:GetObjectiveTag("QID", i + offset)

TourGuide.toc

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Title: Tour Guide
44
## Notes: Powerleveling guide framework
5+
## Notes-koKR: 파워레벨링 가이드 프레임워크
56
## Author: Tekkub Stoutwrithe
67
## Version: Alpha
78
## X-Website: http://www.tekkub.net/

0 commit comments

Comments
 (0)