vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | --[[ |
2 | WARNING! If you edit this file you need a good editor, not notepad. |
||
3 | This file HAS to be saved in UTF-8 format (without signature) else we would have to escape |
||
4 | all special chars |
||
5 | |||
6 | For now im using zh both for zhTW and zhCN |
||
7 | I only had a zhTW GlobalStrings but im just assuming it's the same with zhCN |
||
8 | ]]-- |
||
9 | if ((GetLocale() == "zhTW") or (GetLocale() == "zhCN"))then |
||
10 | |||
11 | |||
12 | function SW_FixLogStrings(str) |
||
13 | -- almost all strings don't have spaces before and after %d, but we need those |
||
14 | return string.gsub(str, "(.)(%%%d?$?d)(.)", "%1 %2 %3"); |
||
15 | end |
||
16 | -- this MUST go at the end of a localization |
||
17 | -- Again if you create a localization put SW_mergeLocalization(); at the end!!! |
||
18 | SW_mergeLocalization(); |
||
19 | end |