Skip to content

Commit

Permalink
Merge branch 'master' into new-book-overview
Browse files Browse the repository at this point in the history
  • Loading branch information
rdbende authored Jun 1, 2024
2 parents 0edaf27 + 477c0f6 commit 338ac54
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions cozy/ui/delete_book_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ class DeleteBookView(Adw.AlertDialog):

def __init__(self, callback, book: Book):
super().__init__(
heading=_("Delete Audiobook?"),
body=_("The audiobook will be removed from your disk and from Cozy's library."),
heading=_("Permanently Delete Audiobook?"),
body=_("The audiobook will be permanently deleted from your device and cannot be recovered"),
default_response="cancel",
close_response="cancel",
)

self.add_response("cancel", _("Cancel"))
self.add_response("delete", _("Remove Audiobook"))
self.add_response("delete", _("Delete"))
self.set_response_appearance("delete", Adw.ResponseAppearance.DESTRUCTIVE)

list_box = Gtk.ListBox(margin_top=12, css_classes=["boxed-list"])
Expand Down
2 changes: 1 addition & 1 deletion cozy/ui/file_not_found_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self, chapter: Chapter):
self.missing_chapter = chapter

super().__init__(
heading=_("File not found"),
heading=_("File Not Found"),
body=_("This file could not be found. Do you want to locate it manually?"),
default_response="locate",
close_response="cancel",
Expand Down
6 changes: 3 additions & 3 deletions cozy/ui/widgets/book_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ def _create_context_menu(self):
menu_model = Gio.Menu()

self.install_action("book_element.mark_as_read", None, self._mark_as_read)
menu_model.append(_("Mark as read"), "book_element.mark_as_read")
menu_model.append(_("Mark as Read"), "book_element.mark_as_read")

self.install_action("book_element.jump_to_folder", None, self._jump_to_folder)
menu_model.append(_("Open in file browser"), "book_element.jump_to_folder")
menu_model.append(_("Open in File Browser"), "book_element.jump_to_folder")

self.install_action("book_element.remove_book", None, self._remove_book)
menu_model.append(_("Remove from library"), "book_element.remove_book")
menu_model.append(_("Permanently Delete…"), "book_element.remove_book")

menu = Gtk.PopoverMenu(menu_model=menu_model, has_arrow=False)
menu.set_parent(self.art)
Expand Down
2 changes: 1 addition & 1 deletion data/ui/preferences.blp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ template $PreferencesWindow: Adw.PreferencesDialog {
title: _("Feedback");

Adw.PreferencesGroup user_feedback_preference_group {
title: _("User feedback");
title: _("User Feedback");
}
}
}
4 changes: 2 additions & 2 deletions data/ui/search_page.blp
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ using Adw 1;
template $SearchView: Adw.Bin {
Stack stack {
Adw.StatusPage start_searching_page {
title: _("Search in your library");
title: _("Search in Your Library");
icon-name: 'library-symbolic';
}

Adw.StatusPage nothing_found_page {
title: _("No results found");
title: _("No Results Found");
icon-name: 'edit-find-symbolic';
}

Expand Down
2 changes: 1 addition & 1 deletion data/ui/storage_locations.blp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ using Gtk 4.0;
using Adw 1;

template $StorageLocations: Adw.PreferencesGroup {
title: _("Storage locations");
title: _("Storage Locations");

ListBox storage_locations_list {
margin-bottom: 18;
Expand Down

0 comments on commit 338ac54

Please sign in to comment.