WoWInterface SVN SliceCommander

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 232 to Rev 233
    Reverse comparison

Rev 232 → Rev 233

trunk/Core/PixelPerfect.lua
28,7 → 28,10
if not _G['SC'].SET or _G['SC'].SET.PixelPerfect then
local resolution = ({GetScreenResolutions()})[GetCurrentResolution()]
if resolution == nil then
SliceCommander:StaticPopup_Show('FAILED_UISCALERESOLUTION')
resolution = _G['SC'].SET.fixedResolution
if resolution == nil then
SliceCommander:StaticPopup_Show('FAILED_UISCALERESOLUTION')
end
return false
end
local screenwidth, screenheight = DecodeResolution(resolution)
trunk/Core/StaticPopups.lua
56,7 → 56,7
}
 
SC.PopupDialogs["FAILED_UISCALERESOLUTION"] = {
text = L["The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed."],
text = L["The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed. If does not fix the issue you can force the resolution for SliceCommander with the following macro '/sc resolution 1920x1080' (replace 1920x1080 by your resolution)."],
button1 = ACCEPT,
OnAccept = function() GameMenuButtonOptions:Click(); end,
timeout = 0,
328,12 → 328,16
return nil;
end
 
print(dialog:GetName().."Text");
local text = _G[dialog:GetName().."Text"];
local editBox = _G[dialog:GetName().."EditBox"];
local button1 = _G[dialog:GetName().."Button1"];
 
local maxHeightSoFar, maxWidthSoFar = (dialog.maxHeightSoFar or 0), (dialog.maxWidthSoFar or 0);
local width = 320;
local width = 500;
 
text:SCWidth(470);
text:SCHeight(90);
 
if ( dialog.numButtons == 3 ) then
width = 440;
349,7 → 353,7
dialog.maxWidthSoFar = width;
end
 
local height = 32 + text:GetHeight() + 8 + button1:GetHeight();
local height = 55 + text:GetHeight() + 8 + button1:GetHeight();
if ( info.hasEditBox ) then
height = height + 8 + editBox:GetHeight();
elseif ( info.hasMoneyFrame ) then
trunk/Locale/zhCN.lua
161,7 → 161,7
L["A small red bar will be displaid on each timer bar impacted by the mechanic to show you when you can refresh the corresponding buff/debuff."] = "A small red bar will be displaid on each timer bar impacted by the mechanic to show you when you can refresh the corresponding buff/debuff."
L["You have changed your UIScale, however you still have the PixelPerfect option enabled in SliceCommander. Press accept if you would like to disable the Auto Scale option."] = "You have changed your UIScale, however you still have the PixelPerfect option enabled in SliceCommander. Press accept if you would like to disable the Auto Scale option."
L["One or more of the changes you have made require a ReloadUI."] = "已变更一或多个设定,需重载界面."
L["The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed."] = "The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed."
L["The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed. If does not fix the issue you can force the resolution for SliceCommander with the following macro '/sc resolution 1920x1080' (replace 1920x1080 by your resolution)."] = "The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed. If does not fix the issue you can force the resolution for SliceCommander with the following macro '/sc resolution 1920x1080' (replace 1920x1080 by your resolution)."
L["Add spell"] = "Add spell"
L["Add kicked spell at the start of the message."] = "Add kicked spell at the start of the message."
L["Enable spell sound notitication"] = "Enable spell sound notitication"
trunk/Locale/enUS.lua
161,7 → 161,7
L["A small red bar will be displaid on each timer bar impacted by the mechanic to show you when you can refresh the corresponding buff/debuff."] = true
L["You have changed your UIScale, however you still have the PixelPerfect option enabled in SliceCommander. Press accept if you would like to disable the Auto Scale option."] = true
L["One or more of the changes you have made require a ReloadUI."] = true
L["The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed."] = true
L["The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed. If does not fix the issue you can force the resolution for SliceCommander with the following macro '/sc resolution 1920x1080' (replace 1920x1080 by your resolution)."] = true
L["Add spell"] = true
L["Add kicked spell at the start of the message."] = true
L["Enable spell sound notitication"] = true
trunk/Locale/ruRU.lua
161,7 → 161,7
L["A small red bar will be displaid on each timer bar impacted by the mechanic to show you when you can refresh the corresponding buff/debuff."] = "A small red bar will be displaid on each timer bar impacted by the mechanic to show you when you can refresh the corresponding buff/debuff."
L["You have changed your UIScale, however you still have the PixelPerfect option enabled in SliceCommander. Press accept if you would like to disable the Auto Scale option."] = "You have changed your UIScale, however you still have the PixelPerfect option enabled in SliceCommander. Press accept if you would like to disable the Auto Scale option."
L["One or more of the changes you have made require a ReloadUI."] = "Одно или несколько изменений требуют перезагрузки интерфейса"
L["The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed."] = "The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed."
L["The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed. If does not fix the issue you can force the resolution for SliceCommander with the following macro '/sc resolution 1920x1080' (replace 1920x1080 by your resolution)."] = "The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed. If does not fix the issue you can force the resolution for SliceCommander with the following macro '/sc resolution 1920x1080' (replace 1920x1080 by your resolution)."
L["Add spell"] = "Add spell"
L["Add kicked spell at the start of the message."] = "Add kicked spell at the start of the message."
L["Enable spell sound notitication"] = "Enable spell sound notitication"
trunk/Locale/esES.lua
161,7 → 161,7
L["A small red bar will be displaid on each timer bar impacted by the mechanic to show you when you can refresh the corresponding buff/debuff."] = true
L["You have changed your UIScale, however you still have the PixelPerfect option enabled in SliceCommander. Press accept if you would like to disable the Auto Scale option."] = true
L["One or more of the changes you have made require a ReloadUI."] = true
L["The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed."] = true
L["The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed. If does not fix the issue you can force the resolution for SliceCommander with the following macro '/sc resolution 1920x1080' (replace 1920x1080 by your resolution)."] = true
L["Add spell"] = true
L["Add kicked spell at the start of the message."] = true
L["Enable spell sound notitication"] = true
trunk/Locale/frFR.lua
161,7 → 161,7
L["A small red bar will be displaid on each timer bar impacted by the mechanic to show you when you can refresh the corresponding buff/debuff."] = "Une fine barre rouge sera affichée sur chaque barre de durée impacté par la mécanique pour montré quand vous pourrez réapliquer le buff/debuff."
L["You have changed your UIScale, however you still have the PixelPerfect option enabled in SliceCommander. Press accept if you would like to disable the Auto Scale option."] = "Vous venez de changer l'échelle de votre interface, alors que votre option PixelPerfect est encore activée dans SliceCommander. Cliquer sur accepter si vous voulez désactiver l'option d'échelle automatique."
L["One or more of the changes you have made require a ReloadUI."] = "Une ou plusieurs modifications que vous avez effectuées nécessitent un rechargement de l'interface."
L["The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed."] = "La résolution du jeu utilisé pour l'option PixelPerfect n'a pas pu être récupérée correctement. Veuilliez essayer de basculer temporairement le mode d'affichage de fenêtré à pleine écran."
L["The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed. If does not fix the issue you can force the resolution for SliceCommander with the following macro '/sc resolution 1920x1080' (replace 1920x1080 by your resolution)."] = "La résolution du jeu utilisé pour l'option PixelPerfect n'a pas pu être récupérée correctement. Veuilliez essayer de basculer temporairement le mode d'affichage de fenêtré à pleine écran. Si cela ne corrige pas le problème vous pouvez essayé la macro suivante: '/sc resolution 1920x1080' (En remplaçant 1920x1080 par votre résolution)"
L["Add spell"] = "Ajouter le sort"
L["Add kicked spell at the start of the message."] = "Ajout le sort interrompu au début du message."
L["Enable spell sound notitication"] = "Activer les notitications sonore sur les capacités"
trunk/Locale/deDE.lua
161,7 → 161,7
L["A small red bar will be displaid on each timer bar impacted by the mechanic to show you when you can refresh the corresponding buff/debuff."] = "A small red bar will be displaid on each timer bar impacted by the mechanic to show you when you can refresh the corresponding buff/debuff."
L["You have changed your UIScale, however you still have the PixelPerfect option enabled in SliceCommander. Press accept if you would like to disable the Auto Scale option."] = "You have changed your UIScale, however you still have the PixelPerfect option enabled in SliceCommander. Press accept if you would like to disable the Auto Scale option."
L["One or more of the changes you have made require a ReloadUI."] = "Eine oder mehrere Einstellungen, die du vorgenommen hast, benötigen ein Neuladen des Benutzerinterfaces um in Effekt zu treten."
L["The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed."] = "The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed."
L["The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed. If does not fix the issue you can force the resolution for SliceCommander with the following macro '/sc resolution 1920x1080' (replace 1920x1080 by your resolution)."] = "The resolution for the PixelPerfect option can not be found properly. You should try to change your client to fullscreen and then back to windowed. If does not fix the issue you can force the resolution for SliceCommander with the following macro '/sc resolution 1920x1080' (replace 1920x1080 by your resolution)."
L["Add spell"] = "Add spell"
L["Add kicked spell at the start of the message."] = "Add kicked spell at the start of the message."
L["Enable spell sound notitication"] = "Enable spell sound notitication"
trunk/SliceCommander.lua
744,6 → 744,9
SC.SET.TOTTarget = rest
SliceCommander:CreateTOTMacro()
print(L['Macro update'])
elseif command == "resolution" and tostring(rest) then
SC.SET.fixedResolution = rest
ReloadUI()
else
InterfaceOptionsFrame_OpenToCategory("SliceCommander "..GetAddOnMetadata("SliceCommander", "Version"))
InterfaceOptionsFrame_OpenToCategory("SliceCommander "..GetAddOnMetadata("SliceCommander", "Version"))