WoWInterface SVN Dashboard

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 1 to Rev 2
    Reverse comparison

Rev 1 → Rev 2

Dashboard.lua --- Dashboard.toc (revision 0) +++ Dashboard.toc (revision 2) @@ -0,0 +1,12 @@ +## Interface: 20400 +## Title: Dashboard +## Version: wowi:revision +## Notes: Provides an in-game speedometer and odometer +## Author: Cladhaire +## SavedVariables: DashboardDB + +libs\Astrolabe\Load.xml + +Localization.enUS.lua + +Dashboard.lua
Dashboard.toc Property changes : Added: svn:executable + *
Babelfish.lua New file
0,0 → 1,27
#!/usr/local/bin/lua
 
local strings = {}
 
for i=1,#arg do
local file = io.open(arg[i], "r")
assert(file, "Could not open " .. arg[i])
local text = file:read("*all")
 
for match in string.gmatch(text, "L%[\"(.-)\"%]") do
strings[match] = true
end
end
 
local work = {}
 
for k,v in pairs(strings) do table.insert(work, k) end
table.sort(work)
 
print("--Localization.enUS.lua\n")
print("TomTomLocals = {")
for idx,match in ipairs(work) do
local val = match
print(string.format("\t[\"%s\"] = \"%s\",", match, val))
end
print("}\n")
print("setmetatable(TomTomLocals, {__index=function(t,k) rawset(t, k, k); return k; end})")
. Property changes : Added: wowi:dirname + Dashboard Added: svn:externals + libs/Astrolabe http://svn.esamynn.org/astrolabe/trunk/