Mercurial > wow > reagentmaker
annotate localization.lua @ 69:0675410645de
Copy/Paste error
author | contrebasse |
---|---|
date | Sat, 14 May 2011 16:56:17 +0200 |
parents | 60871b43531d |
children | 31009ddc7d31 |
rev | line source |
---|---|
contrebasse@65 | 1 local addonName, A = ... |
contrebasse@65 | 2 |
contrebasse@65 | 3 local L = setmetatable({}, { |
contrebasse@65 | 4 __index = function(self, key) |
contrebasse@65 | 5 return tostring(key) |
contrebasse@65 | 6 end, |
contrebasse@65 | 7 }) |
contrebasse@65 | 8 A.L = L |
contrebasse@65 | 9 |
contrebasse@65 | 10 --@debug@ |
contrebasse@65 | 11 L["Recipe link not found for %s"] = "Recipe link not found for %s" |
contrebasse@65 | 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." |
contrebasse@65 | 13 L["You do not have enough [%s] to craft [%s]"] = "You do not have enough [%s] to craft [%s]" |
contrebasse@65 | 14 L["You do not have enough reagents to craft [%s]"] = "You do not have enough reagents to craft [%s]" |
contrebasse@65 | 15 --@end-debug@ |
contrebasse@65 | 16 |
contrebasse@65 | 17 --@localization(locale="enUS", format="lua_additive_table", handle-unlocalized="english")@ |
contrebasse@65 | 18 |
contrebasse@65 | 19 local locale = GetLocale() |
contrebasse@65 | 20 if locale == 'frFR' then |
contrebasse@65 | 21 |
contrebasse@65 | 22 --@localization(locale="frFR", format="lua_additive_table", handle-unlocalized="comment")@ |
contrebasse@65 | 23 |
contrebasse@65 | 24 end |