i18n on app label

This commit is contained in:
Tsanie Lily 2022-03-03 16:02:18 +08:00
parent 030993b40e
commit f78e2a5004
10 changed files with 128 additions and 95 deletions

View File

@ -112,6 +112,14 @@
<AndroidResource Include="Resources\values\icon_background.xml" />
<AndroidResource Include="Resources\drawable\icon_foreground.xml" />
<AndroidResource Include="Resources\drawable\xamarin_logo.png" />
<AndroidResource Include="Resources\values\strings.xml">
<SubType></SubType>
<Generator></Generator>
</AndroidResource>
<AndroidResource Include="Resources\values-zh-rCN\strings.xml">
<SubType></SubType>
<Generator></Generator>
</AndroidResource>
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\splash_logo.png" />
@ -334,6 +342,9 @@
<ItemGroup>
<AndroidResource Include="Resources\drawable-xxhdpi\trans.png" />
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\values-zh-rCN\" />
</ItemGroup>
<Import Project="..\..\Billing.Shared\Billing.Shared.projitems" Label="Shared" />
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
</Project>

View File

@ -6,7 +6,7 @@ using Android.OS;
namespace Billing.Droid
{
[Activity(
Label = "Billing",
Label = "@string/applabel",
Icon = "@mipmap/icon",
RoundIcon = "@mipmap/icon_round",
Theme = "@style/MainTheme",

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="3" android:versionName="0.3.303" package="org.tsanie.billing" android:installLocation="auto">
<uses-sdk android:minSdkVersion="24" android:targetSdkVersion="31" />
<application android:label="Billing" android:theme="@style/MainTheme"></application>
<application android:label="@string/applabel" android:theme="@style/MainTheme"></application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</manifest>

View File

@ -14,7 +14,7 @@ namespace Billing.Droid
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "12.2.0.155")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")]
public partial class Resource
{
@ -19004,275 +19004,278 @@ namespace Billing.Droid
// aapt resource value: 0x7F0E001B
public const int appbar_scrolling_view_behavior = 2131623963;
// aapt resource value: 0x7F0E001D
public const int bottomsheet_action_expand_halfway = 2131623965;
// aapt resource value: 0x7F0E001C
public const int bottom_sheet_behavior = 2131623964;
public const int applabel = 2131623964;
// aapt resource value: 0x7F0E001E
public const int character_counter_content_description = 2131623966;
public const int bottomsheet_action_expand_halfway = 2131623966;
// aapt resource value: 0x7F0E001D
public const int bottom_sheet_behavior = 2131623965;
// aapt resource value: 0x7F0E001F
public const int character_counter_overflowed_content_description = 2131623967;
public const int character_counter_content_description = 2131623967;
// aapt resource value: 0x7F0E0020
public const int character_counter_pattern = 2131623968;
public const int character_counter_overflowed_content_description = 2131623968;
// aapt resource value: 0x7F0E0021
public const int chip_text = 2131623969;
public const int character_counter_pattern = 2131623969;
// aapt resource value: 0x7F0E0022
public const int clear_text_end_icon_content_description = 2131623970;
public const int chip_text = 2131623970;
// aapt resource value: 0x7F0E0023
public const int copy = 2131623971;
public const int clear_text_end_icon_content_description = 2131623971;
// aapt resource value: 0x7F0E0024
public const int copy_toast_msg = 2131623972;
public const int copy = 2131623972;
// aapt resource value: 0x7F0E0025
public const int error_icon_content_description = 2131623973;
public const int copy_toast_msg = 2131623973;
// aapt resource value: 0x7F0E0026
public const int expand_button_title = 2131623974;
public const int error_icon_content_description = 2131623974;
// aapt resource value: 0x7F0E0027
public const int exposed_dropdown_menu_content_description = 2131623975;
public const int expand_button_title = 2131623975;
// aapt resource value: 0x7F0E0028
public const int fab_transformation_scrim_behavior = 2131623976;
public const int exposed_dropdown_menu_content_description = 2131623976;
// aapt resource value: 0x7F0E0029
public const int fab_transformation_sheet_behavior = 2131623977;
public const int fab_transformation_scrim_behavior = 2131623977;
// aapt resource value: 0x7F0E002A
public const int fallback_menu_item_copy_link = 2131623978;
public const int fab_transformation_sheet_behavior = 2131623978;
// aapt resource value: 0x7F0E002B
public const int fallback_menu_item_open_in_browser = 2131623979;
public const int fallback_menu_item_copy_link = 2131623979;
// aapt resource value: 0x7F0E002C
public const int fallback_menu_item_share_link = 2131623980;
public const int fallback_menu_item_open_in_browser = 2131623980;
// aapt resource value: 0x7F0E002D
public const int hide_bottom_view_on_scroll_behavior = 2131623981;
public const int fallback_menu_item_share_link = 2131623981;
// aapt resource value: 0x7F0E002E
public const int icon_content_description = 2131623982;
public const int hide_bottom_view_on_scroll_behavior = 2131623982;
// aapt resource value: 0x7F0E002F
public const int item_view_role_description = 2131623983;
public const int icon_content_description = 2131623983;
// aapt resource value: 0x7F0E0030
public const int material_clock_display_divider = 2131623984;
public const int item_view_role_description = 2131623984;
// aapt resource value: 0x7F0E0031
public const int material_clock_toggle_content_description = 2131623985;
public const int material_clock_display_divider = 2131623985;
// aapt resource value: 0x7F0E0032
public const int material_hour_selection = 2131623986;
public const int material_clock_toggle_content_description = 2131623986;
// aapt resource value: 0x7F0E0033
public const int material_hour_suffix = 2131623987;
public const int material_hour_selection = 2131623987;
// aapt resource value: 0x7F0E0034
public const int material_minute_selection = 2131623988;
public const int material_hour_suffix = 2131623988;
// aapt resource value: 0x7F0E0035
public const int material_minute_suffix = 2131623989;
public const int material_minute_selection = 2131623989;
// aapt resource value: 0x7F0E0036
public const int material_motion_easing_accelerated = 2131623990;
public const int material_minute_suffix = 2131623990;
// aapt resource value: 0x7F0E0037
public const int material_motion_easing_decelerated = 2131623991;
public const int material_motion_easing_accelerated = 2131623991;
// aapt resource value: 0x7F0E0038
public const int material_motion_easing_emphasized = 2131623992;
public const int material_motion_easing_decelerated = 2131623992;
// aapt resource value: 0x7F0E0039
public const int material_motion_easing_linear = 2131623993;
public const int material_motion_easing_emphasized = 2131623993;
// aapt resource value: 0x7F0E003A
public const int material_motion_easing_standard = 2131623994;
public const int material_motion_easing_linear = 2131623994;
// aapt resource value: 0x7F0E003B
public const int material_slider_range_end = 2131623995;
public const int material_motion_easing_standard = 2131623995;
// aapt resource value: 0x7F0E003C
public const int material_slider_range_start = 2131623996;
public const int material_slider_range_end = 2131623996;
// aapt resource value: 0x7F0E003D
public const int material_timepicker_am = 2131623997;
public const int material_slider_range_start = 2131623997;
// aapt resource value: 0x7F0E003E
public const int material_timepicker_clock_mode_description = 2131623998;
public const int material_timepicker_am = 2131623998;
// aapt resource value: 0x7F0E003F
public const int material_timepicker_hour = 2131623999;
public const int material_timepicker_clock_mode_description = 2131623999;
// aapt resource value: 0x7F0E0040
public const int material_timepicker_minute = 2131624000;
public const int material_timepicker_hour = 2131624000;
// aapt resource value: 0x7F0E0041
public const int material_timepicker_pm = 2131624001;
public const int material_timepicker_minute = 2131624001;
// aapt resource value: 0x7F0E0042
public const int material_timepicker_select_time = 2131624002;
public const int material_timepicker_pm = 2131624002;
// aapt resource value: 0x7F0E0043
public const int material_timepicker_text_input_mode_description = 2131624003;
public const int material_timepicker_select_time = 2131624003;
// aapt resource value: 0x7F0E0044
public const int mtrl_badge_numberless_content_description = 2131624004;
public const int material_timepicker_text_input_mode_description = 2131624004;
// aapt resource value: 0x7F0E0045
public const int mtrl_chip_close_icon_content_description = 2131624005;
public const int mtrl_badge_numberless_content_description = 2131624005;
// aapt resource value: 0x7F0E0046
public const int mtrl_exceed_max_badge_number_content_description = 2131624006;
public const int mtrl_chip_close_icon_content_description = 2131624006;
// aapt resource value: 0x7F0E0047
public const int mtrl_exceed_max_badge_number_suffix = 2131624007;
public const int mtrl_exceed_max_badge_number_content_description = 2131624007;
// aapt resource value: 0x7F0E0048
public const int mtrl_picker_a11y_next_month = 2131624008;
public const int mtrl_exceed_max_badge_number_suffix = 2131624008;
// aapt resource value: 0x7F0E0049
public const int mtrl_picker_a11y_prev_month = 2131624009;
public const int mtrl_picker_a11y_next_month = 2131624009;
// aapt resource value: 0x7F0E004A
public const int mtrl_picker_announce_current_selection = 2131624010;
public const int mtrl_picker_a11y_prev_month = 2131624010;
// aapt resource value: 0x7F0E004B
public const int mtrl_picker_cancel = 2131624011;
public const int mtrl_picker_announce_current_selection = 2131624011;
// aapt resource value: 0x7F0E004C
public const int mtrl_picker_confirm = 2131624012;
public const int mtrl_picker_cancel = 2131624012;
// aapt resource value: 0x7F0E004D
public const int mtrl_picker_date_header_selected = 2131624013;
public const int mtrl_picker_confirm = 2131624013;
// aapt resource value: 0x7F0E004E
public const int mtrl_picker_date_header_title = 2131624014;
public const int mtrl_picker_date_header_selected = 2131624014;
// aapt resource value: 0x7F0E004F
public const int mtrl_picker_date_header_unselected = 2131624015;
public const int mtrl_picker_date_header_title = 2131624015;
// aapt resource value: 0x7F0E0050
public const int mtrl_picker_day_of_week_column_header = 2131624016;
public const int mtrl_picker_date_header_unselected = 2131624016;
// aapt resource value: 0x7F0E0051
public const int mtrl_picker_invalid_format = 2131624017;
public const int mtrl_picker_day_of_week_column_header = 2131624017;
// aapt resource value: 0x7F0E0052
public const int mtrl_picker_invalid_format_example = 2131624018;
public const int mtrl_picker_invalid_format = 2131624018;
// aapt resource value: 0x7F0E0053
public const int mtrl_picker_invalid_format_use = 2131624019;
public const int mtrl_picker_invalid_format_example = 2131624019;
// aapt resource value: 0x7F0E0054
public const int mtrl_picker_invalid_range = 2131624020;
public const int mtrl_picker_invalid_format_use = 2131624020;
// aapt resource value: 0x7F0E0055
public const int mtrl_picker_navigate_to_year_description = 2131624021;
public const int mtrl_picker_invalid_range = 2131624021;
// aapt resource value: 0x7F0E0056
public const int mtrl_picker_out_of_range = 2131624022;
public const int mtrl_picker_navigate_to_year_description = 2131624022;
// aapt resource value: 0x7F0E0057
public const int mtrl_picker_range_header_only_end_selected = 2131624023;
public const int mtrl_picker_out_of_range = 2131624023;
// aapt resource value: 0x7F0E0058
public const int mtrl_picker_range_header_only_start_selected = 2131624024;
public const int mtrl_picker_range_header_only_end_selected = 2131624024;
// aapt resource value: 0x7F0E0059
public const int mtrl_picker_range_header_selected = 2131624025;
public const int mtrl_picker_range_header_only_start_selected = 2131624025;
// aapt resource value: 0x7F0E005A
public const int mtrl_picker_range_header_title = 2131624026;
public const int mtrl_picker_range_header_selected = 2131624026;
// aapt resource value: 0x7F0E005B
public const int mtrl_picker_range_header_unselected = 2131624027;
public const int mtrl_picker_range_header_title = 2131624027;
// aapt resource value: 0x7F0E005C
public const int mtrl_picker_save = 2131624028;
public const int mtrl_picker_range_header_unselected = 2131624028;
// aapt resource value: 0x7F0E005D
public const int mtrl_picker_text_input_date_hint = 2131624029;
public const int mtrl_picker_save = 2131624029;
// aapt resource value: 0x7F0E005E
public const int mtrl_picker_text_input_date_range_end_hint = 2131624030;
public const int mtrl_picker_text_input_date_hint = 2131624030;
// aapt resource value: 0x7F0E005F
public const int mtrl_picker_text_input_date_range_start_hint = 2131624031;
public const int mtrl_picker_text_input_date_range_end_hint = 2131624031;
// aapt resource value: 0x7F0E0060
public const int mtrl_picker_text_input_day_abbr = 2131624032;
public const int mtrl_picker_text_input_date_range_start_hint = 2131624032;
// aapt resource value: 0x7F0E0061
public const int mtrl_picker_text_input_month_abbr = 2131624033;
public const int mtrl_picker_text_input_day_abbr = 2131624033;
// aapt resource value: 0x7F0E0062
public const int mtrl_picker_text_input_year_abbr = 2131624034;
public const int mtrl_picker_text_input_month_abbr = 2131624034;
// aapt resource value: 0x7F0E0063
public const int mtrl_picker_toggle_to_calendar_input_mode = 2131624035;
public const int mtrl_picker_text_input_year_abbr = 2131624035;
// aapt resource value: 0x7F0E0064
public const int mtrl_picker_toggle_to_day_selection = 2131624036;
public const int mtrl_picker_toggle_to_calendar_input_mode = 2131624036;
// aapt resource value: 0x7F0E0065
public const int mtrl_picker_toggle_to_text_input_mode = 2131624037;
public const int mtrl_picker_toggle_to_day_selection = 2131624037;
// aapt resource value: 0x7F0E0066
public const int mtrl_picker_toggle_to_year_selection = 2131624038;
public const int mtrl_picker_toggle_to_text_input_mode = 2131624038;
// aapt resource value: 0x7F0E0067
public const int nav_app_bar_navigate_up_description = 2131624039;
public const int mtrl_picker_toggle_to_year_selection = 2131624039;
// aapt resource value: 0x7F0E0068
public const int nav_app_bar_open_drawer_description = 2131624040;
public const int nav_app_bar_navigate_up_description = 2131624040;
// aapt resource value: 0x7F0E0069
public const int not_set = 2131624041;
public const int nav_app_bar_open_drawer_description = 2131624041;
// aapt resource value: 0x7F0E006A
public const int overflow_tab_title = 2131624042;
public const int not_set = 2131624042;
// aapt resource value: 0x7F0E006B
public const int password_toggle_content_description = 2131624043;
public const int overflow_tab_title = 2131624043;
// aapt resource value: 0x7F0E006C
public const int path_password_eye = 2131624044;
public const int password_toggle_content_description = 2131624044;
// aapt resource value: 0x7F0E006D
public const int path_password_eye_mask_strike_through = 2131624045;
public const int path_password_eye = 2131624045;
// aapt resource value: 0x7F0E006E
public const int path_password_eye_mask_visible = 2131624046;
public const int path_password_eye_mask_strike_through = 2131624046;
// aapt resource value: 0x7F0E006F
public const int path_password_strike_through = 2131624047;
public const int path_password_eye_mask_visible = 2131624047;
// aapt resource value: 0x7F0E0070
public const int preference_copied = 2131624048;
public const int path_password_strike_through = 2131624048;
// aapt resource value: 0x7F0E0071
public const int search_menu_title = 2131624049;
public const int preference_copied = 2131624049;
// aapt resource value: 0x7F0E0072
public const int status_bar_notification_info_overflow = 2131624050;
public const int search_menu_title = 2131624050;
// aapt resource value: 0x7F0E0073
public const int summary_collapsed_preference_list = 2131624051;
public const int status_bar_notification_info_overflow = 2131624051;
// aapt resource value: 0x7F0E0074
public const int v7_preference_off = 2131624052;
public const int summary_collapsed_preference_list = 2131624052;
// aapt resource value: 0x7F0E0075
public const int v7_preference_on = 2131624053;
public const int v7_preference_off = 2131624053;
// aapt resource value: 0x7F0E0076
public const int v7_preference_on = 2131624054;
static String()
{

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?>
<resources>
<string name="applabel">记账本</string>
</resources>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?>
<resources>
<string name="applabel">Billing</string>
</resources>

View File

@ -0,0 +1 @@
"CFBundleDisplayName" = "Billing";

View File

@ -83,6 +83,9 @@
<BundleResource Include="Resources\CascadiaCode-Bold.ttf" />
<BundleResource Include="Resources\CascadiaCode-Regular.ttf" />
<BundleResource Include="Resources\fa-brands-400.ttf" />
<BundleResource Include="Base.lproj\InfoPlist.strings" />
<BundleResource Include="en.lproj\InfoPlist.strings" />
<BundleResource Include="zh-Hans.lproj\InfoPlist.strings" />
</ItemGroup>
<ItemGroup>
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Contents.json">
@ -329,6 +332,11 @@
<ItemGroup>
<BundleResource Include="Resources\trans%403x.png" />
</ItemGroup>
<ItemGroup>
<Folder Include="Base.lproj\" />
<Folder Include="en.lproj\" />
<Folder Include="zh-Hans.lproj\" />
</ItemGroup>
<Import Project="..\..\Billing.Shared\Billing.Shared.projitems" Label="Shared" />
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
</Project>

View File

@ -0,0 +1 @@
"CFBundleDisplayName" = "Billing";

View File

@ -0,0 +1 @@
"CFBundleDisplayName" = "记账本";