Changeset 779 for trunk/Modules/Export/files/3.3.5a/CzWoW/CzWoW.lua
- Timestamp:
- Feb 3, 2014, 10:06:56 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Export/files/3.3.5a/CzWoW/CzWoW.lua
r756 r779 410 410 for i=1, NUMGOSSIPBUTTONS, 1 do 411 411 titleButton=getglobal("GossipTitleButton" .. i); 412 local en=trim(titleButton:GetText()); 413 if getglobal("CZWOW_NPCAction_1")[en] then 412 local en=titleButton:GetText(); 414 413 titleButton:SetText(Translate(en)); 415 414 GossipResize(titleButton); 416 end417 415 -- TODO: kontrolovat také s bez "The" 418 416 end … … 423 421 GossipFrameUpdate=function() 424 422 old_GossipFrameUpdate(); 425 local en= trim(GossipGreetingText:GetText());423 local en=GossipGreetingText:GetText(); 426 424 GossipGreetingText:SetText(Translate(en)); 427 425 end; … … 448 446 for i=1, select("#", ...), 3 do 449 447 titleButton = _G["GossipTitleButton" .. titleIndex]; 450 if getglobal("CZWOW_QuestTitle_1")[trim(select(i, ...))] then451 448 titleButton:SetText(Translate(select(i, ...))); 452 end453 449 titleIndex = titleIndex + 1; 454 450 end … … 459 455 ItemTextFrame_OnEvent=function(self, event, ...) 460 456 local en=ItemTextGetText(); 461 if getglobal("CZWOW_BookPage_1")[trim(en)] then462 457 ItemTextPageText:SetText(Translate(en)); 463 end464 458 end; 465 459 --konec page texty
Note:
See TracChangeset
for help on using the changeset viewer.