mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
Tweak Qt strings to be more translation friendly
This commit is contained in:
@ -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())
|
||||
{
|
||||
|
Reference in New Issue
Block a user