Skip to content

Commit

Permalink
Update strings (#5293)
Browse files Browse the repository at this point in the history
* Update strings

* Update api
  • Loading branch information
SeniorZhai authored Jan 23, 2025
1 parent 4b339bc commit c85773b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ class MarketDetailsFragment : BaseFragment(R.layout.fragment_details_market) {
radio1w.text = getString(R.string.weeks_count_short, 1)
radio1m.text = getString(R.string.months_count_short, 1)
radioYtd.text = getString(R.string.ytd)
radioAll.text = getString(R.string.All)
radioAll.text = getString(R.string.All).uppercase()
radioGroup.setOnCheckedChangeListener { _, checkedId ->
requireActivity().heavyClickVibrate()
typeState.value =
Expand All @@ -250,7 +250,7 @@ class MarketDetailsFragment : BaseFragment(R.layout.fragment_details_market) {
}

R.id.radio_ytd -> {
"YTD"
"1Y"
}

else -> {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@
<string name="days_count_short">%1$d天</string>
<string name="weeks_count_short">%1$d周</string>
<string name="months_count_short">%1$d月</string>
<string name="ytd">今年</string>
<string name="ytd">一年</string>
<string name="how_are_you">嗨,你好吗?</string>
<string name="i_am_good">我很好。</string>
<string name="I_know">我知道了</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@
<string name="days_count_short" >%1$dD</string>
<string name="weeks_count_short" >%1$dW</string>
<string name="months_count_short" >%1$dM</string>
<string name="ytd">YTD</string>
<string name="ytd">1Y</string>
<string name="how_are_you">Hi, how are you?</string>
<string name="i_am_good">I’m good.</string>
<string name="I_know">I know</string>
Expand Down

0 comments on commit c85773b

Please sign in to comment.