Skip to content

Commit

Permalink
1.73 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
inkitter committed May 14, 2017
1 parent b65f5c2 commit 815c980
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 11 deletions.
11 changes: 7 additions & 4 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,13 @@ public bool IsAllQoute(string text)
if (text != "")
{
text = YMLTools.RemoveSpace(text);
string first = text.Substring(0, 1);
string end = text.Substring(text.Length - 1);
if (first == "$" && end == "$") { return true; }
if (first == "[" && end == "]") { return true; }
if (text.Length > 0)
{
string first = text.Substring(0, 1);
string end = text.Substring(text.Length - 1);
if (first == "$" && end == "$") { return true; }
if (first == "[" && end == "]") { return true; }
}

//if (first == "§" && text.Substring(text.Length - 2) == "§!")
//{
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.7.2.0")]
[assembly: AssemblyFileVersion("1.7.2.0")]
[assembly: AssemblyVersion("1.7.3.0")]
[assembly: AssemblyFileVersion("1.7.3.0")]
5 changes: 5 additions & 0 deletions release/HOI4.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
rd eng /s /q
rd chn /s /q
mklink /j eng "old\zhoi-1.3.3"
md chn
mklink /j chn\english "E:\HOI4_mod\_Inkitmod\chnLocal\localisation"
Binary file modified release/pdx-ymltranslator.exe
Binary file not shown.
3 changes: 2 additions & 1 deletion release/stellaris.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
rd eng /s /q
rd chn /s /q
mklink /j eng "old\ast-1.61"
mklink /j chn "D:\git\stellaris_cn\cn\localisation\"
md chn
mklink /j chn\english "E:\stellaris_cn\cn\localisation\english"
4 changes: 0 additions & 4 deletions release/stellarisonlyeng.bat

This file was deleted.

0 comments on commit 815c980

Please sign in to comment.