Skip to content

Commit

Permalink
chore: add description for historical message
Browse files Browse the repository at this point in the history
  • Loading branch information
cinit committed Dec 23, 2024
1 parent 580f15a commit ea955ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/src/main/java/cc/ioctl/tmoe/fragment/SettingsFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ class SettingsFragment : BaseHierarchyFragment() {
}
)
functionSwitch(
HistoricalNewsOption, "HistoricalNewsOption", R.string.HistoricalNewsOption
HistoricalNewsOption, "HistoricalNewsOption", R.string.HistoricalNewsOption,
descProvider = {
LocaleController.getString("HistoricalNewsOptionDesc", R.string.HistoricalNewsOptionDesc)
}
)
functionSwitch(
ProhibitChannelSwitching, "ProhibitChannelSwitching", R.string.ProhibitChannelSwitching
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<string name="ProhibitSpoilers">禁用剧透</string>
<string name="ProhibitSpoilersD">剧透内容将默认显示</string>
<string name="HistoricalNewsOption">历史消息</string>
<string name="HistoricalNewsOptionDesc">打开此选项会同时启用复读功能</string>
<string name="ProhibitChatGreetings">禁用问候贴纸</string>
<string name="HidePhoneNumber">隐藏电话号码</string>
<string name="AddSubItemChannel">打开频道</string>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<string name="ProhibitChatGreetings">Prohibit Chat Greetings</string>
<string name="HidePhoneNumber">Hide Phone Number</string>
<string name="HistoricalNewsOption">Historical News Option</string>
<string name="HistoricalNewsOptionDesc">This will also enable the message repeat (+1) function</string>
<string name="UseSystemEmoji">Use System Emoji</string>
<string name="AddSubItemChannel">AddSubItemChannel</string>
<string name="AddSubItemChannelD">AddSubItemChannel</string>
Expand Down

0 comments on commit ea955ab

Please sign in to comment.