From e5bf0e5eb2da7d9e5e6c03ea2e1a15e444348600 Mon Sep 17 00:00:00 2001
From: lhhxxxxx <91231470+lhhxxxxx@users.noreply.github.com>
Date: Wed, 24 Aug 2022 00:32:20 +0800
Subject: [PATCH] =?UTF-8?q?feat.=20=E5=BD=A9=E8=9B=8B=E6=A1=86=E6=9E=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/MeoAsstGui/Resources/Localizations/en-us.xaml | 3 +++
src/MeoAsstGui/Resources/Localizations/ja-jp.xaml | 3 +++
src/MeoAsstGui/Resources/Localizations/ko-kr.xaml | 3 +++
.../Resources/Localizations/pallas.xaml | 3 +++
src/MeoAsstGui/Resources/Localizations/zh-cn.xaml | 3 +++
src/MeoAsstGui/Resources/Localizations/zh-tw.xaml | 3 +++
src/MeoAsstGui/ViewModels/CopilotViewModel.cs | 15 +++++++++++++++
7 files changed, 33 insertions(+)
diff --git a/src/MeoAsstGui/Resources/Localizations/en-us.xaml b/src/MeoAsstGui/Resources/Localizations/en-us.xaml
index 57715b9fba..86396d2dd8 100644
--- a/src/MeoAsstGui/Resources/Localizations/en-us.xaml
+++ b/src/MeoAsstGui/Resources/Localizations/en-us.xaml
@@ -382,7 +382,10 @@
If checked, will be skip Recruit with 1 ★. If not checked, the entry with 1 ★ will be ignored
+
Ugh... Ehem
Ah, doctor. Why do you sway, so much in your movement today?
I must not drink, drink so much next time...
+ Hello World!
+
\ No newline at end of file
diff --git a/src/MeoAsstGui/Resources/Localizations/ja-jp.xaml b/src/MeoAsstGui/Resources/Localizations/ja-jp.xaml
index 79a3e0b4ab..fefab3ade6 100644
--- a/src/MeoAsstGui/Resources/Localizations/ja-jp.xaml
+++ b/src/MeoAsstGui/Resources/Localizations/ja-jp.xaml
@@ -382,7 +382,10 @@
チェックの際に星1タグが特定された場合、募集はスキップされ、チェックされていない場合、星1タグは無視されます。
+
うぅ……オエッ、つ
あれ、ドクター。どうしてそんなフラフラと歩いておられるのですか?
次は飲みすぎないようにしないと……
+ Hello World!
+
\ No newline at end of file
diff --git a/src/MeoAsstGui/Resources/Localizations/ko-kr.xaml b/src/MeoAsstGui/Resources/Localizations/ko-kr.xaml
index 0dee44f141..1545db46a6 100644
--- a/src/MeoAsstGui/Resources/Localizations/ko-kr.xaml
+++ b/src/MeoAsstGui/Resources/Localizations/ko-kr.xaml
@@ -382,7 +382,10 @@
체크되면, ★ 1 태그를 인식할 때 이번 모집을 건너뜁니다. 체크되지 않면, ★ 1 태그를 무시합니다
+
으…… 우웁……
어머, 박사님. 왜 그렇게 비틀비틀 걷고 계시나요?
다, 다음엔 적당히 마셔야지……
+ Hello World!
+
\ No newline at end of file
diff --git a/src/MeoAsstGui/Resources/Localizations/pallas.xaml b/src/MeoAsstGui/Resources/Localizations/pallas.xaml
index 57e973f7a6..77621e6f7d 100644
--- a/src/MeoAsstGui/Resources/Localizations/pallas.xaml
+++ b/src/MeoAsstGui/Resources/Localizations/pallas.xaml
@@ -382,7 +382,10 @@
🍸🍻💃🍸🍻💃🍻🍸🍻🕺🍺💃🍺🍷💃🕺🍸
+
🕺💃
🍻🍻🍻🍻🍻🍻🍻🍻🍻🍻
🍻🍻🍻🍻🍻🍻🍻🍻🍻🍻
+ 🍻🍻🍻🍻🍻🍻🍻🍻🍻🍻
+
\ No newline at end of file
diff --git a/src/MeoAsstGui/Resources/Localizations/zh-cn.xaml b/src/MeoAsstGui/Resources/Localizations/zh-cn.xaml
index 48e31f53f2..0f45685046 100644
--- a/src/MeoAsstGui/Resources/Localizations/zh-cn.xaml
+++ b/src/MeoAsstGui/Resources/Localizations/zh-cn.xaml
@@ -382,7 +382,10 @@
勾选时识别到 1 星词条时跳过该次招募,未勾选时将忽略 1 星词条
+
呃......咳嗯
呀,博士。你今天走起路来,怎么看着摇摇晃晃的?
下次不能喝、喝这么多了......
+ Hello World!
+
\ No newline at end of file
diff --git a/src/MeoAsstGui/Resources/Localizations/zh-tw.xaml b/src/MeoAsstGui/Resources/Localizations/zh-tw.xaml
index 3a4d3a2bfa..8a6608da01 100644
--- a/src/MeoAsstGui/Resources/Localizations/zh-tw.xaml
+++ b/src/MeoAsstGui/Resources/Localizations/zh-tw.xaml
@@ -382,7 +382,10 @@
勾選時辨識到 1 星詞條時跳過該次招募,未勾選時將忽略 1 星詞條
+
呃......咳嗯
呀,博士。你今天走起路來,怎麼看著搖搖晃晃的?
下次不能喝、喝這麼多了......
+ Hello World!
+
\ No newline at end of file
diff --git a/src/MeoAsstGui/ViewModels/CopilotViewModel.cs b/src/MeoAsstGui/ViewModels/CopilotViewModel.cs
index 5f1fa0e1e8..608214770c 100644
--- a/src/MeoAsstGui/ViewModels/CopilotViewModel.cs
+++ b/src/MeoAsstGui/ViewModels/CopilotViewModel.cs
@@ -162,6 +162,11 @@ namespace MeoAsstGui
int.TryParse(copilotIdStr, out int copilotID);
jsonStr = RequestCopilotServer(copilotID);
}
+ else
+ {
+ EasterEgg(filename);
+ return;
+ }
if (jsonStr != string.Empty)
{
@@ -501,5 +506,15 @@ namespace MeoAsstGui
FocusManager.SetFocusedElement(scope, element);
Keyboard.ClearFocus();
}
+
+ private void EasterEgg(string text)
+ {
+ switch (text)
+ {
+ case "/help":
+ AddLog(Localization.GetString("HelloWorld"), LogColor.Message);
+ break;
+ }
+ }
}
}