1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-03 20:32:07 -04:00

i18n: wrap missing user-facing strings in I18n.tr() (#1624)

* fix: reverse rotation direction of sync icon in plugin browser

* i18n: wrap missing user-facing strings in I18n.tr()
This commit is contained in:
Jhannes Reimann
2026-02-09 01:18:17 +01:00
committed by GitHub
parent cc62aa4a9e
commit d775974a90
4 changed files with 4 additions and 4 deletions

View File

@@ -495,7 +495,7 @@ Item {
StyledText {
anchors.centerIn: parent
visible: wallpaperFolderModel.count === 0
text: "No wallpapers found\n\nClick the folder icon below to browse"
text: I18n.tr("No wallpapers found\n\nClick the folder icon below to browse")
font.pixelSize: 14
color: Theme.outline
horizontalAlignment: Text.AlignHCenter

View File

@@ -1209,7 +1209,7 @@ Item {
StyledText {
width: parent.width
text: "No apps have been launched yet."
text: I18n.tr("No apps have been launched yet.")
font.pixelSize: Theme.fontSizeMedium
color: Theme.surfaceVariantText
horizontalAlignment: Text.AlignHCenter

View File

@@ -270,7 +270,7 @@ FloatingWindow {
DankButton {
id: thirdPartyButton
text: SessionData.showThirdPartyPlugins ? "Hide 3rd Party" : "Show 3rd Party"
text: SessionData.showThirdPartyPlugins ? I18n.tr("Hide 3rd Party") : I18n.tr("Show 3rd Party")
iconName: SessionData.showThirdPartyPlugins ? "visibility_off" : "visibility"
height: 28
onClicked: {

View File

@@ -166,7 +166,7 @@ StyledRect {
}
StyledText {
text: "v" + root.pluginVersion + " by " + root.pluginAuthor
text: I18n.tr("v%1 by %2").arg(root.pluginVersion).arg(root.pluginAuthor)
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
width: parent.width