1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312
|
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="TubaDialogsPreferences" parent="AdwPreferencesDialog">
<property name="search-enabled">True</property>
<child>
<object class="AdwPreferencesPage">
<property name="icon_name">tuba-settings-symbolic</property>
<property name="title" translatable="yes">General</property>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">Appearance</property>
<child>
<object class="AdwSwitchRow" id="darken_images_on_dark_mode">
<property name="title" translatable="yes">Darken Images on Dark Mode</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="dim_trivial_notifications">
<!-- translators: dim as make them less visible / darker. 'Trivial' describes favorites and boosts -->
<property name="title" translatable="yes">Dim Trivial Notifications</property>
<property name="subtitle" translatable="yes">Notifications like favorites and boosts will be less visible</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="enlarge_custom_emojis">
<property name="title" translatable="yes">Large Custom Emojis</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="larger_font_size">
<property name="title" translatable="yes">Large Text</property>
<property name="subtitle" translatable="yes">Increase the size of text in posts</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="larger_line_height">
<property name="title" translatable="yes">Large Line Height</property>
<property name="subtitle" translatable="yes">Increase the line height in posts</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="scale_emoji_hover">
<property name="title" translatable="yes">Scale Custom Emojis on Hover</property>
<property name="subtitle" translatable="yes">Slightly increases the size of custom emojis when you hover over them</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">Posts</property>
<child>
<object class="AdwSwitchRow" id="collapse_long_posts">
<property name="title" translatable="yes">Collapse Long Posts</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="letterbox_media">
<!-- translators: if unsure, you can find the translation on glitch-soc https://github.com/glitch-soc/mastodon/tree/main/app/javascript/flavours/glitch/locales under the key "settings.media_letterbox" -->
<property name="title" translatable="yes">Letterbox Media</property>
<!-- translators: if unsure, you can find the translation on glitch-soc https://github.com/glitch-soc/mastodon/tree/main/app/javascript/flavours/glitch/locales under the key "settings.media_letterbox_hint" -->
<property name="subtitle" translatable="yes">Scale down and letterbox media to fill the image containers instead of stretching and cropping them</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="show_sensitive_media">
<property name="title" translatable="yes">Reveal Sensitive Media by Default</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="show_spoilers">
<property name="title" translatable="yes">Reveal Spoilers by Default</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="show_preview_cards">
<property name="title" translatable="yes">Show Link Preview Cards</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">Behavior</property>
<child>
<object class="AdwSwitchRow" id="advanced_boost_dialog">
<property name="title" translatable="yes">Advanced Boost Dialog</property>
<property name="subtitle" translatable="yes">Change boost visibility, quote and confirm boosting</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="in_app_browser_switch">
<!-- translators: in-app as in a browser inside Tuba -->
<property name="title" translatable="yes">Open Links In-App</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="strip_tracking">
<property name="title" translatable="yes">Strip Tracking Parameters From Links</property>
<!-- translators: Broken as in incorrect -->
<property name="subtitle" translatable="yes">This option can lead to broken links when enabled</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="reply_to_old_post_reminder">
<property name="title" translatable="yes">Warn before replying to an old post</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="copy_private_link_reminder">
<property name="title" translatable="yes">Warn before copying a link to a private post</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="work_in_background">
<property name="title" translatable="yes">Run in Background</property>
<property name="subtitle" translatable="yes">Fetch notifications while the app is closed</property>
</object>
</child>
<child>
<object class="AdwEntryRow" id="proxy_entry">
<property name="show-apply-button">0</property>
<!-- translators: probably leave it as is. It's a networking term that might not translate nicely without losing its meaning -->
<property name="title" translatable="yes">Proxy</property>
<property name="input-purpose">url</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">Posting</property>
<child>
<object class="AdwComboRow" id="post_visibility_combo_row">
<property name="title" translatable="yes">Default Post Visibility</property>
<property name="expression">
<lookup type="TubaInstanceAccountVisibility" name="name" />
</property>
</object>
</child>
<child>
<object class="AdwComboRow" id="default_language_combo_row">
<property name="title" translatable="yes">Default Post Language</property>
<property name="expression">
<lookup type="TubaUtilsLocalesLocale" name="name" />
</property>
</object>
</child>
<child>
<object class="AdwComboRow" id="default_content_type_combo_row">
<property name="visible">0</property>
<property name="title" translatable="yes">Default Post Content Type</property>
<property name="expression">
<lookup type="TubaInstanceAccountStatusContentType" name="title" />
</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">Timelines</property>
<child>
<object class="AdwSwitchRow" id="live_updates">
<property name="title" translatable="yes">Stream Timelines</property>
<property name="subtitle" translatable="yes">Receive new posts and notifications in real-time</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="public_live_updates">
<property name="sensitive" bind-source="live_updates" bind-property="active" bind-flags="sync-create" />
<property name="title" translatable="yes">Stream Public Timelines</property>
<!-- translators: setting row subtitle, by high traffic we mean the federated and local timelines -->
<property name="subtitle" translatable="yes">This will increase memory usage when browsing high traffic timelines</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">Online Services</property>
<!-- translators: leave api.tuba.geopjr.dev as is -->
<property name="description" translatable="yes">Configure features that connect to api.tuba.geopjr.dev</property>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Send Preference Analytics</property>
<property name="subtitle" translatable="yes">Send your preferences to Tuba's developers for popularity research biweekly</property>
<property name="activatable-widget">analytics_switch</property>
<child type="suffix">
<object class="GtkButton">
<property name="icon-name">tuba-eye-open-negative-filled-symbolic</property>
<property name="valign">center</property>
<property name="tooltip-text" translatable="yes">Preview Analytics</property>
<signal name="clicked" handler="on_analytics_preview" swapped="no" />
<style>
<class name="flat" />
</style>
</object>
</child>
<child type="suffix">
<object class="GtkSwitch" id="analytics_switch">
<property name="valign">center</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="update_contributors">
<!-- translators: supporters = tuba contributors and sponsors -->
<property name="title" translatable="yes">Update Supporters Periodically</property>
<!-- translators: supporters = tuba contributors and sponsors -->
<property name="subtitle" translatable="yes">Fetch the list of Tuba's supporters biweekly</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesPage">
<property name="icon_name">tuba-bell-outline-symbolic</property>
<property name="title" translatable="yes">Notifications</property>
<child>
<object class="AdwPreferencesGroup">
<!-- translators: Push Notifications are the desktop ones / not the in-app ones. It's not a verb. -->
<property name="title" translatable="yes">Push Notifications</property>
<child>
<object class="AdwSwitchRow" id="new_followers_notifications_switch">
<property name="title" translatable="yes">New Followers</property>
<property name="active">1</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="new_follower_requests_notifications_switch">
<property name="title" translatable="yes">New Follower Requests</property>
<property name="active">1</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="favorites_notifications_switch">
<property name="title" translatable="yes">Favorites</property>
<property name="active">1</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="mentions_notifications_switch">
<property name="title" translatable="yes">Mentions</property>
<property name="active">1</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="boosts_notifications_switch">
<property name="title" translatable="yes">Boosts</property>
<property name="active">1</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="poll_results_notifications_switch">
<property name="title" translatable="yes">Poll Results</property>
<property name="active">1</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="edits_notifications_switch">
<property name="title" translatable="yes">Edits</property>
<property name="active">1</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="group_push_notifications">
<property name="title" translatable="yes">Group</property>
<!-- translators: this is meant for "Push Notifications" / the desktop ones, not the in-app ones. -->
<property name="subtitle" translatable="yes">Combine recently pushed notifications of the same type and post into one</property>
<property name="active">1</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesPage" id="filters_page">
<property name="icon_name">tuba-funnel-symbolic</property>
<property name="title" translatable="yes">Filters</property>
<property name="visible">1</property>
<child>
<object class="AdwPreferencesGroup" id="keywords_group">
<property name="title" translatable="yes">Keywords</property>
<child type="header-suffix">
<object class="GtkButton">
<property name="valign">center</property>
<signal name="clicked" handler="add_keyword_row" swapped="no" />
<child>
<object class="AdwButtonContent">
<property name="icon-name">tuba-plus-large-symbolic</property>
<property name="label" translatable="yes">Add Filter…</property>
</object>
</child>
<style>
<class name="flat" />
</style>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>
|