Revert to resolve Weblate conflict

This commit is contained in:
kramo
2023-03-19 12:53:49 +01:00
parent 224890261b
commit ba944fdaab
12 changed files with 447 additions and 847 deletions

View File

@@ -260,17 +260,12 @@ class CartridgesWindow(Adw.ApplicationWindow):
self.overview_title.set_label(current_game.name)
self.overview_header_bar_title.set_title(current_game.name)
self.overview_added.set_label(
# The variable is the date when the game was added
_(f"Added: {self.get_time(current_game.added)}")
)
last_played_date = (
self.get_time(current_game.last_played)
if current_game.last_played != 0
else _("Never")
_("Added:") + " " + self.get_time(current_game.added)
)
self.overview_last_played.set_label(
# The variable is the date when the game was last played
_(f"Last played: {last_played_date}")
_("Last played:") + " " + self.get_time(current_game.last_played)
if current_game.last_played != 0
else _("Last played: Never")
)
def a_z_sort(self, child1, child2):