first test-flight version
This commit is contained in:
@@ -10,6 +10,10 @@ namespace Billing.Languages
|
||||
internal class Resource
|
||||
{
|
||||
public static string Ok => Text(nameof(Ok));
|
||||
public static string Yes => Text(nameof(Yes));
|
||||
public static string No => Text(nameof(No));
|
||||
public static string ConfirmDeleteAccount => Text(nameof(ConfirmDeleteAccount));
|
||||
public static string ConfirmDeleteBill => Text(nameof(ConfirmDeleteBill));
|
||||
public static string TitleDateFormat => Text(nameof(TitleDateFormat));
|
||||
public static string Cash => Text(nameof(Cash));
|
||||
public static string CreditCard => Text(nameof(CreditCard));
|
||||
@@ -23,6 +27,20 @@ namespace Billing.Languages
|
||||
public static string NeedAccount => Text(nameof(NeedAccount));
|
||||
public static string AmountRequired => Text(nameof(AmountRequired));
|
||||
|
||||
#region Categories
|
||||
public static string Clothing => Text(nameof(Clothing));
|
||||
public static string Food => Text(nameof(Food));
|
||||
public static string Drinks => Text(nameof(Drinks));
|
||||
public static string Daily => Text(nameof(Daily));
|
||||
public static string Trans => Text(nameof(Trans));
|
||||
public static string Entertainment => Text(nameof(Entertainment));
|
||||
public static string Learn => Text(nameof(Learn));
|
||||
public static string Medical => Text(nameof(Medical));
|
||||
public static string Salary => Text(nameof(Salary));
|
||||
public static string Earnings => Text(nameof(Earnings));
|
||||
public static string Bonus => Text(nameof(Bonus));
|
||||
#endregion
|
||||
|
||||
static readonly Dictionary<string, LanguageResource> dict = new();
|
||||
|
||||
public static string Text(string name, params object[] args)
|
||||
|
@@ -1,6 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<Ok>OK</Ok>
|
||||
<About>About</About>
|
||||
<Version>Version</Version>
|
||||
<Preference>Preference</Preference>
|
||||
<PrimaryColor>Primary Color</PrimaryColor>
|
||||
<Accounts>Accounts</Accounts>
|
||||
<Bills>Bills</Bills>
|
||||
<Settings>Settings</Settings>
|
||||
@@ -44,4 +48,21 @@
|
||||
<Store>Store</Store>
|
||||
<NeedAccount>Please create an account first.</NeedAccount>
|
||||
<AmountRequired>Please enter the amount.</AmountRequired>
|
||||
<Income>Income</Income>
|
||||
<Spending>Spending</Spending>
|
||||
<Clothing>Clothing</Clothing>
|
||||
<Food>Food</Food>
|
||||
<Drinks>Drinks</Drinks>
|
||||
<Daily>Daily</Daily>
|
||||
<Trans>Transportation</Trans>
|
||||
<Entertainment>Entertainment</Entertainment>
|
||||
<Learn>Learn</Learn>
|
||||
<Medical>Medical</Medical>
|
||||
<Salary>Salary</Salary>
|
||||
<Earnings>Earnings</Earnings>
|
||||
<Bonus>Bonus</Bonus>
|
||||
<Yes>Yes</Yes>
|
||||
<No>No</No>
|
||||
<ConfirmDeleteAccount>Are you sure you want to delete the account?</ConfirmDeleteAccount>
|
||||
<ConfirmDeleteBill>Are you sure you want to delete the billing?</ConfirmDeleteBill>
|
||||
</root>
|
@@ -1,6 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<Ok>确定</Ok>
|
||||
<About>关于</About>
|
||||
<Version>版本号</Version>
|
||||
<Preference>偏好</Preference>
|
||||
<PrimaryColor>主要配色</PrimaryColor>
|
||||
<Accounts>账户</Accounts>
|
||||
<Bills>账单</Bills>
|
||||
<Settings>设置</Settings>
|
||||
@@ -44,4 +48,21 @@
|
||||
<Store>店铺</Store>
|
||||
<NeedAccount>请先创建一个资金账户。</NeedAccount>
|
||||
<AmountRequired>请输入金额。</AmountRequired>
|
||||
<Income>收入</Income>
|
||||
<Spending>支出</Spending>
|
||||
<Clothing>衣物</Clothing>
|
||||
<Food>食品</Food>
|
||||
<Drinks>饮料</Drinks>
|
||||
<Daily>日常</Daily>
|
||||
<Trans>交通</Trans>
|
||||
<Entertainment>娱乐</Entertainment>
|
||||
<Learn>学习</Learn>
|
||||
<Medical>医疗</Medical>
|
||||
<Salary>工资</Salary>
|
||||
<Earnings>收益</Earnings>
|
||||
<Bonus>奖金</Bonus>
|
||||
<Yes>是</Yes>
|
||||
<No>否</No>
|
||||
<ConfirmDeleteAccount>是否确认删除该账户?</ConfirmDeleteAccount>
|
||||
<ConfirmDeleteBill>是否确认删除该账单?</ConfirmDeleteBill>
|
||||
</root>
|
Reference in New Issue
Block a user