changeset 33:380285db8fed v3.2.9

Updating for 4.1
author Bryan McLemore <kaelten@gmail.com>
date Mon, 30 May 2011 12:48:13 -0500
parents 2d6036e12b77
children 950739962e33
files .pkgmeta OneRing3.lua OneRing3.toc OneRing3.xml localization/deDE.lua localization/enUS.lua localization/esES.lua localization/esMX.lua localization/frFR.lua localization/koKR.lua localization/ruRU.lua localization/zhCN.lua localization/zhTW.lua
diffstat 13 files changed, 52 insertions(+), 53 deletions(-) [+]
line wrap: on
line diff
--- a/.pkgmeta	Mon Feb 14 00:19:11 2011 -0600
+++ b/.pkgmeta	Mon May 30 12:48:13 2011 -0500
@@ -8,7 +8,7 @@
 	libs/AceHook-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceHook-3.0
 	libs/AceDB-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceDB-3.0
 	libs/AceDBOptions-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceDBOptions-3.0
-	libs/AceLocale-3.1: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceLocale-3.1
+	libs/AceLocale-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceLocale-3.0
 	libs/AceConsole-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceConsole-3.0
 	libs/AceGUI-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceGUI-3.0
 	libs/AceConfig-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceConfig-3.0
--- a/OneRing3.lua	Mon Feb 14 00:19:11 2011 -0600
+++ b/OneRing3.lua	Mon May 30 12:48:13 2011 -0500
@@ -1,68 +1,68 @@
 
 local OneBag3 = LibStub('AceAddon-3.0'):GetAddon('OneBag3')
-local OneRing3 = LibStub('AceAddon-3.0'):NewAddon('OneRing3', 'OneCore-1.0', 'OneFrame-1.0', 'OneConfig-1.0', 'OnePlugin-1.0', 'AceHook-3.0', 'AceEvent-3.0', 'AceConsole-3.0')   
+local OneRing3 = LibStub('AceAddon-3.0'):NewAddon('OneRing3', 'OneCore-1.0', 'OneFrame-1.0', 'OneConfig-1.0', 'OnePlugin-1.0', 'AceHook-3.0', 'AceEvent-3.0', 'AceConsole-3.0')
 local AceDB3 = LibStub('AceDB-3.0')
-local L = LibStub("AceLocale-3.1"):GetLocale("OneRing3")  
+local L = LibStub("AceLocale-3.0"):GetLocale("OneRing3")
 
-OneRing3:InitializePluginSystem()                         
-     
+OneRing3:InitializePluginSystem()
+
 --- Handles the do once configuration, including db, frames and configuration
-function OneRing3:OnInitialize()      
+function OneRing3:OnInitialize()
 	self.db = OneBag3.db
 	self.displayName = "OneRing3"
-	
+
 	self.bagIndexes = {-2}
 	self.forcedCols = 4
 	self.bottomBorder = 5
 	self.topBorder = -5
-	
+
 	self.frame = self:CreateMainFrame("OneRingFrame")
 	self.frame.handler = self
-	
+
     table.insert(OneBag3.frame.childrenFrames, self.frame)
-	                                                     
+
 	self.frame:SetPosition(self.db.profile.position)
 	self.frame:CustomizeFrame(self.db.profile)
-	
+
 	self.frame.moneyframe:Hide()
 	self.frame.sidebarButton:Hide()
-	self.frame.configButton:Hide()      
-	
+	self.frame.configButton:Hide()
+
 	self.frame.name:ClearAllPoints()
 	self.frame.name:SetPoint("TOPLEFT", "OneRingFrame", "TOPLEFT", 10, -15)
-	
+
 	self.frame:SetScript("OnShow", function()
         if not self.frame.slots then
             self.frame.slots = {}
         end
-        
+
         self:BuildFrame()
         self:OrganizeFrame()
         self:UpdateFrame()
-        
-        local UpdateBag = function(event, bag) 
+
+        local UpdateBag = function(event, bag)
 			self:UpdateBag(bag)
 		end
 
 		self:RegisterEvent("BAG_UPDATE", UpdateBag)
 		self:RegisterEvent("BAG_UPDATE_COOLDOWN", UpdateBag)
-		self:RegisterEvent("UPDATE_INVENTORY_ALERTS", "UpdateFrame")     
+		self:RegisterEvent("UPDATE_INVENTORY_ALERTS", "UpdateFrame")
 		self:RegisterEvent("ITEM_LOCK_CHANGED", "UpdateItemLock")
-		
-		self.frame.name:SetText(L["%s's KeyRing"]:format(UnitName("player"))) 
 
-        self.frame:ClearAllPoints()   		
-		if not OneBag3.frame:IsVisible() then 
-            self.frame:SetPoint("CENTER", UIParent, "CENTER", 0, 0) 
-        else 
-            self.frame:SetPoint("BOTTOMLEFT", OneBag3.frame, "TOPLEFT", 0, 8) 
+		self.frame.name:SetText(L["%s's KeyRing"]:format(UnitName("player")))
+
+        self.frame:ClearAllPoints()
+		if not OneBag3.frame:IsVisible() then
+            self.frame:SetPoint("CENTER", UIParent, "CENTER", 0, 0)
+        else
+            self.frame:SetPoint("BOTTOMLEFT", OneBag3.frame, "TOPLEFT", 0, 8)
         end
 	end)
-	             
+
 	self.frame:SetScript("OnHide", function()
 	    self:UnregisterEvent("BAG_UPDATE")
 	    self:UnregisterEvent("BAG_UPDATE_COOLDOWN")
-	    self:UnregisterEvent("UPDATE_INVENTORY_ALERTS")  
+	    self:UnregisterEvent("UPDATE_INVENTORY_ALERTS")
 	    self:UnregisterEvent("ITEM_LOCK_CHANGED")
 	end)
 end
@@ -75,7 +75,7 @@
         else
             self.frame:Show()
         end
-        
+
         local shownContainerID = IsBagOpen(KEYRING_CONTAINER)
         if ( shownContainerID ) then
             local frame = getglobal("ContainerFrame"..shownContainerID)
@@ -83,4 +83,3 @@
         end
     end)
 end
-    
\ No newline at end of file
--- a/OneRing3.toc	Mon Feb 14 00:19:11 2011 -0600
+++ b/OneRing3.toc	Mon May 30 12:48:13 2011 -0500
@@ -1,1 +1,1 @@
-## Interface: 40000
## Title: OneRing3 
## Notes: A plugin for OneBag to make your keyring the same texture as OneBag/Bank.
## Notes-zhCN: 整合背包插件,以整合方式显示你的银行。
## Notes-zhTW: 把鑰匙圈換成 OneBag 風格。
## Notes-deDE: Eine Tasche um sie alle zu beherrschen, und in der Dunkelheit zu binden.
## Author: Kaelten
## X-eMail: kaelten@gmail.com
## X-Category: Bags & Inventory
## X-Website: http://www.wowace.com/projects/OneRing3/ 
## X-Date: @project-timestamp@
## Version: @project-version@       
## Deps: OneBag3
## OptionalDeps: Ace3, OneCore

OneRing3.xml
\ No newline at end of file
+## Interface: 41000
## Title: OneRing3
## Notes: A plugin for OneBag to make your keyring the same texture as OneBag/Bank.
## Notes-zhCN: 整合背包插件,以整合方式显示你的银行。
## Notes-zhTW: 把鑰匙圈換成 OneBag 風格。
## Notes-deDE: Eine Tasche um sie alle zu beherrschen, und in der Dunkelheit zu binden.
## Author: Kaelten
## X-eMail: kaelten@gmail.com
## X-Category: Bags & Inventory
## X-Website: http://www.wowace.com/projects/OneRing3/
## X-Date: @project-timestamp@
## Version: @project-version@
## Deps: OneBag3
## OptionalDeps: Ace3, OneCore

OneRing3.xml
\ No newline at end of file
--- a/OneRing3.xml	Mon Feb 14 00:19:11 2011 -0600
+++ b/OneRing3.xml	Mon May 30 12:48:13 2011 -0500
@@ -1,5 +1,5 @@
-<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd">    
-    <!--@no-lib-strip@--> 
+<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd">
+    <!--@no-lib-strip@-->
     <Script file="libs\LibStub\LibStub.lua" />
     <Include file="libs\CallbackHandler-1.0\CallbackHandler-1.0.xml" />
 
@@ -8,14 +8,14 @@
     <Include file="libs\AceHook-3.0\AceHook-3.0.xml" />
     <Include file="libs\AceDB-3.0\AceDB-3.0.xml" />
     <Include file="libs\AceDBOptions-3.0\AceDBOptions-3.0.xml" />
-    <Include file="libs\AceLocale-3.1\AceLocale-3.1.xml" />
+    <Include file="libs\AceLocale-3.0\AceLocale-3.0.xml" />
     <Include file="libs\AceConsole-3.0\AceConsole-3.0.xml" />
     <Include file="libs\AceGUI-3.0\AceGUI-3.0.xml" />
-    <Include file="libs\AceConfig-3.0\AceConfig-3.0.xml" />      
-    
+    <Include file="libs\AceConfig-3.0\AceConfig-3.0.xml" />
+
     <Include file="libs\OneCore-1.0\OneCore-1.0.xml" />
     <!--@end-no-lib-strip@-->
 
     <Include file="localization\load.xml" />
-    <Script file="OneRing3.lua" /> 
+    <Script file="OneRing3.lua" />
 </Ui>
--- a/localization/deDE.lua	Mon Feb 14 00:19:11 2011 -0600
+++ b/localization/deDE.lua	Mon May 30 12:48:13 2011 -0500
@@ -1,6 +1,6 @@
-local L = LibStub("AceLocale-3.1"):NewLocale("OneRing3", "deDE")
+local L = LibStub("AceLocale-3.0"):NewLocale("OneRing3", "deDE")
 
-if L then 
+if L then
     --[===[@non-debug@
     @localization(locale="deDE", format="lua_additive_table")@
     --@end-non-debug@]===]
--- a/localization/enUS.lua	Mon Feb 14 00:19:11 2011 -0600
+++ b/localization/enUS.lua	Mon May 30 12:48:13 2011 -0500
@@ -1,4 +1,4 @@
-local L = LibStub("AceLocale-3.1"):NewLocale("OneRing3", "enUS", true)
+local L = LibStub("AceLocale-3.0"):NewLocale("OneRing3", "enUS", true, true)
 
 --[===[@non-debug@
 @localization(locale="enUS", format="lua_additive_table", same-key-is-true=true)@
--- a/localization/esES.lua	Mon Feb 14 00:19:11 2011 -0600
+++ b/localization/esES.lua	Mon May 30 12:48:13 2011 -0500
@@ -1,6 +1,6 @@
-local L = LibStub("AceLocale-3.1"):NewLocale("OneRing3", "esES")
+local L = LibStub("AceLocale-3.0"):NewLocale("OneRing3", "esES")
 
-if L then 
+if L then
     --[===[@non-debug@
     @localization(locale="esES", format="lua_additive_table")@
     --@end-non-debug@]===]
--- a/localization/esMX.lua	Mon Feb 14 00:19:11 2011 -0600
+++ b/localization/esMX.lua	Mon May 30 12:48:13 2011 -0500
@@ -1,6 +1,6 @@
-local L = LibStub("AceLocale-3.1"):NewLocale("OneRing3", "esMX")
+local L = LibStub("AceLocale-3.0"):NewLocale("OneRing3", "esMX")
 
-if L then 
+if L then
     --[===[@non-debug@
     @localization(locale="esMX", format="lua_additive_table")@
     --@end-non-debug@]===]
--- a/localization/frFR.lua	Mon Feb 14 00:19:11 2011 -0600
+++ b/localization/frFR.lua	Mon May 30 12:48:13 2011 -0500
@@ -1,6 +1,6 @@
-local L = LibStub("AceLocale-3.1"):NewLocale("OneRing3", "frFR")
+local L = LibStub("AceLocale-3.0"):NewLocale("OneRing3", "frFR")
 
-if L then 
+if L then
     --[===[@non-debug@
     @localization(locale="frFR", format="lua_additive_table")@
     --@end-non-debug@]===]
--- a/localization/koKR.lua	Mon Feb 14 00:19:11 2011 -0600
+++ b/localization/koKR.lua	Mon May 30 12:48:13 2011 -0500
@@ -1,6 +1,6 @@
-local L = LibStub("AceLocale-3.1"):NewLocale("OneRing3", "koKR")
+local L = LibStub("AceLocale-3.0"):NewLocale("OneRing3", "koKR")
 
-if L then 
+if L then
     --[===[@non-debug@
     @localization(locale="koKR", format="lua_additive_table")@
     --@end-non-debug@]===]
--- a/localization/ruRU.lua	Mon Feb 14 00:19:11 2011 -0600
+++ b/localization/ruRU.lua	Mon May 30 12:48:13 2011 -0500
@@ -1,6 +1,6 @@
-local L = LibStub("AceLocale-3.1"):NewLocale("OneRing3", "ruRU")
+local L = LibStub("AceLocale-3.0"):NewLocale("OneRing3", "ruRU")
 
-if L then 
+if L then
     --[===[@non-debug@
     @localization(locale="ruRU", format="lua_additive_table")@
     --@end-non-debug@]===]
--- a/localization/zhCN.lua	Mon Feb 14 00:19:11 2011 -0600
+++ b/localization/zhCN.lua	Mon May 30 12:48:13 2011 -0500
@@ -1,6 +1,6 @@
-local L = LibStub("AceLocale-3.1"):NewLocale("OneRing3", "zhCN")
+local L = LibStub("AceLocale-3.0"):NewLocale("OneRing3", "zhCN")
 
-if L then 
+if L then
     --[===[@non-debug@
     @localization(locale="zhCN", format="lua_additive_table")@
     --@end-non-debug@]===]
--- a/localization/zhTW.lua	Mon Feb 14 00:19:11 2011 -0600
+++ b/localization/zhTW.lua	Mon May 30 12:48:13 2011 -0500
@@ -1,6 +1,6 @@
-local L = LibStub("AceLocale-3.1"):NewLocale("OneRing3", "zhTW")
+local L = LibStub("AceLocale-3.0"):NewLocale("OneRing3", "zhTW")
 
-if L then 
+if L then
     --[===[@non-debug@
     @localization(locale="zhTW", format="lua_additive_table")@
     --@end-non-debug@]===]