improve expression of loading, weight and name from 加载, 重量, 名 to 加载中, 体重, 名称 to stick closer to Chinese expression habits
fix hard-coded text overall change in widget MeasurementOverallChangeWidget, add relevent localization keys in app_en.arb and app_zh.arb
fix hard-coded text in widget Indicator's text field, also add relevent localization keys in app_en.arb and app_zh.arb
fix hard-coded text in widget PlanForm's DropdownMenu by adding a new method named getI18nLabel in widget forms to get localized labeltext
add missing textPromptTitle and textPromptSubheading keys and theri values in app_zh.arb
some snapshots after fix:
Link to the issue :
Link : #284
Tests
Since no bugs fixed or feature added, no test cases are added.
The localization made runs fine on my machine in Chinese environment.
If there needs to be some kind of tests, please let me know.
Checklist
Please check that the PR fulfills all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.
[x] Set a 100 character limit in your editor/IDE to avoid white space diffs in the PR
[x] Tests for the changes have been added (for bug fixes / features)
Since no bug fixes, no test has been added. The fixed localization works fine on my machine.
[x] Added yourself to AUTHORS.md
[x] Updated/added relevant documentation (doc comments with ///).
add update logs to relevent descriptions in app_en.arb and app_zh.arb
Description (Proposed Changes)
loading
,weight
andname
from加载
,重量
,名
to加载中
,体重
,名称
to stick closer to Chinese expression habitsoverall change
in widgetMeasurementOverallChangeWidget
, add relevent localization keys inapp_en.arb
andapp_zh.arb
Indicator
's text field, also add relevent localization keys inapp_en.arb
andapp_zh.arb
PlanForm
'sDropdownMenu
by adding a new method namedgetI18nLabel
in widgetforms
to get localized labeltexttextPromptTitle
andtextPromptSubheading
keys and theri values inapp_zh.arb
some snapshots after fix:
Link to the issue :
Tests
Checklist
Please check that the PR fulfills all requirements listed below by checking the relevant checkboxes (
[x]
). This will ensure a smooth and quick review process.///
).