5 PART_GSUB
= "%s%(Part %d+%)",
6 PART_FIND
= "(.+)%s%(Part %d+%)",
9 COORD_MATCH
= "%(([%d.]+),%s?([%d.]+)%)",
13 if GetLocale() == "deDE" then localized
= {
14 PART_GSUB
= "%s%(Teil %d+%)",
15 PART_FIND
= "(.+)%s%(Teil %d+%)",
16 ["(.*) is now your home."] = "(.*) ist jetzt Euer Zuhause.",
17 ["Quest accepted: (.*)"] = "Quest angenommen: (.*)",
18 ["^You .*Hitem:(%d+).*(%[.+%])"] = "^Ihr .*Hitem:(%d+).*(%[.+%])",
22 -- Metatable majicks... makes localized table fallback to engrish, or fallback to the index requested.
23 -- This ensures we ALWAYS get a value back, even if it's the index we requested originally
24 TOURGUIDE_LOCALE
= localized
and setmetatable(localized
, {__index
= function(t
,i
) return engrish
[i
] or i
end})
25 or setmetatable(engrish
, {__index
= function(t
,i
) return i
end})