init
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
--[[
|
||||
This file is part of Decursive.
|
||||
|
||||
Decursive (v 2.5.1-6-gd3885c5) add-on for World of Warcraft UI
|
||||
Copyright (C) 2006-2007-2008-2009 John Wellesz (archarodim AT teaser.fr) ( http://www.2072productions.com/?to=decursive.php )
|
||||
|
||||
This is the continued work of the original Decursive (v1.9.4) by Quu
|
||||
"Decursive 1.9.4" is in public domain ( www.quutar.com )
|
||||
|
||||
Decursive is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Decursive is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Decursive. If not, see <http://www.gnu.org/licenses/>.
|
||||
--]]
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
-- Spanish localization
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
--[=[
|
||||
-- YOUR ATTENTION PLEASE
|
||||
--
|
||||
-- !!!!!!! TRANSLATORS TRANSLATORS TRANSLATORS !!!!!!!
|
||||
--
|
||||
-- Thank you very much for your interest in translating Decursive.
|
||||
-- Do not edit those files. Use the localization interface available at the following address:
|
||||
--
|
||||
-- ################################################################
|
||||
-- # http://wow.curseforge.com/projects/decursive/localization/ #
|
||||
-- ################################################################
|
||||
--
|
||||
-- Your translations made using this interface will be automatically included in the next release.
|
||||
--
|
||||
--]=]
|
||||
|
||||
local addonName, T = ...;
|
||||
-- big ugly scary fatal error message display function {{{
|
||||
if not T._FatalError then
|
||||
-- the beautiful error popup : {{{ -
|
||||
StaticPopupDialogs["DECURSIVE_ERROR_FRAME"] = {
|
||||
text = "|cFFFF0000Decursive Error:|r\n%s",
|
||||
button1 = "OK",
|
||||
OnAccept = function()
|
||||
return false;
|
||||
end,
|
||||
timeout = 0,
|
||||
whileDead = 1,
|
||||
hideOnEscape = 1,
|
||||
showAlert = 1,
|
||||
}; -- }}}
|
||||
T._FatalError = function (TheError) StaticPopup_Show ("DECURSIVE_ERROR_FRAME", TheError); end
|
||||
end
|
||||
-- }}}
|
||||
if not T._LoadedFiles or not T._LoadedFiles["enUS.lua"] then
|
||||
if not DecursiveInstallCorrupted then T._FatalError("Decursive installation is corrupted! (enUS.lua not loaded)"); end;
|
||||
DecursiveInstallCorrupted = true;
|
||||
return;
|
||||
end
|
||||
local L = LibStub("AceLocale-3.0"):NewLocale("Decursive", "esMX");
|
||||
|
||||
if not L then
|
||||
T._LoadedFiles["esMX.lua"] = "2.5.1-6-gd3885c5";
|
||||
return;
|
||||
end;
|
||||
|
||||
|
||||
|
||||
|
||||
T._LoadedFiles["esMX.lua"] = "2.5.1-6-gd3885c5";
|
||||
Reference in New Issue
Block a user