Audit "instruments" strings
This commit is contained in:
parent
322d12a99e
commit
f253dfbf25
|
@ -116,7 +116,9 @@ Item {
|
|||
Layout.leftMargin: 20
|
||||
Layout.rightMargin: 20
|
||||
|
||||
text: qsTrc("instruments", "There are no instruments in your score. To choose some, press <b>Add</b>, or use the shortcut <b>‘i’</b>")
|
||||
//: Text between %1 and %2 will be printed in a bold font.
|
||||
text: qsTrc("instruments", "There are no instruments in your score. To choose some, press %1Add%2, or use the shortcut %1‘i’%2")
|
||||
.arg("<b>").arg("</b>")
|
||||
visible: instrumentsTreeModel.isEmpty && instrumentsTreeModel.isAddingAvailable
|
||||
|
||||
verticalAlignment: Qt.AlignTop
|
||||
|
|
|
@ -107,7 +107,7 @@ Item {
|
|||
|
||||
currentIndex: instrumentsOnScoreModel.currentOrderIndex
|
||||
|
||||
displayText: qsTrc("instruments", "Order: ") + currentText
|
||||
displayText: qsTrc("instruments", "Order:") + " " + currentText
|
||||
|
||||
onActivated: function(index, value) {
|
||||
instrumentsOnScoreModel.currentOrderIndex = index
|
||||
|
@ -168,7 +168,7 @@ Item {
|
|||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
text: model.isSoloist ? qsTrc("instruments", "Soloist: ") + model.name : model.name
|
||||
text: model.isSoloist ? qsTrc("instruments", "Soloist:") + " " + model.name : model.name
|
||||
font: ui.theme.bodyBoldFont
|
||||
}
|
||||
|
||||
|
|
|
@ -55,6 +55,8 @@ void StaffTreeItem::init(const Staff* masterStaff)
|
|||
}
|
||||
|
||||
QString staffName = staff->staffName();
|
||||
|
||||
//: Prefix for the display name for a linked staff. Preferably, keep this short.
|
||||
QString title = masterStaff->isLinked() ? qtrc("instruments", "[LINK] %1").arg(staffName) : staffName;
|
||||
|
||||
setId(staff->id());
|
||||
|
|
Loading…
Reference in a new issue