diff options
-rw-r--r-- | src/dialogs/DefaultFontDialog.qml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/dialogs/DefaultFontDialog.qml b/src/dialogs/DefaultFontDialog.qml index b96c0f90..23618e3b 100644 --- a/src/dialogs/DefaultFontDialog.qml +++ b/src/dialogs/DefaultFontDialog.qml @@ -199,15 +199,15 @@ AbstractFontDialog { TableViewColumn { id: weightColumn; role: "name"; title: qsTr("Weight") } model: ListModel { id: weightModel - ListElement { name: "Thin"; weight: Font.Thin } - ListElement { name: "ExtraLight"; weight: Font.ExtraLight } - ListElement { name: "Light"; weight: Font.Light } - ListElement { name: "Normal"; weight: Font.Normal } - ListElement { name: "Medium"; weight: Font.Medium } - ListElement { name: "DemiBold"; weight: Font.DemiBold } - ListElement { name: "Bold"; weight: Font.Bold } - ListElement { name: "ExtraBold"; weight: Font.ExtraBold } - ListElement { name: "Black"; weight: Font.Black } + ListElement { name: qsTr("Thin"); weight: Font.Thin } + ListElement { name: qsTr("ExtraLight"); weight: Font.ExtraLight } + ListElement { name: qsTr("Light"); weight: Font.Light } + ListElement { name: qsTr("Normal"); weight: Font.Normal } + ListElement { name: qsTr("Medium"); weight: Font.Medium } + ListElement { name: qsTr("DemiBold"); weight: Font.DemiBold } + ListElement { name: qsTr("Bold"); weight: Font.Bold } + ListElement { name: qsTr("ExtraBold"); weight: Font.ExtraBold } + ListElement { name: qsTr("Black"); weight: Font.Black } Component.onCompleted: weightListView.reset() function findIndex() { var currentRow = 1 |