Possibly got everything transfered over to i18n

This commit is contained in:
Ly-sec
2025-09-24 13:47:59 +02:00
parent 2285a3fb18
commit df70f0c824
32 changed files with 522 additions and 176 deletions
+12 -12
View File
@@ -143,7 +143,7 @@ Popup {
}
NText {
text: "Color picker"
text: I18n.tr("widgets.color-picker.title")
font.pointSize: Style.fontSizeXL * scaling
font.weight: Style.fontWeightBold
color: Color.mPrimary
@@ -206,8 +206,8 @@ Popup {
spacing: Style.marginM * scaling
NLabel {
label: "Hex color"
description: "Enter a hexadecimal color code."
label: I18n.tr("widgets.color-picker.hex.label")
description: I18n.tr("widgets.color-picker.hex.description")
Layout.fillWidth: true
}
@@ -235,8 +235,8 @@ Popup {
spacing: Style.marginM * scaling
NLabel {
label: "RGB values"
description: "Adjust red, green, blue, and brightness values."
label: I18n.tr("widgets.color-picker.rgb.label")
description: I18n.tr("widgets.color-picker.rgb.description")
Layout.fillWidth: true
}
@@ -325,7 +325,7 @@ Popup {
spacing: Style.marginM * scaling
NText {
text: "Brightness"
text: I18n.tr("widgets.color-picker.brightness")
font.weight: Font.Bold
Layout.preferredWidth: 80 * scaling
}
@@ -371,8 +371,8 @@ Popup {
spacing: Style.marginS * scaling
NLabel {
label: "Theme colors"
description: "Quick access to your theme's color palette."
label: I18n.tr("widgets.color-picker.theme-colors.label")
description: I18n.tr("widgets.color-picker.theme-colors.description")
Layout.fillWidth: true
}
@@ -419,8 +419,8 @@ Popup {
spacing: Style.marginS * scaling
NLabel {
label: "Palette"
description: "Choose from a wide range of predefined colors."
label: I18n.tr("widgets.color-picker.palette.label")
description: I18n.tr("widgets.color-picker.palette.description")
Layout.fillWidth: true
}
@@ -469,7 +469,7 @@ Popup {
NButton {
id: cancelButton
text: "Cancel"
text: I18n.tr("widgets.color-picker.cancel")
outlined: cancelButton.hovered ? false : true
onClicked: {
root.close()
@@ -477,7 +477,7 @@ Popup {
}
NButton {
text: "Apply"
text: I18n.tr("widgets.color-picker.apply")
icon: "check"
onClicked: {
root.colorSelected(root.selectedColor)