comparison localization.lua @ 65:60871b43531d

Add localization
author contrebasse
date Fri, 13 May 2011 02:17:52 +0200
parents
children 31009ddc7d31
comparison
equal deleted inserted replaced
64:4d0ec5b598d0 65:60871b43531d
1 local addonName, A = ...
2
3 local L = setmetatable({}, {
4 __index = function(self, key)
5 return tostring(key)
6 end,
7 })
8 A.L = L
9
10 --@debug@
11 L["Recipe link not found for %s"] = "Recipe link not found for %s"
12 L["The recipe to make the reagent seems to be hidden, it is not makable."] = "The recipe to make the reagent seems to be hidden, it is not makable."
13 L["You do not have enough [%s] to craft [%s]"] = "You do not have enough [%s] to craft [%s]"
14 L["You do not have enough reagents to craft [%s]"] = "You do not have enough reagents to craft [%s]"
15 --@end-debug@
16
17 --@localization(locale="enUS", format="lua_additive_table", handle-unlocalized="english")@
18
19 local locale = GetLocale()
20 if locale == 'frFR' then
21
22 --@localization(locale="frFR", format="lua_additive_table", handle-unlocalized="comment")@
23
24 end