Changeset 784 for trunk/Modules


Ignore:
Timestamp:
Feb 5, 2014, 2:14:14 PM (10 years ago)
Author:
maron
Message:
  • added: compare text in addon without white char
Location:
trunk/Modules/Export
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Export/CreateAddon.php

    r781 r784  
    6262    $string = str_replace('\\r', ' ', $string);
    6363    $string = str_replace('\\n', ' ', $string);
    64     while(strpos($string, '  '))
    65       $string = str_replace('  ', ' ', $string);
     64    $string = str_replace(' ', '', $string);
     65//    while(strpos($string, '  '))
     66//      $string = str_replace('  ', ' ', $string);
    6667    return($string);
    6768  }
  • trunk/Modules/Export/files/3.3.5a/CzWoW/CzWoW.lua

    r779 r784  
    1818        text = gsub(text, "^%s+", "");
    1919        text = gsub(text, "%s+$", "");
     20        text = gsub(text, " ", "");
    2021        return text;
    2122end
     
    8990  if Debug then
    9091    if (text == nil) then else
     92     print("Or: "..text);
    9193     print("En: "..trim(text));
    9294     text = DoTranslate(text);
  • trunk/Modules/Export/files/4.3.4/CzWoW/CzWoW.lua

    r779 r784  
    1818        text = gsub(text, "^%s+", "");
    1919        text = gsub(text, "%s+$", "");
     20        text = gsub(text, " ", "");
    2021        return text;
    2122end
     
    8990  if Debug then
    9091    if (text == nil) then else
     92     print("Or: "..text);
    9193     print("En: "..trim(text));
    9294     text = DoTranslate(text);
  • trunk/Modules/Export/files/5.4.0/CzWoW/CzWoW.lua

    r779 r784  
    1818        text = gsub(text, "^%s+", "");
    1919        text = gsub(text, "%s+$", "");
     20        text = gsub(text, " ", "");
    2021        return text;
    2122end
     
    8990  if Debug then
    9091    if (text == nil) then else
     92     print("Or: "..text);
    9193     print("En: "..trim(text));
    9294     text = DoTranslate(text);
Note: See TracChangeset for help on using the changeset viewer.