From 8af06022f04937f152074c09e75aa40a2078ee04 Mon Sep 17 00:00:00 2001 From: kateleet Date: Tue, 21 Dec 2021 23:15:14 +0800 Subject: [PATCH] feat(sound): add title --- src/qml/Sound/Main.qml | 18 ++++++++++++++++++ translations/en_US.ts | 10 ++++++++++ translations/zh_CN.ts | 10 ++++++++++ 3 files changed, 38 insertions(+) diff --git a/src/qml/Sound/Main.qml b/src/qml/Sound/Main.qml index 4469c6d..de328ef 100644 --- a/src/qml/Sound/Main.qml +++ b/src/qml/Sound/Main.qml @@ -80,6 +80,13 @@ ItemPage { id: layout anchors.fill: parent + Label { + text: qsTr("Output Devices") + leftPadding: FishUI.Units.largeSpacing + bottomPadding: FishUI.Units.smallSpacing + color: FishUI.Theme.disabledTextColor + } + // Playback Devices ListView { id: sinks @@ -161,6 +168,13 @@ ItemPage { height: FishUI.Units.largeSpacing * 2 } + Label { + text: qsTr("Input Devices") + leftPadding: FishUI.Units.largeSpacing + bottomPadding: FishUI.Units.smallSpacing + color: FishUI.Theme.disabledTextColor + } + // Recording Devices ListView { id: sinkInputView @@ -230,6 +244,10 @@ ItemPage { } } } + + Item { + height: FishUI.Units.largeSpacing * 2 + } } } } diff --git a/translations/en_US.ts b/translations/en_US.ts index 66b9b71..0ec7ee4 100644 --- a/translations/en_US.ts +++ b/translations/en_US.ts @@ -777,6 +777,16 @@ Sound + + + Output Devices + + + + + Input Devices + + Default Applications diff --git a/translations/zh_CN.ts b/translations/zh_CN.ts index 7ede622..e221d5b 100644 --- a/translations/zh_CN.ts +++ b/translations/zh_CN.ts @@ -777,6 +777,16 @@ Sound 声音 + + + Output Devices + 输出设备 + + + + Input Devices + 输入设备 + Default Applications