mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-29 06:27:47 -04:00
i18n: sync
This commit is contained in:
1 parent
7781c207f1
commit
1a46db0517
63 files changed
+3287
-3996
No files matched your search
@@ -46,7 +46,7 @@ Item {
|
||||
visible: !DgopService.dgopAvailable || root.mounts.length === 0
|
||||
iconName: DgopService.dgopAvailable ? "storage" : "error"
|
||||
iconColor: DgopService.dgopAvailable ? Theme.primary : Theme.error
|
||||
title: DgopService.dgopAvailable ? I18n.tr("No disk data available") : I18n.tr("dgop not available")
|
||||
title: DgopService.dgopAvailable ? I18n.tr("No disk data available") : I18n.tr("%1 not available", "%1 is a tool or environment variable name").arg("dgop")
|
||||
}
|
||||
|
||||
CcGroup {
|
||||
|
||||
@@ -133,7 +133,7 @@ Item {
|
||||
visible: !root.hasProfiles
|
||||
iconName: "vpn_key_off"
|
||||
title: I18n.tr("No VPN profiles")
|
||||
subtitle: I18n.tr("Click Import to add a .ovpn or .conf")
|
||||
subtitle: I18n.tr("Click Import to add a %1 or %2 file", "VPN import hint, %1 and %2 are file extensions").arg(".ovpn").arg(".conf")
|
||||
}
|
||||
|
||||
DListView {
|
||||
|
||||
@@ -385,7 +385,7 @@ QtObject {
|
||||
"type": "action",
|
||||
"category": "system",
|
||||
"enabled": DgopService.dgopAvailable,
|
||||
"warning": !DgopService.dgopAvailable ? I18n.tr("Requires 'dgop' tool") : undefined,
|
||||
"warning": !DgopService.dgopAvailable ? I18n.tr("Requires %1", "missing program").arg("dgop") : undefined,
|
||||
"allowMultiple": true
|
||||
},
|
||||
{
|
||||
|
||||
@@ -26,7 +26,7 @@ CcTile {
|
||||
}
|
||||
subtitle: {
|
||||
if (!DgopService.dgopAvailable)
|
||||
return I18n.tr("DMS_SOCKET not available");
|
||||
return I18n.tr("%1 not available", "%1 is a tool or environment variable name").arg("DMS_SOCKET");
|
||||
if (!selectedMount)
|
||||
return I18n.tr("No disk data available");
|
||||
return `${selectedMount.used} / ${selectedMount.size} (${usagePercent.toFixed(0)}%)`;
|
||||
|
||||
Reference in new issue
Block a user