Updating the English localization #178
No files matched your search
@@ -409,7 +409,7 @@ class DetailPageManager:
|
||||
buttons_layout.addWidget(open_folder_button)
|
||||
else:
|
||||
add_button = self._make_action_button(
|
||||
_("Add Game"),
|
||||
_("Add a shortcut"),
|
||||
self.main_window.theme_manager.get_icon("addgame", as_path=True),
|
||||
)
|
||||
add_button.clicked.connect(
|
||||
@@ -443,7 +443,7 @@ class DetailPageManager:
|
||||
text = _("Stop")
|
||||
icon = self.main_window.theme_manager.get_icon("stop", as_path=True)
|
||||
else:
|
||||
text = _("Play")
|
||||
text = _("Start")
|
||||
icon = self.main_window.theme_manager.get_icon("play", as_path=True)
|
||||
|
||||
play_button = self._make_action_button(text, icon)
|
||||
@@ -700,7 +700,7 @@ class DetailPageManager:
|
||||
|
||||
def _is_action_button_text(self, text: str) -> bool:
|
||||
"""Check if button text is Play or Stop."""
|
||||
return text in (_("Play"), _("Stop"))
|
||||
return text in (_("Start"), _("Stop"))
|
||||
|
||||
def _on_favorite_click(self, name: str) -> str:
|
||||
"""Handle favorite toggle click."""
|
||||
|
||||
@@ -132,7 +132,7 @@ class AddGameDialog(DraggableDialog):
|
||||
self.last_cover_path = cover_path
|
||||
self.downloader = Downloader(max_workers=4)
|
||||
|
||||
self.setWindowTitle(_("Edit Game") if edit_mode else _("Add Game"))
|
||||
self.setWindowTitle(_("Edit Game") if edit_mode else _("Add a shortcut"))
|
||||
self.setModal(True)
|
||||
self.setFixedWidth(600)
|
||||
self.setFixedHeight(600)
|
||||
|
||||
@@ -1153,7 +1153,7 @@ class MainWindow(MainWindowControlHintsMixin, MainWindowSystemTabMixin, MainWind
|
||||
self.GameLibraryTitle.setStyleSheet(self.theme.INSTALLED_TAB_TITLE_STYLE)
|
||||
layout.addWidget(self.GameLibraryTitle)
|
||||
|
||||
self.addGameButton = AutoSizeButton(_("Add Game"), icon=self.theme_manager.get_icon("addgame", as_path=True))
|
||||
self.addGameButton = AutoSizeButton(_("Add a shortcut"), icon=self.theme_manager.get_icon("addgame", as_path=True))
|
||||
self.addGameButton.setStyleSheet(self.theme.ADDGAME_BACK_BUTTON_STYLE)
|
||||
self.addGameButton.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
self.addGameButton.clicked.connect(self.openAddGameDialog)
|
||||
@@ -1173,7 +1173,7 @@ class MainWindow(MainWindowControlHintsMixin, MainWindowSystemTabMixin, MainWind
|
||||
action_pos = cast(QLineEdit.ActionPosition, QLineEdit.ActionPosition.LeadingPosition)
|
||||
self.searchEdit.addAction(icon, action_pos)
|
||||
self.searchEdit.setMaximumWidth(200)
|
||||
self.searchEdit.setPlaceholderText(_("Find Games ..."))
|
||||
self.searchEdit.setPlaceholderText(_("Search ..."))
|
||||
self.searchEdit.setClearButtonEnabled(True)
|
||||
self.searchEdit.setStyleSheet(self.theme.SEARCH_EDIT_STYLE)
|
||||
|
||||
@@ -1478,7 +1478,7 @@ class MainWindow(MainWindowControlHintsMixin, MainWindowSystemTabMixin, MainWind
|
||||
action_pos = QLineEdit.ActionPosition.LeadingPosition
|
||||
self.autoInstallSearchLineEdit.addAction(icon, action_pos)
|
||||
self.autoInstallSearchLineEdit.setMaximumWidth(200)
|
||||
self.autoInstallSearchLineEdit.setPlaceholderText(_("Find Games ..."))
|
||||
self.autoInstallSearchLineEdit.setPlaceholderText(_("Search ..."))
|
||||
self.autoInstallSearchLineEdit.setClearButtonEnabled(True)
|
||||
self.autoInstallSearchLineEdit.setStyleSheet(self.theme.SEARCH_EDIT_STYLE)
|
||||
self.autoInstallSearchLineEdit.textChanged.connect(self.filterAutoInstallGames)
|
||||
@@ -3548,7 +3548,7 @@ class MainWindow(MainWindowControlHintsMixin, MainWindowSystemTabMixin, MainWind
|
||||
"""
|
||||
if self.current_running_button is not None:
|
||||
try:
|
||||
self.current_running_button.setText(_("Play"))
|
||||
self.current_running_button.setText(_("Start"))
|
||||
icon = self.theme_manager.get_icon("play", as_path=True)
|
||||
self.current_running_button.setIcon(icon)
|
||||
except RuntimeError:
|
||||
|
||||
@@ -201,7 +201,7 @@ class MainWindowControlHintsMixin:
|
||||
gamepad_actions = [
|
||||
("confirm", _("Select")),
|
||||
("back", _("Back")),
|
||||
("add_game", _("Add Game")),
|
||||
("add_game", _("Add a shortcut")),
|
||||
("decrease_size", _("Volume") + " -"),
|
||||
("increase_size", _("Volume") + " +"),
|
||||
("context_menu", _("Menu")),
|
||||
@@ -216,7 +216,7 @@ class MainWindowControlHintsMixin:
|
||||
keyboard_hints = [
|
||||
("key_enter", _("Select")),
|
||||
("key_backspace", _("Back")),
|
||||
("key_e", _("Add Game")),
|
||||
("key_e", _("Add a shortcut")),
|
||||
("key_context", _("Menu")),
|
||||
("key_f11", _("Fullscreen")),
|
||||
("key_f5", _("Refresh Grid")),
|
||||
|
||||
Reference in new issue
Block a user