Manager: Reduce amount of nearly-identical strings

This commit is contained in:
Alexander Babikov
2025-08-13 23:57:54 +05:00
parent 7167f76170
commit 4941408b99
26 changed files with 35 additions and 182 deletions

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr "Incolla il contenuto del file di configurazione esistente nella casella
msgid "Load configuration from file"
msgstr "Carica configurazione da file"
msgid "System Name"
msgstr "Nome Sistema"
msgid "System name"
msgstr "Nome sistema"
@@ -1188,9 +1185,6 @@ msgstr "Verrà creata una nuova cartella per il sistema nella directory selezion
msgid "System location:"
msgstr "Posizione sistema:"
msgid "System Location"
msgstr "Posizione Sistema"
msgid "System name and location"
msgstr "Nome e posizione del sistema"
@@ -1203,8 +1197,8 @@ msgstr "Inserisci il nome del sistema"
msgid "Please enter a system name"
msgstr "Inserisci il nome del sistema"
msgid "Display Name (optional)"
msgstr "Nome Visualizzato (opzionale)"
msgid "Display name (optional):"
msgstr "Nome visualizzato (opzionale):"
msgid "Display name:"
msgstr "Nome visualizzato:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr "Plak de inhoud van het bestaande configuratiebestand in het vak hieronde
msgid "Load configuration from file"
msgstr "Laad configuratie van bestand"
msgid "System Name"
msgstr "Systeemnaam"
msgid "System name"
msgstr "Systeemnaam"
@@ -1188,9 +1185,6 @@ msgstr "Een nieuwe map voor het systeem wordt aangemaakt in de boven geselecteer
msgid "System location:"
msgstr "Systeemlocatie:"
msgid "System Location"
msgstr "Systeemlocatie"
msgid "System name and location"
msgstr "Systeemnaam en -locatie"
@@ -1203,8 +1197,8 @@ msgstr "Voer de naam in van het systeem"
msgid "Please enter a system name"
msgstr "Voer een naam in van het systeem"
msgid "Display Name (optional)"
msgstr "Weergavenaam (optioneel)"
msgid "Display name (optional):"
msgstr "Weergavenaam (optioneel):"
msgid "Display name:"
msgstr "Weergavenaam:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr "Cole o conteúdo de uma configuração existente na caixa abaixo."
msgid "Load configuration from file"
msgstr "Carregar configuração do arquivo"
msgid "System Name"
msgstr "Nome do Sistema"
msgid "System name"
msgstr "Nome do sistema"
@@ -1188,9 +1185,6 @@ msgstr "Um novo diretório para o sistema será criado no diretório acima"
msgid "System location:"
msgstr "Local do sistema:"
msgid "System Location"
msgstr "Local do Sistema"
msgid "System name and location"
msgstr "Nome do sistema e local"
@@ -1203,8 +1197,8 @@ msgstr "Digite o nome do sistema"
msgid "Please enter a system name"
msgstr "Por favor digite um nome de sistema"
msgid "Display Name (optional)"
msgstr "Nome de exibição (opcional)"
msgid "Display name (optional):"
msgstr "Nome de exibição (opcional):"
msgid "Display name:"
msgstr "Nome de exibição:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr "Вставьте содержимое существующего фай
msgid "Load configuration from file"
msgstr "Загрузить конфигурацию из файла"
msgid "System Name"
msgstr "Название системы"
msgid "System name"
msgstr "Название системы"
@@ -1188,9 +1185,6 @@ msgstr "Новая папка для системы будет создана в
msgid "System location:"
msgstr "Расположение системы:"
msgid "System Location"
msgstr "Расположение Системы"
msgid "System name and location"
msgstr "Название системы и расположение"
@@ -1203,8 +1197,8 @@ msgstr "Введите название системы"
msgid "Please enter a system name"
msgstr "Пожалуйста, введите название системы"
msgid "Display Name (optional)"
msgstr "Отображаемое имя (опционально)"
msgid "Display name (optional):"
msgstr "Отображаемое имя (необязательно):"
msgid "Display name:"
msgstr "Отображаемое имя:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -1161,9 +1161,6 @@ msgstr ""
msgid "Load configuration from file"
msgstr ""
msgid "System Name"
msgstr ""
msgid "System name"
msgstr ""
@@ -1188,9 +1185,6 @@ msgstr ""
msgid "System location:"
msgstr ""
msgid "System Location"
msgstr ""
msgid "System name and location"
msgstr ""
@@ -1203,7 +1197,7 @@ msgstr ""
msgid "Please enter a system name"
msgstr ""
msgid "Display Name (optional)"
msgid "Display name (optional):"
msgstr ""
msgid "Display name:"

View File

@@ -212,7 +212,7 @@ NameAndLocationPage(QWidget *parent)
const auto chooseDirectoryButton = new QPushButton();
chooseDirectoryButton->setIcon(QApplication::style()->standardIcon(QStyle::SP_DirIcon));
const auto systemNameLabel = new QLabel(tr("System Name"));
const auto systemNameLabel = new QLabel(tr("System name:"));
systemName = new QLineEdit();
// Special event filter to override enter key
systemName->installEventFilter(this);
@@ -220,7 +220,7 @@ NameAndLocationPage(QWidget *parent)
systemNameValidation = new QLabel();
#ifdef CUSTOM_SYSTEM_LOCATION
const auto systemLocationLabel = new QLabel(tr("System Location"));
const auto systemLocationLabel = new QLabel(tr("System location:"));
systemLocation = new QLineEdit();
// TODO: FIXME: This is using the CLI arg and needs to instead use a proper variable
systemLocation->setText(QDir::toNativeSeparators(vmm_path));
@@ -229,7 +229,7 @@ NameAndLocationPage(QWidget *parent)
systemLocationValidation->setWordWrap(true);
#endif
const auto displayNameLabel = new QLabel(tr("Display Name (optional)"));
const auto displayNameLabel = new QLabel(tr("Display name (optional):"));
displayName = new QLineEdit();
// Special event filter to override enter key
displayName->installEventFilter(this);
@@ -355,15 +355,18 @@ ConclusionPage(QWidget *parent)
const auto systemNameLabel = new QLabel(tr("System name:"));
systemNameLabel->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
systemName = new QLabel();
systemName->setWordWrap(true);
#ifdef CUSTOM_SYSTEM_LOCATION
const auto systemLocationLabel = new QLabel(tr("System location:"));
systemLocationLabel->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
systemLocation = new QLabel();
systemLocation->setWordWrap(true);
#endif
displayNameLabel = new QLabel(tr("Display name:"));
displayNameLabel->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
displayName = new QLabel();
displayName->setWordWrap(true);
const auto layout = new QGridLayout();
layout->addWidget(topLabel, 0, 0, 1, -1);