mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
i18n: Add comments and improve source strings
This commit is contained in:
@ -729,9 +729,7 @@ void AssemblerWidget::NewEditor(const QString& path)
|
||||
if (!path.isEmpty() && !new_editor->LoadFromPath())
|
||||
{
|
||||
ModalMessageBox::warning(this, tr("Failed to open file"),
|
||||
tr("Failed to read the contents of file\n\n"
|
||||
"\"%1\"")
|
||||
.arg(path));
|
||||
tr("Failed to read the contents of file:\n%1").arg(path));
|
||||
delete new_editor;
|
||||
return;
|
||||
}
|
||||
|
@ -757,6 +757,8 @@ void BranchWatchDialog::OnToggleAutoSave(bool checked)
|
||||
return;
|
||||
|
||||
const QString filepath = DolphinFileDialog::getSaveFileName(
|
||||
// i18n: If the user selects a file, Branch Watch will save to that file.
|
||||
// If the user presses Cancel, Branch Watch will save to a file in the user folder.
|
||||
this, tr("Select Branch Watch snapshot auto-save file (for user folder location, cancel)"),
|
||||
QString::fromStdString(File::GetUserPath(D_DUMPDEBUG_BRANCHWATCH_IDX)),
|
||||
tr("Text file (*.txt);;All Files (*)"));
|
||||
|
@ -200,6 +200,7 @@ void MemoryWidget::CreateWidgets()
|
||||
m_display_combo->addItem(tr("Double"), int(Type::Double));
|
||||
|
||||
m_align_combo = new QComboBox;
|
||||
// i18n: "Fixed" here means that the alignment is always the same
|
||||
m_align_combo->addItem(tr("Fixed Alignment"));
|
||||
m_align_combo->addItem(tr("Type-based Alignment"), 0);
|
||||
m_align_combo->addItem(tr("No Alignment"), 1);
|
||||
|
Reference in New Issue
Block a user