diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b8160c882..4c4f25180 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,11 +10,11 @@ jobs: lint: name: "Vala Lint" runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: elementary/actions/vala-lint@master - with: - conf: vala-lint.conf + steps: + - uses: actions/checkout@v3 + - uses: elementary/actions/vala-lint@master + with: + conf: vala-lint.conf flatpak-builder: name: "Flatpak Builder" runs-on: ubuntu-latest diff --git a/po/dev.geopjr.Tuba.pot b/po/dev.geopjr.Tuba.pot index dc16e60b0..8ecd49d62 100644 --- a/po/dev.geopjr.Tuba.pot +++ b/po/dev.geopjr.Tuba.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-01 06:36+0300\n" +"POT-Creation-Date: 2023-07-01 12:28+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -116,7 +116,7 @@ msgstr "" msgid "Report" msgstr "" -#: data/ui/menus.ui:47 src/Views/Profile.vala:357 src/Views/Profile.vala:381 +#: data/ui/menus.ui:47 src/Views/Profile.vala:357 src/Views/Profile.vala:382 msgid "Block" msgstr "" @@ -141,7 +141,7 @@ msgid "Include Media" msgstr "" #: data/ui/menus.ui:108 src/Views/Lists.vala:283 -#: src/Services/Accounts/Mastodon/Account.vala:68 +#: src/Services/Accounts/Mastodon/Account.vala:74 msgid "Lists" msgstr "" @@ -252,15 +252,15 @@ msgid "Hide link preview cards" msgstr "" #: data/ui/dialogs/compose.ui:29 data/ui/dialogs/new_account.ui:27 -#: src/Application.vala:332 src/Dialogs/Composer/Dialog.vala:186 +#: src/Application.vala:345 src/Dialogs/Composer/Dialog.vala:186 msgid "Cancel" msgstr "" -#: data/ui/dialogs/compose.ui:36 src/Dialogs/Composer/Dialog.vala:250 +#: data/ui/dialogs/compose.ui:36 src/Dialogs/Composer/Dialog.vala:260 msgid "_Publish" msgstr "" -#: data/ui/dialogs/new_account.ui:8 src/Views/Sidebar.vala:229 +#: data/ui/dialogs/new_account.ui:8 src/Views/Sidebar.vala:238 msgid "Add Account" msgstr "" @@ -318,7 +318,7 @@ msgstr "" msgid "Search" msgstr "" -#: data/gtk/help-overlay.ui:33 src/Views/MediaViewer.vala:251 +#: data/gtk/help-overlay.ui:33 src/Views/MediaViewer.vala:261 msgid "Go Back" msgstr "" @@ -338,24 +338,24 @@ msgstr "" msgid "Commit" msgstr "" -#: src/Application.vala:142 src/Widgets/Attachment/Item.vala:211 -#: src/Views/Sidebar.vala:259 src/Views/MediaViewer.vala:428 -#: src/Services/Accounts/SecretAccountStore.vala:112 -#: src/Services/Accounts/SecretAccountStore.vala:146 +#: src/Application.vala:146 src/Widgets/Attachment/Item.vala:211 +#: src/Views/Sidebar.vala:268 src/Views/MediaViewer.vala:438 +#: src/Services/Accounts/SecretAccountStore.vala:119 +#: src/Services/Accounts/SecretAccountStore.vala:153 #: src/Services/Accounts/AccountStore.vala:43 msgid "Error" msgstr "" #. translators: Name or Name https://website.example -#: src/Application.vala:307 +#: src/Application.vala:314 msgid "translator-credits" msgstr "" -#: src/Application.vala:327 +#: src/Application.vala:334 msgid "OK" msgstr "" -#: src/Application.vala:332 +#: src/Application.vala:343 msgid "Yes" msgstr "" @@ -366,12 +366,12 @@ msgid "React with %s" msgstr "" #: src/Widgets/Status.vala:255 src/Widgets/Attachment/Item.vala:192 -#: src/Views/MediaViewer.vala:323 +#: src/Views/MediaViewer.vala:333 msgid "Open in Browser" msgstr "" #: src/Widgets/Status.vala:256 src/Widgets/Attachment/Item.vala:193 -#: src/Views/MediaViewer.vala:324 +#: src/Views/MediaViewer.vala:334 msgid "Copy URL" msgstr "" @@ -385,7 +385,7 @@ msgid "View Edit History" msgstr "" #. translators: Pin post on profile -#: src/Widgets/Status.vala:268 src/Widgets/Status.vala:491 +#: src/Widgets/Status.vala:268 src/Widgets/Status.vala:495 msgid "Pin" msgstr "" @@ -407,27 +407,27 @@ msgid "Sensitive" msgstr "" #. translators: Unpin post from profile -#: src/Widgets/Status.vala:489 +#: src/Widgets/Status.vala:493 msgid "Unpin" msgstr "" -#: src/Widgets/Status.vala:537 +#: src/Widgets/Status.vala:541 msgid "Reply" msgstr "" -#: src/Widgets/Status.vala:551 +#: src/Widgets/Status.vala:557 msgid "This post can't be boosted" msgstr "" -#: src/Widgets/Status.vala:556 src/Widgets/Status.vala:607 +#: src/Widgets/Status.vala:562 src/Widgets/Status.vala:613 msgid "Boost" msgstr "" -#: src/Widgets/Status.vala:618 +#: src/Widgets/Status.vala:624 msgid "Favorite" msgstr "" -#: src/Widgets/Status.vala:629 +#: src/Widgets/Status.vala:635 msgid "Bookmark" msgstr "" @@ -437,16 +437,16 @@ msgstr "" #. Please do not stray far from the original and only include day, month #. and year. #. If unsure, either leave it as-is or set it to %x. -#: src/Widgets/Status.vala:693 src/Views/Profile.vala:192 +#: src/Widgets/Status.vala:699 src/Views/Profile.vala:192 msgid "%B %e, %Y" msgstr "" -#: src/Widgets/VoteBox.vala:20 +#: src/Widgets/VoteBox.vala:17 msgid "Vote" msgstr "" #. translators: the variable is the amount of people that voted -#: src/Widgets/VoteBox.vala:143 +#: src/Widgets/VoteBox.vala:136 #, c-format msgid "%lld voted" msgstr "" @@ -476,12 +476,13 @@ msgstr "" #: src/Widgets/CustomEmojiChooser.vala:144 #: src/Widgets/CustomEmojiChooser.vala:150 -#: src/Widgets/CustomEmojiChooser.vala:151 src/API/Emoji.vala:4 +#: src/Widgets/CustomEmojiChooser.vala:153 +#: src/Widgets/CustomEmojiChooser.vala:155 src/API/Emoji.vala:4 #: src/API/Emoji.vala:8 msgid "Other" msgstr "" -#: src/Widgets/CustomEmojiChooser.vala:151 +#: src/Widgets/CustomEmojiChooser.vala:154 msgid "Custom Emojis" msgstr "" @@ -496,7 +497,7 @@ msgid "Follow" msgstr "" #: src/Widgets/RelationshipButton.vala:41 src/Views/Profile.vala:357 -#: src/Views/Profile.vala:381 +#: src/Views/Profile.vala:382 msgid "Unblock" msgstr "" @@ -520,7 +521,7 @@ msgstr "" msgid "View Alt Text" msgstr "" -#: src/Widgets/Attachment/Item.vala:194 src/Views/MediaViewer.vala:325 +#: src/Widgets/Attachment/Item.vala:194 src/Views/MediaViewer.vala:335 msgid "Save Media" msgstr "" @@ -538,37 +539,37 @@ msgstr "" msgid "Conversation" msgstr "" -#: src/Views/Sidebar.vala:34 +#: src/Views/Sidebar.vala:36 msgid "Keyboard Shortcuts" msgstr "" -#: src/Views/Sidebar.vala:42 +#: src/Views/Sidebar.vala:45 msgid "Preferences" msgstr "" -#: src/Views/Sidebar.vala:51 +#: src/Views/Sidebar.vala:55 msgid "About" msgstr "" -#: src/Views/Sidebar.vala:130 +#: src/Views/Sidebar.vala:139 msgid "Anonymous" msgstr "" -#: src/Views/Sidebar.vala:131 +#: src/Views/Sidebar.vala:140 msgid "No account selected" msgstr "" #. translators: the variable is an account handle -#: src/Views/Sidebar.vala:245 +#: src/Views/Sidebar.vala:254 #, c-format msgid "Forget %s?" msgstr "" -#: src/Views/Sidebar.vala:246 +#: src/Views/Sidebar.vala:255 msgid "This account will be removed from the application." msgstr "" -#: src/Views/Sidebar.vala:248 +#: src/Views/Sidebar.vala:257 msgid "Forget" msgstr "" @@ -629,54 +630,54 @@ msgid "" "• Prevent you from following its users" msgstr "" -#: src/Views/Profile.vala:428 +#: src/Views/Profile.vala:429 msgid "Sent follow request" msgstr "" -#: src/Views/Profile.vala:430 +#: src/Views/Profile.vala:431 msgid "Mutuals" msgstr "" -#: src/Views/Profile.vala:432 +#: src/Views/Profile.vala:433 msgid "Follows you" msgstr "" #. translators: the variable is an account handle -#: src/Views/Profile.vala:485 +#: src/Views/Profile.vala:486 #, c-format msgid "Add or remove \"%s\" to or from a list" msgstr "" #. translators: the variable is an account handle -#: src/Views/Profile.vala:497 +#: src/Views/Profile.vala:498 #, c-format msgid "Select the list to add or remove \"%s\" to or from:" msgstr "" -#: src/Views/Profile.vala:503 +#: src/Views/Profile.vala:504 msgid "You don't have any lists" msgstr "" #. translators: First variable is a handle, second variable is a list name -#: src/Views/Profile.vala:532 src/Views/Profile.vala:594 +#: src/Views/Profile.vala:534 src/Views/Profile.vala:597 #, c-format msgid "Remove \"%s\" from \"%s\"" msgstr "" #. translators: First variable is a handle, second variable is a list name -#: src/Views/Profile.vala:532 src/Views/Profile.vala:588 +#: src/Views/Profile.vala:535 src/Views/Profile.vala:591 #, c-format msgid "Add \"%s\" to \"%s\"" msgstr "" #. translators: First variable is a handle, second variable is a list name -#: src/Views/Profile.vala:585 +#: src/Views/Profile.vala:588 #, c-format msgid "User \"%s\" got removed from \"%s\"" msgstr "" #. translators: First variable is a handle, second variable is a list name -#: src/Views/Profile.vala:591 +#: src/Views/Profile.vala:594 #, c-format msgid "User \"%s\" got added to \"%s\"" msgstr "" @@ -685,27 +686,27 @@ msgstr "" msgid "Notifications" msgstr "" -#: src/Views/MediaViewer.vala:245 +#: src/Views/MediaViewer.vala:255 msgid "Media Viewer" msgstr "" -#: src/Views/MediaViewer.vala:258 +#: src/Views/MediaViewer.vala:268 msgid "Toggle Fullscreen" msgstr "" -#: src/Views/MediaViewer.vala:525 +#: src/Views/MediaViewer.vala:535 msgid "Previous Attachment" msgstr "" -#: src/Views/MediaViewer.vala:530 +#: src/Views/MediaViewer.vala:540 msgid "Next Attachment" msgstr "" -#: src/Views/MediaViewer.vala:548 +#: src/Views/MediaViewer.vala:558 msgid "Zoom Out" msgstr "" -#: src/Views/MediaViewer.vala:553 +#: src/Views/MediaViewer.vala:563 msgid "Zoom In" msgstr "" @@ -727,12 +728,12 @@ msgid "Post Stats" msgstr "" #. translators: title for a list of people that favorited a post -#: src/Views/StatusStats.vala:9 +#: src/Views/StatusStats.vala:10 msgid "Favorited By" msgstr "" #. translators: title for a list of people that boosted a post -#: src/Views/StatusStats.vala:11 +#: src/Views/StatusStats.vala:18 msgid "Boosted By" msgstr "" @@ -750,7 +751,7 @@ msgid "Posts" msgstr "" #: src/Views/Search.vala:43 src/Views/Hashtags.vala:5 src/Views/Explore.vala:6 -#: src/Services/Accounts/Mastodon/Account.vala:116 +#: src/Services/Accounts/Mastodon/Account.vala:127 msgid "Hashtags" msgstr "" @@ -758,7 +759,7 @@ msgstr "" msgid "Enter Query" msgstr "" -#: src/Views/Local.vala:4 src/Services/Accounts/Mastodon/Account.vala:92 +#: src/Views/Local.vala:4 src/Services/Accounts/Mastodon/Account.vala:100 msgid "Local" msgstr "" @@ -820,24 +821,24 @@ msgstr "" msgid "Add list" msgstr "" -#: src/Views/Home.vala:5 src/Services/Accounts/Mastodon/Account.vala:26 +#: src/Views/Home.vala:5 src/Services/Accounts/Mastodon/Account.vala:28 msgid "Home" msgstr "" #: src/Views/FollowRequests.vala:4 -#: src/Services/Accounts/Mastodon/Account.vala:108 +#: src/Services/Accounts/Mastodon/Account.vala:118 msgid "Follow Requests" msgstr "" -#: src/Views/Federated.vala:7 src/Services/Accounts/Mastodon/Account.vala:100 +#: src/Views/Federated.vala:7 src/Services/Accounts/Mastodon/Account.vala:109 msgid "Federated" msgstr "" -#: src/Views/Favorites.vala:6 src/Services/Accounts/Mastodon/Account.vala:60 +#: src/Views/Favorites.vala:6 src/Services/Accounts/Mastodon/Account.vala:65 msgid "Favorites" msgstr "" -#: src/Views/Explore.vala:3 src/Services/Accounts/Mastodon/Account.vala:84 +#: src/Views/Explore.vala:3 src/Services/Accounts/Mastodon/Account.vala:91 msgid "Explore" msgstr "" @@ -857,7 +858,7 @@ msgstr "" msgid "Conversations" msgstr "" -#: src/Views/Bookmarks.vala:6 src/Services/Accounts/Mastodon/Account.vala:52 +#: src/Views/Bookmarks.vala:6 src/Services/Accounts/Mastodon/Account.vala:56 msgid "Bookmarks" msgstr "" @@ -947,85 +948,85 @@ msgstr "" msgid "Dark" msgstr "" -#: src/Services/Accounts/InstanceAccount.vala:147 +#: src/Services/Accounts/InstanceAccount.vala:153 #, c-format msgid "%s mentioned you" msgstr "" -#: src/Services/Accounts/InstanceAccount.vala:152 +#: src/Services/Accounts/InstanceAccount.vala:158 #, c-format msgid "%s boosted your post" msgstr "" -#: src/Services/Accounts/InstanceAccount.vala:157 +#: src/Services/Accounts/InstanceAccount.vala:163 #, c-format msgid "%s boosted" msgstr "" -#: src/Services/Accounts/InstanceAccount.vala:162 +#: src/Services/Accounts/InstanceAccount.vala:168 #, c-format msgid "%s favorited your post" msgstr "" -#: src/Services/Accounts/InstanceAccount.vala:167 +#: src/Services/Accounts/InstanceAccount.vala:173 #, c-format msgid "%s now follows you" msgstr "" -#: src/Services/Accounts/InstanceAccount.vala:172 +#: src/Services/Accounts/InstanceAccount.vala:178 #, c-format msgid "%s wants to follow you" msgstr "" -#: src/Services/Accounts/InstanceAccount.vala:177 +#: src/Services/Accounts/InstanceAccount.vala:183 msgid "Poll results" msgstr "" -#: src/Services/Accounts/InstanceAccount.vala:182 +#: src/Services/Accounts/InstanceAccount.vala:188 #, c-format msgid "%s edited a post" msgstr "" #. translators: The variable is the backend like "Mastodon" -#: src/Services/Accounts/SecretAccountStore.vala:130 +#: src/Services/Accounts/SecretAccountStore.vala:137 #, c-format msgid "%s Account" msgstr "" -#: src/Services/Accounts/Mastodon/Account.vala:44 +#: src/Services/Accounts/Mastodon/Account.vala:47 msgid "Direct Messages" msgstr "" -#: src/Services/Accounts/Mastodon/Account.vala:145 +#: src/Services/Accounts/Mastodon/Account.vala:155 msgid "Public" msgstr "" -#: src/Services/Accounts/Mastodon/Account.vala:148 +#: src/Services/Accounts/Mastodon/Account.vala:158 msgid "Post to public timelines" msgstr "" #. translators: Probably follow Mastodon's translation -#: src/Services/Accounts/Mastodon/Account.vala:153 +#: src/Services/Accounts/Mastodon/Account.vala:163 msgid "Unlisted" msgstr "" -#: src/Services/Accounts/Mastodon/Account.vala:156 +#: src/Services/Accounts/Mastodon/Account.vala:166 msgid "Don't post to public timelines" msgstr "" -#: src/Services/Accounts/Mastodon/Account.vala:160 +#: src/Services/Accounts/Mastodon/Account.vala:170 msgid "Followers Only" msgstr "" -#: src/Services/Accounts/Mastodon/Account.vala:163 +#: src/Services/Accounts/Mastodon/Account.vala:173 msgid "Post to followers only" msgstr "" -#: src/Services/Accounts/Mastodon/Account.vala:167 +#: src/Services/Accounts/Mastodon/Account.vala:177 msgid "Direct" msgstr "" -#: src/Services/Accounts/Mastodon/Account.vala:170 +#: src/Services/Accounts/Mastodon/Account.vala:180 msgid "Post to mentioned users only" msgstr "" @@ -1068,85 +1069,85 @@ msgid "Add Poll" msgstr "" #: src/Dialogs/Composer/PollPage.vala:123 -#: src/Dialogs/Composer/PollPage.vala:131 +#: src/Dialogs/Composer/PollPage.vala:136 msgid "Enable Multiple Choice" msgstr "" #. translators: multiple choice as in allow the user to pick multiple poll options -#: src/Dialogs/Composer/PollPage.vala:131 +#: src/Dialogs/Composer/PollPage.vala:136 msgid "Disable Multiple Choice" msgstr "" -#: src/Dialogs/Composer/PollPage.vala:139 -#: src/Dialogs/Composer/PollPage.vala:146 +#: src/Dialogs/Composer/PollPage.vala:145 +#: src/Dialogs/Composer/PollPage.vala:159 msgid "Hide Total Votes" msgstr "" -#: src/Dialogs/Composer/PollPage.vala:146 +#: src/Dialogs/Composer/PollPage.vala:159 msgid "Show Total Votes" msgstr "" -#: src/Dialogs/Composer/PollPage.vala:173 -#: src/Dialogs/Composer/PollPage.vala:208 +#: src/Dialogs/Composer/PollPage.vala:187 +#: src/Dialogs/Composer/PollPage.vala:222 #, c-format msgid "Choice %d" msgstr "" #. translators: the variable is a number -#: src/Dialogs/Composer/PollPage.vala:217 -#: src/Dialogs/Composer/PollPage.vala:220 +#: src/Dialogs/Composer/PollPage.vala:231 +#: src/Dialogs/Composer/PollPage.vala:234 #, c-format msgid "%d Minutes" msgstr "" #. translators: the variable is a number, m as in minutes -#: src/Dialogs/Composer/PollPage.vala:219 -#: src/Dialogs/Composer/PollPage.vala:220 +#: src/Dialogs/Composer/PollPage.vala:233 +#: src/Dialogs/Composer/PollPage.vala:234 #, c-format msgid "%dm" msgstr "" #. translators: the variable is a number -#: src/Dialogs/Composer/PollPage.vala:222 +#: src/Dialogs/Composer/PollPage.vala:236 #, c-format msgid "%d Hour" msgstr "" #. translators: the variable is a number, h as in hours -#: src/Dialogs/Composer/PollPage.vala:224 -#: src/Dialogs/Composer/PollPage.vala:225 -#: src/Dialogs/Composer/PollPage.vala:226 +#: src/Dialogs/Composer/PollPage.vala:238 +#: src/Dialogs/Composer/PollPage.vala:239 +#: src/Dialogs/Composer/PollPage.vala:240 #, c-format msgid "%dh" msgstr "" -#: src/Dialogs/Composer/PollPage.vala:225 -#: src/Dialogs/Composer/PollPage.vala:226 +#: src/Dialogs/Composer/PollPage.vala:239 +#: src/Dialogs/Composer/PollPage.vala:240 #, c-format msgid "%d Hours" msgstr "" #. translators: the variable is a number -#: src/Dialogs/Composer/PollPage.vala:228 +#: src/Dialogs/Composer/PollPage.vala:242 #, c-format msgid "%d Day" msgstr "" #. translators: the variable is a number, d as in days -#: src/Dialogs/Composer/PollPage.vala:230 -#: src/Dialogs/Composer/PollPage.vala:231 -#: src/Dialogs/Composer/PollPage.vala:232 +#: src/Dialogs/Composer/PollPage.vala:244 +#: src/Dialogs/Composer/PollPage.vala:245 +#: src/Dialogs/Composer/PollPage.vala:246 #, c-format msgid "%dd" msgstr "" -#: src/Dialogs/Composer/PollPage.vala:231 -#: src/Dialogs/Composer/PollPage.vala:232 +#: src/Dialogs/Composer/PollPage.vala:245 +#: src/Dialogs/Composer/PollPage.vala:246 #, c-format msgid "%d Days" msgstr "" -#: src/Dialogs/Composer/PollPage.vala:252 +#: src/Dialogs/Composer/PollPage.vala:266 msgid "Expiration" msgstr "" @@ -1156,7 +1157,7 @@ msgid "Text" msgstr "" #: src/Dialogs/Composer/EditorPage.vala:150 -#: src/Dialogs/Composer/AttachmentsPageAttachment.vala:126 +#: src/Dialogs/Composer/AttachmentsPageAttachment.vala:132 msgid "Characters Left" msgstr "" @@ -1184,7 +1185,7 @@ msgstr "" msgid "Post Privacy" msgstr "" -#: src/Dialogs/Composer/EditorPage.vala:302 +#: src/Dialogs/Composer/EditorPage.vala:307 msgid "Post Language" msgstr "" @@ -1200,27 +1201,27 @@ msgstr "" msgid "Discard" msgstr "" -#: src/Dialogs/Composer/Dialog.vala:259 +#: src/Dialogs/Composer/Dialog.vala:269 msgid "_Redraft" msgstr "" -#: src/Dialogs/Composer/Dialog.vala:284 +#: src/Dialogs/Composer/Dialog.vala:294 msgid "_Edit" msgstr "" -#: src/Dialogs/Composer/Dialog.vala:305 +#: src/Dialogs/Composer/Dialog.vala:315 msgid "_Reply" msgstr "" -#: src/Dialogs/Composer/AttachmentsPageAttachment.vala:36 +#: src/Dialogs/Composer/AttachmentsPageAttachment.vala:42 msgid "Edit Alt Text" msgstr "" -#: src/Dialogs/Composer/AttachmentsPageAttachment.vala:47 +#: src/Dialogs/Composer/AttachmentsPageAttachment.vala:53 msgid "Remove Attachment" msgstr "" -#: src/Dialogs/Composer/AttachmentsPageAttachment.vala:131 +#: src/Dialogs/Composer/AttachmentsPageAttachment.vala:137 msgid "Save" msgstr "" @@ -1239,26 +1240,26 @@ msgstr "" #. translators: sensitive as in not safe for work or similar #: src/Dialogs/Composer/AttachmentsPage.vala:108 -#: src/Dialogs/Composer/AttachmentsPage.vala:116 +#: src/Dialogs/Composer/AttachmentsPage.vala:125 msgid "Mark media as sensitive" msgstr "" #. translators: sensitive as in not safe for work or similar -#: src/Dialogs/Composer/AttachmentsPage.vala:116 +#: src/Dialogs/Composer/AttachmentsPage.vala:124 msgid "Unmark media as sensitive" msgstr "" -#: src/Dialogs/Composer/AttachmentsPage.vala:190 +#: src/Dialogs/Composer/AttachmentsPage.vala:206 msgid "All Supported Files" msgstr "" #. translators: Open file -#: src/Dialogs/Composer/AttachmentsPage.vala:204 -#: src/Dialogs/Composer/AttachmentsPage.vala:213 +#: src/Dialogs/Composer/AttachmentsPage.vala:226 +#: src/Dialogs/Composer/AttachmentsPage.vala:235 msgid "Open" msgstr "" -#: src/Dialogs/Composer/AttachmentsPage.vala:249 +#: src/Dialogs/Composer/AttachmentsPage.vala:277 #, c-format msgid "File \"%s\" is bigger than the instance limit" msgstr "" diff --git a/src/Services/Accounts/Mastodon/Account.vala b/src/Services/Accounts/Mastodon/Account.vala index ceb9b2dd6..e9451b281 100644 --- a/src/Services/Accounts/Mastodon/Account.vala +++ b/src/Services/Accounts/Mastodon/Account.vala @@ -23,8 +23,9 @@ public class Tuba.Mastodon.Account : InstanceAccount { } public static Place PLACE_HOME = new Place () { // vala-lint=naming-convention - title = _("Home"), + icon = "tuba-home-symbolic", + title = _("Home"), open_func = win => { // win.open_view (new Views.Main ()); // win.back(); @@ -41,32 +42,36 @@ public class Tuba.Mastodon.Account : InstanceAccount { // }; public static Place PLACE_MESSAGES = new Place () { // vala-lint=naming-convention - title = _("Direct Messages"), + icon = "tuba-mail-symbolic", + title = _("Direct Messages"), open_func = (win) => { win.open_view (set_as_sidebar_item (new Views.Conversations ())); } }; public static Place PLACE_BOOKMARKS = new Place () { // vala-lint=naming-convention - title = _("Bookmarks"), + icon = "tuba-bookmarks-symbolic", + title = _("Bookmarks"), open_func = (win) => { win.open_view (set_as_sidebar_item (new Views.Bookmarks ())); } }; public static Place PLACE_FAVORITES = new Place () { // vala-lint=naming-convention - title = _("Favorites"), + icon = "tuba-unstarred-symbolic", + title = _("Favorites"), open_func = (win) => { win.open_view (set_as_sidebar_item (new Views.Favorites ())); } }; public static Place PLACE_LISTS = new Place () { // vala-lint=naming-convention - title = _("Lists"), + icon = "tuba-list-compact-symbolic", + title = _("Lists"), open_func = (win) => { win.open_view (set_as_sidebar_item (new Views.Lists ())); } @@ -81,40 +86,45 @@ public class Tuba.Mastodon.Account : InstanceAccount { // }; public static Place PLACE_EXPLORE = new Place () { // vala-lint=naming-convention - title = _("Explore"), + icon = "tuba-explore2-large-symbolic", + title = _("Explore"), open_func = (win) => { win.open_view (set_as_sidebar_item (new Views.Explore ())); } }; public static Place PLACE_LOCAL = new Place () { // vala-lint=naming-convention - title = _("Local"), + icon = "tuba-network-server-symbolic", + title = _("Local"), open_func = (win) => { win.open_view (set_as_sidebar_item (new Views.Local ())); } }; public static Place PLACE_FEDERATED = new Place () { // vala-lint=naming-convention - title = _("Federated"), + icon = "tuba-globe-symbolic", + title = _("Federated"), open_func = (win) => { win.open_view (set_as_sidebar_item (new Views.Federated ())); } }; public static Place PLACE_FOLLOW_REQUESTS = new Place () { // vala-lint=naming-convention - title = _("Follow Requests"), + icon = "tuba-address-book-new-symbolic", + title = _("Follow Requests"), open_func = (win) => { win.open_view (set_as_sidebar_item (new Views.FollowRequests ())); } }; public static Place PLACE_HASHTAGS = new Place () { // vala-lint=naming-convention - title = _("Hashtags"), + icon = "tuba-hashtag-symbolic", + title = _("Hashtags"), open_func = (win) => { win.open_view (set_as_sidebar_item (new Views.Hashtags ())); } diff --git a/src/Views/Profile.vala b/src/Views/Profile.vala index 08a584076..8e7013859 100644 --- a/src/Views/Profile.vala +++ b/src/Views/Profile.vala @@ -377,6 +377,7 @@ public class Tuba.Views.Profile : Views.Timeline { var confirmed = app.question ( q.printf (profile.domain), _("Blocking a domain will:\n\n• Remove its public posts and notifications from your timelines\n• Remove its followers from your account\n• Prevent you from following its users"), // vala-lint=line-length + app.main_window, block ? _("Block") : _("Unblock"), Adw.ResponseAppearance.DESTRUCTIVE diff --git a/src/Views/Sidebar.vala b/src/Views/Sidebar.vala index 81bf636ab..277bb8a44 100644 --- a/src/Views/Sidebar.vala +++ b/src/Views/Sidebar.vala @@ -31,16 +31,18 @@ public class Tuba.Views.Sidebar : Box, AccountHolder { protected FlattenListModel item_model; public static Place KEYBOARD_SHORTCUTS = new Place () { // vala-lint=naming-convention - title = _("Keyboard Shortcuts"), + icon = "input-keyboard-symbolic", + title = _("Keyboard Shortcuts"), selectable = false, open_func = () => { app.main_window.lookup_action ("show-help-overlay").activate (null); } }; public static Place PREFERENCES = new Place () { // vala-lint=naming-convention - title = _("Preferences"), + icon = "tuba-gear-symbolic", + title = _("Preferences"), selectable = false, separated = true, open_func = () => { @@ -48,8 +50,9 @@ public class Tuba.Views.Sidebar : Box, AccountHolder { } }; public static Place ABOUT = new Place () { // vala-lint=naming-convention - title = _("About"), + icon = "tuba-about-symbolic", + title = _("About"), selectable = false, open_func = () => { app.lookup_action ("about").activate (null);