Add initial configuration (just alpha and scale). Add basic slash command /omen.

This commit is contained in:
Xinhuan
2008-10-02 11:20:58 +08:00
parent 22759746a2
commit 49895213a4
2 changed files with 160 additions and 11 deletions
+22
View File
@@ -2,8 +2,30 @@ local AceLocale = LibStub:GetLibrary("AceLocale-3.0")
local L = AceLocale:NewLocale("Omen", "enUS", true)
if not L then return end
-- Main Omen window
L["Unknown"] = true
-- Config module titles
L["General Settings"] = true
L["Profiles"] = true
L["Slash Command"] = true
-- Config strings, general settings section
L["OMEN_DESC"] = "Omen is a lightweight threat meter that shows you the threat of mobs you are engaged in combat with. You can change how Omen looks and behaves, and configure different profiles for every of your characters."
L["Alpha"] = true
L["Controls the transparency of the main Omen window."] = true
L["Scale"] = true
L["Controls the scaling of the main Omen window."] = true
-- Config strings, slash command section
L["OMEN_SLASH_DESC"] = "These buttons execute the same functions as the ones in the slash command /omen"
L["Toggle Omen"] = true
L["Center Omen"] = true
L["Configure"] = true
L["Open the configuration dialog"] = true
-- Slash command
BINDING_HEADER_OMEN = "Omen"
BINDING_NAME_OMENTOGGLE = "Toggle Omen"