replace empty spaces "<translate> </translate>" -> "<translate></translate>" (for comfort further translation) https://github.com/HarpyWar/pvpgn/issues/13
This commit is contained in:
parent
502f45dc6e
commit
dd157be15d
14 changed files with 4329 additions and 4324 deletions
|
@ -86,6 +86,11 @@ namespace pvpgn_localize_generator
|
|||
xsw.Serialize(fs, _data);
|
||||
}
|
||||
|
||||
// replace empty "<translate />" strings (for comfort further translation)
|
||||
var data = File.ReadAllText(outfile);
|
||||
data = data.Replace("<translate />", "<translate></translate>");
|
||||
File.WriteAllText(outfile, data);
|
||||
|
||||
Console.WriteLine("\n{0} items saved in {1}: ", _data.Items.Count, outfile);
|
||||
//Console.WriteLine("\nPress any key to exit...");
|
||||
//Console.ReadKey();
|
||||
|
@ -361,7 +366,7 @@ namespace pvpgn_localize_generator
|
|||
[XmlAttribute("refid")]
|
||||
public string RefId;
|
||||
[XmlText]
|
||||
public string InnerText = " "; // default value is " " to save empty values when updating xml file
|
||||
public string InnerText; // default value is " " to save empty values when updating xml file
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
|
@ -1,15 +1,15 @@
|
|||
@echo off
|
||||
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-deDE.xml
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-csCZ.xml
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-esES.xml
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-frFR.xml
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-itIT.xml
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-jaJA.xml
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-koKR.xml
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-plPL.xml
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-ruRU.xml
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-zhCN.xml
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-zhTW.xml
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-deDE.xml.in
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-csCZ.xml.in
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-esES.xml.in
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-frFR.xml.in
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-itIT.xml.in
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-jaJA.xml.in
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-koKR.xml.in
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-plPL.xml.in
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-ruRU.xml.in
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-zhCN.xml.in
|
||||
pvpgn_localize_generator.exe ..\..\ ..\..\conf\i18n\common-zhTW.xml.in
|
||||
|
||||
pause
|
Loading…
Reference in a new issue