Compare commits

..

39 Commits
master ... GDN

Author SHA1 Message Date
lilium-saber 4aba920f1d 0
1 year ago
lilium-saber 2e225854ea 11072002
1 year ago
lilium-saber 24095d15ba voice 11072001
1 year ago
lilium-saber 80799ae956 fix bug 11071900
1 year ago
lilium-saber 99f5d11070 test
1 year ago
lilium-saber 5c7f6f2c60 8
1 year ago
lilium-saber 071d725814 0
1 year ago
lilium-saber 0a338f743c ga
1 year ago
lilium-saber 4a21ac34b9 0
1 year ago
lilium-saber c78af1be36 0
1 year ago
lilium-saber 47f39ae49e 0
1 year ago
lilium-saber b00e0d0f24 0
1 year ago
lilium-saber 5f0d8ff810 1
1 year ago
lilium-saber 92907c90c4 jah
1 year ago
lilium-saber ab2e06535a 0
1 year ago
lilium-saber 20abb91db7 1
1 year ago
lilium-saber eb7517e2a7 1
1 year ago
lilium-saber 44887c1dd4 network to get json
1 year ago
lilium-saber 230a999be4 network to request json
1 year ago
lilium-saber 17eba24fc5 can to use cmd
1 year ago
lilium-saber 0ccf2337a1 Network request Json
1 year ago
lilium-saber fe5dbe1666 TranslationResource Fix File
1 year ago
lilium-saber 317e385d06 using cmd file by c#
1 year ago
lilium-saber 9d00379e3a key
1 year ago
lilium-saber 39dc0745a6 Merge branch 'master' of https://bdgit.educoder.net/pokyijf9p/software636 into GDN
1 year ago
pokyijf9p 21421fe357 2
1 year ago
高源 b18ccdce9c 11
1 year ago
pokyijf9p 3110398e58 1
1 year ago
高源 3165c386e8 11
1 year ago
lilium-saber 361b5ca223 Merge branch 'master' of https://bdgit.educoder.net/pokyijf9p/software636 into GDN
1 year ago
pokyijf9p 03ac7af060 1
1 year ago
高源 7f0d924021 1
1 year ago
高源 92c5c527c7 1
1 year ago
高源 17c3ef48b2 0
1 year ago
高源 d6cd6bede2 Revert "需求文档"
1 year ago
高源 6b7df8f197 需求文档
1 year ago
lilium-saber 19cc7e5bd0 test
1 year ago
pokyijf9p ce4c2d1d25 test
1 year ago
高源 d27bb9069c 1
1 year ago

Binary file not shown.

@ -1,10 +1,11 @@
using System.Collections.Generic;
using TstTranslator.tools;
using TstTranslator.ScnToJson;
using TstTranslator.translationKey;
using TstTranslator.transToNet;
using WpfApp2.ScnToJson;
using WpfApp2.translationKey;
using WpfApp2.transToNet;
using WpfApp2.tools;
using WpfApp2.tools.translationKey;
namespace TstTranslator.tools
namespace WpfApp2.tools
{
internal class AllClassAndInterfaceWellBeManipulatedInThisFileAndCallThroughFunction
{
@ -16,6 +17,7 @@ namespace TstTranslator.tools
TranslationScnToJson scnjson = new TranslationScnToJson();
Messiah jsonnet = new jsonNet();
TempResource temp = new TempResource();
yieldVoice voice = new yieldVoice();
public void InputPrivateBaidu(string name, string id, string key)
{
@ -54,10 +56,17 @@ namespace TstTranslator.tools
{
scnjson.StopTrans(spa, dps);
}
public void StartTranslateJsonToScn(string spaJson,string spaGame, string dpsScn)//写文件夹路径
{
scnjson.JsonToScn(spaJson, spaGame, dpsScn);
}
public string NetBaiDu(string input)
{
return jsonnet.RequestJsonBaiDu(input);
}
public string NetBaiDu(string input, List<Charactor> list)
{
return jsonnet.RequestJsonBaiDu(input, list);
@ -152,5 +161,10 @@ namespace TstTranslator.tools
return temp.TempChoicGet();
}
public void OutPutVoice(string text, string lan)
{
voice.CreateVoice(text, lan);
}
}
}

@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WpfApp2.transToNet
{
/*
internal class GrapeToJsonTrans : GrapeToJson
{
public List<string> GrapeRequestJson()
{
List<string> re = new List<string>();
return re;
}
public List<string> GrapeRequestJsonBaiDu()
{
List<string> re = new List<string>();
return re;
}
public List<string> GrapeRequestJsonLanguageChange()
{
List<string> re = new List<string>();
return re;
}
}
*/
}

@ -1,6 +1,10 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TstTranslator.transToNet
namespace WpfApp2.transToNet
{
interface Messiah
{
@ -8,13 +12,12 @@ namespace TstTranslator.transToNet
public abstract string RequestJsonLanguageChangeBaiDu(string input, string srcl, string dstl);
public abstract string RequestJsonBaiDu(string input, List<Charactor> list);
public abstract string RequestJsonBaiDu(string input);
//以下接口暂时废弃
public abstract string RequestJsonXunFei(string input, List<Charactor> list);
public abstract string RequestJsonXunFei(string input);
public abstract string RequestJsonPrivateXunFei(string input, string srcl, string dstl, string xid, string xsecret, string xkey);
public abstract string RequestJsonLanguageChangeXunFei(string input, string srcl, string dstl);
}

@ -1,14 +1,20 @@
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Json;
using System.Reflection.Metadata;
using System.Security.Cryptography;
using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace TstTranslator.transToNet
namespace WpfApp2.transToNet
{
internal class jsonNet : Messiah
{
@ -228,64 +234,18 @@ namespace TstTranslator.transToNet
var response = request.GetResponse();
var myResponseStream = response.GetResponseStream();
var myStreamReader = new System.IO.StreamReader(myResponseStream, Encoding.GetEncoding("utf-8"));
var myStreamReader = new StreamReader(myResponseStream, Encoding.GetEncoding("utf-8"));
string retString = myStreamReader.ReadToEnd();
tempC2 temp1 = JsonConvert.DeserializeObject<tempC2>(retString);
Trans_result[] x = temp1.trans_result.ToArray();
List<string> s = new List<string>();
foreach (Trans_result x2 in x)
{
if (x2.dst == "单击功能区上")
{
s.Add("[");
goto gogogo;
}
s.Add(x2.dst);
gogogo:;
}
string c = String.Join("\r\n", s);
return c;
}
public string RequestJsonBaiDu(string input, List<Charactor> list)//默认
{
string sign = EncryptString(appid + input + salt + key);
string temp = "q=" + HttpUtility.UrlEncode(input) + "&from=jp&to=zh&appid=" + appid + "&salt=" + salt + "&sign=" + sign;
Console.WriteLine(https + temp);
//Task t = GetAsync(HttpRe); t.Wait();
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(https + temp);
request.Method = "GET";
request.ContentType = "text/html;charset=UTF-8";
request.UserAgent = null;
request.Timeout = 6000;
var response = request.GetResponse();
var myResponseStream = response.GetResponseStream();
var myStreamReader = new System.IO.StreamReader(myResponseStream, Encoding.GetEncoding("utf-8"));
string retString = myStreamReader.ReadToEnd();
tempC2 temp1 = JsonConvert.DeserializeObject<tempC2>(retString);
Trans_result[] x = temp1.trans_result.ToArray();
List<Charactor> cc = list;
List<String> str = new();
foreach (Trans_result x2 in x)
{
str.Add(x2.dst);
}
int i = 0;
foreach (Charactor chara in cc)
{
chara.message = str[i];
i++;
}
string tgt = JsonConvert.SerializeObject(cc);
return tgt;
Trans_result result = temp1.trans_result[0];
string s = result.dst;
return s;
}
public string RequestJsonXunFei(string input)
{
string body = BuildHttpBody();
Console.WriteLine("【ITSWebAPI body】\n" + body);
Dictionary<string, string> header = BuildHttpHeader(body);
@ -311,34 +271,8 @@ namespace TstTranslator.transToNet
return re;
}
public string RequestJsonXunFei(string input, List<Charactor> list)
{
string body = BuildHttpBody();
Console.WriteLine("【ITSWebAPI body】\n" + body);
Dictionary<string, string> header = BuildHttpHeader(body);
Dictionary<string, object> resultMap = HttpUtil.DoPost(xunweb, header, body);
string re = "error";
if (resultMap != null)
{
string resultStr = resultMap["body"].ToString();
re = resultStr;
Console.WriteLine("【ITS WebAPI 接口调用结果】\n" + resultStr);
//以下仅用于调试
ResponseData resultData = JsonConvert.DeserializeObject<ResponseData>(resultStr);
int code = resultData.code;
if (resultData.code != 0)
{
Console.WriteLine("请前往https://www.xfyun.cn/document/error-code?code=" + code + "查询解决办法");
}
}
else
{
Console.WriteLine("调用失败请根据错误信息检查代码接口文档https://www.xfyun.cn/doc/nlp/xftrans/API.html");
}
return re;
}
public string RequestJsonPrivateXunFei(string input, string srcl, string dstl, string xid, string xse, string xkey)
public string RequestJsonPrivateXunFei(string input, string srcl, string dstl, string xid, string xse , string xkey)
{
return "error";
}
@ -398,5 +332,5 @@ namespace TstTranslator.transToNet
}
}
}
}

@ -1,7 +1,7 @@
using System.Diagnostics;
using System.IO;
namespace TstTranslator.ScnToJson
namespace WpfApp2.ScnToJson
{
internal class TranslationScnToJson
{
@ -59,6 +59,25 @@ namespace TstTranslator.ScnToJson
p.Close();
}
public void JsonToScn(string srcgame, string srcjson, string dstgame)
{
string temp = ".\\VNTextPatch insertlocal " + srcgame + " " + srcjson + " " + dstgame;
var p = new Process
{
StartInfo =
{
FileName = "PowerShell.exe",
Arguments = "/c " + cmdHandle + "\n" + temp,
UseShellExecute = false,
CreateNoWindow = false,
}
};
p.Start();
p.WaitForExit();
p.Close();
}

@ -1,13 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Rider ignored files
/modules.xml
/projectSettingsUpdater.xml
/.idea.WpfApp2.iml
/contentModel.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
</project>

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UserContentModel">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />
</component>
</project>

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
</component>
</project>

@ -1,168 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AutoGeneratedRunConfigurationManager">
<projectFile>WpfApp2/WpfApp2.csproj</projectFile>
</component>
<component name="AutoImportSettings">
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="6788dd56-ddb4-43b5-8671-b09d81a9785d" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.idea/.idea.WpfApp2/.idea/.gitignore" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/.idea.WpfApp2/.idea/encodings.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/.idea.WpfApp2/.idea/indexLayout.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/.idea.WpfApp2/.idea/vcs.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.vs/ProjectEvaluation/wpfapp2.metadata.v6.1" beforeDir="false" afterPath="$PROJECT_DIR$/.vs/ProjectEvaluation/wpfapp2.metadata.v6.1" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.vs/ProjectEvaluation/wpfapp2.projects.v6.1" beforeDir="false" afterPath="$PROJECT_DIR$/.vs/ProjectEvaluation/wpfapp2.projects.v6.1" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.vs/WpfApp2/DesignTimeBuild/.dtbcache.v2" beforeDir="false" afterPath="$PROJECT_DIR$/.vs/WpfApp2/DesignTimeBuild/.dtbcache.v2" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.vs/WpfApp2/FileContentIndex/362c3933-8d62-4304-85de-7adf808e0b02.vsidx" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.vs/WpfApp2/FileContentIndex/924a50e3-4b1f-4e4f-a0fe-30bd52e7ae56.vsidx" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.vs/WpfApp2/FileContentIndex/a4e611ce-151b-4c2f-9c18-0f4b9084f4dd.vsidx" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.vs/WpfApp2/v17/.suo" beforeDir="false" afterPath="$PROJECT_DIR$/.vs/WpfApp2/v17/.suo" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2.sln" beforeDir="false" afterPath="$PROJECT_DIR$/TstTranslator.sln" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/MainWindow.xaml" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/MainWindow.xaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/MainWindow.xaml.cs" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/MainWindow.xaml.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/App.g.cs" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/App.g.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/App.g.i.cs" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/App.g.i.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/MainWindow.baml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/MainWindow.g.cs" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/MainWindow.g.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/MainWindow.g.i.cs" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/MainWindow.g.i.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/WpfApp2.GeneratedMSBuildEditorConfig.editorconfig" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/WpfApp2.GeneratedMSBuildEditorConfig.editorconfig" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/WpfApp2.assets.cache" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/WpfApp2.assets.cache" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/WpfApp2.csproj.AssemblyReference.cache" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/WpfApp2.csproj.AssemblyReference.cache" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/WpfApp2_MarkupCompile.cache" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/WpfApp2_MarkupCompile.i.cache" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/WpfApp2_MarkupCompile.lref" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/view/ProgressSelect.baml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/view/ProgressSelect.g.cs" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/view/ProgressSelect.g.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/view/ProgressSelect.g.i.cs" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/view/ProgressSelect.g.i.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/view/TranslationSourceSelect.baml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/view/TranslationSourceSelect.g.cs" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/view/TranslationSourceSelect.g.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/view/TranslationSourceSelect.g.i.cs" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/view/TranslationSourceSelect.g.i.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/view/TranslationText.baml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/view/TranslationText.g.cs" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/view/TranslationText.g.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/view/TranslationText.g.i.cs" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/Debug/net6.0-windows10.0.19041.0/view/TranslationText.g.i.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/WpfApp2.csproj.nuget.g.props" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/WpfApp2.csproj.nuget.g.props" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/project.nuget.cache" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/project.nuget.cache" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/project.packagespec.json" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/project.packagespec.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/rider.project.model.nuget.info" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/rider.project.model.nuget.info" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/rider.project.restore.info" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/rider.project.restore.info" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/x64/Debug/net6.0-windows10.0.19041.0/WpfApp2_MarkupCompile.i.cache" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/x64/Debug/net6.0-windows10.0.19041.0/WpfApp2_MarkupCompile.i.cache" afterDir="false" />
<change beforePath="$PROJECT_DIR$/WpfApp2/obj/x64/Debug/net6.0-windows10.0.19041.0/view/ErrorIn.g.i.cs" beforeDir="false" afterPath="$PROJECT_DIR$/WpfApp2/obj/x64/Debug/net6.0-windows10.0.19041.0/view/ErrorIn.g.i.cs" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/../.." />
</component>
<component name="HighlightingSettingsPerFile">
<setting file="file://$PROJECT_DIR$/TstTranslator/App.xaml" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/TstTranslator/AssemblyInfo.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/TstTranslator/view/MainWindow.xaml" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/TstTranslator/view/MainWindow.xaml.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/TstTranslator/view/SelectPriTrueWindow.xaml" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/TstTranslator/view/TranslationSourceSelect.xaml" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/TstTranslator/view/TranslationText.xaml" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/WpfApp2/MainWindow.xaml.cs" root0="FORCE_HIGHLIGHTING" />
</component>
<component name="MetaFilesCheckinStateConfiguration" checkMetaFiles="true" />
<component name="ProblemsViewState">
<option name="selectedTabId" value="CurrentFile" />
</component>
<component name="ProjectColorInfo">{
&quot;customColor&quot;: &quot;&quot;,
&quot;associatedIndex&quot;: 1
}</component>
<component name="ProjectId" id="2XbQwOJP4mnIs5qQENsw3fz56uO" />
<component name="ProjectLevelVcsManager">
<ConfirmationsSetting value="2" id="Add" />
</component>
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
&quot;git-widget-placeholder&quot;: &quot;CHL&quot;,
&quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
&quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
&quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
&quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
&quot;settings.editor.selected.configurable&quot;: &quot;ReSpellerSettingsId&quot;,
&quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
},
&quot;keyToStringList&quot;: {
&quot;rider.external.source.directories&quot;: [
&quot;C:\\Users\\82590\\AppData\\Roaming\\JetBrains\\Rider2023.2\\resharper-host\\DecompilerCache&quot;,
&quot;C:\\Users\\82590\\AppData\\Roaming\\JetBrains\\Rider2023.2\\resharper-host\\SourcesCache&quot;,
&quot;C:\\Users\\82590\\AppData\\Local\\Symbols\\src&quot;
]
}
}</component>
<component name="RunManager">
<configuration name="TstTranslator" type="DotNetProject" factoryName=".NET Project">
<option name="EXE_PATH" value="$PROJECT_DIR$/TstTranslator/bin/Debug/net6.0-windows10.0.19041.0/TstTranslator.exe" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/TstTranslator/bin/Debug/net6.0-windows10.0.19041.0" />
<option name="PASS_PARENT_ENVS" value="1" />
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
<option name="PROJECT_PATH" value="$PROJECT_DIR$/TstTranslator/TstTranslator.csproj" />
<option name="PROJECT_EXE_PATH_TRACKING" value="1" />
<option name="PROJECT_ARGUMENTS_TRACKING" value="1" />
<option name="PROJECT_WORKING_DIRECTORY_TRACKING" value="1" />
<option name="PROJECT_KIND" value="DotNetCore" />
<option name="PROJECT_TFM" value="net6.0-windows10.0.19041" />
<method v="2">
<option name="Build" />
</method>
</configuration>
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="6788dd56-ddb4-43b5-8671-b09d81a9785d" name="Changes" comment="" />
<created>1698895541859</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1698895541859</updated>
<workItem from="1698895543198" duration="840000" />
<workItem from="1699267116853" duration="3721000" />
<workItem from="1699270998075" duration="877000" />
</task>
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
<component name="UnityCheckinConfiguration" checkUnsavedScenes="true" />
<component name="Vcs.Log.Tabs.Properties">
<option name="TAB_STATES">
<map>
<entry key="MAIN">
<value>
<State />
</value>
</entry>
</map>
</option>
</component>
<component name="VcsManagerConfiguration">
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="true" />
<MESSAGE value="更换存储路径,解决临时存储数据无效问题" />
</component>
<component name="XDebuggerManager">
<watches-manager>
<configuration name="DotNetProject">
<watch expression="textBox" />
</configuration>
</watches-manager>
</component>
</project>

@ -1,3 +0,0 @@
{
"CurrentProjectSetting": null
}

Binary file not shown.

@ -1,31 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.33424.131
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TstTranslator", "TstTranslator\TstTranslator.csproj", "{D8D09E8D-F700-438E-9C46-C537E1E3D478}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D8D09E8D-F700-438E-9C46-C537E1E3D478}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D8D09E8D-F700-438E-9C46-C537E1E3D478}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D8D09E8D-F700-438E-9C46-C537E1E3D478}.Debug|x64.ActiveCfg = Debug|x64
{D8D09E8D-F700-438E-9C46-C537E1E3D478}.Debug|x64.Build.0 = Debug|x64
{D8D09E8D-F700-438E-9C46-C537E1E3D478}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D8D09E8D-F700-438E-9C46-C537E1E3D478}.Release|Any CPU.Build.0 = Release|Any CPU
{D8D09E8D-F700-438E-9C46-C537E1E3D478}.Release|x64.ActiveCfg = Release|x64
{D8D09E8D-F700-438E-9C46-C537E1E3D478}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {5433003B-6435-41C2-B900-033F2939110C}
EndGlobalSection
EndGlobal

@ -1,13 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Rider ignored files
/contentModel.xml
/projectSettingsUpdater.xml
/modules.xml
/.idea.TstTranslator.iml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
</project>

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UserContentModel">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />
</component>
</project>

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../../.." vcs="Git" />
</component>
</project>

@ -1,3 +0,0 @@
{
"CurrentProjectSetting": null
}

@ -1,7 +0,0 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\view",
"PreviewInSolutionExplorer": false
}

@ -1,9 +0,0 @@
<Application x:Class="TstTranslator.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:TstTranslator"
StartupUri="/view/MainWindow.xaml">
<Application.Resources>
</Application.Resources>
</Application>

@ -1,11 +0,0 @@
using System.Windows;
namespace TstTranslator
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}

@ -1,10 +0,0 @@
using System.Windows;
[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
)]

@ -1 +0,0 @@
[{"name":"将臣","message":"”cha“"},{"name":null,"message":"按照紫蝶的话,决定吹夜风。"},{"name":null,"message":"话虽如此,也不是没有目的的夜晚散步。"},{"name":"将臣","message":"“——呼。”"},{"name":null,"message":"一边笔直地挥下竹刀,一边吸引左脚。"},{"name":null,"message":"突然停住的竹刀。另外,笔直地举起,把吸引的左脚向后下降。"},{"name":"将臣","message":"“——呼。”"},{"name":null,"message":"然后再次挥动竹刀的同时,这次右脚下降。"},{"name":null,"message":"就这样一直保持着正面的姿态,脑子里却一直在想事情。"},{"name":"将臣","message":"“回去了……不回去了……回去了……不回去了。”"},{"name":null,"message":"每次挥下竹刀,都会说出那样的话。"},{"name":null,"message":"话虽如此,因为不是花占卜,所以也不是有确切的结束。"},{"name":null,"message":"一想到这一点,手臂的动作自然地变得缓慢了。"},{"name":"将臣","message":"“……嗯……”"},{"name":null,"message":"sbasbuiasb"},{"name":"将臣","message":"“结果,我想怎么做,就这样而已。”"},{"name":null,"message":"如果你想回到适合居住的街道就回去。"},{"name":null,"message":"也不是再也回不来了。祖父和廉太郎们也在。"},{"name":null,"message":"只要想来,马上就能再来。"},{"name":null,"message":"相反,如果你想在这里多待一会儿,那也就说出来就好了。"},{"name":null,"message":"也可以在旅馆和廉太郎家受到照顾吧。"},{"name":null,"message":"应该不会有那么讨厌的表情……大概吧。"},{"name":null,"message":"所以,只要给出答案……。"},{"name":"将臣","message":"“像这样烦恼的话……应该是想留下来吧。”"},{"name":null,"message":"为什么胸口不舒服呢?"},{"name":null,"message":"有什么东西卡住了,怎么也做不到,很恶心……。"},{"name":"将臣","message":"“不能断言留下来,这是最好的理由吧……?”"},{"name":"将臣","message":"“光是明白了这一点就值得挥动竹刀吗?”"},{"name":null,"message":"运动很好,差不多该回房间了吧。"},{"name":"将臣","message":"“……话说回来,里面还有灯。”"},{"name":null,"message":"也许连那样的事情都没注意到,视野变得狭窄了。"},{"name":"将臣","message":"“有人在吗?”"},{"name":null,"message":"进去一看,那里有一个意外的身影。"},{"name":null,"message":"以认真的表情跳舞的朝武先生的身姿。"},{"name":null,"message":"虽然是在舞蹈的供奉上看了好几次的样子,但是在这样的时间里看还是第一次呢。"},{"name":null,"message":"大部分都是在日落之前结束的。"},{"name":null,"message":"恐怕到现在为止都是考虑到在山上驱魔的吧。"},{"name":"将臣","message":"“……”"},{"name":null,"message":"没有注意到我的事吗,凛然的气氛不破坏继续飞舞的朝武先生。"},{"name":null,"message":"还是那么厉害的集中力啊。"},{"name":null,"message":"没有混乱的动作,已经渗透到身体里了。"},{"name":null,"message":"和确认每一个动作的我的样子完全不同。"},{"name":null,"message":"被那美丽所吸引……一见钟情。"},{"name":"将臣","message":"“(……这是你第几次看得入迷了?)”"},{"name":"将臣","message":"“(至今为止看过好几次的舞,现在也这样看得入迷了。)”"},{"name":"将臣","message":"“(……)”"},{"name":null,"message":"然后我一直静静地眺望着,直到朝武的舞蹈结束。"},{"name":"芳乃","message":"“……啊……”"},{"name":"将臣","message":"“辛苦了,朝武先生。”"},{"name":"芳乃","message":"“啊,啊,有地,你在干什么?连竹刀都拿着……”"},{"name":"芳乃","message":"“有可疑的人吗?”"},{"name":"将臣","message":"“不是的。我只是假装而已。随便借一下院内。”"},{"name":"芳乃","message":"“我想这也没关系……从这个时间开始?弄不好的话有地先生会被当成可疑的人哦?”"},{"name":"将臣","message":"“……也许确实如此。”"},{"name":"芳乃","message":"“嗯,我想晚上参拜的人应该没有……”"},{"name":"将臣","message":"“朝武才是。为什么要从这个时间开始跳舞?”"},{"name":"芳乃","message":"“那个……爸爸和茉子说今天可以休息。”"},{"name":"芳乃","message":"“虽然试着按照那句话休息了一下……但是怎么也静不下来。”"},{"name":null,"message":"那么长的时间里,每天都不缺吧。"},{"name":null,"message":"我的训练并没有那么熟悉身体。"},{"name":null,"message":"如果不烦恼的话,大概很高兴休息了吧。"}]

@ -1,211 +0,0 @@
[
{
"name": "将臣",
"message": "「………」"
},
{
"message": "ムラサメちゃんの言葉に従い、夜風に当たることにした。"
},
{
"message": "と言っても、あてのない夜の散歩というわけではない。"
},
{
"name": "将臣",
"message": "「――フッ」"
},
{
"message": "竹刀を真っ直ぐ振りおろしながら、左足を引き付ける。"
},
{
"message": "ピタリと止めた竹刀。また、真っ直ぐに振り上げ、引きつけた左足を後ろに下げた。"
},
{
"name": "将臣",
"message": "「――フッ」"
},
{
"message": "そして再び竹刀を振り下ろすのと同時に、今度は右足を下げる。"
},
{
"message": "こうして正面素振りを続けながらも、頭の中はずっと考え事をしたままだ。"
},
{
"name": "将臣",
"message": "「帰るっ……帰らないっ……帰るっ……帰らないっ」"
},
{
"message": "竹刀を振り下ろす度に、そんなことを口にする。"
},
{
"message": "とはいえ花占いじゃないんだから、きっちりした終わりがあるわけでもない。"
},
{
"message": "それを思うと、自然と腕の動きがゆっくりになっていった。"
},
{
"name": "将臣",
"message": "「……ふぅー……」"
},
{
"message": "別に、頭を悩ませるほどの事じゃない。"
},
{
"name": "将臣",
"message": "「結局、俺がどうしたいか、それだけなんだよな」"
},
{
"message": "住みやすい街に戻りたいなら戻ればいい。"
},
{
"message": "二度と戻って来れないわけでもない。祖父ちゃんや、廉太郎たちもいる。"
},
{
"message": "来たいと思えば、すぐにまた来られる。"
},
{
"message": "逆に、もう少しここにいたいのなら、それも言えばいいだけだ。"
},
{
"message": "旅館や、廉太郎の家にお世話になることもできるだろう。"
},
{
"message": "そんな嫌な顔はされないはずだ……多分。"
},
{
"message": "だから、答えを出してさえしまえば……。"
},
{
"name": "将臣",
"message": "「こんな風に悩むってことは……残りたいって思ってるってことだろうけど」"
},
{
"message": "胸がスッキリしないのはなんでだろう?"
},
{
"message": "何かがひっかかって、どうしようもなく気持ち悪い……。"
},
{
"name": "将臣",
"message": "「残るって言い切れないのは、それが一番の理由かな……?」"
},
{
"name": "将臣",
"message": "「それがわかっただけでも竹刀を振った価値があるかな」"
},
{
"message": "いい運動になったし、そろそろ部屋に戻ろうか。"
},
{
"name": "将臣",
"message": "「……っていうか、まだ奥に灯りが」"
},
{
"message": "そんなことにも気付かないぐらい、視野が狭まっていたのかもしれない。"
},
{
"name": "将臣",
"message": "「誰かいるのかな?」"
},
{
"message": "中に入ってみると、そこには意外な姿があった。"
},
{
"message": "真剣な表情で、舞を踊る朝武さんの姿。"
},
{
"message": "舞の奉納などで何度も見た姿ではあるけれど、こんな時間に見るのは初めてだな。"
},
{
"message": "大抵は日が沈む前に終わらせてしまう。"
},
{
"message": "おそらく、今までは山でのお祓いを考慮してだったんだろう。"
},
{
"name": "将臣",
"message": "「………」"
},
{
"message": "俺の事に気付いていないのか、凛とした雰囲気を崩すことなく舞い続ける朝武さん。"
},
{
"message": "相変わらず凄い集中力だよなぁ。"
},
{
"message": "乱れることのないその動きは、もはや身体にしみついた動き。"
},
{
"message": "一つ一つの動きを確認してる俺の素振りとは全然違う。"
},
{
"message": "その美しさに目を奪われるというか……見惚れてしまう。"
},
{
"name": "将臣",
"message": "「(……こうして見惚れるの、何度目だろう?)」"
},
{
"name": "将臣",
"message": "「(今までに何度も見たことある舞。なのに、今もこうして見惚れてしまう)」"
},
{
"name": "将臣",
"message": "「(………)」"
},
{
"message": "そうして俺は、朝武さんの舞が終わるまで、静かに眺め続けていた。"
},
{
"name": "芳乃",
"message": "「……はぁ……」"
},
{
"name": "将臣",
"message": "「お疲れ様、朝武さん」"
},
{
"name": "芳乃",
"message": "「え、あ、有地さん、何してるんですか? 竹刀まで持って……」"
},
{
"name": "芳乃",
"message": "「不審者でもいましたか?」"
},
{
"name": "将臣",
"message": "「違う違う。ちょっと素振りをしてたんだ。勝手に境内を借りて」"
},
{
"name": "芳乃",
"message": "「それは構わないと思いますが……こんな時間から? 下手したら有地さんが不審者にされますよ?」"
},
{
"name": "将臣",
"message": "「……確かにそうかも」"
},
{
"name": "芳乃",
"message": "「まあ、夜に参る人なんてそういないとは思いますが……」"
},
{
"name": "将臣",
"message": "「朝武さんこそ。どうしてこんな時間から舞を?」"
},
{
"name": "芳乃",
"message": "「それが……お父さんや茉子からは今日ぐらいは休んでいいんじゃないかと言われて」"
},
{
"name": "芳乃",
"message": "「その言葉に従って休んではみたものの……どうにもこうにも落ち着かなくて」"
},
{
"message": "それだけ長い間、欠かさずに毎日続けてたってことなんだろう。"
},
{
"message": "俺のトレーニングは、そこまで身体に馴染んだりはしてない。"
},
{
"message": "悩んでなかったら、多分喜んで休んでいただろう。"
}
]

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save