mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
style adjustments & remove unnecessary tooltip
This commit is contained in:
@@ -1575,7 +1575,6 @@
|
||||
"click-to-start-recording": "Bildschirmrekorder (Aufnahme starten)",
|
||||
"click-to-stop-recording": "Bildschirmrekorder (Aufnahme stoppen)",
|
||||
"collapse": "Seitenleiste einklappen",
|
||||
"connect-disconnect-devices": "Bluetooth-Gerät",
|
||||
"copy-address": "Adresse kopieren",
|
||||
"delete-notification": "Benachrichtigung löschen",
|
||||
"do-not-disturb-enabled": "Nicht stören",
|
||||
|
||||
@@ -1575,7 +1575,6 @@
|
||||
"click-to-start-recording": "Screen recorder (start recording)",
|
||||
"click-to-stop-recording": "Screen recorder (stop recording)",
|
||||
"collapse": "Collapse sidebar",
|
||||
"connect-disconnect-devices": "Bluetooth device",
|
||||
"copy-address": "Copy address",
|
||||
"delete-notification": "Delete notification",
|
||||
"do-not-disturb-enabled": "Do Not Disturb",
|
||||
|
||||
@@ -1575,7 +1575,6 @@
|
||||
"click-to-start-recording": "Grabadora de pantalla (iniciar grabación)",
|
||||
"click-to-stop-recording": "Grabadora de pantalla (detener grabación)",
|
||||
"collapse": "Colapsar barra lateral",
|
||||
"connect-disconnect-devices": "Dispositivo Bluetooth",
|
||||
"copy-address": "Copiar dirección",
|
||||
"delete-notification": "Eliminar notificación",
|
||||
"do-not-disturb-enabled": "No molestar",
|
||||
|
||||
@@ -1575,7 +1575,6 @@
|
||||
"click-to-start-recording": "Enregistreur d'écran (démarrer l'enregistrement)",
|
||||
"click-to-stop-recording": "Enregistreur d'écran (arrêter l'enregistrement)",
|
||||
"collapse": "Réduire la barre latérale",
|
||||
"connect-disconnect-devices": "Appareil Bluetooth",
|
||||
"copy-address": "Copier l'adresse",
|
||||
"delete-notification": "Supprimer la notification",
|
||||
"do-not-disturb-enabled": "Ne pas déranger",
|
||||
|
||||
@@ -1575,7 +1575,6 @@
|
||||
"click-to-start-recording": "Képernyőfelvevő (felvétel indítása)",
|
||||
"click-to-stop-recording": "Képernyőfelvevő (felvétel leállítása)",
|
||||
"collapse": "Oldalsáv összecsukása",
|
||||
"connect-disconnect-devices": "Bluetooth eszköz",
|
||||
"copy-address": "Cím másolása",
|
||||
"delete-notification": "Értesítés törlése",
|
||||
"do-not-disturb-enabled": "Ne zavarjanak",
|
||||
|
||||
@@ -1575,7 +1575,6 @@
|
||||
"click-to-start-recording": "画面録画(録画開始)",
|
||||
"click-to-stop-recording": "画面録画(録画停止)",
|
||||
"collapse": "サイドバーを折りたたむ",
|
||||
"connect-disconnect-devices": "Bluetooth デバイス",
|
||||
"copy-address": "アドレスをコピー",
|
||||
"delete-notification": "通知を削除",
|
||||
"do-not-disturb-enabled": "おやすみモード",
|
||||
|
||||
@@ -1575,7 +1575,6 @@
|
||||
"click-to-start-recording": "Tomarkarê dîmenderê (dest bi tomarkirinê bike)",
|
||||
"click-to-stop-recording": "Tomarkarê dîmenderê (tomarkirinê rawestîne)",
|
||||
"collapse": "Sidebarê veşêre",
|
||||
"connect-disconnect-devices": "Amûra Bluetooth",
|
||||
"copy-address": "Navnîşana kopî bike",
|
||||
"delete-notification": "Agahdariyê jê bibe",
|
||||
"do-not-disturb-enabled": "Dengê dernexîne",
|
||||
|
||||
@@ -1575,7 +1575,6 @@
|
||||
"click-to-start-recording": "Schermrecorder (opname starten)",
|
||||
"click-to-stop-recording": "Schermrecorder (opname stoppen)",
|
||||
"collapse": "Zijbalk inklappen",
|
||||
"connect-disconnect-devices": "Bluetooth-apparaat",
|
||||
"copy-address": "Adres kopiëren",
|
||||
"delete-notification": "Melding verwijderen",
|
||||
"do-not-disturb-enabled": "Niet storen",
|
||||
|
||||
@@ -1575,7 +1575,6 @@
|
||||
"click-to-start-recording": "Nagrywanie ekranu (start)",
|
||||
"click-to-stop-recording": "Nagrywanie ekranu (stop)",
|
||||
"collapse": "Zwiń pasek boczny",
|
||||
"connect-disconnect-devices": "Urządzenie Bluetooth",
|
||||
"copy-address": "Kopiuj adres",
|
||||
"delete-notification": "Usuń powiadomienie",
|
||||
"do-not-disturb-enabled": "Nie przeszkadzać",
|
||||
|
||||
@@ -1575,7 +1575,6 @@
|
||||
"click-to-start-recording": "Gravador de tela (iniciar gravação)",
|
||||
"click-to-stop-recording": "Gravador de tela (parar gravação)",
|
||||
"collapse": "Recolher barra lateral",
|
||||
"connect-disconnect-devices": "Dispositivo Bluetooth",
|
||||
"copy-address": "Copiar endereço",
|
||||
"delete-notification": "Excluir notificação",
|
||||
"do-not-disturb-enabled": "Não perturbe",
|
||||
|
||||
@@ -1575,7 +1575,6 @@
|
||||
"click-to-start-recording": "Запись экрана (начать запись)",
|
||||
"click-to-stop-recording": "Запись экрана (остановить запись)",
|
||||
"collapse": "Свернуть боковую панель",
|
||||
"connect-disconnect-devices": "Устройство Bluetooth",
|
||||
"copy-address": "Копировать адрес",
|
||||
"delete-notification": "Удалить уведомление",
|
||||
"do-not-disturb-enabled": "Не беспокоить",
|
||||
|
||||
@@ -1575,7 +1575,6 @@
|
||||
"click-to-start-recording": "Ekran kaydedici (kaydı başlat)",
|
||||
"click-to-stop-recording": "Ekran kaydedici (kaydı durdur)",
|
||||
"collapse": "Kenar çubuğunu daralt",
|
||||
"connect-disconnect-devices": "Bluetooth cihazı",
|
||||
"copy-address": "Adresi kopyala",
|
||||
"delete-notification": "Bildiriyi sil",
|
||||
"do-not-disturb-enabled": "Rahatsız etme",
|
||||
|
||||
@@ -1575,7 +1575,6 @@
|
||||
"click-to-start-recording": "Запис екрана (почати запис)",
|
||||
"click-to-stop-recording": "Запис екрана (зупинити запис)",
|
||||
"collapse": "Згорнути бічну панель",
|
||||
"connect-disconnect-devices": "Пристрій Bluetooth",
|
||||
"copy-address": "Копіювати адресу",
|
||||
"delete-notification": "Видалити сповіщення",
|
||||
"do-not-disturb-enabled": "Не турбувати",
|
||||
|
||||
@@ -1575,7 +1575,6 @@
|
||||
"click-to-start-recording": "屏幕录制器(开始录制)",
|
||||
"click-to-stop-recording": "屏幕录制器(停止录制)",
|
||||
"collapse": "折叠侧边栏",
|
||||
"connect-disconnect-devices": "蓝牙设备",
|
||||
"copy-address": "复制地址",
|
||||
"delete-notification": "删除通知",
|
||||
"do-not-disturb-enabled": "勿扰模式",
|
||||
|
||||
@@ -82,7 +82,7 @@ NBox {
|
||||
function getContentColor(defaultColor = Color.mOnSurface) {
|
||||
if (modelData.pairing || modelData.state === BluetoothDeviceState.Connecting)
|
||||
return Color.mPrimary;
|
||||
if (modelData.blocked)
|
||||
if (modelData.blocked || modelData.state === BluetoothDeviceState.Disconnecting)
|
||||
return Color.mError;
|
||||
return defaultColor;
|
||||
}
|
||||
@@ -92,7 +92,7 @@ NBox {
|
||||
radius: Style.radiusM
|
||||
clip: true
|
||||
|
||||
color: (modelData.pairing || modelData.state === BluetoothDeviceState.Connecting || modelData.connected || modelData.blocked) ? Qt.alpha(getContentColor(), 0.08) : Color.mSurface
|
||||
color: (modelData.connected && modelData.state !== BluetoothDeviceState.Disconnecting) ? Qt.alpha(getContentColor(), 0.08) : Color.mSurface
|
||||
|
||||
// Content column so expanded details are laid out inside the card
|
||||
ColumnLayout {
|
||||
|
||||
@@ -169,7 +169,6 @@ SmartPanel {
|
||||
// Paired devices
|
||||
BluetoothDevicesList {
|
||||
label: I18n.tr("bluetooth.panel.paired-devices")
|
||||
tooltipText: I18n.tr("tooltips.connect-disconnect-devices")
|
||||
headerMode: "layout"
|
||||
property var items: {
|
||||
if (!BluetoothService.adapter || !BluetoothService.adapter.devices)
|
||||
@@ -338,6 +337,10 @@ SmartPanel {
|
||||
anchors.margins: Style.marginM
|
||||
spacing: Style.marginL
|
||||
|
||||
Item {
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
spacing: Style.marginXS
|
||||
@@ -371,6 +374,10 @@ SmartPanel {
|
||||
Layout.fillWidth: true
|
||||
wrapMode: Text.WordWrap
|
||||
}
|
||||
|
||||
Item {
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user