optimized and add diagnostic feature

This commit is contained in:
2022-03-15 15:17:02 +08:00
parent 77b4e54734
commit 5b209cc19c
45 changed files with 380 additions and 122 deletions

View File

@@ -10,6 +10,7 @@ namespace Billing.Languages
internal class Resource
{
public static string Ok => Text(nameof(Ok));
public static string Cancel => Text(nameof(Cancel));
public static string Yes => Text(nameof(Yes));
public static string No => Text(nameof(No));
public static string ConfirmDeleteAccount => Text(nameof(ConfirmDeleteAccount));
@@ -37,9 +38,15 @@ namespace Billing.Languages
public static string AmountRequired => Text(nameof(AmountRequired));
public static string Income => Text(nameof(Income));
public static string Spending => Text(nameof(Spending));
public static string LastSelected => Text(nameof(LastSelected));
public static string Recent => Text(nameof(Recent));
public static string CategoryManage => Text(nameof(CategoryManage));
public static string AddCategory => Text(nameof(AddCategory));
public static string ConfirmDeleteCategory => Text(nameof(ConfirmDeleteCategory));
public static string ShareLogs => Text(nameof(ShareLogs));
public static string ManyRecords => Text(nameof(ManyRecords));
public static string SendEmail => Text(nameof(SendEmail));
public static string HowToShareDiagnostic => Text(nameof(HowToShareDiagnostic));
#region Categories
public static string Clothing => Text(nameof(Clothing));

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<Ok>OK</Ok>
<Cancel>Cancel</Cancel>
<About>About</About>
<Version>Version</Version>
<Preference>Preference</Preference>
@@ -63,6 +64,8 @@
<AmountRequired>Please enter the amount.</AmountRequired>
<Income>Income</Income>
<Spending>Spending</Spending>
<LastSelected>Last Selected</LastSelected>
<Recent>Recent</Recent>
<Clothing>Clothing</Clothing>
<Food>Food</Food>
<Drinks>Drinks</Drinks>
@@ -104,4 +107,9 @@
<NoResult>(no results)</NoResult>
<Top10>Top 10</Top10>
<CategoryRank>Category Ranking</CategoryRank>
<Diagnostic>Diagnostic</Diagnostic>
<ShareLogs>Share Logs</ShareLogs>
<ManyRecords>{0} record(s)</ManyRecords>
<SendEmail>Send Eamil</SendEmail>
<HowToShareDiagnostic>How would you like to share diagnostic logs?</HowToShareDiagnostic>
</root>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<Ok>确定</Ok>
<Cancel>取消</Cancel>
<About>关于</About>
<Version>版本号</Version>
<Preference>偏好</Preference>
@@ -63,6 +64,8 @@
<AmountRequired>请输入金额。</AmountRequired>
<Income>收入</Income>
<Spending>支出</Spending>
<LastSelected>最后选择</LastSelected>
<Recent>最近</Recent>
<Clothing>衣物</Clothing>
<Food>食品</Food>
<Drinks>饮料</Drinks>
@@ -104,4 +107,9 @@
<NoResult>(无记录)</NoResult>
<Top10>Top 10</Top10>
<CategoryRank>分类排行</CategoryRank>
<Diagnostic>诊断</Diagnostic>
<ShareLogs>发送日志</ShareLogs>
<ManyRecords>{0} 条记录</ManyRecords>
<SendEmail>发送邮件</SendEmail>
<HowToShareDiagnostic>您想以哪种方式分享诊断日志?</HowToShareDiagnostic>
</root>