mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 18:20:39 +08:00
feat: Drink drink
This commit is contained in:
@@ -25,7 +25,7 @@ namespace MeoAsstGui
|
||||
{ "en-us", "English" },
|
||||
{ "ja-jp", "日本語" },
|
||||
{ "ko-kr", "한국어 (help us!)" },
|
||||
{ "pallas", "呀,博士。你今天走起路来,怎么看着摇摇晃晃的?" }
|
||||
{ "pallas", "呀,博士。你今天走起路来,怎么看着摇摇晃晃的?🍻" }
|
||||
};
|
||||
|
||||
public static string DefaultLanguage
|
||||
|
||||
@@ -107,6 +107,7 @@
|
||||
<system:String x:Key="SocialPtShop">Social Point shopping</system:String>
|
||||
<system:String x:Key="HighPriority">Whitelist(splited by space)</system:String>
|
||||
<system:String x:Key="Blacklist">Blacklist(splited by space)</system:String>
|
||||
<system:String x:Key="Drink">Would you like a glass of wine🍷?</system:String>
|
||||
|
||||
<system:String x:Key="DroneUsage">Drone Usage</system:String>
|
||||
|
||||
|
||||
@@ -107,6 +107,7 @@
|
||||
<system:String x:Key="SocialPtShop">FP交換</system:String>
|
||||
<system:String x:Key="HighPriority">優先購入 スペースで区切</system:String>
|
||||
<system:String x:Key="Blacklist">ブラックリスト スペースで区切</system:String>
|
||||
<system:String x:Key="Drink">お酒はいかがですか🍷?</system:String>
|
||||
|
||||
<system:String x:Key="DroneUsage">ドローンの使用</system:String>
|
||||
|
||||
|
||||
@@ -107,6 +107,7 @@
|
||||
<system:String x:Key="SocialPtShop">크레딧 구매</system:String>
|
||||
<system:String x:Key="HighPriority">구매 우선 항목 (공백으로 구분)</system:String>
|
||||
<system:String x:Key="Blacklist">무시 항목 (공백으로 구분)</system:String>
|
||||
<system:String x:Key="Drink">좋은 술 한잔 하실래요🍷?</system:String>
|
||||
|
||||
<system:String x:Key="DroneUsage">드런 용법</system:String>
|
||||
|
||||
|
||||
@@ -107,6 +107,7 @@
|
||||
<system:String x:Key="SocialPtShop">🍺🍷🕺</system:String>
|
||||
<system:String x:Key="HighPriority">🍸🕺💃🍺🕺🕺🍻🍺</system:String>
|
||||
<system:String x:Key="Blacklist">🍸🍺🕺🍻🍺🍸🍷</system:String>
|
||||
<system:String x:Key="Drink">🥴😵🥱😪zzZ</system:String>
|
||||
|
||||
<system:String x:Key="DroneUsage">🍷🍷🍷</system:String>
|
||||
|
||||
|
||||
@@ -107,6 +107,7 @@
|
||||
<system:String x:Key="SocialPtShop">信用购物</system:String>
|
||||
<system:String x:Key="HighPriority">优先购买 子串即可 空格分隔</system:String>
|
||||
<system:String x:Key="Blacklist">黑名单 子串即可 空格分隔</system:String>
|
||||
<system:String x:Key="Drink">要来一杯美酒吗🍷?</system:String>
|
||||
|
||||
<system:String x:Key="DroneUsage">无人机用途</system:String>
|
||||
|
||||
|
||||
@@ -107,6 +107,7 @@
|
||||
<system:String x:Key="SocialPtShop">信用購物</system:String>
|
||||
<system:String x:Key="HighPriority">優先購買 子串即可 空格分隔</system:String>
|
||||
<system:String x:Key="Blacklist">黑名單 子串即可 空格分隔</system:String>
|
||||
<system:String x:Key="Drink">要來一杯美酒嗎🍷?</system:String>
|
||||
|
||||
<system:String x:Key="DroneUsage">無人機用途</system:String>
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
Text="{DynamicResource Language}" />
|
||||
<ComboBox
|
||||
x:Name="LanguageSelector"
|
||||
Width="300"
|
||||
Width="340"
|
||||
Margin="10"
|
||||
DisplayMemberPath="Display"
|
||||
ItemsSource="{Binding LanguageList}"
|
||||
|
||||
@@ -43,7 +43,9 @@
|
||||
Width="250"
|
||||
Height="30"
|
||||
Margin="10"
|
||||
Text="{Binding CreditFirstList}" />
|
||||
Text="{Binding CreditFirstList}"
|
||||
ToolTip="{DynamicResource Drink}"
|
||||
/>
|
||||
</StackPanel>
|
||||
<StackPanel
|
||||
Grid.Row="2"
|
||||
|
||||
@@ -171,6 +171,11 @@ namespace MeoAsstGui
|
||||
LanguageList = new List<CombData>();
|
||||
foreach (var pair in Localization.SupportedLanguages)
|
||||
{
|
||||
if (pair.Key == "pallas")
|
||||
if ("pallas" == ViewStatusStorage.Get("GUI.Localization", Localization.DefaultLanguage))
|
||||
LanguageList.Add(new CombData { Display = pair.Key, Value = pair.Value });
|
||||
else
|
||||
continue;
|
||||
LanguageList.Add(new CombData { Display = pair.Value, Value = pair.Key });
|
||||
}
|
||||
}
|
||||
@@ -568,6 +573,15 @@ namespace MeoAsstGui
|
||||
set
|
||||
{
|
||||
SetAndNotify(ref _creditFirstList, value);
|
||||
if (_creditFirstList.Contains("酒") || _creditFirstList.Contains("wine") || _creditFirstList.Contains("술"))
|
||||
{
|
||||
if ("pallas" != ViewStatusStorage.Get("GUI.Localization", Localization.DefaultLanguage))
|
||||
{
|
||||
ViewStatusStorage.Set("GUI.Localization", "pallas");
|
||||
App.Current.Shutdown();
|
||||
System.Windows.Forms.Application.Restart();
|
||||
}
|
||||
}
|
||||
ViewStatusStorage.Set("Mall.CreditFirstList", value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user