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:
@@ -265,7 +265,7 @@ namespace glabels
|
||||
mColorNode = newColorNode;
|
||||
|
||||
// TRANSLATORS
|
||||
//: %1 = color specification in hex. String must not contain a colon (:).
|
||||
//: %1 = color specification in hex. String must not contain a colon (:).
|
||||
mColorHistory->addColor( mColorNode.color(),
|
||||
QString(tr("Custom Color %1")).arg(mColorNode.color().name()) );
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1580,6 +1580,8 @@ namespace glabels
|
||||
QMessageBox msgBox( wizard() );
|
||||
msgBox.setWindowTitle( tr("Save Product Template") );
|
||||
msgBox.setIcon( QMessageBox::Warning );
|
||||
// TRANSLATORS
|
||||
//: %1 = brand name of product (e.g. Avery), %2 = part number of product (e.g. 5026).
|
||||
msgBox.setText( tr("User product template (%1 %2) already exists.").arg(brand).arg(part) );
|
||||
msgBox.setInformativeText( tr("Do you want to replace it?") );
|
||||
msgBox.setStandardButtons( QMessageBox::Yes | QMessageBox::No );
|
||||
|
||||
+11
-6
@@ -263,7 +263,8 @@
|
||||
<string>Uncollated (e.g. 1,1,1 2,2,2 3,3,3)</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="glabels-uncollated"/>
|
||||
<iconset theme="glabels-uncollated">
|
||||
<normaloff>.</normaloff>.</iconset>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
@@ -271,7 +272,8 @@
|
||||
<string>Collated (e.g. 1,2,3 1,2,3 1,2,3)</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="glabels-collated"/>
|
||||
<iconset theme="glabels-collated">
|
||||
<normaloff>.</normaloff>.</iconset>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
@@ -292,7 +294,8 @@
|
||||
<string>Merge groups are contiguous</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="glabels-merge-group-contiguous"/>
|
||||
<iconset theme="glabels-merge-group-contiguous">
|
||||
<normaloff>.</normaloff>.</iconset>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
@@ -300,7 +303,8 @@
|
||||
<string>Merge groups start on a new page</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="glabels-merge-group-page"/>
|
||||
<iconset theme="glabels-merge-group-page">
|
||||
<normaloff>.</normaloff>.</iconset>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
@@ -448,7 +452,8 @@
|
||||
<string>Print...</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="glabels-print"/>
|
||||
<iconset theme="glabels-print">
|
||||
<normaloff>.</normaloff>.</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
@@ -491,7 +496,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true"><html><head/><body><p>(Will print a total of xxxx items on nnn pages.)</p></body></html></string>
|
||||
<string notr="true">(Will print a total of xxxx items on nnn pages.)</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
|
||||
@@ -248,7 +248,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Select another product for this gLabels project.</p></body></html></string>
|
||||
<string>Select another product for this gLabels project.</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">text-align:left; padding:3px;</string>
|
||||
@@ -257,7 +257,8 @@
|
||||
<string>Change product</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="glabels-select-product"/>
|
||||
<iconset theme="glabels-select-product">
|
||||
<normaloff>.</normaloff>.</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
@@ -351,7 +352,8 @@
|
||||
<string>Horizontal orientation</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="glabels-label-orientation-horiz"/>
|
||||
<iconset theme="glabels-label-orientation-horiz">
|
||||
<normaloff>.</normaloff>.</iconset>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
@@ -359,7 +361,8 @@
|
||||
<string>Vertical orientation</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="glabels-label-orientation-vert"/>
|
||||
<iconset theme="glabels-label-orientation-vert">
|
||||
<normaloff>.</normaloff>.</iconset>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string><html><head/><body><p>Click &quot;Cancel&quot; to quit, or click &quot;Back&quot; to begin with a different product.</p></body></html></string>
|
||||
<string>Click "Cancel" to quit, or click "Back" to begin with a different product.</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
|
||||
@@ -32,7 +32,10 @@
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string><html><head/><body><p>This dialog will help you create a custom product template. Let's get started:</p></body></html></string>
|
||||
<string>This dialog will help you create a custom product template. Let's get started:</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string><html><head/><body><p>Click &quot;Cancel&quot; to quit, or click &quot;Back&quot; to begin with a different product.</p></body></html></string>
|
||||
<string>Click "Cancel" to quit, or click "Back" to begin with a different product.</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
<item>
|
||||
<widget class="QPushButton" name="addButton">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Add variable</p></body></html></string>
|
||||
<string>Add variable</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Add</string>
|
||||
@@ -76,7 +76,7 @@
|
||||
<item>
|
||||
<widget class="QPushButton" name="editButton">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Edit selected variable</p></body></html></string>
|
||||
<string>Edit selected variable</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Edit</string>
|
||||
@@ -86,7 +86,7 @@
|
||||
<item>
|
||||
<widget class="QPushButton" name="deleteButton">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Delete selected variable</p></body></html></string>
|
||||
<string>Delete selected variable</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Delete</string>
|
||||
|
||||
Reference in New Issue
Block a user