WoWInterface SVN InFlight

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /branches
    from Rev 128 to Rev 137
    Reverse comparison

Rev 128 → Rev 137

Classic/InFlight_Load/InFlight_Load.lua
41,7 → 41,7
-- maybe this stuff gets garbage collected if InFlight isn't loadable
if GetAddOnEnableState(UnitName("player"), "InFlight") == 2 then
-- GLOBALS -> LOCAL
local ipairs, pairs, strfind, strmatch = ipairs, pairs, strfind, strmatch
local ipairs, strfind = ipairs, strfind
 
-- LOCALIZATION
local L = LibStub("AceLocale-3.0"):GetLocale("InFlight", true)
74,7 → 74,7
end
 
local source, destination
for i, sz in ipairs(tsz) do
for _, sz in ipairs(tsz) do
if strfind(text, sz.find, 1, true) then
source = sz.s
destination = sz.d
Classic/InFlight_Load/InFlight_Load.toc
12,7 → 12,7
## Notes-zhCN: InFlight 的載入器
## Notes-zhTW: InFlight 的裝載機
## Author: TotalPackage
## Version: 1.13.002
## Version: 1.13.003
 
## X-Category: Interface Enhancements
 
Classic/InFlight/InFlight.lua
195,6 → 195,21
end
end
Print(L["DefaultsUpdated"])
 
if debug then
for faction, t in pairs(self.defaults.global) do
local count = 0
for src, dt in pairs(t) do
for dst, dtime in pairs(dt) do
if dst ~= "name" then
count = count + 1
end
end
end
 
PrintD(faction, "|cff208020-|r", count, "|cff208020flghts|r")
end
end
end
 
-- Check every 2 weeks if there are new flight times that could be uploaded
299,6 → 314,7
tb:HookScript("OnEnter", postTaxiNodeOnButtonEnter)
tb.inflighted = true
end
 
if TaxiNodeGetType(i) == "CURRENT" then
taxiSrc = ShortenName(TaxiNodeName(i))
end
914,7 → 930,7
ownData = true
end
local InFlightVars = self.defaults.global
for i, flightPaths in ipairs(updates) do
for _, flightPaths in ipairs(updates) do
 
-- Set updateExistingTimes to true to update and add new times (for updates based
-- on the current default db)
Classic/InFlight/InFlight.toc
12,7 → 12,7
## Notes-zhCN: 您的航班路径的状态栏计时器
## Notes-zhTW: 您的航班路徑的狀態欄計時器
## Author: TotalPackage
## Version: 1.13.002
## Version: 1.13.003
 
## SavedVariables: InFlightDB
## Dependencies: InFlight_Load