mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-08 18:45:48 +00:00
Tweak Qt strings to be more translation friendly
This commit is contained in:
parent
a436c6182b
commit
45040f00c6
6 changed files with 73 additions and 53 deletions
|
@ -93,9 +93,9 @@ QGroupBox* NewPatchDialog::CreateEntry(int index)
|
|||
auto* type_layout = new QHBoxLayout;
|
||||
auto* remove = new QPushButton(tr("Remove"));
|
||||
|
||||
auto* byte = new QRadioButton(tr("byte"));
|
||||
auto* word = new QRadioButton(tr("word"));
|
||||
auto* dword = new QRadioButton(tr("dword"));
|
||||
auto* byte = new QRadioButton(tr("8-bit"));
|
||||
auto* word = new QRadioButton(tr("16-bit"));
|
||||
auto* dword = new QRadioButton(tr("32-bit"));
|
||||
|
||||
type_layout->addWidget(byte);
|
||||
type_layout->addWidget(word);
|
||||
|
|
|
@ -87,7 +87,11 @@ void PatchesWidget::OnEdit()
|
|||
auto patch = m_patches[m_list->row(item)];
|
||||
|
||||
if (!patch.user_defined)
|
||||
patch.name += tr(" (Copy)").toStdString();
|
||||
{
|
||||
// i18n: If there is a pre-defined patch with the name %1 and the user wants to edit it,
|
||||
// a copy of it gets created with this name
|
||||
patch.name = tr("%1 (Copy)").arg(QString::fromStdString(patch.name)).toStdString();
|
||||
}
|
||||
|
||||
if (NewPatchDialog(patch).exec())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue