1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-27 15:02:50 -05:00

i18n: Add japanese + i18n service

This commit is contained in:
bbedward
2025-10-08 16:25:06 -04:00
parent 3909ce3350
commit ed1a5bfded
88 changed files with 3778 additions and 944 deletions

View File

@@ -76,7 +76,7 @@ Column {
}
StyledText {
text: qsTr("No items added yet")
text: I18n.tr("No items added yet")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
visible: root.items.length === 0
@@ -111,7 +111,7 @@ Column {
StyledText {
anchors.centerIn: parent
text: qsTr("Remove")
text: I18n.tr("Remove")
color: Theme.errorText
font.pixelSize: Theme.fontSizeSmall
font.weight: Font.Medium

View File

@@ -123,7 +123,7 @@ Column {
id: addButton
width: 50
height: 36
text: qsTr("Add")
text: I18n.tr("Add")
onClicked: {
let newItem = {}
@@ -159,7 +159,7 @@ Column {
}
StyledText {
text: qsTr("Current Items")
text: I18n.tr("Current Items")
font.pixelSize: Theme.fontSizeMedium
font.weight: Font.Medium
color: Theme.surfaceText
@@ -227,7 +227,7 @@ Column {
StyledText {
anchors.centerIn: parent
text: qsTr("Remove")
text: I18n.tr("Remove")
color: Theme.onError
font.pixelSize: Theme.fontSizeSmall
font.weight: Font.Medium
@@ -247,7 +247,7 @@ Column {
}
StyledText {
text: qsTr("No items added yet")
text: I18n.tr("No items added yet")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
visible: root.items.length === 0

View File

@@ -98,7 +98,7 @@ Item {
id: errorText
visible: pluginService && !root.hasPermission
anchors.fill: parent
text: "This plugin does not have 'settings_write' permission.\n\nAdd \"permissions\": [\"settings_read\", \"settings_write\"] to plugin.json"
text: qsTr("This plugin does not have 'settings_write' permission.\n\nAdd \"permissions\": [\"settings_read\", \"settings_write\"] to plugin.json")
color: Theme.error
font.pixelSize: Theme.fontSizeMedium
wrapMode: Text.WordWrap