mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-15 02:02:08 -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 {
|
StyledText {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
visible: wallpaperFolderModel.count === 0
|
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
|
font.pixelSize: 14
|
||||||
color: Theme.outline
|
color: Theme.outline
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
|||||||
@@ -1209,7 +1209,7 @@ Item {
|
|||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
text: "No apps have been launched yet."
|
text: I18n.tr("No apps have been launched yet.")
|
||||||
font.pixelSize: Theme.fontSizeMedium
|
font.pixelSize: Theme.fontSizeMedium
|
||||||
color: Theme.surfaceVariantText
|
color: Theme.surfaceVariantText
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
|||||||
@@ -270,7 +270,7 @@ FloatingWindow {
|
|||||||
|
|
||||||
DankButton {
|
DankButton {
|
||||||
id: thirdPartyButton
|
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"
|
iconName: SessionData.showThirdPartyPlugins ? "visibility_off" : "visibility"
|
||||||
height: 28
|
height: 28
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ StyledRect {
|
|||||||
}
|
}
|
||||||
|
|
||||||
StyledText {
|
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
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
color: Theme.surfaceVariantText
|
color: Theme.surfaceVariantText
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
|||||||
Reference in New Issue
Block a user