Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data: Fix translation related issues #465

Merged
merged 4 commits into from Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
203 changes: 63 additions & 140 deletions po/POTFILES
Original file line number Diff line number Diff line change
@@ -1,149 +1,72 @@
./data/dev.geopjr.Tuba.desktop.in
./data/dev.geopjr.Tuba.metainfo.xml.in

./data/ui/widgets/status.ui
./data/ui/widgets/votebox.ui
./data/ui/views/profile_header.ui
./data/ui/views/sidebar/view.ui
./data/ui/views/sidebar/item.ui
./data/ui/views/sidebar/account.ui
./data/ui/views/base.ui
./data/ui/menus.ui
./data/ui/dialogs/preferences.ui
./data/gtk/help-overlay.ui
./data/ui/dialogs/compose.ui
./data/ui/dialogs/list_edit.ui
./data/ui/dialogs/new_account.ui
./data/ui/dialogs/main.ui
./data/ui/dialogs/preferences.ui
./data/ui/dialogs/profile_edit.ui
./data/ui/dialogs/list_edit.ui
./data/gtk/help-overlay.ui
./data/gtk/dropdown/expiration_title.ui
./data/gtk/dropdown/expiration.ui
./data/gtk/dropdown/language_title.ui
./data/gtk/dropdown/language.ui
./data/gtk/dropdown/icon.ui
./data/gtk/dropdown/full.ui
./data/ui/menus.ui
./data/ui/views/profile_header.ui
./data/ui/views/sidebar/view.ui
./data/ui/widgets/announcement.ui
./data/ui/widgets/status.ui

./src/Widgets/Widgetizable.vala
./src/Widgets/VoteCheckButton.vala
./src/Widgets/VoteBox.vala
./src/Widgets/StatusActionButton.vala
./src/Widgets/Status.vala
./src/Widgets/RichLabel.vala
./src/Widgets/RelationshipButton.vala
./src/Widgets/PreviewCard.vala
./src/Widgets/Notification.vala
./src/Widgets/MarkupView.vala
./src/Widgets/LockableToggleButton.vala
./src/Widgets/LabelWithWidgets.vala
./src/Widgets/EmojiLabel.vala
./src/Widgets/Emoji.vala
./src/Widgets/CustomEmojiChooser.vala
./src/Widgets/Conversation.vala
./src/Widgets/BookWyrmPage.vala
./src/Widgets/Background.vala
./src/Widgets/Avatar.vala
./src/Widgets/Attachment/Item.vala
./src/Widgets/Attachment/Image.vala
./src/Widgets/Attachment/Box.vala
./src/Views/MediaViewer.vala
./src/Views/Timeline.vala
./src/Views/Thread.vala
./src/Views/TabbedBase.vala
./src/Views/StatusStats.vala
./src/Views/Sidebar.vala
./src/Views/Search.vala
./src/Views/Profile.vala
./src/Views/Notifications.vala
./src/Views/Main.vala
./src/Views/Local.vala
./src/Views/Lists.vala
./src/Views/List.vala
./src/Views/Home.vala
./src/Views/Hashtags.vala
./src/Views/Hashtag.vala
./src/Views/FollowRequests.vala
./src/Views/Federated.vala
./src/Views/Favorites.vala
./src/Views/Explore.vala
./src/Views/EditHistory.vala
./src/Views/Conversations.vala
./src/Views/ContentBase.vala
./src/Views/Bookmarks.vala
./src/Views/Base.vala
./src/Utils/Tracking.vala
./src/Utils/Locale.vala
./src/Utils/Html.vala
./src/Utils/Host.vala
./src/Utils/DateTime.vala
./src/Utils/Celebrate.vala
./src/Services/Settings.vala
./src/Services/Network/Streams.vala
./src/Services/Network/Streamable.vala
./src/Services/Network/Request.vala
./src/Services/Network/Network.vala
./src/Services/Cache/ImageCache.vala
./src/Services/Cache/EntityCache.vala
./src/Services/Cache/AbstractCache.vala
./src/Services/Accounts/SecretAccountStore.vala
./src/Services/Accounts/Places.vala
./src/Services/Accounts/Mastodon/Account.vala
./src/Services/Accounts/InstanceAccount.vala
./src/Services/Accounts/AccountStore.vala
./src/Services/Accounts/AccountHolder.vala
./src/Dialogs/Saveable.vala
./src/Dialogs/ProfileEdit.vala
./src/Dialogs/Preferences.vala
./src/Dialogs/NewAccount.vala
./src/Dialogs/MainWindow.vala
./src/Dialogs/Composer/PollPage.vala
./src/Dialogs/Composer/Page.vala
./src/Dialogs/Composer/EditorPage.vala
./src/Dialogs/Composer/Dialog.vala
./src/Dialogs/Composer/Completion/HashtagProvider.vala
./src/Dialogs/Composer/Completion/HandleProvider.vala
./src/Dialogs/Composer/Completion/EmojiProvider.vala
./src/Dialogs/Composer/Completion/CompletionProvider.vala
./src/API/Announcement.vala
./src/API/Conversation.vala
./src/API/Emoji.vala
./src/API/Notification.vala
./src/API/SearchResults.vala
./src/API/Status/PreviewCard.vala
./src/API/Suggestion.vala
./src/API/Tag.vala
./src/Application.vala
./src/Dialogs/Composer/AttachmentsPageAttachment.vala
./src/Dialogs/Composer/AttachmentsPage.vala
./src/Application.vala
./src/API/TagHistory.vala
./src/API/Tag.vala
./src/API/Suggestion.vala
./src/API/Status/Source.vala
./src/API/Status/PreviewCard.vala
./src/API/Status/Application.vala
./src/API/Status.vala
./src/API/SearchResults.vala
./src/API/Relationship.vala
./src/API/PollOption.vala
./src/API/Poll.vala
./src/API/Pleroma/Status.vala
./src/API/Pleroma/Instance.vala
./src/API/PeerTube/StreamingPlaylist.vala
./src/API/PeerTube/Resolution.vala
./src/API/PeerTube/File.vala
./src/API/PeerTube.vala
./src/API/Notification.vala
./src/API/Mention.vala
./src/API/List.vala
./src/API/Instance/Mastodon/Configuration/Statuses.vala
./src/API/Instance/Mastodon/Configuration/Reactions.vala
./src/API/Instance/Mastodon/Configuration/Polls.vala
./src/API/Instance/Mastodon/Configuration/MediaAttachments.vala
./src/API/Instance/Mastodon/Configuration.vala
./src/API/Instance.vala
./src/API/Funkwhale/Track.vala
./src/API/Funkwhale.vala
./src/API/Entity.vala
./src/API/EmojiReaction.vala
./src/API/Emoji.vala
./src/API/Conversation.vala
./src/API/BookWyrm/Cover.vala
./src/API/BookWyrm/Author.vala
./src/API/BookWyrm.vala
./src/API/Attachment.vala
./src/API/Akkoma/Source.vala
./src/API/Akkoma.vala
./src/API/AccountField.vala
./src/API/Account/Source.vala
./src/API/Account.vala
./src/Dialogs/Composer/Dialog.vala
./src/Dialogs/Composer/EditorPage.vala
./src/Dialogs/Composer/PollPage.vala
./src/Dialogs/NewAccount.vala
./src/Dialogs/ProfileEdit.vala
./src/Services/Accounts/AccountStore.vala
./src/Services/Accounts/InstanceAccount.vala
./src/Services/Accounts/Mastodon/Account.vala
./src/Services/Accounts/SecretAccountStore.vala
./src/Services/Settings.vala
./src/Utils/DateTime.vala
./src/Utils/Units.vala
./src/Views/Announcements.vala
./src/Views/Base.vala
./src/Views/Bookmarks.vala
./src/Views/Conversations.vala
./src/Views/EditHistory.vala
./src/Views/Explore.vala
./src/Views/Favorites.vala
./src/Views/Federated.vala
./src/Views/FollowRequests.vala
./src/Views/Hashtags.vala
./src/Views/Hashtag.vala
./src/Views/Home.vala
./src/Views/Lists.vala
./src/Views/Local.vala
./src/Views/Main.vala
./src/Views/MediaViewer.vala
./src/Views/Notifications.vala
./src/Views/Profile.vala
./src/Views/Search.vala
./src/Views/Sidebar.vala
./src/Views/StatusStats.vala
./src/Views/Thread.vala
./src/Widgets/Announcement.vala
./src/Widgets/Attachment/Box.vala
./src/Widgets/Attachment/Item.vala
./src/Widgets/BookWyrmPage.vala
./src/Widgets/CustomEmojiChooser.vala
./src/Widgets/PreviewCard.vala
./src/Widgets/RelationshipButton.vala
./src/Widgets/Status/ActionsRow.vala
./src/Widgets/Status/FollowRequestRow.vala
./src/Widgets/Status/ReactionsRow.vala
./src/Widgets/Status.vala
./src/Widgets/VoteBox.vala
11 changes: 11 additions & 0 deletions po/update_potfiles.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

if [ $(basename "$PWD") = "po" ]; then
cd ..
fi

find ./ -type f -name "*.in" | sort > po/POTFILES
echo "" >> po/POTFILES
find ./ -type f -name "*.ui" -exec grep -l "translatable=\"yes\"" {} \; | sort >> po/POTFILES
echo "" >> po/POTFILES
find ./ -type f -name "*.vala" -exec grep -l "_(\"" {} \; | sort >> po/POTFILES