From 99f5d11070ecf954e4450a4833ee4b1ad0df1332 Mon Sep 17 00:00:00 2001 From: lilium-saber Date: Tue, 7 Nov 2023 18:33:55 +0800 Subject: [PATCH] test Signed-off-by: lilium-saber --- src/translationKey/translationPrivateIn.cs | 4 ++-- src/translationKey/translationPrivateOut.cs | 5 ++--- 宣传海报.pub | Bin 0 -> 80896 bytes 3 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 宣传海报.pub diff --git a/src/translationKey/translationPrivateIn.cs b/src/translationKey/translationPrivateIn.cs index 74381e0..1bb4a6d 100644 --- a/src/translationKey/translationPrivateIn.cs +++ b/src/translationKey/translationPrivateIn.cs @@ -17,7 +17,7 @@ namespace WpfApp2.translationKey public void InPutPrivate(string name, List list) { - if (Directory.Exists(pathTemp)) + if (!Directory.Exists(pathTemp)) { Directory.CreateDirectory(pathTemp); } @@ -36,7 +36,7 @@ namespace WpfApp2.translationKey public void InputBaiduPrivate(string name, string id, string key)//该函数仅百度支持 { - if(Directory.Exists(pathTemp)) + if(!Directory.Exists(pathTemp)) { Directory.CreateDirectory(pathTemp); } diff --git a/src/translationKey/translationPrivateOut.cs b/src/translationKey/translationPrivateOut.cs index 5e97810..87b296c 100644 --- a/src/translationKey/translationPrivateOut.cs +++ b/src/translationKey/translationPrivateOut.cs @@ -70,11 +70,10 @@ namespace WpfApp2.translationKey if (Directory.Exists(temppath))//若不存在 { - temp.Add("尚未输入!!!"); + temp.Add(temppath); return temp; } - StreamReader sr = new StreamReader(temppath); string temp2 = sr.ReadLine(); while(temp2 != null && temp2 != "") @@ -106,7 +105,7 @@ namespace WpfApp2.translationKey } else { - while (temp2 != null && temp2 != "") + while (temp2 != null) { temp.Add(temp2); temp2 = sr.ReadLine(); diff --git a/宣传海报.pub b/宣传海报.pub new file mode 100644 index 0000000000000000000000000000000000000000..8db0610b86da1c20d11ba3e3cd505629a1026791 GIT binary patch literal 80896 zcmeHQ3vgW3c|P~9w7Pn)BxA4T*Y(;4V~i1)5StK?9~gl#7M3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