diff localization.lua @ 65:60871b43531d

Add localization
author contrebasse
date Fri, 13 May 2011 02:17:52 +0200
parents
children 31009ddc7d31
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/localization.lua	Fri May 13 02:17:52 2011 +0200
@@ -0,0 +1,24 @@
+local addonName, A = ...
+
+local L = setmetatable({}, {
+	__index = function(self, key)
+		return tostring(key)
+	end,
+})
+A.L = L
+
+--@debug@
+L["Recipe link not found for %s"] = "Recipe link not found for %s"
+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."
+L["You do not have enough [%s] to craft [%s]"] = "You do not have enough [%s] to craft [%s]"
+L["You do not have enough reagents to craft [%s]"] = "You do not have enough reagents to craft [%s]"
+--@end-debug@
+
+--@localization(locale="enUS", format="lua_additive_table", handle-unlocalized="english")@
+
+local locale = GetLocale()
+if locale == 'frFR' then
+
+--@localization(locale="frFR", format="lua_additive_table", handle-unlocalized="comment")@
+
+end
\ No newline at end of file