Skip to content

Commit 2c9ef0e

Browse files
committed
Issue 1556: Added strings to desktopApp.
1 parent 62ced64 commit 2c9ef0e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

desktopApp/src/main/composeResources/values/strings.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@
198198
<string name="settings_appearance_theme_auto">Auto</string>
199199
<string name="settings_appearance_dynamic_theme">Dynamic theme</string>
200200
<string name="settings_appearance_dynamic_theme_description">Change the theme of the app based on the device\'s wallpaper</string>
201+
<string name="settings_appearance_hide_reposts">Hide reposts</string>
202+
<string name="settings_appearance_hide_reposts_description">When enabled, reposts (retweets/reblogs) are removed from timelines</string>
203+
<string name="settings_appearance_hide_replies">Hide replies</string>
204+
<string name="settings_appearance_hide_replies_description">When enabled, replies by others to anyone other than themselves are removed from timelines</string>
201205
<string name="settings_appearance_show_link_previews">Show link previews</string>
202206
<string name="settings_appearance_show_link_previews_description">Show link previews in the post</string>
203207
<string name="settings_appearance_compat_link_previews">Simplify link previews</string>
@@ -263,7 +267,6 @@
263267
<string name="misskey_visibility_followers_description">Only followers can see this post</string>
264268
<string name="misskey_visibility_specified_description">Only mentioned users can see this post</string>
265269

266-
267270
<string name="rss_sources_title">Rss Sources</string>
268271
<string name="add_rss_source">Add Rss Source</string>
269272
<string name="edit_rss_source">Edit Rss Source</string>

desktopApp/src/main/kotlin/dev/dimension/flare/ui/screen/settings/SettingsScreen.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ import dev.dimension.flare.settings_appearance_expand_media
100100
import dev.dimension.flare.settings_appearance_expand_media_description
101101
import dev.dimension.flare.settings_appearance_full_width_post
102102
import dev.dimension.flare.settings_appearance_full_width_post_description
103+
import dev.dimension.flare.settings_appearance_hide_reposts
104+
import dev.dimension.flare.settings_appearance_hide_reposts_description
105+
import dev.dimension.flare.settings_appearance_hide_replies
106+
import dev.dimension.flare.settings_appearance_hide_replies_description
103107
import dev.dimension.flare.settings_appearance_post_action_style
104108
import dev.dimension.flare.settings_appearance_post_action_style_description
105109
import dev.dimension.flare.settings_appearance_post_action_style_hidden
@@ -825,7 +829,7 @@ internal fun SettingsScreen(
825829
},
826830
)
827831
ExpanderItemSeparator()
828-
// Hide replies toggle: remove replies to others from timelines (keeps your own replies)
832+
// Hide replies toggle: remove replies by others from timelines
829833
ExpanderItem(
830834
heading = {
831835
Text(stringResource(Res.string.settings_appearance_hide_replies))

0 commit comments

Comments
 (0)