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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user