From 41775881ce8bf5e2a59da3cfc7299656b969521b Mon Sep 17 00:00:00 2001 From: Darthpred Date: Thu, 7 Mar 2013 12:42:01 +0400 Subject: [PATCH] updated lib --- .../libs/LibElvUIPlugin-1.0/LibElvUIPlugin-1.0.lua | 4 ++-- .../libs/LibElvUIPlugin-1.0/LibElvUIPlugin-1.0.toc | 2 +- .../libs/LibElvUIPlugin-1.0/locales/china.lua | 10 +++++++++ .../libs/LibElvUIPlugin-1.0/locales/english.lua | 23 ++++++++++---------- .../libs/LibElvUIPlugin-1.0/locales/french.lua | 10 +++++++++ .../libs/LibElvUIPlugin-1.0/locales/german.lua | 11 ++++++++++ .../libs/LibElvUIPlugin-1.0/locales/italian.lua | 10 +++++++++ .../libs/LibElvUIPlugin-1.0/locales/korean.lua | 10 +++++++++ .../LibElvUIPlugin-1.0/locales/load_locales.xml | 5 +---- .../libs/LibElvUIPlugin-1.0/locales/portuguese.lua | 10 +++++++++ .../libs/LibElvUIPlugin-1.0/locales/spanish.lua | 10 +++++++++ .../libs/LibElvUIPlugin-1.0/locales/taiwan.lua | 12 ++++++++++ 12 files changed, 98 insertions(+), 19 deletions(-) create mode 100644 ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/china.lua create mode 100644 ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/french.lua create mode 100644 ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/german.lua create mode 100644 ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/italian.lua create mode 100644 ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/korean.lua create mode 100644 ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/portuguese.lua create mode 100644 ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/spanish.lua create mode 100644 ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/taiwan.lua diff --git a/ElvUI_SLE/libs/LibElvUIPlugin-1.0/LibElvUIPlugin-1.0.lua b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/LibElvUIPlugin-1.0.lua index cae29ed..0025158 100644 --- a/ElvUI_SLE/libs/LibElvUIPlugin-1.0/LibElvUIPlugin-1.0.lua +++ b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/LibElvUIPlugin-1.0.lua @@ -1,6 +1,6 @@ if not ElvUI then return end -local MAJOR, MINOR = "LibElvUIPlugin-1.0", 7 +local MAJOR, MINOR = "LibElvUIPlugin-1.0", 8 local lib, oldminor = LibStub:NewLibrary(MAJOR, MINOR) @@ -82,7 +82,7 @@ function lib:SetupVersionCheck(plugin) RegisterAddonMessagePrefix(prefix) local function SendRecieve(self, event, mprefix, message, channel, sender) if event == "CHAT_MSG_ADDON" then - if sender == E.myname or not sender or mprefix ~= prefix then return end + if sender == E.myname or not sender or mprefix ~= prefix or plugin.name == MAJOR then return end if not E[plugin.name.."recievedOutOfDateMessage"] then if plugin.version ~= 'BETA' and tonumber(message) ~= nil and tonumber(message) > tonumber(plugin.version) then diff --git a/ElvUI_SLE/libs/LibElvUIPlugin-1.0/LibElvUIPlugin-1.0.toc b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/LibElvUIPlugin-1.0.toc index 84b70d7..6270cdd 100644 --- a/ElvUI_SLE/libs/LibElvUIPlugin-1.0/LibElvUIPlugin-1.0.toc +++ b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/LibElvUIPlugin-1.0.toc @@ -1,4 +1,4 @@ -## Interface: 50100 +## Interface: 50200 ## LoadOnDemand: 1 ## Title: Lib: LibElvUIPlugin-1.0 ## Notes: diff --git a/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/china.lua b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/china.lua new file mode 100644 index 0000000..5baf482 --- /dev/null +++ b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/china.lua @@ -0,0 +1,10 @@ +local AceLocale = LibStub:GetLibrary("AceLocale-3.0") +local L = AceLocale:NewLocale("ElvUI", "zhCN") +if not L then return end +L[" - Plugins Loaded (Green means you have current version, Red means out of date)"] = true +L["Plugins"] = true +L["Your version of "] = true +L[" is out of date. You can download the latest version from http://www.tukui.org"] = true +L["by"] = true +L[" (Newest: "] = true + diff --git a/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/english.lua b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/english.lua index 66167aa..9afc579 100644 --- a/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/english.lua +++ b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/english.lua @@ -1,12 +1,11 @@ --- English localization file for enUS and enGB. -local AceLocale = LibStub:GetLibrary("AceLocale-3.0"); -local L = AceLocale:NewLocale("ElvUI", "enUS", true); - -if not L then return; end - -L[" - Plugins Loaded (Green means you have current version, Red means out of date)"] = true -L["Plugins"] = true -L["Your version of "] = true -L[" is out of date. You can download the latest version from http://www.tukui.org"] = true -L["by"] = true -L[" (Newest: "] = true \ No newline at end of file +-- English localization file for enUS and enGB. +local AceLocale = LibStub:GetLibrary("AceLocale-3.0"); +local L = AceLocale:NewLocale("ElvUI", "enUS", true); +if not L then return; end +L[" - Plugins Loaded (Green means you have current version, Red means out of date)"] = true +L["Plugins"] = true +L["Your version of "] = true +L[" is out of date. You can download the latest version from http://www.tukui.org"] = true +L["by"] = true +L[" (Newest: "] = true + diff --git a/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/french.lua b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/french.lua new file mode 100644 index 0000000..4d665ae --- /dev/null +++ b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/french.lua @@ -0,0 +1,10 @@ +local AceLocale = LibStub:GetLibrary("AceLocale-3.0"); +local L = AceLocale:NewLocale("ElvUI", "frFR"); +if not L then return; end +L[" - Plugins Loaded (Green means you have current version, Red means out of date)"] = true +L["Plugins"] = true +L["Your version of "] = true +L[" is out of date. You can download the latest version from http://www.tukui.org"] = true +L["by"] = true +L[" (Newest: "] = true + diff --git a/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/german.lua b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/german.lua new file mode 100644 index 0000000..20b3a2a --- /dev/null +++ b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/german.lua @@ -0,0 +1,11 @@ +-- German localisation file for deDE +local AceLocale = LibStub:GetLibrary("AceLocale-3.0") +local L = AceLocale:NewLocale("ElvUI", "deDE") +if not L then return end +L[" - Plugins Loaded (Green means you have current version, Red means out of date)"] = true +L["Plugins"] = true +L["Your version of "] = true +L[" is out of date. You can download the latest version from http://www.tukui.org"] = true +L["by"] = true +L[" (Newest: "] = true + diff --git a/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/italian.lua b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/italian.lua new file mode 100644 index 0000000..dc6bd6e --- /dev/null +++ b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/italian.lua @@ -0,0 +1,10 @@ +local AceLocale = LibStub:GetLibrary("AceLocale-3.0"); +local L = AceLocale:NewLocale("ElvUI", "itIT"); +if not L then return; end +L[" - Plugins Loaded (Green means you have current version, Red means out of date)"] = true +L["Plugins"] = true +L["Your version of "] = true +L[" is out of date. You can download the latest version from http://www.tukui.org"] = true +L["by"] = true +L[" (Newest: "] = true + diff --git a/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/korean.lua b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/korean.lua new file mode 100644 index 0000000..d22bdcb --- /dev/null +++ b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/korean.lua @@ -0,0 +1,10 @@ +local AceLocale = LibStub:GetLibrary("AceLocale-3.0") +local L = AceLocale:NewLocale("ElvUI", "koKR") +if not L then return end +L[" - Plugins Loaded (Green means you have current version, Red means out of date)"] = true +L["Plugins"] = true +L["Your version of "] = true +L[" is out of date. You can download the latest version from http://www.tukui.org"] = true +L["by"] = true +L[" (Newest: "] = true + diff --git a/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/load_locales.xml b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/load_locales.xml index ef6d227..e6d6042 100644 --- a/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/load_locales.xml +++ b/ElvUI_SLE/libs/LibElvUIPlugin-1.0/locales/load_locales.xml @@ -1,4 +1 @@ - -