mirror of
https://github.com/stenzek/duckstation.git
synced 2024-11-27 08:00:36 +00:00
Qt: Fix translatability of memory card editor tooltips
This commit is contained in:
parent
d61a9875e1
commit
76d30282e0
@ -31,12 +31,12 @@ MemoryCardEditorDialog::MemoryCardEditorDialog(QWidget* parent) : QDialog(parent
|
||||
populateComboBox(m_ui.cardAPath);
|
||||
populateComboBox(m_ui.cardBPath);
|
||||
|
||||
static constexpr char new_card_hover_text[] = TRANSLATABLE("MemoryCardEditorDialog", "New Card...");
|
||||
static constexpr char open_card_hover_text[] = TRANSLATABLE("MemoryCardEditorDialog", "Open Card...");
|
||||
m_ui.newCardA->setToolTip(QString(new_card_hover_text));
|
||||
m_ui.newCardB->setToolTip(QString(new_card_hover_text));
|
||||
m_ui.openCardA->setToolTip(QString(open_card_hover_text));
|
||||
m_ui.openCardB->setToolTip(QString(open_card_hover_text));
|
||||
const QString new_card_hover_text(tr("New Card..."));
|
||||
const QString open_card_hover_text(tr("Open Card..."));
|
||||
m_ui.newCardA->setToolTip(new_card_hover_text);
|
||||
m_ui.newCardB->setToolTip(new_card_hover_text);
|
||||
m_ui.openCardA->setToolTip(open_card_hover_text);
|
||||
m_ui.openCardB->setToolTip(open_card_hover_text);
|
||||
}
|
||||
|
||||
MemoryCardEditorDialog::~MemoryCardEditorDialog() = default;
|
||||
|
Loading…
Reference in New Issue
Block a user