Update translation files
This commit is contained in:
@@ -8,54 +8,54 @@ ShortcutsWindow help_overlay {
|
|||||||
max-height: 10;
|
max-height: 10;
|
||||||
|
|
||||||
ShortcutsGroup {
|
ShortcutsGroup {
|
||||||
title: C_("shortcuts window", "General");
|
title: _("General");
|
||||||
|
|
||||||
ShortcutsShortcut {
|
ShortcutsShortcut {
|
||||||
title: C_("shortcuts window", "Quit");
|
title: _("Quit");
|
||||||
action-name: "app.quit";
|
action-name: "app.quit";
|
||||||
}
|
}
|
||||||
|
|
||||||
ShortcutsShortcut {
|
ShortcutsShortcut {
|
||||||
title: C_("shortcuts window", "Search");
|
title: _("Search");
|
||||||
action-name: "win.toggle_search";
|
action-name: "win.toggle_search";
|
||||||
}
|
}
|
||||||
|
|
||||||
ShortcutsShortcut {
|
ShortcutsShortcut {
|
||||||
title: C_("shortcuts window", "Show preferences");
|
title: _("Show preferences");
|
||||||
action-name: "app.preferences";
|
action-name: "app.preferences";
|
||||||
}
|
}
|
||||||
|
|
||||||
ShortcutsShortcut {
|
ShortcutsShortcut {
|
||||||
title: C_("shortcuts window", "Shortcuts");
|
title: _("Shortcuts");
|
||||||
action-name: "win.show-help-overlay";
|
action-name: "win.show-help-overlay";
|
||||||
}
|
}
|
||||||
|
|
||||||
ShortcutsShortcut {
|
ShortcutsShortcut {
|
||||||
title: C_("shortcuts window", "Undo");
|
title: _("Undo");
|
||||||
action-name: "win.undo_remove";
|
action-name: "win.undo_remove";
|
||||||
}
|
}
|
||||||
|
|
||||||
ShortcutsShortcut {
|
ShortcutsShortcut {
|
||||||
title: C_("shortcuts window", "Open menu");
|
title: _("Open menu");
|
||||||
action-name: "win.open_menu";
|
action-name: "win.open_menu";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ShortcutsGroup {
|
ShortcutsGroup {
|
||||||
title: C_("shortcuts window", "Games");
|
title: _("Games");
|
||||||
|
|
||||||
ShortcutsShortcut {
|
ShortcutsShortcut {
|
||||||
title: C_("shortcuts window", "Add new game");
|
title: _("Add new game");
|
||||||
action-name: "app.add_game";
|
action-name: "app.add_game";
|
||||||
}
|
}
|
||||||
|
|
||||||
ShortcutsShortcut {
|
ShortcutsShortcut {
|
||||||
title: C_("shortcuts window", "Import games");
|
title: _("Import games");
|
||||||
action-name: "app.import";
|
action-name: "app.import";
|
||||||
}
|
}
|
||||||
|
|
||||||
ShortcutsShortcut {
|
ShortcutsShortcut {
|
||||||
title: C_("shortcuts window", "Show hidden games");
|
title: _("Show hidden games");
|
||||||
action-name: "win.show_hidden";
|
action-name: "win.show_hidden";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Cartridges\n"
|
"Project-Id-Version: Cartridges\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-03-29 08:08+0200\n"
|
"POT-Creation-Date: 2023-03-29 08:15+0200\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@@ -104,7 +104,7 @@ msgstr ""
|
|||||||
msgid "Main Menu"
|
msgid "Main Menu"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: data/gtk/window.blp:210 data/gtk/window.blp:273
|
#: data/gtk/window.blp:210 data/gtk/window.blp:273 data/gtk/help-overlay.blp:19
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -172,65 +172,46 @@ msgstr ""
|
|||||||
msgid "Unhide"
|
msgid "Unhide"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: data/gtk/help-overlay.blp:11
|
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
|
||||||
msgctxt "shortcuts window"
|
|
||||||
msgid "General"
|
msgid "General"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: data/gtk/help-overlay.blp:14
|
#: data/gtk/help-overlay.blp:14
|
||||||
msgctxt "shortcuts window"
|
|
||||||
msgid "Quit"
|
msgid "Quit"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: data/gtk/help-overlay.blp:19
|
|
||||||
msgctxt "shortcuts window"
|
|
||||||
msgid "Search"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: data/gtk/help-overlay.blp:24
|
#: data/gtk/help-overlay.blp:24
|
||||||
msgctxt "shortcuts window"
|
|
||||||
msgid "Show preferences"
|
msgid "Show preferences"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: data/gtk/help-overlay.blp:29
|
#: data/gtk/help-overlay.blp:29
|
||||||
msgctxt "shortcuts window"
|
|
||||||
msgid "Shortcuts"
|
msgid "Shortcuts"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: data/gtk/help-overlay.blp:34
|
#: data/gtk/help-overlay.blp:34 src/main.py:199
|
||||||
msgctxt "shortcuts window"
|
|
||||||
msgid "Undo"
|
msgid "Undo"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: data/gtk/help-overlay.blp:39
|
#: data/gtk/help-overlay.blp:39
|
||||||
msgctxt "shortcuts window"
|
|
||||||
msgid "Open menu"
|
msgid "Open menu"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: data/gtk/help-overlay.blp:45
|
#: data/gtk/help-overlay.blp:45
|
||||||
msgctxt "shortcuts window"
|
|
||||||
msgid "Games"
|
msgid "Games"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: data/gtk/help-overlay.blp:48
|
#: data/gtk/help-overlay.blp:48
|
||||||
msgctxt "shortcuts window"
|
|
||||||
msgid "Add new game"
|
msgid "Add new game"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: data/gtk/help-overlay.blp:53
|
#: data/gtk/help-overlay.blp:53
|
||||||
msgctxt "shortcuts window"
|
|
||||||
msgid "Import games"
|
msgid "Import games"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: data/gtk/help-overlay.blp:58
|
#: data/gtk/help-overlay.blp:58
|
||||||
msgctxt "shortcuts window"
|
|
||||||
msgid "Show hidden games"
|
msgid "Show hidden games"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: data/gtk/preferences.blp:9
|
|
||||||
msgid "General"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: data/gtk/preferences.blp:13
|
#: data/gtk/preferences.blp:13
|
||||||
msgid "Behavior"
|
msgid "Behavior"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -326,10 +307,6 @@ msgstr ""
|
|||||||
msgid "{title} removed"
|
msgid "{title} removed"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/main.py:199
|
|
||||||
msgid "Undo"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/window.py:234
|
#: src/window.py:234
|
||||||
msgid "Today"
|
msgid "Today"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ class Importer:
|
|||||||
self.parent_widget = parent_widget
|
self.parent_widget = parent_widget
|
||||||
self.total_queue = 0
|
self.total_queue = 0
|
||||||
self.queue = 0
|
self.queue = 0
|
||||||
self.imported_no = 0
|
self.games_no = 0
|
||||||
self.blocker = False
|
self.blocker = False
|
||||||
|
|
||||||
self.progressbar = Gtk.ProgressBar(margin_start=12, margin_end=12)
|
self.progressbar = Gtk.ProgressBar(margin_start=12, margin_end=12)
|
||||||
@@ -54,7 +54,7 @@ class Importer:
|
|||||||
|
|
||||||
def save_game(self, values=None):
|
def save_game(self, values=None):
|
||||||
if values:
|
if values:
|
||||||
self.imported_no += 1
|
self.games_no += 1
|
||||||
save_game(values)
|
save_game(values)
|
||||||
self.parent_widget.update_games([values["game_id"]])
|
self.parent_widget.update_games([values["game_id"]])
|
||||||
|
|
||||||
@@ -70,7 +70,7 @@ class Importer:
|
|||||||
None, page_name="import"
|
None, page_name="import"
|
||||||
)
|
)
|
||||||
|
|
||||||
if self.imported_no == 0:
|
if self.games_no == 0:
|
||||||
create_dialog(
|
create_dialog(
|
||||||
self.parent_widget,
|
self.parent_widget,
|
||||||
_("No Games Found"),
|
_("No Games Found"),
|
||||||
@@ -79,14 +79,14 @@ class Importer:
|
|||||||
_("Preferences"),
|
_("Preferences"),
|
||||||
).connect("response", response)
|
).connect("response", response)
|
||||||
|
|
||||||
elif self.imported_no == 1:
|
elif self.games_no == 1:
|
||||||
create_dialog(
|
create_dialog(
|
||||||
self.parent_widget,
|
self.parent_widget,
|
||||||
_("Game Imported"),
|
_("Game Imported"),
|
||||||
_("Successfully imported 1 game."),
|
_("Successfully imported 1 game."),
|
||||||
)
|
)
|
||||||
elif self.imported_no > 1:
|
elif self.games_no > 1:
|
||||||
imported_no = self.imported_no
|
imported_no = self.games_no
|
||||||
create_dialog(
|
create_dialog(
|
||||||
self.parent_widget,
|
self.parent_widget,
|
||||||
_("Games Imported"),
|
_("Games Imported"),
|
||||||
|
|||||||
Reference in New Issue
Block a user