Skip to content

Commit 690b0c8

Browse files
authored
Merge pull request #26531 from musescore/ci_lupdate_master
Update in-repo translation source files
2 parents c9c8cf4 + d8b606a commit 690b0c8

13 files changed

+1623
-1497
lines changed

share/locale/musescore_en.ts

Lines changed: 1589 additions & 1463 deletions
Large diffs are not rendered by default.

src/instrumentsscene/qml/MuseScore/InstrumentsScene/LayoutPanel.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ Item {
131131

132132
text: Boolean(treeModel.addInstrumentsKeyboardShortcut)
133133
//: Keep in sync with the text of the "Add" button at the top of the Layout panel (LayoutControlPanel.qml)
134-
? qsTrc("layout", "There are no instruments in your score. To choose some, press <b>Add</b>, or use the keyboard shortcut %1.")
134+
? qsTrc("layoutpanel", "There are no instruments in your score. To choose some, press <b>Add</b>, or use the keyboard shortcut %1.")
135135
.arg("<b>" + treeModel.addInstrumentsKeyboardShortcut + "</b>")
136136
//: Keep in sync with the text of the "Add" button at the top of the Layout panel (LayoutControlPanel.qml)
137-
: qsTrc("layout", "There are no instruments in your score. To choose some, press <b>Add</b>.")
137+
: qsTrc("layoutpanel", "There are no instruments in your score. To choose some, press <b>Add</b>.")
138138
visible: treeModel.isEmpty && treeModel.isAddingAvailable
139139

140140
verticalAlignment: Qt.AlignTop

src/instrumentsscene/qml/MuseScore/InstrumentsScene/internal/LayoutControlPanel.qml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ RowLayout {
8787

8888
toolTipTitle: {
8989
switch(root.selectedItemsType) {
90-
case LayoutPanelItemType.PART: return qsTrc("layout", "Move selected instruments up")
91-
case LayoutPanelItemType.STAFF: return qsTrc("layout", "Move selected staves up")
92-
case LayoutPanelItemType.SYSTEM_OBJECTS_LAYER: return qsTrc("layout", "Move selected system objects up")
90+
case LayoutPanelItemType.PART: return qsTrc("layoutpanel", "Move selected instruments up")
91+
case LayoutPanelItemType.STAFF: return qsTrc("layoutpanel", "Move selected staves up")
92+
case LayoutPanelItemType.SYSTEM_OBJECTS_LAYER: return qsTrc("layoutpanel", "Move selected system objects up")
9393
default: return ""
9494
}
9595
}
@@ -112,9 +112,9 @@ RowLayout {
112112

113113
toolTipTitle: {
114114
switch(root.selectedItemsType) {
115-
case LayoutPanelItemType.PART: return qsTrc("layout", "Move selected instruments down")
116-
case LayoutPanelItemType.STAFF: return qsTrc("layout", "Move selected staves down")
117-
case LayoutPanelItemType.SYSTEM_OBJECTS_LAYER: return qsTrc("layout", "Move selected system objects down")
115+
case LayoutPanelItemType.PART: return qsTrc("layoutpanel", "Move selected instruments down")
116+
case LayoutPanelItemType.STAFF: return qsTrc("layoutpanel", "Move selected staves down")
117+
case LayoutPanelItemType.SYSTEM_OBJECTS_LAYER: return qsTrc("layoutpanel", "Move selected system objects down")
118118
default: return ""
119119
}
120120
}
@@ -137,9 +137,9 @@ RowLayout {
137137

138138
toolTipTitle: {
139139
switch(root.selectedItemsType) {
140-
case LayoutPanelItemType.PART: return qsTrc("layout", "Remove selected instruments")
141-
case LayoutPanelItemType.STAFF: return qsTrc("layout", "Remove selected staves")
142-
case LayoutPanelItemType.SYSTEM_OBJECTS_LAYER: return qsTrc("layout", "Remove selected system objects")
140+
case LayoutPanelItemType.PART: return qsTrc("layoutpanel", "Remove selected instruments")
141+
case LayoutPanelItemType.STAFF: return qsTrc("layoutpanel", "Remove selected staves")
142+
case LayoutPanelItemType.SYSTEM_OBJECTS_LAYER: return qsTrc("layoutpanel", "Remove selected system objects")
143143
default: return ""
144144
}
145145
}

src/instrumentsscene/qml/MuseScore/InstrumentsScene/internal/LayoutPanelAddButton.qml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ MenuButton {
3232
signal addSystemMarkingsRequested()
3333

3434
//: Keep in sync with the message that appears if there are no instruments in the score (LayoutPanel.qml)
35-
text: qsTrc("global", "Add")
35+
text: qsTrc("layoutpanel", "Add")
3636

3737
navigation.name: "Add"
38-
accessible.name: qsTrc("layout", "Add instruments or system markings")
38+
accessible.name: qsTrc("layoutpanel", "Add instruments or system markings")
3939

4040
icon: IconCode.NONE
4141
transparent: false
4242
accentButton: false
4343

4444
menuModel: [
45-
{ id: "ADD_INSTRUMENT", title: qsTrc("layout", "New instrument") },
45+
{ id: "ADD_INSTRUMENT", title: qsTrc("layoutpanel", "New instrument") },
4646
{},
47-
{ id: "ADD_SYSTEM_MARKINGS", title: qsTrc("layout", "System markings (tempo, rehearsal, etc.)") },
47+
{ id: "ADD_SYSTEM_MARKINGS", title: qsTrc("layoutpanel", "System markings (tempo, rehearsal, etc.)") },
4848
]
4949

5050
onHandleMenuItem: function(itemId) {

src/instrumentsscene/qml/MuseScore/InstrumentsScene/internal/LayoutPanelItemDelegate.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ FocusableControl {
309309
navigation.panel: root.navigation.panel
310310
navigation.row: root.navigation.row
311311
navigation.column: 3
312-
navigation.accessible.name: qsTrc("layout", "Settings")
312+
navigation.accessible.name: qsTrc("layoutpanel", "Settings")
313313

314314
icon: IconCode.SETTINGS_COG
315315

src/instrumentsscene/qml/MuseScore/InstrumentsScene/internal/StaffSettingsPopup.qml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ StyledPopupView {
6464

6565
StyledTextLabel {
6666
id: typeLabel
67-
text: qsTrc("layout", "Staff type")
67+
text: qsTrc("layoutpanel", "Staff type")
6868
}
6969

7070
StyledDropdown {
@@ -91,7 +91,7 @@ StyledPopupView {
9191

9292
StyledTextLabel {
9393
visible: !settingsModel.isMainScore
94-
text: qsTrc("layout", "Voices visible in the score")
94+
text: qsTrc("layoutpanel", "Voices visible in the score")
9595
}
9696

9797
Row {
@@ -140,7 +140,7 @@ StyledPopupView {
140140
navigation.panel: root.navigationPanel
141141
navigation.row: 20 // Should be more than a voices checkbox
142142

143-
text: qsTrc("layout", "Small staff")
143+
text: qsTrc("layoutpanel", "Small staff")
144144
checked: settingsModel.isSmallStaff
145145

146146
onClicked: {
@@ -156,7 +156,7 @@ StyledPopupView {
156156
navigation.panel: root.navigationPanel
157157
navigation.row: 21 // after small staff CheckBox
158158

159-
text: qsTrc("layout", "Hide all measures that do not contain notation (cutaway)")
159+
text: qsTrc("layoutpanel", "Hide all measures that do not contain notation (cutaway)")
160160

161161
checked: settingsModel.cutawayEnabled
162162

@@ -173,7 +173,7 @@ StyledPopupView {
173173
navigation.panel: root.navigationPanel
174174
navigation.row: 22 // after cutaway CheckBox
175175

176-
text: qsTrc("layout", "Create a linked staff")
176+
text: qsTrc("layoutpanel", "Create a linked staff")
177177

178178
onClicked: {
179179
settingsModel.createLinkedStaff()
@@ -184,7 +184,7 @@ StyledPopupView {
184184
StyledTextLabel {
185185
width: parent.width
186186

187-
text: qsTrc("layout", "Note: linked staves contain identical information.")
187+
text: qsTrc("layoutpanel", "Note: linked staves contain identical information.")
188188
wrapMode: Text.WordWrap
189189
}
190190
}

src/instrumentsscene/qml/MuseScore/InstrumentsScene/internal/SystemObjectsLayerSettingsPopup.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ StyledPopupView {
5454
spacing: 12
5555

5656
StyledTextLabel {
57-
text: qsTrc("layout", "Display at this position on the score")
57+
text: qsTrc("layoutpanel", "Display at this position on the score")
5858
font: ui.theme.bodyBoldFont
5959
}
6060

src/instrumentsscene/view/layoutpanelcontextmenumodel.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ MenuItem* LayoutPanelContextMenuModel::createInstrumentsOrderingItem()
179179
}
180180
}
181181

182-
return makeMenu(TranslatableString("layout", "Instrument ordering"), orderItems, ORDERING_MENU_ID);
182+
return makeMenu(TranslatableString("layoutpanel", "Instrument ordering"), orderItems, ORDERING_MENU_ID);
183183
}
184184

185185
MenuItem* LayoutPanelContextMenuModel::createExpandCollapseAllItem(bool expand)
@@ -189,8 +189,8 @@ MenuItem* LayoutPanelContextMenuModel::createExpandCollapseAllItem(bool expand)
189189

190190
UiAction action;
191191
action.title = expand
192-
? TranslatableString("layout", "Expand all instruments")
193-
: TranslatableString("layout", "Collapse all instruments");
192+
? TranslatableString("layoutpanel", "Expand all instruments")
193+
: TranslatableString("layoutpanel", "Collapse all instruments");
194194
action.code = expand ? EXPAND_ALL_CODE : COLLAPSE_ALL_CODE;
195195
item->setAction(action);
196196

src/instrumentsscene/view/layoutpaneltreemodel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -863,12 +863,12 @@ bool LayoutPanelTreeModel::warnAboutRemovingInstrumentsIfNecessary(int count)
863863
//: Please omit `%n` in the translation in this case; it's only there so that you
864864
//: have the possibility to provide translations with the correct numerus form,
865865
//: i.e. to show "instrument" or "instruments" as appropriate.
866-
muse::trc("layout", "Are you sure you want to delete the selected %n instrument(s)?", nullptr, count),
866+
muse::trc("layoutpanel", "Are you sure you want to delete the selected %n instrument(s)?", nullptr, count),
867867

868868
//: Please omit `%n` in the translation in this case; it's only there so that you
869869
//: have the possibility to provide translations with the correct numerus form,
870870
//: i.e. to show "instrument" or "instruments" as appropriate.
871-
muse::trc("layout", "This will remove the %n instrument(s) from the full score and all part scores.", nullptr, count),
871+
muse::trc("layoutpanel", "This will remove the %n instrument(s) from the full score and all part scores.", nullptr, count),
872872

873873
{ IInteractive::Button::No, IInteractive::Button::Yes })
874874
.standardButton() == IInteractive::Button::Yes;

src/instrumentsscene/view/parttreeitem.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ void PartTreeItem::replaceInstrument()
236236

237237
void PartTreeItem::resetAllFormatting()
238238
{
239-
std::string title = muse::trc("layout", "Are you sure you want to reset all formatting?");
240-
std::string body = muse::trc("layout", "This action can not be undone");
239+
std::string title = muse::trc("layoutpanel", "Are you sure you want to reset all formatting?");
240+
std::string body = muse::trc("layoutpanel", "This action can not be undone");
241241

242242
IInteractive::Button button = interactive()->question(title, body, {
243243
IInteractive::Button::No,

0 commit comments

Comments
 (0)