first step

This commit is contained in:
gaoyuan
2022-03-02 22:29:13 +08:00
parent 51f8e4f2e8
commit 9929eee056
17 changed files with 343 additions and 60 deletions

View File

@@ -9,6 +9,7 @@ namespace Billing.Languages
{
internal class Resource
{
public static string Ok => Text(nameof(Ok));
public static string TitleDateFormat => Text(nameof(TitleDateFormat));
public static string Cash => Text(nameof(Cash));
public static string CreditCard => Text(nameof(CreditCard));
@@ -16,6 +17,11 @@ namespace Billing.Languages
public static string ElecAccount => Text(nameof(ElecAccount));
public static string AddBill => Text(nameof(AddBill));
public static string EditBill => Text(nameof(EditBill));
public static string AddAccount => Text(nameof(AddAccount));
public static string EditAccount => Text(nameof(EditAccount));
public static string AccountRequired => Text(nameof(AccountRequired));
public static string NeedAccount => Text(nameof(NeedAccount));
public static string AmountRequired => Text(nameof(AmountRequired));
static readonly Dictionary<string, LanguageResource> dict = new();