Minor string cleanup (#248)

- Simplified some strings to not include unnecessary markup.
- Fix translator comments so that they actually make it to glabels_C.ts file
      - Reconciled the style of these comments.
      - Added translator comments
This commit is contained in:
Jaye Evins
2025-11-10 17:46:07 -05:00
committed by GitHub
parent e6e08872e0
commit 9d516b7e1f
12 changed files with 78 additions and 60 deletions
+4 -2
View File
@@ -921,7 +921,8 @@ namespace glabels
if ( mUndoRedoModel->canUndo() )
{
editUndoAction->setEnabled( true );
/* Translators: %1 is the action description to undo. */
// TRANSLATORS
//: %1 is the action name/description (e.g. move, delete, ...) to undo.
editUndoAction->setText( QString( tr("Undo %1") ).arg( mUndoRedoModel->undoDescription() ) );
}
else
@@ -932,7 +933,8 @@ namespace glabels
if ( mUndoRedoModel->canRedo() )
{
editRedoAction->setEnabled( true );
/* Translators: %1 is the action description to redo. */
// TRANSLATORS
//: %1 is the action name/description (e.g. move, delete, ...) to redo.
editRedoAction->setText( QString( tr("Redo %1") ).arg( mUndoRedoModel->redoDescription() ) );
}
else