WIP: Add Wine prefix show hide auto disable #293
No files matched your search
@@ -537,6 +537,14 @@ class UIConfig(BaseConfig):
|
||||
validate_bool(enabled, "disable_alt_i586_dependency_check")
|
||||
self._save_value("disable_alt_i586_dependency_check", enabled, "bool")
|
||||
|
||||
def get_show_wine_prefix_cards(self) -> bool:
|
||||
"""Get whether to display Wine version and Prefix name on game cards."""
|
||||
return self._get_bool("show_wine_prefix_cards", True)
|
||||
|
||||
def set_show_wine_prefix_cards(self, enabled: bool) -> None:
|
||||
"""Set whether to display Wine version and Prefix name on game cards."""
|
||||
validate_bool(enabled, "show_wine_prefix_cards")
|
||||
self._save_value("show_wine_prefix_cards", enabled, "bool")
|
||||
|
||||
def load_theme_metainfo(theme_name: str) -> dict:
|
||||
"""Load theme metadata from metainfo.ini."""
|
||||
|
||||
+240
-2
@@ -19,7 +19,10 @@ from PySide6.QtGui import (
|
||||
QKeyEvent,
|
||||
QPaintEvent,
|
||||
)
|
||||
from PySide6.QtCore import QEvent, Signal, Property, Qt, QUrl, QTimer, QSize
|
||||
from PySide6.QtCore import QEvent, Signal, Property, Qt, QUrl, QTimer, QSize, QRunnable, QObject, Slot, QThreadPool
|
||||
|
||||
from portprotonqt.logger import get_logger
|
||||
|
||||
from PySide6.QtWidgets import (
|
||||
QApplication,
|
||||
QFrame,
|
||||
@@ -59,6 +62,81 @@ def is_valid_protondb_tier(tier: str | None) -> bool:
|
||||
"""Check if ProtonDB tier is supported."""
|
||||
return bool(tier) and tier.lower() in PROTONDB_TIERS
|
||||
|
||||
def show_wine_prefix_columns(theme) -> bool:
|
||||
"""Whether to show columns Wine/Prefix — single condition for cards and titles."""
|
||||
show = getattr(ui_config, "get_show_wine_prefix_cards", lambda: True)()
|
||||
required = (
|
||||
"WINE_PREFIX_CARD_HEIGHT",
|
||||
"wine_prefix_margin",
|
||||
"wine_prefix_spacing",
|
||||
"GAME_CARD_WINE_PREFIX_CONTAINER_STYLE",
|
||||
"GAME_CARD_WINE_PREFIX_LOADING_STYLE",
|
||||
)
|
||||
return show and all(hasattr(theme, attr) for attr in required)
|
||||
|
||||
class TaskSignals(QObject):
|
||||
"""Transmitter class for signals from QRunnable."""
|
||||
result_ready = Signal(str, str)
|
||||
|
||||
class WinePrefixTask(QRunnable, QObject):
|
||||
"""Task to extract Wine version and Prefix name from game files."""
|
||||
def __init__(self, game_source: str, exec_line: str, callback):
|
||||
super().__init__()
|
||||
self.game_source = game_source.lower()
|
||||
self.exec_line = exec_line
|
||||
self.signals = TaskSignals()
|
||||
self.signals.result_ready.connect(callback)
|
||||
self.setAutoDelete(True)
|
||||
self._is_cancelled = False
|
||||
|
||||
def cancel(self):
|
||||
self._is_cancelled = True
|
||||
|
||||
def run(self) -> None:
|
||||
if self._is_cancelled:
|
||||
return
|
||||
|
||||
runtime_map = {"steam": "Steam Proton", "gog": "GOG Runtime", "egs": "Epic Proton"}
|
||||
wine_version = runtime_map.get(self.game_source, _("Default"))
|
||||
prefix_name = "default"
|
||||
|
||||
if self.game_source in runtime_map:
|
||||
self.signals.result_ready.emit(wine_version, prefix_name)
|
||||
return
|
||||
game_exe = GameCard._extract_executable_path(self.exec_line)
|
||||
if not game_exe:
|
||||
self.signals.result_ready.emit(wine_version, prefix_name)
|
||||
return
|
||||
|
||||
try:
|
||||
with open(f"{game_exe}.ppdb", encoding="utf-8", errors="ignore") as file:
|
||||
has_wine = has_prefix = False
|
||||
|
||||
for line in file:
|
||||
if self._is_cancelled:
|
||||
return
|
||||
|
||||
if not has_wine and (wine_match := re.search(r'export\s+PW_WINE_USE=["\']?(.*?)["\']?(?:\s|$)', line)):
|
||||
wine_version = wine_match.group(1).strip()
|
||||
has_wine = True
|
||||
|
||||
if not has_prefix and (prefix_match := re.search(r'export\s+PW_PREFIX_NAME=["\']?(.*?)["\']?(?:\s|$)', line)):
|
||||
prefix_name = prefix_match.group(1).strip()
|
||||
has_prefix = True
|
||||
|
||||
if has_wine and has_prefix:
|
||||
break
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
if self._is_cancelled:
|
||||
return
|
||||
|
||||
if prefix_name in ("default", "") or not prefix_name.strip():
|
||||
prefix_name = os.environ.get("WINEPREFIX") or "default"
|
||||
|
||||
if not self._is_cancelled:
|
||||
self.signals.result_ready.emit(wine_version, prefix_name)
|
||||
|
||||
class SourceCorner(QWidget):
|
||||
|
||||
@@ -354,6 +432,7 @@ class GameCard(AnimatedCard):
|
||||
card_width=250, parent=None, context_menu_manager=None
|
||||
):
|
||||
super().__init__(parent)
|
||||
self.logger = get_logger(__name__)
|
||||
self.coverReady.connect(self.on_cover_loaded, Qt.ConnectionType.QueuedConnection)
|
||||
self.name = name
|
||||
self.description = description
|
||||
@@ -394,6 +473,7 @@ class GameCard(AnimatedCard):
|
||||
parent_mode or getattr(self.theme, "LIBRARY_LAYOUT_MODE", "grid")
|
||||
).lower()
|
||||
self.list_layout = self.layout_mode in {"list", "vertical"}
|
||||
self.show_wine_prefix_enabled = False
|
||||
self.vertical_layout = self.layout_mode == "vertical"
|
||||
self.horizontal_layout = self.layout_mode in {"horizontal", "horizontal_top"}
|
||||
self.economy_mode = ui_config.get_economy_mode()
|
||||
@@ -586,7 +666,7 @@ class GameCard(AnimatedCard):
|
||||
self.layout_.addWidget(self.nameLabel, stretches[0])
|
||||
for text, stretch in zip(
|
||||
(self.last_launch, self.formatted_playtime, str(self.game_source)),
|
||||
stretches[1:],
|
||||
stretches[1:4],
|
||||
strict=True,
|
||||
):
|
||||
label = QLabel(text)
|
||||
@@ -603,6 +683,7 @@ class GameCard(AnimatedCard):
|
||||
|
||||
font_size = self.nameLabel.font().pointSizeF()
|
||||
self.base_font_size = font_size if font_size > 0 else 10.0
|
||||
self._initialize_wine_prefix_widgets()
|
||||
|
||||
self.update_scale()
|
||||
|
||||
@@ -615,6 +696,100 @@ class GameCard(AnimatedCard):
|
||||
layout.invalidate()
|
||||
parent.updateGeometry()
|
||||
|
||||
def _initialize_wine_prefix_widgets(self) -> None:
|
||||
"""Initialize Wine version and Prefix name widgets based on UI configuration."""
|
||||
try:
|
||||
self._reset_wine_prefix_widgets()
|
||||
self._check_layout_conditions()
|
||||
|
||||
if not self.show_wine_prefix_enabled:
|
||||
return
|
||||
|
||||
self._setup_wine_prefix_layout()
|
||||
|
||||
def safe_callback(wine, prefix):
|
||||
try:
|
||||
if hasattr(self, '_wine_task'):
|
||||
self._wine_task = None
|
||||
|
||||
if not self.show_wine_prefix_enabled:
|
||||
return
|
||||
|
||||
if hasattr(self, 'nameLabel') and self.nameLabel is not None:
|
||||
self._update_wine_prefix(wine, prefix)
|
||||
except Exception as e:
|
||||
self.logger.error("Error processing callback information Wine Prefix", exc_info=e)
|
||||
|
||||
self._wine_task = WinePrefixTask(
|
||||
game_source=self.game_source,
|
||||
exec_line=self.exec_line,
|
||||
callback=safe_callback
|
||||
)
|
||||
QThreadPool.globalInstance().start(self._wine_task)
|
||||
|
||||
except Exception as e:
|
||||
self.logger.error("Error initializing widgets Wine Prefix", exc_info=e)
|
||||
|
||||
def _reset_wine_prefix_widgets(self):
|
||||
self.wine_prefix_name_card = None
|
||||
self.wine_version_label_card = None
|
||||
self.wine_prefix_label_card = None
|
||||
self.game_wine_label = None
|
||||
self.game_prefix_label = None
|
||||
|
||||
def _check_layout_conditions(self):
|
||||
if self.list_layout and not self.vertical_layout:
|
||||
self.show_wine_prefix_enabled = False
|
||||
return
|
||||
|
||||
self.show_wine_prefix_enabled = show_wine_prefix_columns(self.theme)
|
||||
|
||||
def _setup_wine_prefix_layout(self):
|
||||
self.update_scale()
|
||||
|
||||
if self.vertical_layout:
|
||||
self._setup_vertical_wine_layout()
|
||||
else:
|
||||
self._setup_horizontal_wine_layout()
|
||||
|
||||
def _setup_vertical_wine_layout(self):
|
||||
stretches = self.theme.GAME_CARD_VERTICAL["column_stretches"]
|
||||
|
||||
self.game_wine_label = QLabel(f"Wine: {_('Loading...')}")
|
||||
self.game_wine_label.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
||||
self.game_wine_label.setProperty("theme_style_name", "GAME_CARD_COLUMN_LABEL_STYLE")
|
||||
self.game_wine_label.setStyleSheet(self.theme.GAME_CARD_COLUMN_LABEL_STYLE)
|
||||
self.game_wine_label.setWordWrap(True)
|
||||
self.layout_.addWidget(self.game_wine_label, stretches[4] if len(stretches) > 4 else 2)
|
||||
|
||||
self.game_prefix_label = QLabel(f"Prefix: {_('Loading...')}")
|
||||
self.game_prefix_label.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
||||
self.game_prefix_label.setProperty("theme_style_name", "GAME_CARD_COLUMN_LABEL_STYLE")
|
||||
self.game_prefix_label.setStyleSheet(self.theme.GAME_CARD_COLUMN_LABEL_STYLE)
|
||||
self.game_prefix_label.setWordWrap(True)
|
||||
self.layout_.addWidget(self.game_prefix_label, stretches[5] if len(stretches) > 5 else 2)
|
||||
|
||||
def _setup_horizontal_wine_layout(self):
|
||||
self.wine_prefix_name_card = QFrame()
|
||||
self.wine_prefix_name_card.setStyleSheet(self.theme.GAME_CARD_WINE_PREFIX_CONTAINER_STYLE)
|
||||
self.wine_prefix_name_card.setSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Maximum)
|
||||
|
||||
prefix_layout = QVBoxLayout(self.wine_prefix_name_card)
|
||||
prefix_layout.setContentsMargins(*self.theme.wine_prefix_margin)
|
||||
prefix_layout.setSpacing(self.theme.wine_prefix_spacing)
|
||||
|
||||
self.wine_version_label_card = QLabel(f"Wine: {_('Loading...')}")
|
||||
self.wine_version_label_card.setAlignment(Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignVCenter)
|
||||
self.wine_version_label_card.setStyleSheet(self.theme.GAME_CARD_WINE_PREFIX_LOADING_STYLE)
|
||||
|
||||
self.wine_prefix_label_card = QLabel(f"Prefix: {_('Loading...')}")
|
||||
self.wine_prefix_label_card.setAlignment(Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignVCenter)
|
||||
self.wine_prefix_label_card.setStyleSheet(self.theme.GAME_CARD_WINE_PREFIX_LOADING_STYLE)
|
||||
|
||||
prefix_layout.addWidget(self.wine_version_label_card)
|
||||
prefix_layout.addWidget(self.wine_prefix_label_card)
|
||||
self.layout_.addWidget(self.wine_prefix_name_card)
|
||||
|
||||
def refresh_theme(self, theme: Any) -> None:
|
||||
"""Refresh cached card visuals after a live theme change."""
|
||||
old_theme = self.theme
|
||||
@@ -675,6 +850,21 @@ class GameCard(AnimatedCard):
|
||||
else:
|
||||
self.animations.theme = theme
|
||||
self.update_favorite_icon()
|
||||
|
||||
try:
|
||||
if self.vertical_layout:
|
||||
if self.game_wine_label is not None:
|
||||
self.game_wine_label.setStyleSheet(theme.GAME_CARD_COLUMN_LABEL_STYLE)
|
||||
if self.game_prefix_label is not None:
|
||||
self.game_prefix_label.setStyleSheet(theme.GAME_CARD_COLUMN_LABEL_STYLE)
|
||||
else:
|
||||
if self.wine_version_label_card is not None:
|
||||
self.wine_version_label_card.setStyleSheet(theme.GAME_CARD_WINE_PREFIX_LOADING_STYLE)
|
||||
if self.wine_prefix_label_card is not None:
|
||||
self.wine_prefix_label_card.setStyleSheet(theme.GAME_CARD_WINE_PREFIX_LOADING_STYLE)
|
||||
except Exception as e:
|
||||
self.logger.error("Error Update theme", exc_info=e)
|
||||
|
||||
layout_changed = (
|
||||
old_layout_cfg != self.card_layout_cfg
|
||||
or old_theme.COMPACT_CARD != theme.COMPACT_CARD
|
||||
@@ -945,6 +1135,9 @@ class GameCard(AnimatedCard):
|
||||
self.theme.COMPACT_CARD["height_ratio"]
|
||||
if small_card_mode else self.card_geometry_cfg.get("card_height_ratio", 1.8)
|
||||
)
|
||||
if not self.horizontal_layout and self.show_wine_prefix_enabled:
|
||||
height_ratio += self.theme.WINE_PREFIX_CARD_HEIGHT
|
||||
|
||||
scaled_height = int(self.base_card_width * height_ratio * self._scale)
|
||||
self.setFixedSize(scaled_width + scaled_extra, scaled_height + scaled_extra)
|
||||
cover_ratio = self.card_geometry_cfg.get("cover_aspect_ratio", 1.5)
|
||||
@@ -1043,6 +1236,17 @@ class GameCard(AnimatedCard):
|
||||
|
||||
self.display_filter = display_filter
|
||||
self.economy_mode = ui_config.get_economy_mode()
|
||||
|
||||
if self.wine_prefix_name_card is not None:
|
||||
self.wine_prefix_name_card.setVisible(self.show_wine_prefix_enabled and not self.list_layout)
|
||||
if self.vertical_layout:
|
||||
if self.game_wine_label is not None:
|
||||
self.game_wine_label.setVisible(self.show_wine_prefix_enabled)
|
||||
if self.game_prefix_label is not None:
|
||||
self.game_prefix_label.setVisible(self.show_wine_prefix_enabled)
|
||||
|
||||
self.update_scale()
|
||||
|
||||
self.steam_visible = str(self.game_source).lower() == "steam"
|
||||
self.gog_visible = str(self.game_source).lower() == "gog"
|
||||
self.egs_visible = str(self.game_source).lower() == "egs"
|
||||
@@ -1195,6 +1399,33 @@ class GameCard(AnimatedCard):
|
||||
url = QUrl(f"https://www.protondb.com/app/{self.protondb_appid}")
|
||||
QDesktopServices.openUrl(url)
|
||||
|
||||
@Slot(str, str)
|
||||
def _update_wine_prefix(self, wine_version: str, prefix_name: str) -> None:
|
||||
"""Update UI fields with formatting compatible with text wraps."""
|
||||
try:
|
||||
if not hasattr(self, 'coverLabel') or self.coverLabel is None:
|
||||
return
|
||||
|
||||
if not self.show_wine_prefix_enabled:
|
||||
return
|
||||
#test space
|
||||
formatted_wine = wine_version.replace("-", "-\u200b").replace("_", "_\u200b")
|
||||
formatted_prefix = prefix_name.replace("-", "-\u200b").replace("_", "_\u200b")
|
||||
|
||||
if self.vertical_layout:
|
||||
if self.game_wine_label is not None:
|
||||
self.game_wine_label.setText(formatted_wine)
|
||||
if self.game_prefix_label is not None:
|
||||
self.game_prefix_label.setText(formatted_prefix)
|
||||
else:
|
||||
if self.wine_version_label_card is not None:
|
||||
self.wine_version_label_card.setText(f"Wine: {formatted_wine}")
|
||||
if self.wine_prefix_label_card is not None:
|
||||
self.wine_prefix_label_card.setText(f"Prefix: {formatted_prefix}")
|
||||
|
||||
except RuntimeError:
|
||||
pass
|
||||
|
||||
def open_weanticheatyet_page(self):
|
||||
if self.anticheat_slug:
|
||||
url = QUrl(f"https://areweanticheatyet.com/game/{self.anticheat_slug}")
|
||||
@@ -1305,6 +1536,13 @@ class GameCard(AnimatedCard):
|
||||
|
||||
def cleanup(self):
|
||||
"""Clean up animations to prevent memory leaks when the card is destroyed."""
|
||||
if (task := getattr(self, '_wine_task', None)) is not None:
|
||||
try:
|
||||
task.cancel() #fix error pyright test
|
||||
self._wine_task = None
|
||||
except (RuntimeError, TypeError):
|
||||
pass
|
||||
|
||||
if hasattr(self, 'coverLabel') and self.coverLabel is not None:
|
||||
cleanup_animated_cover(self.coverLabel)
|
||||
if hasattr(self, 'animations') and self.animations:
|
||||
|
||||
@@ -8,7 +8,7 @@ from portprotonqt.search_utils import (
|
||||
search_index,
|
||||
)
|
||||
from PySide6.QtWidgets import QAbstractButton
|
||||
from PySide6.QtWidgets import QWidget, QVBoxLayout, QHBoxLayout, QGridLayout, QLabel, QFrame, QScrollArea, QSlider, QScroller, QStackedWidget
|
||||
from PySide6.QtWidgets import QWidget, QVBoxLayout, QHBoxLayout, QGridLayout, QLabel, QFrame, QScrollArea, QSlider, QScroller, QStackedWidget, QSizePolicy
|
||||
from PySide6.QtCore import QElapsedTimer, QRect, QRectF, Qt, QTimer
|
||||
from PySide6.QtGui import QPaintEvent, QPainter, QPainterPath, QPixmap, QRegion
|
||||
from portprotonqt.custom_widgets import FlowLayout, AutoHideScrollArea
|
||||
@@ -18,7 +18,7 @@ from portprotonqt.localization import _
|
||||
from portprotonqt.detail_pages.utils import remove_cover_background, setup_cover_background
|
||||
from portprotonqt.context_menu_manager import ContextMenuManager, CustomLineEdit
|
||||
from collections import deque
|
||||
|
||||
from portprotonqt.game_card import show_wine_prefix_columns
|
||||
|
||||
class FullLibraryTile(AnimatedCard):
|
||||
def __init__(self, theme: Any):
|
||||
@@ -170,6 +170,9 @@ class GameLibraryManager:
|
||||
self.libraryHeaderWidget = self._create_library_header()
|
||||
layout.addWidget(self.libraryHeaderWidget)
|
||||
layout.addWidget(scrollArea)
|
||||
if self.layout_mode == "vertical":
|
||||
self._sync_header_width()
|
||||
scrollArea.viewportResized.connect(self._sync_header_width)
|
||||
|
||||
# Slider for card size
|
||||
sliderLayout = QHBoxLayout()
|
||||
@@ -222,20 +225,44 @@ class GameLibraryManager:
|
||||
header_layout.setContentsMargins(*config["header_margins"])
|
||||
header_layout.setSpacing(config["header_spacing"])
|
||||
header_layout.addSpacing(config["header_cover_width"] + config["header_spacing"])
|
||||
labels = (_("Game Title"), _("LAST LAUNCH"), _("TIME SPENT"), _("Library"))
|
||||
for text, stretch in zip(labels, config["column_stretches"], strict=True):
|
||||
|
||||
base_labels = (_("Game Title"), _("LAST LAUNCH"), _("TIME SPENT"), _("Library"))
|
||||
base_stretches = list(config.get("column_stretches", (4, 2, 2, 2)))
|
||||
|
||||
if show_wine_prefix_columns(self.theme):
|
||||
labels = base_labels + (_("WINE"), _("PREFIX"))
|
||||
stretches = list(base_stretches)
|
||||
while len(stretches) < len(labels):
|
||||
stretches.append(2)
|
||||
stretches = stretches[:len(labels)]
|
||||
else:
|
||||
labels = base_labels
|
||||
stretches = base_stretches[:4]
|
||||
|
||||
# WinePrefix check for equality of list
|
||||
if len(labels) != len(stretches):
|
||||
raise ValueError("Number of marks is not equal to number of stretches")
|
||||
for text, stretch in zip(labels, stretches, strict=True):
|
||||
label = QLabel(text.upper())
|
||||
label.setAlignment(
|
||||
Qt.AlignmentFlag.AlignVCenter | Qt.AlignmentFlag.AlignLeft
|
||||
if text == labels[0] else Qt.AlignmentFlag.AlignCenter
|
||||
if text == base_labels[0] else Qt.AlignmentFlag.AlignCenter
|
||||
)
|
||||
label.setProperty("theme_style_name", "LIBRARY_HEADER_LABEL_STYLE")
|
||||
label.setStyleSheet(self.theme.LIBRARY_HEADER_LABEL_STYLE)
|
||||
label.setMinimumWidth(0)
|
||||
label.setSizePolicy(QSizePolicy.Policy.Ignored, QSizePolicy.Policy.Preferred)
|
||||
header_layout.addWidget(label, stretch)
|
||||
if self.gamesScrollArea is not None:
|
||||
header_layout.addSpacing(self.gamesScrollArea.verticalScrollBar().sizeHint().width())
|
||||
return header
|
||||
|
||||
def _sync_header_width(self) -> None:
|
||||
"""Keeps header width equal to the card area width (scrollbar included)."""
|
||||
if self.libraryHeaderWidget is None or self.gamesListWidget is None:
|
||||
return
|
||||
width = self.gamesListWidget.width()
|
||||
if width > 50:
|
||||
self.libraryHeaderWidget.setFixedWidth(width)
|
||||
|
||||
def rebuild_library_layout(self, layout_mode: str) -> None:
|
||||
"""Replace the card layout when a theme changes its library mode."""
|
||||
if self.gamesListWidget is None or self.gamesListLayout is None:
|
||||
@@ -284,13 +311,14 @@ class GameLibraryManager:
|
||||
if self.full_library_open and self.libraryBackgroundLabel is not None:
|
||||
remove_cover_background(self.libraryBackgroundLabel)
|
||||
self.layout_mode = layout_mode
|
||||
if (
|
||||
layout_mode == "vertical"
|
||||
and self.libraryHeaderWidget is None
|
||||
and self.libraryContentLayout is not None
|
||||
):
|
||||
if layout_mode == "vertical" and self.libraryContentLayout is not None:
|
||||
if self.libraryHeaderWidget is not None:
|
||||
self.libraryHeaderWidget.setParent(None)
|
||||
self.libraryHeaderWidget.deleteLater()
|
||||
self.libraryHeaderWidget = None
|
||||
self.libraryHeaderWidget = self._create_library_header()
|
||||
self.libraryContentLayout.insertWidget(1, self.libraryHeaderWidget)
|
||||
self._sync_header_width()
|
||||
if self.libraryHeaderWidget is not None:
|
||||
self.libraryHeaderWidget.setVisible(layout_mode == "vertical")
|
||||
self.gamesListWidget.setProperty("library_layout_mode", layout_mode)
|
||||
@@ -565,6 +593,7 @@ class GameLibraryManager:
|
||||
self.gamesListLayout.invalidate()
|
||||
if self.gamesListWidget:
|
||||
self.gamesListWidget.updateGeometry()
|
||||
self._sync_header_width()
|
||||
|
||||
def _fit_horizontal_cards(self, card: GameCard | None = None) -> None:
|
||||
if self.layout_mode not in {"horizontal", "horizontal_top"}:
|
||||
|
||||
@@ -22,22 +22,14 @@ msgstr ""
|
||||
"X-Generator: Weblate 2026.5\n"
|
||||
"Generated-By: Babel 2.18.0\n"
|
||||
|
||||
msgid "Stop Game"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"PortProton data folder is not readable and writable. Choose another "
|
||||
"folder for PortProton data."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"PortProtonQt is already running. Stop it and all games, then restart for "
|
||||
"the new launch?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update complete"
|
||||
msgstr ""
|
||||
|
||||
@@ -119,6 +111,12 @@ msgid ""
|
||||
"cannot be undone."
|
||||
msgstr ""
|
||||
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to delete folder: {error}"
|
||||
msgstr ""
|
||||
@@ -144,15 +142,9 @@ msgstr ""
|
||||
msgid "Failed to rename file: {error}"
|
||||
msgstr ""
|
||||
|
||||
msgid "Select multiple"
|
||||
msgstr ""
|
||||
|
||||
msgid "Delete from PortProton"
|
||||
msgstr ""
|
||||
|
||||
msgid "Stop Game"
|
||||
msgstr ""
|
||||
|
||||
msgid "Launch Game"
|
||||
msgstr ""
|
||||
|
||||
@@ -277,6 +269,14 @@ msgstr ""
|
||||
msgid "Failed to save .desktop file: {error}"
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to delete old .desktop file: {error}"
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Removed old .desktop file for '{game_name}'"
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to copy cover image: {error}"
|
||||
msgstr ""
|
||||
@@ -294,6 +294,10 @@ msgid ""
|
||||
"take effect."
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "'{game_name}' was added to Steam."
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to add '{game_name}' to Steam: {error}"
|
||||
msgstr ""
|
||||
@@ -304,6 +308,10 @@ msgid ""
|
||||
" take effect."
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "'{game_name}' was removed from Steam."
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to remove game '{game_name}' from Steam: {error}"
|
||||
msgstr ""
|
||||
@@ -463,16 +471,6 @@ msgstr ""
|
||||
msgid "Wine prefix not found"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Cyrillic characters were found in the following paths. Wine may work "
|
||||
"unreliably. Move the game or PortProton to a path without Cyrillic "
|
||||
"characters:\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
|
||||
msgid "Don't remind again"
|
||||
msgstr ""
|
||||
|
||||
msgid "Game not found."
|
||||
msgstr ""
|
||||
|
||||
@@ -888,22 +886,6 @@ msgstr ""
|
||||
msgid "Launching {0}"
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Scanning: {folder}"
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Checking existing shortcuts: {path}"
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Adding: {name}"
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to create shortcut: {name}"
|
||||
msgstr ""
|
||||
|
||||
msgid "Name:"
|
||||
msgstr ""
|
||||
|
||||
@@ -928,30 +910,6 @@ msgstr ""
|
||||
msgid "Apply"
|
||||
msgstr ""
|
||||
|
||||
msgid "Select folder"
|
||||
msgstr ""
|
||||
|
||||
msgid "Processing games…"
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid ""
|
||||
"Processed {completed}/{total}\n"
|
||||
"{current}"
|
||||
msgstr ""
|
||||
|
||||
msgid "Information"
|
||||
msgstr ""
|
||||
|
||||
msgid "No games found in the selected folder."
|
||||
msgstr ""
|
||||
|
||||
msgid "Select games"
|
||||
msgstr ""
|
||||
|
||||
msgid "Close"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invalid image"
|
||||
msgstr ""
|
||||
|
||||
@@ -970,13 +928,7 @@ msgstr ""
|
||||
msgid "The program stopped. Compatibility details were collected automatically."
|
||||
msgstr ""
|
||||
|
||||
msgid "Downloading…"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download process failed"
|
||||
msgstr ""
|
||||
|
||||
msgid "Downloading Complete"
|
||||
msgid "Close"
|
||||
msgstr ""
|
||||
|
||||
msgid "Open"
|
||||
@@ -1000,6 +952,9 @@ msgstr ""
|
||||
msgid "Next Tab"
|
||||
msgstr ""
|
||||
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
@@ -1141,6 +1096,9 @@ msgstr ""
|
||||
msgid "Successfully removed {} WINE/Proton."
|
||||
msgstr ""
|
||||
|
||||
msgid "Downloading Complete"
|
||||
msgstr ""
|
||||
|
||||
msgid "All selected WINE/Proton have been downloaded!"
|
||||
msgstr ""
|
||||
|
||||
@@ -1228,6 +1186,9 @@ msgstr ""
|
||||
msgid "Failed to open file:\n"
|
||||
msgstr ""
|
||||
|
||||
msgid "Information"
|
||||
msgstr ""
|
||||
|
||||
msgid "Confirm PPDB Clear"
|
||||
msgstr ""
|
||||
|
||||
@@ -2156,6 +2117,9 @@ msgstr ""
|
||||
msgid "Repaired"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download process failed"
|
||||
msgstr ""
|
||||
|
||||
msgid "Quick Launch"
|
||||
msgstr ""
|
||||
|
||||
@@ -2228,9 +2192,6 @@ msgid ""
|
||||
"will remove the .desktop files and custom data."
|
||||
msgstr ""
|
||||
|
||||
msgid "Failed to install theme"
|
||||
msgstr ""
|
||||
|
||||
msgid "PortProton Settings"
|
||||
msgstr ""
|
||||
|
||||
@@ -2294,9 +2255,6 @@ msgstr ""
|
||||
msgid "Show compatibility report after game crash"
|
||||
msgstr ""
|
||||
|
||||
msgid "Disable Cyrillic path warning"
|
||||
msgstr ""
|
||||
|
||||
msgid "Disable ALT Linux i586 dependency check"
|
||||
msgstr ""
|
||||
|
||||
@@ -2517,10 +2475,16 @@ msgstr ""
|
||||
msgid "Failed to download theme"
|
||||
msgstr ""
|
||||
|
||||
msgid "Downloading…"
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Downloading… {0}%"
|
||||
msgstr ""
|
||||
|
||||
msgid "Failed to install theme"
|
||||
msgstr ""
|
||||
|
||||
msgid "Select Theme:"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ msgstr ""
|
||||
"Project-Id-Version: PortProtonQt 0.1.1\n"
|
||||
"Report-Msgid-Bugs-To: support@linux-gaming.ru\n"
|
||||
"POT-Creation-Date: 2026-06-18 23:41+0500\n"
|
||||
"PO-Revision-Date: 2026-10-21 16:27+0000\n"
|
||||
"PO-Revision-Date: 2026-10-10 11:29+0000\n"
|
||||
"Last-Translator: Rubin13 <rubin13@noreply.codeberg.org>\n"
|
||||
"Language-Team: German <https://translate.codeberg.org/projects/portprotonqt/"
|
||||
"portprotonqt/de/>\n"
|
||||
@@ -18,7 +18,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 2026.10.1\n"
|
||||
"X-Generator: Weblate 2026.9.1\n"
|
||||
"Generated-By: Babel 2.18.0\n"
|
||||
|
||||
msgid ""
|
||||
@@ -149,8 +149,9 @@ msgstr "Die Datei existiert bereits: {file_name}"
|
||||
msgid "Failed to rename file: {error}"
|
||||
msgstr "Datei konnte nicht umbenannt werden: {error}"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Select multiple"
|
||||
msgstr "Mehrere auswählen"
|
||||
msgstr "Alle auswählen"
|
||||
|
||||
msgid "Delete from PortProton"
|
||||
msgstr "Von PortProton löschen"
|
||||
@@ -344,6 +345,9 @@ msgstr "Einfügen"
|
||||
msgid "Select All"
|
||||
msgstr "Alle auswählen"
|
||||
|
||||
msgid "Default"
|
||||
msgstr "Standard"
|
||||
|
||||
msgid "Supported"
|
||||
msgstr "Unterstützt"
|
||||
|
||||
@@ -371,6 +375,14 @@ msgstr "SPIELZEIT"
|
||||
msgid "Library"
|
||||
msgstr "Sammlung"
|
||||
|
||||
#, fuzzy
|
||||
msgid "WINE"
|
||||
msgstr "Wine"
|
||||
|
||||
#, fuzzy
|
||||
msgid "PREFIX"
|
||||
msgstr "Prefix:"
|
||||
|
||||
msgid "Unknown Game"
|
||||
msgstr "Unbekanntes Spiel"
|
||||
|
||||
@@ -481,13 +493,9 @@ msgid ""
|
||||
"characters:\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
"In den Pfaden wurden kyrillische Zeichen gefunden. Wine funktioniert unter "
|
||||
"Umständen nicht zuverlässig. Verschiebe das Spiel oder PortProton an einen "
|
||||
"Pfad, der keine kyrillischen Zeichen enthält:\n"
|
||||
"\n"
|
||||
|
||||
msgid "Don't remind again"
|
||||
msgstr "Nicht erneut erinnern"
|
||||
msgstr ""
|
||||
|
||||
msgid "Game not found."
|
||||
msgstr "Spiel nicht gefunden."
|
||||
@@ -1329,9 +1337,6 @@ msgstr "Fehler beim Entfernen der PPDB-Datei:\n"
|
||||
msgid "Failed to apply changes. Check logs."
|
||||
msgstr "Anwenden der Änderungen fehlgeschlagen. Überprüfe die Protokolle."
|
||||
|
||||
msgid "Default"
|
||||
msgstr "Standard"
|
||||
|
||||
msgid "disabled"
|
||||
msgstr "deaktiviert"
|
||||
|
||||
@@ -2368,8 +2373,12 @@ msgstr "Gamepad-Typ:"
|
||||
msgid "Launch Application in Fullscreen"
|
||||
msgstr "Anwendung im Vollbildmodus starten"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Hide Cursor in Fullscreen"
|
||||
msgstr "Cursor im Vollbildmodus ausblenden"
|
||||
msgstr "Fenster in den Vollbildmodus erzwingen"
|
||||
|
||||
msgid "Show Wine version and Prefix name on Game cards and Library vertical"
|
||||
msgstr "Wein-Version und Präfix-Namen auf Spielkarten und Bibliothek vertikal anzeigen"
|
||||
|
||||
msgid "Auto Fullscreen on Gamepad connected"
|
||||
msgstr "Automatischer Vollbildmodus bei angeschlossenem Gamepad"
|
||||
@@ -2402,7 +2411,7 @@ msgid "Show compatibility report after game crash"
|
||||
msgstr "Kompatibilitätsbericht nach Spielabsturz anzeigen"
|
||||
|
||||
msgid "Disable Cyrillic path warning"
|
||||
msgstr "Warnung bei kyrillischen Pfaden deaktivieren"
|
||||
msgstr ""
|
||||
|
||||
msgid "Disable ALT Linux i586 dependency check"
|
||||
msgstr "ALT Linux i586-Abhängigkeitsprüfung deaktivieren"
|
||||
|
||||
@@ -21,6 +21,9 @@ msgstr ""
|
||||
"X-Generator: Weblate 2026.8.1\n"
|
||||
"Generated-By: Babel 2.17.0\n"
|
||||
|
||||
msgid "Stop Game"
|
||||
msgstr "Detener Juego"
|
||||
|
||||
msgid ""
|
||||
"PortProton data folder is not readable and writable. Choose another "
|
||||
"folder for PortProton data."
|
||||
@@ -28,17 +31,6 @@ msgstr ""
|
||||
"La carpeta de datos de PortProton no tiene permisos de lectura ni escritura. "
|
||||
"Elija otra carpeta para los datos de PortProton."
|
||||
|
||||
msgid ""
|
||||
"PortProtonQt is already running. Stop it and all games, then restart for "
|
||||
"the new launch?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Yes"
|
||||
msgstr "Sí"
|
||||
|
||||
msgid "No"
|
||||
msgstr "No"
|
||||
|
||||
msgid "Update complete"
|
||||
msgstr "Actualización completada"
|
||||
|
||||
@@ -124,6 +116,12 @@ msgstr ""
|
||||
"¿Estás seguro de que quieres eliminar la carpeta «{folder_name}»? Esta "
|
||||
"acción no se puede deshacer."
|
||||
|
||||
msgid "Yes"
|
||||
msgstr "Sí"
|
||||
|
||||
msgid "No"
|
||||
msgstr "No"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to delete folder: {error}"
|
||||
msgstr "No se ha podido eliminar la carpeta: {error}"
|
||||
@@ -151,16 +149,9 @@ msgstr "El archivo ya existe: {file_name}"
|
||||
msgid "Failed to rename file: {error}"
|
||||
msgstr "No se pudo cambiar el nombre del archivo: {error}"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Select multiple"
|
||||
msgstr "Seleccionar todo"
|
||||
|
||||
msgid "Delete from PortProton"
|
||||
msgstr "Eliminar de PortProton"
|
||||
|
||||
msgid "Stop Game"
|
||||
msgstr "Detener Juego"
|
||||
|
||||
msgid "Launch Game"
|
||||
msgstr "Iniciar juego"
|
||||
|
||||
@@ -290,6 +281,14 @@ msgstr "No se han podido generar los datos del archivo .desktop"
|
||||
msgid "Failed to save .desktop file: {error}"
|
||||
msgstr "No se ha podido guardar el archivo .desktop: {error}"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to delete old .desktop file: {error}"
|
||||
msgstr "No se ha podido eliminar el archivo .desktop antiguo: {error}"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Removed old .desktop file for '{game_name}'"
|
||||
msgstr "Se ha eliminado el antiguo archivo .desktop de «{game_name}»"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to copy cover image: {error}"
|
||||
msgstr "No se ha podido copiar la imagen de portada: {error}"
|
||||
@@ -309,6 +308,10 @@ msgstr ""
|
||||
"Se ha añadido «{game_name}» a Steam. Reinicia Steam para que los cambios "
|
||||
"surtan efecto."
|
||||
|
||||
#, python-brace-format
|
||||
msgid "'{game_name}' was added to Steam."
|
||||
msgstr "«{game_name}» se ha añadido a Steam."
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to add '{game_name}' to Steam: {error}"
|
||||
msgstr "No se ha podido añadir «{game_name}» a Steam: {error}"
|
||||
@@ -321,6 +324,10 @@ msgstr ""
|
||||
"«{game_name}» se ha eliminado de Steam. Por favor, reinicia Steam para que "
|
||||
"los cambios surtan efecto."
|
||||
|
||||
#, python-brace-format
|
||||
msgid "'{game_name}' was removed from Steam."
|
||||
msgstr "«{game_name}» se ha eliminado de Steam."
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to remove game '{game_name}' from Steam: {error}"
|
||||
msgstr "No se ha podido eliminar el juego «{game_name}» de Steam: {error}"
|
||||
@@ -481,16 +488,6 @@ msgstr ""
|
||||
msgid "Wine prefix not found"
|
||||
msgstr "Prefijo no encontrado"
|
||||
|
||||
msgid ""
|
||||
"Cyrillic characters were found in the following paths. Wine may work "
|
||||
"unreliably. Move the game or PortProton to a path without Cyrillic "
|
||||
"characters:\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
|
||||
msgid "Don't remind again"
|
||||
msgstr ""
|
||||
|
||||
msgid "Game not found."
|
||||
msgstr "Juego no encontrado."
|
||||
|
||||
@@ -980,22 +977,6 @@ msgstr "Actualizando AppImage…"
|
||||
msgid "Launching {0}"
|
||||
msgstr "Comenzando {0}"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Scanning: {folder}"
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Checking existing shortcuts: {path}"
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Adding: {name}"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, python-brace-format
|
||||
msgid "Failed to create shortcut: {name}"
|
||||
msgstr "No se ha podido crear la carpeta: {error}"
|
||||
|
||||
msgid "Name:"
|
||||
msgstr "Nombre:"
|
||||
|
||||
@@ -1020,33 +1001,6 @@ msgstr "Vista previa de la portada:"
|
||||
msgid "Apply"
|
||||
msgstr "Aplicar"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Select folder"
|
||||
msgstr "Borrar la carpeta"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Processing games…"
|
||||
msgstr "Juegos recientes"
|
||||
|
||||
#, python-brace-format
|
||||
msgid ""
|
||||
"Processed {completed}/{total}\n"
|
||||
"{current}"
|
||||
msgstr ""
|
||||
|
||||
msgid "Information"
|
||||
msgstr ""
|
||||
|
||||
msgid "No games found in the selected folder."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "Select games"
|
||||
msgstr "Juegos recientes"
|
||||
|
||||
msgid "Close"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invalid image"
|
||||
msgstr "Imagen no válida"
|
||||
|
||||
@@ -1065,14 +1019,7 @@ msgstr ""
|
||||
msgid "The program stopped. Compatibility details were collected automatically."
|
||||
msgstr ""
|
||||
|
||||
msgid "Downloading…"
|
||||
msgstr "Descargando…"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Download process failed"
|
||||
msgstr "Descargar seleccionados"
|
||||
|
||||
msgid "Downloading Complete"
|
||||
msgid "Close"
|
||||
msgstr ""
|
||||
|
||||
msgid "Open"
|
||||
@@ -1096,6 +1043,9 @@ msgstr "Pestaña anterior"
|
||||
msgid "Next Tab"
|
||||
msgstr "Pestaña siguiente"
|
||||
|
||||
msgid "Save"
|
||||
msgstr "Guardar"
|
||||
|
||||
msgid "Search"
|
||||
msgstr "Buscar"
|
||||
|
||||
@@ -1241,6 +1191,9 @@ msgstr "No se pudo eliminar WINE/Proton en {path}: {error}"
|
||||
msgid "Successfully removed {} WINE/Proton."
|
||||
msgstr ""
|
||||
|
||||
msgid "Downloading Complete"
|
||||
msgstr ""
|
||||
|
||||
msgid "All selected WINE/Proton have been downloaded!"
|
||||
msgstr ""
|
||||
|
||||
@@ -1331,6 +1284,9 @@ msgstr ""
|
||||
msgid "Failed to open file:\n"
|
||||
msgstr "No se ha podido abrir la carpeta: {error}"
|
||||
|
||||
msgid "Information"
|
||||
msgstr ""
|
||||
|
||||
msgid "Confirm PPDB Clear"
|
||||
msgstr "Confirmar que PPDB está vacío"
|
||||
|
||||
@@ -2270,6 +2226,10 @@ msgstr ""
|
||||
msgid "Repaired"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "Download process failed"
|
||||
msgstr "Descargar seleccionados"
|
||||
|
||||
msgid "Quick Launch"
|
||||
msgstr ""
|
||||
|
||||
@@ -2347,9 +2307,6 @@ msgstr ""
|
||||
"¿Estás seguro de que quieres eliminar «{game_name}»? Esto eliminará el "
|
||||
"archivo .desktop y los datos personalizados."
|
||||
|
||||
msgid "Failed to install theme"
|
||||
msgstr "Error al instalar el tema"
|
||||
|
||||
msgid "PortProton Settings"
|
||||
msgstr ""
|
||||
|
||||
@@ -2413,9 +2370,6 @@ msgstr ""
|
||||
msgid "Show compatibility report after game crash"
|
||||
msgstr ""
|
||||
|
||||
msgid "Disable Cyrillic path warning"
|
||||
msgstr ""
|
||||
|
||||
msgid "Disable ALT Linux i586 dependency check"
|
||||
msgstr ""
|
||||
|
||||
@@ -2638,9 +2592,15 @@ msgstr "Error al cargar los temas"
|
||||
msgid "Failed to download theme"
|
||||
msgstr "Error al descargar los temas"
|
||||
|
||||
msgid "Downloading…"
|
||||
msgstr "Descargando…"
|
||||
|
||||
msgid "Downloading… {0}%"
|
||||
msgstr "Descargando… {0}%"
|
||||
|
||||
msgid "Failed to install theme"
|
||||
msgstr "Error al instalar el tema"
|
||||
|
||||
msgid "Select Theme:"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PortProtonQt 0.1.1\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2026-10-22 15:48+0500\n"
|
||||
"POT-Creation-Date: 2026-10-24 20:18+0530\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -326,6 +326,9 @@ msgstr ""
|
||||
msgid "Select All"
|
||||
msgstr ""
|
||||
|
||||
msgid "Default"
|
||||
msgstr ""
|
||||
|
||||
msgid "Supported"
|
||||
msgstr ""
|
||||
|
||||
@@ -353,6 +356,12 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr ""
|
||||
|
||||
msgid "WINE"
|
||||
msgstr ""
|
||||
|
||||
msgid "PREFIX"
|
||||
msgstr ""
|
||||
|
||||
msgid "Unknown Game"
|
||||
msgstr ""
|
||||
|
||||
@@ -1236,9 +1245,6 @@ msgstr ""
|
||||
msgid "Failed to apply changes. Check logs."
|
||||
msgstr ""
|
||||
|
||||
msgid "Default"
|
||||
msgstr ""
|
||||
|
||||
msgid "disabled"
|
||||
msgstr ""
|
||||
|
||||
@@ -2260,6 +2266,9 @@ msgstr ""
|
||||
msgid "Hide Cursor in Fullscreen"
|
||||
msgstr ""
|
||||
|
||||
msgid "Show Wine version and Prefix name on Game cards and Library vertical"
|
||||
msgstr ""
|
||||
|
||||
msgid "Auto Fullscreen on Gamepad connected"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ msgstr ""
|
||||
"Project-Id-Version: PortProtonQt 0.1.1\n"
|
||||
"Report-Msgid-Bugs-To: support@linux-gaming.ru\n"
|
||||
"POT-Creation-Date: 2026-06-04 10:32+0500\n"
|
||||
"PO-Revision-Date: 2026-10-17 23:27+0000\n"
|
||||
"PO-Revision-Date: 2026-09-24 06:40+0000\n"
|
||||
"Last-Translator: rogerio-mattos <rogerio-mattos@noreply.codeberg.org>\n"
|
||||
"Language-Team: Portuguese (Brazil) <https://translate.codeberg.org/projects/"
|
||||
"portprotonqt/portprotonqt/pt_BR/>\n"
|
||||
@@ -18,9 +18,12 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||
"X-Generator: Weblate 2026.10.1\n"
|
||||
"X-Generator: Weblate 2026.9.1\n"
|
||||
"Generated-By: Babel 2.18.0\n"
|
||||
|
||||
msgid "Stop Game"
|
||||
msgstr "Parar o Jogo"
|
||||
|
||||
msgid ""
|
||||
"PortProton data folder is not readable and writable. Choose another "
|
||||
"folder for PortProton data."
|
||||
@@ -28,17 +31,6 @@ msgstr ""
|
||||
"A pasta de dados do PortProton não pode ser lida nem gravada. Escolha "
|
||||
"outra pasta para os dados do PortProton."
|
||||
|
||||
msgid ""
|
||||
"PortProtonQt is already running. Stop it and all games, then restart for "
|
||||
"the new launch?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Yes"
|
||||
msgstr "Sim"
|
||||
|
||||
msgid "No"
|
||||
msgstr "Não"
|
||||
|
||||
msgid "Update complete"
|
||||
msgstr "Atualização concluída"
|
||||
|
||||
@@ -122,6 +114,12 @@ msgstr ""
|
||||
"Tem certeza de que deseja excluir a pasta '{folder_name}'? Esta ação não "
|
||||
"pode ser desfeita."
|
||||
|
||||
msgid "Yes"
|
||||
msgstr "Sim"
|
||||
|
||||
msgid "No"
|
||||
msgstr "Não"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to delete folder: {error}"
|
||||
msgstr "Falha ao excluir a pasta: {error}"
|
||||
@@ -149,16 +147,9 @@ msgstr "A pasta já existe: {file_name}"
|
||||
msgid "Failed to rename file: {error}"
|
||||
msgstr "Falha ao renomear o arquivo: {error}"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Select multiple"
|
||||
msgstr "Selecionar Tudo"
|
||||
|
||||
msgid "Delete from PortProton"
|
||||
msgstr "Excluir do PortProton"
|
||||
|
||||
msgid "Stop Game"
|
||||
msgstr "Parar o Jogo"
|
||||
|
||||
msgid "Launch Game"
|
||||
msgstr "Iniciar Jogo"
|
||||
|
||||
@@ -288,6 +279,14 @@ msgstr "Falha ao gerar os dados do arquivo .desktop"
|
||||
msgid "Failed to save .desktop file: {error}"
|
||||
msgstr "Falha ao salvar o arquivo .desktop: {error}"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to delete old .desktop file: {error}"
|
||||
msgstr "Falha ao excluir o arquivo .desktop antigo: {error}"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Removed old .desktop file for '{game_name}'"
|
||||
msgstr "Arquivo .desktop antigo de '{game_name}' removido"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to copy cover image: {error}"
|
||||
msgstr "Falha ao copiar a imagem de capa: {error}"
|
||||
@@ -307,6 +306,10 @@ msgstr ""
|
||||
"'{game_name}' foi adicionado à Steam. Reinicie a Steam para aplicar as "
|
||||
"alterações."
|
||||
|
||||
#, python-brace-format
|
||||
msgid "'{game_name}' was added to Steam."
|
||||
msgstr "'{game_name}' foi adicionado à Steam."
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to add '{game_name}' to Steam: {error}"
|
||||
msgstr "Falha ao adicionar '{game_name}' à Steam: {error}"
|
||||
@@ -319,6 +322,10 @@ msgstr ""
|
||||
"'{game_name}' foi removido da Steam. Reinicie à Steam para que as "
|
||||
"alterações tenham efeito."
|
||||
|
||||
#, python-brace-format
|
||||
msgid "'{game_name}' was removed from Steam."
|
||||
msgstr "'{game_name}' foi removido da Steam."
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to remove game '{game_name}' from Steam: {error}"
|
||||
msgstr "Falha ao remover o jogo '{game_name}' da Steam: {error}"
|
||||
@@ -475,16 +482,6 @@ msgstr "Outra operação da Epic está em andamento"
|
||||
msgid "Wine prefix not found"
|
||||
msgstr "Prefixo do Wine não encontrado"
|
||||
|
||||
msgid ""
|
||||
"Cyrillic characters were found in the following paths. Wine may work "
|
||||
"unreliably. Move the game or PortProton to a path without Cyrillic "
|
||||
"characters:\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
|
||||
msgid "Don't remind again"
|
||||
msgstr ""
|
||||
|
||||
msgid "Game not found."
|
||||
msgstr "Jogo não encontrado."
|
||||
|
||||
@@ -962,22 +959,6 @@ msgstr "Atualizando AppImage..."
|
||||
msgid "Launching {0}"
|
||||
msgstr "Iniciando {0}"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Scanning: {folder}"
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Checking existing shortcuts: {path}"
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Adding: {name}"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, python-brace-format
|
||||
msgid "Failed to create shortcut: {name}"
|
||||
msgstr "Falha ao criar a pasta: {error}"
|
||||
|
||||
msgid "Name:"
|
||||
msgstr "Nome:"
|
||||
|
||||
@@ -1002,33 +983,6 @@ msgstr "Pré-visualização da Capa:"
|
||||
msgid "Apply"
|
||||
msgstr "Aplicar"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Select folder"
|
||||
msgstr "Excluir Pasta"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Processing games…"
|
||||
msgstr "Jogos Recentes"
|
||||
|
||||
#, python-brace-format
|
||||
msgid ""
|
||||
"Processed {completed}/{total}\n"
|
||||
"{current}"
|
||||
msgstr ""
|
||||
|
||||
msgid "Information"
|
||||
msgstr "Informação"
|
||||
|
||||
msgid "No games found in the selected folder."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "Select games"
|
||||
msgstr "Jogos Recentes"
|
||||
|
||||
msgid "Close"
|
||||
msgstr "Fechar"
|
||||
|
||||
msgid "Invalid image"
|
||||
msgstr "Imagem inválida"
|
||||
|
||||
@@ -1049,14 +1003,8 @@ msgstr ""
|
||||
"O programa foi encerrado. As informações de compatibilidade foram coletadas "
|
||||
"automaticamente."
|
||||
|
||||
msgid "Downloading…"
|
||||
msgstr "Baixando…"
|
||||
|
||||
msgid "Download process failed"
|
||||
msgstr "O processo de download falhou"
|
||||
|
||||
msgid "Downloading Complete"
|
||||
msgstr "Download Concluído"
|
||||
msgid "Close"
|
||||
msgstr "Fechar"
|
||||
|
||||
msgid "Open"
|
||||
msgstr "Abrir"
|
||||
@@ -1079,6 +1027,9 @@ msgstr "Aba Anterior"
|
||||
msgid "Next Tab"
|
||||
msgstr "Próxima Aba"
|
||||
|
||||
msgid "Save"
|
||||
msgstr "Salvar"
|
||||
|
||||
msgid "Search"
|
||||
msgstr "Pesquisar"
|
||||
|
||||
@@ -1226,6 +1177,9 @@ msgstr "Falha ao remover WINE/Proton em {path}: {error}"
|
||||
msgid "Successfully removed {} WINE/Proton."
|
||||
msgstr "{} WINE/Proton removido(s) com sucesso."
|
||||
|
||||
msgid "Downloading Complete"
|
||||
msgstr "Download Concluído"
|
||||
|
||||
msgid "All selected WINE/Proton have been downloaded!"
|
||||
msgstr "Todos os WINE/Proton selecionados foram baixados!"
|
||||
|
||||
@@ -1264,14 +1218,15 @@ msgstr "O download ou a extração foi cancelado."
|
||||
msgid "System WINE"
|
||||
msgstr "WINE do Sistema"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Global Game Settings"
|
||||
msgstr "Configurações globais dos jogos"
|
||||
msgstr "Salvar Configurações"
|
||||
|
||||
msgid "Exe Settings"
|
||||
msgstr "Configurações do Exe"
|
||||
|
||||
msgid "Edit user.conf"
|
||||
msgstr "Editar o arquivo user.conf"
|
||||
msgstr ""
|
||||
|
||||
msgid "Search settings…"
|
||||
msgstr "Pesquisar configurações…"
|
||||
@@ -1297,8 +1252,9 @@ msgstr "Editar PPDB"
|
||||
msgid "Clear PPDB"
|
||||
msgstr "Limpar PPDB"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Failed to load global game settings."
|
||||
msgstr "Falha ao carregar as configurações globais dos jogos."
|
||||
msgstr "Falha ao carregar temas"
|
||||
|
||||
msgid "Executable path is not available."
|
||||
msgstr "O caminho do executável não está disponível."
|
||||
@@ -1309,8 +1265,12 @@ msgstr "O arquivo PPDB não existe em: "
|
||||
msgid "Failed to open PPDB file:\n"
|
||||
msgstr "Falha ao abrir o arquivo PPDB:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Failed to open file:\n"
|
||||
msgstr "Falha ao abrir o arquivo:\n"
|
||||
msgstr "Falha ao abrir o arquivo PPDB:\n"
|
||||
|
||||
msgid "Information"
|
||||
msgstr "Informação"
|
||||
|
||||
msgid "Confirm PPDB Clear"
|
||||
msgstr "Confirmar Limpeza do PPDB"
|
||||
@@ -1332,8 +1292,9 @@ msgstr "Padrão"
|
||||
msgid "disabled"
|
||||
msgstr "desativado"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Download Wine/Proton..."
|
||||
msgstr "Baixar Wine/Proton..."
|
||||
msgstr "Baixar WINE/Proton para a Steam"
|
||||
|
||||
msgid "Enter prefix name"
|
||||
msgstr "Digite o nome do prefixo"
|
||||
@@ -2174,7 +2135,7 @@ msgid "GOG account connected"
|
||||
msgstr "Conta GOG conectada"
|
||||
|
||||
msgid "Log out"
|
||||
msgstr "Sair da sessão"
|
||||
msgstr "Encerrar sessão"
|
||||
|
||||
msgid "Open login page"
|
||||
msgstr "Abrir página de login"
|
||||
@@ -2256,6 +2217,9 @@ msgstr "Falhou"
|
||||
msgid "Repaired"
|
||||
msgstr "Reparado"
|
||||
|
||||
msgid "Download process failed"
|
||||
msgstr "O processo de download falhou"
|
||||
|
||||
msgid "Quick Launch"
|
||||
msgstr "Início Rápido"
|
||||
|
||||
@@ -2295,14 +2259,16 @@ msgstr "Oculto"
|
||||
msgid "Badge View Type:"
|
||||
msgstr "Modo de Exibição do Selo:"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Theme"
|
||||
msgstr "Tema"
|
||||
msgstr "Temas"
|
||||
|
||||
msgid "Grid"
|
||||
msgstr "Grade"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "List"
|
||||
msgstr "Lista"
|
||||
msgstr "Claro"
|
||||
|
||||
msgid "Vertical"
|
||||
msgstr "Vertical"
|
||||
@@ -2330,9 +2296,6 @@ msgstr ""
|
||||
"Tem certeza de que deseja excluir {count} cartões sem executável? Isso "
|
||||
"removerá os arquivos .desktop e os dados personalizados."
|
||||
|
||||
msgid "Failed to install theme"
|
||||
msgstr "Falha ao instalar o tema"
|
||||
|
||||
msgid "PortProton Settings"
|
||||
msgstr "Configurações do PortProton"
|
||||
|
||||
@@ -2363,14 +2326,15 @@ msgstr "Tipo de Controle:"
|
||||
msgid "Launch Application in Fullscreen"
|
||||
msgstr "Iniciar Aplicativo em Tela Cheia"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Hide Cursor in Fullscreen"
|
||||
msgstr "Ocultar o cursor em tela cheia"
|
||||
msgstr "Forçar janelas em tela cheia"
|
||||
|
||||
msgid "Auto Fullscreen on Gamepad connected"
|
||||
msgstr "Tela Cheia Automática ao Conectar o Controle"
|
||||
|
||||
msgid "Disable Boot Animation"
|
||||
msgstr "Desativar animação de inicialização"
|
||||
msgstr ""
|
||||
|
||||
msgid "Minimize to tray on close"
|
||||
msgstr "Minimizar para a bandeja ao fechar"
|
||||
@@ -2396,11 +2360,8 @@ msgstr "Ativar sons da interface"
|
||||
msgid "Show compatibility report after game crash"
|
||||
msgstr "Mostrar relatório de compatibilidade após a falha do jogo"
|
||||
|
||||
msgid "Disable Cyrillic path warning"
|
||||
msgstr ""
|
||||
|
||||
msgid "Disable ALT Linux i586 dependency check"
|
||||
msgstr "Desativar verificação de dependências do ALT Linux i586"
|
||||
msgstr ""
|
||||
|
||||
msgid "Disable runtime download"
|
||||
msgstr "Desativar download de runtime"
|
||||
@@ -2409,7 +2370,7 @@ msgid "Add to Steam compatibility tools"
|
||||
msgstr "Adicionar às ferramentas de compatibilidade da Steam"
|
||||
|
||||
msgid "Disable Steam Proton scanning"
|
||||
msgstr "Desativar a busca por instalações do Steam Proton"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download WINE/Proton to Steam"
|
||||
msgstr "Baixar WINE/Proton para a Steam"
|
||||
@@ -2621,9 +2582,15 @@ msgstr "Falha ao carregar temas"
|
||||
msgid "Failed to download theme"
|
||||
msgstr "Falha ao baixar o tema"
|
||||
|
||||
msgid "Downloading…"
|
||||
msgstr "Baixando…"
|
||||
|
||||
msgid "Downloading… {0}%"
|
||||
msgstr "Baixando… {0}%"
|
||||
|
||||
msgid "Failed to install theme"
|
||||
msgstr "Falha ao instalar o tema"
|
||||
|
||||
msgid "Select Theme:"
|
||||
msgstr "Selecionar Tema:"
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@ msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"Report-Msgid-Bugs-To: support@linux-gaming.ru\n"
|
||||
"POT-Creation-Date: 2026-03-22 13:50+0500\n"
|
||||
"PO-Revision-Date: 2026-10-21 16:27+0000\n"
|
||||
"Last-Translator: Andrei Stepanov <adem4ik@gmail.com>\n"
|
||||
"PO-Revision-Date: 2026-10-09 11:06+0000\n"
|
||||
"Last-Translator: Boria138 <boria138@noreply.codeberg.org>\n"
|
||||
"Language-Team: Russian <https://translate.codeberg.org/projects/portprotonqt/"
|
||||
"portprotonqt/ru/>\n"
|
||||
"Language: ru\n"
|
||||
@@ -19,7 +19,7 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
"X-Generator: Weblate 2026.10.1\n"
|
||||
"X-Generator: Weblate 2026.9.1\n"
|
||||
"Generated-By: Babel 2.18.0\n"
|
||||
|
||||
msgid ""
|
||||
@@ -149,8 +149,9 @@ msgstr "Файл уже существует: {file_name}"
|
||||
msgid "Failed to rename file: {error}"
|
||||
msgstr "Не удалось переименовать файл: {error}"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Select multiple"
|
||||
msgstr "Выбрать несколько"
|
||||
msgstr "Выбрать всё"
|
||||
|
||||
msgid "Delete from PortProton"
|
||||
msgstr "Удалить из PortProton"
|
||||
@@ -342,6 +343,9 @@ msgstr "Вставить"
|
||||
msgid "Select All"
|
||||
msgstr "Выбрать всё"
|
||||
|
||||
msgid "Default"
|
||||
msgstr "Стандартный"
|
||||
|
||||
msgid "Supported"
|
||||
msgstr "Поддерживается"
|
||||
|
||||
@@ -369,6 +373,14 @@ msgstr "ПРОВЕДЁННОЕ ВРЕМЯ"
|
||||
msgid "Library"
|
||||
msgstr "Библиотека"
|
||||
|
||||
#, fuzzy
|
||||
msgid "WINE"
|
||||
msgstr "Wine"
|
||||
|
||||
#, fuzzy
|
||||
msgid "PREFIX"
|
||||
msgstr "Префикс:"
|
||||
|
||||
msgid "Unknown Game"
|
||||
msgstr "Неизвестная игра"
|
||||
|
||||
@@ -478,12 +490,9 @@ msgid ""
|
||||
"characters:\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
"В следующих путях обнаружены символы кириллицы. Wine может работать "
|
||||
"неправильно. Переместите игру или PortProton в путь без символов кириллицы:\n"
|
||||
"\n"
|
||||
|
||||
msgid "Don't remind again"
|
||||
msgstr "Больше не напоминать"
|
||||
msgstr ""
|
||||
|
||||
msgid "Game not found."
|
||||
msgstr "Игра не найдена."
|
||||
@@ -752,14 +761,14 @@ msgstr ""
|
||||
"run --user --scope --slice=app.slice"
|
||||
|
||||
msgid "CPU Cores Limit"
|
||||
msgstr "Ограничение ядер ЦП"
|
||||
msgstr "Ограничение ядер CPU"
|
||||
|
||||
msgid ""
|
||||
"Limiting the number of CPU cores is useful for Unity games (It is "
|
||||
"recommended to set the value equal to 8)"
|
||||
msgstr ""
|
||||
"Ограничение количества ядер процессора полезно для игр на Unity "
|
||||
"(рекомендуется установить значение равным 8)"
|
||||
"Ограничение количества ядер CPU полезно для игр на Unity (рекомендуется "
|
||||
"установить значение равным 8)"
|
||||
|
||||
msgid "OpenGL Version"
|
||||
msgstr "Версия OpenGL"
|
||||
@@ -1325,9 +1334,6 @@ msgstr "Не удалось удалить файл PPDB:\n"
|
||||
msgid "Failed to apply changes. Check logs."
|
||||
msgstr "Не удалось применить изменения. Проверьте логи."
|
||||
|
||||
msgid "Default"
|
||||
msgstr "Стандартный"
|
||||
|
||||
msgid "disabled"
|
||||
msgstr "отключено"
|
||||
|
||||
@@ -1592,7 +1598,7 @@ msgid "Failed to save custom preset."
|
||||
msgstr "Ошибка сохранения пользовательских настроек."
|
||||
|
||||
msgid "Overlay position"
|
||||
msgstr "Положение MangoHud"
|
||||
msgstr "Позиция MangoHud"
|
||||
|
||||
msgid "Device battery"
|
||||
msgstr "Батарея устройства"
|
||||
@@ -1607,7 +1613,7 @@ msgid "FCAT screen edge"
|
||||
msgstr "Край области FCAT"
|
||||
|
||||
msgid "Table columns"
|
||||
msgstr "Столбцов таблицы"
|
||||
msgstr "Кол-во колонок"
|
||||
|
||||
msgid "Network (tx/rx kb/s)"
|
||||
msgstr "Сеть (tx/rx kb/s)"
|
||||
@@ -1976,8 +1982,9 @@ msgid ""
|
||||
"Select one or more FPS presets. The values are saved into FPS_LIMIT and "
|
||||
"MangoHud will also show the active FPS limit."
|
||||
msgstr ""
|
||||
"Выберите один или несколько предустановленных профилей FPS. Значения будут "
|
||||
"сохранены в FPS_LIMIT, а также MangoHud отобразит активное ограничение FPS."
|
||||
"Выберите один или несколько предустановленных профилей FPS. Значения "
|
||||
"будут сохранены в FPS_LIMIT и MangoHud также отобразит активное "
|
||||
"ограничение FPS."
|
||||
|
||||
msgid "Additional comma-separated MangoHud options not covered by the GUI."
|
||||
msgstr "Дополнительные параметры MangoHud (через запятую), отсутствующие в GUI."
|
||||
@@ -2361,6 +2368,9 @@ msgstr "Запускать приложение в полноэкранном р
|
||||
msgid "Hide Cursor in Fullscreen"
|
||||
msgstr "Скрывать курсор в полноэкранном режиме"
|
||||
|
||||
msgid "Show Wine version and Prefix name on Game cards and Library vertical"
|
||||
msgstr "Показать версию Wine и имя Prefix на карточках игры и вертикальной библиотеке"
|
||||
|
||||
msgid "Auto Fullscreen on Gamepad connected"
|
||||
msgstr "Режим полноэкранного отображения приложения при подключении геймпада"
|
||||
|
||||
@@ -2392,7 +2402,7 @@ msgid "Show compatibility report after game crash"
|
||||
msgstr "Показывать отчёт о совместимости после сбоя игры"
|
||||
|
||||
msgid "Disable Cyrillic path warning"
|
||||
msgstr "Отключить предупреждение о кириллице в пути"
|
||||
msgstr ""
|
||||
|
||||
msgid "Disable ALT Linux i586 dependency check"
|
||||
msgstr "Отключить проверку зависимостей ALT Linux i586"
|
||||
|
||||
@@ -21,22 +21,14 @@ msgstr ""
|
||||
"X-Generator: Weblate 2026.6.1\n"
|
||||
"Generated-By: Babel 2.18.0\n"
|
||||
|
||||
msgid "Stop Game"
|
||||
msgstr "停止游戏"
|
||||
|
||||
msgid ""
|
||||
"PortProton data folder is not readable and writable. Choose another "
|
||||
"folder for PortProton data."
|
||||
msgstr "PortProton 数据文件夹不可读写。请为 PortProton 数据选择其他文件夹。"
|
||||
|
||||
msgid ""
|
||||
"PortProtonQt is already running. Stop it and all games, then restart for "
|
||||
"the new launch?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Yes"
|
||||
msgstr "是"
|
||||
|
||||
msgid "No"
|
||||
msgstr "否"
|
||||
|
||||
msgid "Update complete"
|
||||
msgstr "更新完成"
|
||||
|
||||
@@ -118,6 +110,12 @@ msgid ""
|
||||
"cannot be undone."
|
||||
msgstr "确定要删除文件夹\"{folder_name}\"吗?此操作无法撤销。"
|
||||
|
||||
msgid "Yes"
|
||||
msgstr "是"
|
||||
|
||||
msgid "No"
|
||||
msgstr "否"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to delete folder: {error}"
|
||||
msgstr "删除文件夹失败:{error}"
|
||||
@@ -143,16 +141,9 @@ msgstr "文件已存在:{file_name}"
|
||||
msgid "Failed to rename file: {error}"
|
||||
msgstr "重命名文件失败:{error}"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Select multiple"
|
||||
msgstr "全选"
|
||||
|
||||
msgid "Delete from PortProton"
|
||||
msgstr "从 PortProton 中删除"
|
||||
|
||||
msgid "Stop Game"
|
||||
msgstr "停止游戏"
|
||||
|
||||
msgid "Launch Game"
|
||||
msgstr "启动游戏"
|
||||
|
||||
@@ -282,6 +273,14 @@ msgstr "生成 .desktop 文件数据失败"
|
||||
msgid "Failed to save .desktop file: {error}"
|
||||
msgstr "保存 .desktop 文件失败:{error}"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to delete old .desktop file: {error}"
|
||||
msgstr "删除旧的 .desktop 文件失败:{error}"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Removed old .desktop file for '{game_name}'"
|
||||
msgstr "已移除\"{game_name}\"的旧版 .desktop 文件"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to copy cover image: {error}"
|
||||
msgstr "复制封面图像失败:{error}"
|
||||
@@ -299,6 +298,10 @@ msgid ""
|
||||
"take effect."
|
||||
msgstr "\"{game_name}\"已添加到 Steam。请重启 Steam 以使更改生效。"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "'{game_name}' was added to Steam."
|
||||
msgstr "\"{game_name}\"已添加到 Steam。"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to add '{game_name}' to Steam: {error}"
|
||||
msgstr "无法将\"{game_name}\"添加到 Steam:{error}"
|
||||
@@ -309,6 +312,10 @@ msgid ""
|
||||
" take effect."
|
||||
msgstr "\"{game_name}\"已从 Steam 中移除。请重启 Steam 以使更改生效。"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "'{game_name}' was removed from Steam."
|
||||
msgstr "\"{game_name}\"已从 Steam 中移除。"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Failed to remove game '{game_name}' from Steam: {error}"
|
||||
msgstr "无法从 Steam 中移除游戏\"{game_name}\":{error}"
|
||||
@@ -469,16 +476,6 @@ msgstr ""
|
||||
msgid "Wine prefix not found"
|
||||
msgstr "未找到前缀"
|
||||
|
||||
msgid ""
|
||||
"Cyrillic characters were found in the following paths. Wine may work "
|
||||
"unreliably. Move the game or PortProton to a path without Cyrillic "
|
||||
"characters:\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
|
||||
msgid "Don't remind again"
|
||||
msgstr ""
|
||||
|
||||
msgid "Game not found."
|
||||
msgstr "未找到游戏。"
|
||||
|
||||
@@ -928,22 +925,6 @@ msgstr "正在更新 AppImage..."
|
||||
msgid "Launching {0}"
|
||||
msgstr "正在启动 {0}"
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Scanning: {folder}"
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Checking existing shortcuts: {path}"
|
||||
msgstr ""
|
||||
|
||||
#, python-brace-format
|
||||
msgid "Adding: {name}"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, python-brace-format
|
||||
msgid "Failed to create shortcut: {name}"
|
||||
msgstr "创建文件夹失败:{error}"
|
||||
|
||||
msgid "Name:"
|
||||
msgstr "名称:"
|
||||
|
||||
@@ -968,34 +949,6 @@ msgstr "封面预览:"
|
||||
msgid "Apply"
|
||||
msgstr "应用"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Select folder"
|
||||
msgstr "删除文件夹"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Processing games…"
|
||||
msgstr "最近游戏"
|
||||
|
||||
#, python-brace-format
|
||||
msgid ""
|
||||
"Processed {completed}/{total}\n"
|
||||
"{current}"
|
||||
msgstr ""
|
||||
|
||||
msgid "Information"
|
||||
msgstr "信息"
|
||||
|
||||
msgid "No games found in the selected folder."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "Select games"
|
||||
msgstr "最近游戏"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Close"
|
||||
msgstr "鼠标"
|
||||
|
||||
msgid "Invalid image"
|
||||
msgstr "图像无效"
|
||||
|
||||
@@ -1014,15 +967,9 @@ msgstr ""
|
||||
msgid "The program stopped. Compatibility details were collected automatically."
|
||||
msgstr ""
|
||||
|
||||
msgid "Downloading…"
|
||||
msgstr "正在下载…"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Download process failed"
|
||||
msgstr "下载进行中"
|
||||
|
||||
msgid "Downloading Complete"
|
||||
msgstr "下载完成"
|
||||
msgid "Close"
|
||||
msgstr "鼠标"
|
||||
|
||||
msgid "Open"
|
||||
msgstr "打开"
|
||||
@@ -1045,6 +992,9 @@ msgstr "上一标签页"
|
||||
msgid "Next Tab"
|
||||
msgstr "下一标签页"
|
||||
|
||||
msgid "Save"
|
||||
msgstr "保存"
|
||||
|
||||
msgid "Search"
|
||||
msgstr "搜索"
|
||||
|
||||
@@ -1192,6 +1142,9 @@ msgstr "移除位于 {path} 的 WINE/Proton 失败:{error}"
|
||||
msgid "Successfully removed {} WINE/Proton."
|
||||
msgstr "已成功移除 {} 个 WINE/Proton。"
|
||||
|
||||
msgid "Downloading Complete"
|
||||
msgstr "下载完成"
|
||||
|
||||
msgid "All selected WINE/Proton have been downloaded!"
|
||||
msgstr "所有选定的 WINE/Proton 已下载完成!"
|
||||
|
||||
@@ -1281,6 +1234,9 @@ msgstr "打开 PPDB 文件失败:\n"
|
||||
msgid "Failed to open file:\n"
|
||||
msgstr "打开 PPDB 文件失败:\n"
|
||||
|
||||
msgid "Information"
|
||||
msgstr "信息"
|
||||
|
||||
msgid "Confirm PPDB Clear"
|
||||
msgstr "确认清除 PPDB"
|
||||
|
||||
@@ -2231,6 +2187,10 @@ msgstr "详细"
|
||||
msgid "Repaired"
|
||||
msgstr "已配对"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Download process failed"
|
||||
msgstr "下载进行中"
|
||||
|
||||
msgid "Quick Launch"
|
||||
msgstr "快速启动"
|
||||
|
||||
@@ -2313,9 +2273,6 @@ msgstr ""
|
||||
"确定要删除 {count} 个没有可执行文件的卡片吗?这将删除 .desktop 文件和自定义数"
|
||||
"据。"
|
||||
|
||||
msgid "Failed to install theme"
|
||||
msgstr "安装主题失败"
|
||||
|
||||
msgid "PortProton Settings"
|
||||
msgstr "PortProton 设置"
|
||||
|
||||
@@ -2381,9 +2338,6 @@ msgstr "启用界面音效"
|
||||
msgid "Show compatibility report after game crash"
|
||||
msgstr ""
|
||||
|
||||
msgid "Disable Cyrillic path warning"
|
||||
msgstr ""
|
||||
|
||||
msgid "Disable ALT Linux i586 dependency check"
|
||||
msgstr ""
|
||||
|
||||
@@ -2606,9 +2560,15 @@ msgstr "加载主题失败"
|
||||
msgid "Failed to download theme"
|
||||
msgstr "下载主题失败"
|
||||
|
||||
msgid "Downloading…"
|
||||
msgstr "正在下载…"
|
||||
|
||||
msgid "Downloading… {0}%"
|
||||
msgstr "正在下载… {0}%"
|
||||
|
||||
msgid "Failed to install theme"
|
||||
msgstr "安装主题失败"
|
||||
|
||||
msgid "Select Theme:"
|
||||
msgstr "选择主题:"
|
||||
|
||||
|
||||
@@ -345,6 +345,24 @@ class MainWindowSettingsTabMixin(_MainWindowTypingBase):
|
||||
hide_cursor_layout.addStretch()
|
||||
uiForm.addRow(hide_cursor_layout)
|
||||
|
||||
self.showWinePrefixCheckBox = QCheckBox()
|
||||
self.showWinePrefixCheckBox.setStyleSheet(self.theme.CHECKBOX_STYLE)
|
||||
self.showWinePrefixCheckBox.setFocusPolicy(Qt.FocusPolicy.StrongFocus)
|
||||
self.showWinePrefixTitle = QLabel(_("Show Wine version and Prefix name on Game cards and Library vertical"))
|
||||
self.showWinePrefixTitle.setSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed)
|
||||
self.showWinePrefixTitle.setStyleSheet(self.theme.SETTINGS_TITLE_CHECKBOX_STYLE)
|
||||
self.showWinePrefixTitle.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
current_show_wine_prefix = ui_config.get_show_wine_prefix_cards()
|
||||
self.showWinePrefixCheckBox.setChecked(current_show_wine_prefix)
|
||||
self.showWinePrefixCheckBox.clicked.connect(self._on_show_wine_prefix_changed)
|
||||
|
||||
show_wine_prefix_layout = QHBoxLayout()
|
||||
show_wine_prefix_layout.setContentsMargins(0, 0, 0, 0)
|
||||
show_wine_prefix_layout.addWidget(self.showWinePrefixCheckBox)
|
||||
show_wine_prefix_layout.addWidget(self.showWinePrefixTitle)
|
||||
show_wine_prefix_layout.addStretch()
|
||||
uiForm.addRow(show_wine_prefix_layout)
|
||||
|
||||
self.autoFullscreenGamepadCheckBox = QCheckBox()
|
||||
self.autoFullscreenGamepadCheckBox.setStyleSheet(self.theme.CHECKBOX_STYLE)
|
||||
self.autoFullscreenGamepadCheckBox.setFocusPolicy(Qt.FocusPolicy.StrongFocus)
|
||||
@@ -907,6 +925,10 @@ class MainWindowSettingsTabMixin(_MainWindowTypingBase):
|
||||
layout.addLayout(actionsLayout)
|
||||
self.stackedWidget.addWidget(self.portProtonWidget)
|
||||
|
||||
def _on_show_wine_prefix_changed(self, checked: bool) -> None:
|
||||
"""Handle show wine/prefix checkbox toggle."""
|
||||
pass
|
||||
|
||||
def openGlobalGameSettings(self) -> None:
|
||||
from portprotonqt.dialogs.settings_dialog import ExeSettingsDialog
|
||||
|
||||
@@ -1093,6 +1115,13 @@ class MainWindowSettingsTabMixin(_MainWindowTypingBase):
|
||||
display_config.set_auto_fullscreen_gamepad(auto_fullscreen_gamepad)
|
||||
display_config.set_boot_animation_enabled(not self.disableBootAnimationCheckBox.isChecked())
|
||||
|
||||
# Save show WinePrefix setting from checkbox state
|
||||
show_wine_prefix = self.showWinePrefixCheckBox.isChecked()
|
||||
ui_config.set_show_wine_prefix_cards(show_wine_prefix)
|
||||
|
||||
if hasattr(self, "game_library_manager") and self.game_library_manager is not None:
|
||||
self.game_library_manager.rebuild_library_layout(self.game_library_manager.layout_mode)
|
||||
|
||||
hide_control_hints = self.hideControlHintsCheckBox.isChecked()
|
||||
ui_config.set_hide_control_hints(hide_control_hints)
|
||||
force_english = self.forceEnglishCheckBox.isChecked()
|
||||
|
||||
@@ -397,7 +397,25 @@ MAIN_WINDOW_STYLE = f"""
|
||||
background-color: {color_accent};
|
||||
}}
|
||||
"""
|
||||
|
||||
# GAME CARD STYLE WinePrefix Badge Container
|
||||
GAME_CARD_WINE_PREFIX_CONTAINER_STYLE = f"""
|
||||
QFrame {{
|
||||
background: {color_surface_elevated};
|
||||
border-radius: {border_radius_small};
|
||||
border: {border_none} {color_transparent};
|
||||
}}
|
||||
"""
|
||||
# GAME CARD STYLE WinePrefix
|
||||
GAME_CARD_WINE_PREFIX_LOADING_STYLE = f"""
|
||||
QLabel {{
|
||||
color: {color_text_dark};
|
||||
font-family: '{font_family}';
|
||||
font-size: 13px;
|
||||
background: {color_transparent};
|
||||
qproperty-alignment: 'AlignLeft | AlignVCenter';
|
||||
qproperty-wordWrap: false;
|
||||
}}
|
||||
"""
|
||||
# Favorite Star
|
||||
FAVORITE_LABEL_STYLE = f"color: {color_favorite_star}; font-size: 32px; background: {color_transparent};"
|
||||
|
||||
@@ -792,15 +810,19 @@ GAME_CARD_NAME_LABEL_STYLE = f"""
|
||||
font-family: '{font_family}';
|
||||
font-size: {font_size_normal};
|
||||
font-weight: bold;
|
||||
background-color: {color_transparent};
|
||||
background-color: rgba(255, 255, 255, 0.60);
|
||||
border: {border_none} {color_transparent};
|
||||
padding: 14px, 7px, 3px, 7px;
|
||||
qproperty-wordWrap: true;
|
||||
}}
|
||||
"""
|
||||
|
||||
GAME_CARD_VERTICAL_NAME_STYLE = GAME_CARD_NAME_LABEL_STYLE
|
||||
|
||||
GAME_CARD_VERTICAL_NAME_STYLE = f"""
|
||||
{GAME_CARD_NAME_LABEL_STYLE}
|
||||
QLabel {{
|
||||
background-color: {color_transparent};
|
||||
}}
|
||||
"""
|
||||
GAME_CARD_COLUMN_LABEL_STYLE = f"""
|
||||
QLabel {{
|
||||
color: {color_text_dark};
|
||||
|
||||
@@ -32,6 +32,10 @@ fullLibraryTileSize = (180, 180)
|
||||
fullLibraryTileColumns = 2
|
||||
fullLibraryTileRows = 2
|
||||
fullLibraryTileRadius = 10
|
||||
# WinePrefix constants
|
||||
wine_prefix_margin = (8, 4, 6, 4)
|
||||
wine_prefix_spacing = 1
|
||||
WINE_PREFIX_CARD_HEIGHT = 0.10
|
||||
GAME_CARD_LIST = {
|
||||
"extra_margin": 8,
|
||||
"spacing": 12,
|
||||
@@ -71,7 +75,7 @@ GAME_CARD_VERTICAL = {
|
||||
"header_margins": (4, 0, 4, 0),
|
||||
"header_spacing": 12,
|
||||
"header_cover_width": 66,
|
||||
"column_stretches": (4, 2, 2, 2),
|
||||
"column_stretches": (4, 2, 2, 2, 2, 2),
|
||||
}
|
||||
downloadsSummaryHeight = 96
|
||||
downloadsTableHeaderHeight = 38
|
||||
|
||||
@@ -1,5 +1,25 @@
|
||||
from .constants import *
|
||||
|
||||
# GAME CARD STYLE WinePrefix Badge Container
|
||||
GAME_CARD_WINE_PREFIX_CONTAINER_STYLE = f"""
|
||||
QFrame {{
|
||||
background: {color_detail_overlay};
|
||||
border-radius: {border_radius_small};
|
||||
border: {border_none} {color_transparent};
|
||||
margin-top: 4px;
|
||||
margin-bottom: 2px;
|
||||
}}
|
||||
"""
|
||||
# GAME CARD STYLE WinePrefix
|
||||
GAME_CARD_WINE_PREFIX_LOADING_STYLE = f"""
|
||||
QLabel {{
|
||||
color: {color_text_muted};
|
||||
font-family: '{font_family}';
|
||||
font-size: 12px;
|
||||
background: {color_transparent};
|
||||
qproperty-alignment: 'AlignLeft | AlignVCenter';
|
||||
qproperty-wordWrap: false;
|
||||
}}
|
||||
"""
|
||||
# GAME CARD STYLE (GAMECARD)
|
||||
GAME_CARD_WINDOW_STYLE = f"""
|
||||
QFrame {{
|
||||
@@ -20,7 +40,7 @@ GAME_CARD_NAME_LABEL_STYLE = f"""
|
||||
font-family: '{font_family}';
|
||||
font-size: {font_size_normal};
|
||||
font-weight: bold;
|
||||
background-color: {color_transparent};
|
||||
background-color: rgba(0, 0, 0, 0.45);
|
||||
border-bottom-left-radius: {border_radius_card};
|
||||
border-bottom-right-radius: {border_radius_card};
|
||||
padding: 14px, 7px, 3px, 7px;
|
||||
@@ -28,7 +48,12 @@ GAME_CARD_NAME_LABEL_STYLE = f"""
|
||||
}}
|
||||
"""
|
||||
|
||||
GAME_CARD_VERTICAL_NAME_STYLE = GAME_CARD_NAME_LABEL_STYLE
|
||||
GAME_CARD_VERTICAL_NAME_STYLE = f"""
|
||||
{GAME_CARD_NAME_LABEL_STYLE}
|
||||
QLabel {{
|
||||
background-color: {color_transparent};
|
||||
}}
|
||||
"""
|
||||
|
||||
GAME_CARD_COLUMN_LABEL_STYLE = f"""
|
||||
QLabel {{
|
||||
|
||||
Reference in new issue
Block a user