category management

This commit is contained in:
2022-03-07 17:34:09 +08:00
parent 49e4e46cdb
commit 46464e19dc
131 changed files with 3992 additions and 189 deletions

View File

@@ -26,6 +26,11 @@ namespace Billing.Languages
public static string AccountRequired => Text(nameof(AccountRequired));
public static string NeedAccount => Text(nameof(NeedAccount));
public static string AmountRequired => Text(nameof(AmountRequired));
public static string Income => Text(nameof(Income));
public static string Spending => Text(nameof(Spending));
public static string CategoryManage => Text(nameof(CategoryManage));
public static string AddCategory => Text(nameof(AddCategory));
public static string ConfirmDeleteCategory => Text(nameof(ConfirmDeleteCategory));
#region Categories
public static string Clothing => Text(nameof(Clothing));
@@ -36,9 +41,25 @@ namespace Billing.Languages
public static string Entertainment => Text(nameof(Entertainment));
public static string Learn => Text(nameof(Learn));
public static string Medical => Text(nameof(Medical));
public static string OtherSpending => Text(nameof(OtherSpending));
public static string Salary => Text(nameof(Salary));
public static string Earnings => Text(nameof(Earnings));
public static string Bonus => Text(nameof(Bonus));
public static string OtherIncome => Text(nameof(OtherIncome));
public static string Jewellery => Text(nameof(Jewellery));
public static string Cosmetics => Text(nameof(Cosmetics));
public static string Brunch => Text(nameof(Brunch));
public static string Dinner => Text(nameof(Dinner));
public static string Fruit => Text(nameof(Fruit));
public static string UtilityBill => Text(nameof(UtilityBill));
public static string PropertyFee => Text(nameof(PropertyFee));
public static string Rent => Text(nameof(Rent));
public static string Maintenance => Text(nameof(Maintenance));
public static string Bus => Text(nameof(Bus));
public static string LightRail => Text(nameof(LightRail));
public static string Taxi => Text(nameof(Taxi));
public static string Fitness => Text(nameof(Fitness));
public static string Party => Text(nameof(Party));
#endregion
static readonly Dictionary<string, LanguageResource> dict = new();

View File

@@ -58,11 +58,33 @@
<Entertainment>Entertainment</Entertainment>
<Learn>Learn</Learn>
<Medical>Medical</Medical>
<OtherSpending>Other spending</OtherSpending>
<Salary>Salary</Salary>
<Earnings>Earnings</Earnings>
<Bonus>Bonus</Bonus>
<OtherIncome>Other income</OtherIncome>
<Jewellery>Jewellery</Jewellery>
<Cosmetics>Cosmetics</Cosmetics>
<Brunch>Brunch</Brunch>
<Dinner>Dinner</Dinner>
<Fruit>Fruit</Fruit>
<UtilityBill>Utility bills</UtilityBill>
<PropertyFee>Property fee</PropertyFee>
<Rent>Rent</Rent>
<Maintenance>Maintenance</Maintenance>
<Bus>Bus</Bus>
<LightRail>Light rail</LightRail>
<Taxi>Taxi</Taxi>
<Fitness>Fitness</Fitness>
<Party>Party</Party>
<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>
<Feature>Feature</Feature>
<CategoryManage>Category Management</CategoryManage>
<Detail>Detail</Detail>
<AddCategory>Add Category</AddCategory>
<ConfirmDeleteCategory>Are you sure you want to delete the category: {0}?</ConfirmDeleteCategory>
<SelectCategory>Select Category</SelectCategory>
</root>

View File

@@ -58,11 +58,33 @@
<Entertainment>娱乐</Entertainment>
<Learn>学习</Learn>
<Medical>医疗</Medical>
<OtherSpending>其他支出</OtherSpending>
<Salary>工资</Salary>
<Earnings>收益</Earnings>
<Bonus>奖金</Bonus>
<OtherIncome>其他收入</OtherIncome>
<Jewellery>首饰</Jewellery>
<Cosmetics>化妆品</Cosmetics>
<Brunch>早午餐</Brunch>
<Dinner>晚餐</Dinner>
<Fruit>水果</Fruit>
<UtilityBill>水电费</UtilityBill>
<PropertyFee>物业费</PropertyFee>
<Rent>房租</Rent>
<Maintenance>维修保养</Maintenance>
<Bus>公交车</Bus>
<LightRail>轻轨</LightRail>
<Taxi>出租车</Taxi>
<Fitness>健身</Fitness>
<Party>聚会</Party>
<Yes></Yes>
<No></No>
<ConfirmDeleteAccount>是否确认删除该账户?</ConfirmDeleteAccount>
<ConfirmDeleteBill>是否确认删除该账单?</ConfirmDeleteBill>
<Feature>功能</Feature>
<CategoryManage>分类管理</CategoryManage>
<Detail>详细</Detail>
<AddCategory>新建分类</AddCategory>
<ConfirmDeleteCategory>是否确认删除该分类:{0}</ConfirmDeleteCategory>
<SelectCategory>选择类别</SelectCategory>
</root>