mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-04 12:52:06 -04:00
Added Missing i18n strings (#1729)
* inverted dock visibility and position option * added missing I18n strings * added missing i18n strings * added i18n strings * Added missing i18n strings * updated translations * Update it.json
This commit is contained in:
@@ -41,7 +41,7 @@ Card {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
StyledText {
|
||||
text: UserInfoService.username || "brandon"
|
||||
text: UserInfoService.username || I18n.tr("brandon")
|
||||
font.pixelSize: Theme.fontSizeLarge
|
||||
font.weight: Font.Medium
|
||||
color: Theme.surfaceText
|
||||
@@ -64,18 +64,18 @@ Card {
|
||||
StyledText {
|
||||
text: {
|
||||
if (CompositorService.isNiri)
|
||||
return "on niri";
|
||||
return I18n.tr("on Niri");
|
||||
if (CompositorService.isHyprland)
|
||||
return "on Hyprland";
|
||||
return I18n.tr("on Hyprland");
|
||||
// technically they might not be on mangowc, but its what we support in the docs
|
||||
if (CompositorService.isDwl)
|
||||
return "on MangoWC";
|
||||
return I18n.tr("on MangoWC");
|
||||
if (CompositorService.isSway)
|
||||
return "on Sway";
|
||||
return I18n.tr("on Sway");
|
||||
if (CompositorService.isScroll)
|
||||
return "on Scroll";
|
||||
return I18n.tr("on Scroll");
|
||||
if (CompositorService.isMiracle)
|
||||
return "on Miracle WM";
|
||||
return I18n.tr("on Miracle WM");
|
||||
return "";
|
||||
}
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
@@ -99,7 +99,7 @@ Card {
|
||||
}
|
||||
|
||||
StyledText {
|
||||
text: DgopService.shortUptime || "up"
|
||||
text: DgopService.shortUptime || I18n.tr("up")
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
color: Qt.rgba(Theme.surfaceText.r, Theme.surfaceText.g, Theme.surfaceText.b, 0.7)
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
Reference in New Issue
Block a user