Commit 6ada3a36 authored by Nate Graham's avatar Nate Graham
Browse files

[kcms/access] Do some final UI, text, and code cleanup

parent c275bf35
[Desktop Entry]
Type=Service
Name=KDE Accessibility Tool
Name=Accessibility
Name[af]=KDE toeganklikheid program
Name[ar]=أداة كدي للإتاحة
Name[ast]=Ferramienta d'accesibilidá de KDE
......
......@@ -51,7 +51,7 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char * argv[])
// we need an application object for QX11Info
QApplication app(argc, argv);
KAboutData about(QStringLiteral("kaccess"), QString(), i18n("KDE Accessibility Tool"),
KAboutData about(QStringLiteral("kaccess"), QString(), i18n("Accessibility"),
{}, KAboutLicense::GPL_V2,
i18n("(c) 2000, Matthias Hoelzer-Kluepfel"));
......
......@@ -105,7 +105,7 @@ Name[x-test]=xxAccessibilityxx
Name[zh_CN]=辅助功能
Name[zh_TW]=無障礙輔助
Comment=Accessibility Options
Comment=Configure Accessibility Options
Comment[ar]=خيارات الإتاحة
Comment[az]=Xüsusi imkanlar Seçimi
Comment[bs]=Opcije pristupa
......
......@@ -164,7 +164,7 @@ KAccessConfig::KAccessConfig(QObject *parent, const QVariantList& args)
qmlRegisterType<ScreenReaderSettings>();
KAboutData *about =
new KAboutData(QStringLiteral("kcmaccess"), i18n("KDE Accessibility Tool"), QStringLiteral("1.0"),
new KAboutData(QStringLiteral("kcmaccess"), i18n("Accessibility"), QStringLiteral("1.0"),
QString(), KAboutLicense::GPL, i18n("(c) 2000, Matthias Hoelzer-Kluepfel"));
about->addAuthor(i18n("Matthias Hoelzer-Kluepfel"), i18n("Author") , QStringLiteral("hoelzer@kde.org"));
......
......@@ -61,7 +61,7 @@ Kirigami.FormLayout {
checked: kcm.keyboardSettings.slowKeysPressBeep
onToggled: kcm.keyboardSettings.slowKeysPressBeep = checked
}
QQC2.CheckBox{
QQC2.CheckBox {
id: slowKeysAcceptBeep
text: i18nc("Use system bell when a key is accepted", "&when any key is accepted")
......@@ -71,7 +71,7 @@ Kirigami.FormLayout {
checked: kcm.keyboardSettings.slowKeysAcceptBeep
onToggled: kcm.keyboardSettings.slowKeysAcceptBeep = checked
}
QQC2.CheckBox{
QQC2.CheckBox {
id: slowKeysRejectBeep
text: i18nc("Use system bell when a key is rejected", "&when any key is rejected")
......@@ -109,7 +109,7 @@ Kirigami.FormLayout {
QQC2.CheckBox {
id: bounceKeysRejectBeep
text: i18n("Ring system bell when bounce key is rejected")
text: i18n("Ring system bell when rejected")
enabled: !kcm.keyboardSettings.isImmutable("BounceKeysRejectBeep") && kcm.keyboardSettings.bounceKeys
......
......@@ -54,7 +54,7 @@ Kirigami.FormLayout {
onToggled: kcm.keyboardSettings.stickyKeysAutoOff = checked
}
QQC2.CheckBox {
text: i18n("Use system bell when modifier keys are used")
text: i18n("Ring system bell when modifier keys are used")
enabled: !kcm.keyboardSettings.isImmutable("StickyKeysBeep") && kcm.keyboardSettings.stickyKeys
......@@ -67,7 +67,7 @@ Kirigami.FormLayout {
}
QQC2.CheckBox {
Kirigami.FormData.label: i18n("Sticky and slow keys:")
Kirigami.FormData.label: i18n("Activation:")
text: i18n("Use gestures to activate")
enabled: !kcm.keyboardSettings.isImmutable("StickyKeys")
......@@ -76,7 +76,7 @@ Kirigami.FormLayout {
onToggled: kcm.keyboardSettings.stickyKeys = checked
}
Row {
RowLayout {
QQC2.CheckBox {
text: i18n("Disable After:")
......
......@@ -49,8 +49,8 @@ Kirigami.FormLayout {
Layout.fillWidth: true
wrapMode: Text.Wrap
text: screenReaderInstalled
? i18n("Please note that you may have to log out once to allow the screen reader to work properly.")
: i18n("It appears that you don't have Orca Screen Reader installed, please install it before trying to use this feature, and restart this configuration panel")
? i18n("Please note that you may have to log out or reboot once to allow the screen reader to work properly.")
: i18n("It appears that the Orca Screen Reader is not installed. Please install it before trying to use this feature, and then log out or reboot")
}
onVisibleChanged: {
......
......@@ -32,11 +32,11 @@ KCM.SimpleKCM {
implicitWidth: Kirigami.Units.gridUnit * 44
implicitHeight: Kirigami.Units.gridUnit * 25
KCM.ConfigModule.quickHelp: i18n("This module lets you configure the accessibility features such as screen reader.")
KCM.ConfigModule.quickHelp: i18n("This module lets you configure the accessibility features such as a screen reader.")
property var elements: [
{
icon: "preferences-desktop-notification-bell",
icon: "notifications",
title: i18nc("System Bell", "Bell")
},
{
......@@ -44,7 +44,7 @@ KCM.SimpleKCM {
title: i18nc("System Modifier Keys", "Modifier Keys")
},
{
icon: "preferences-desktop-keyboard",
icon: "view-filter",
title: i18nc("System keyboard filters", "Keyboard Filters")
},
{
......@@ -62,14 +62,14 @@ KCM.SimpleKCM {
anchors.margins: Kirigami.Units.largeSpacing
QQC2.ScrollView {
id: leftSidePaneBackground
// This does not work anymore. returns a null value.
Component.onCompleted: leftSidePaneBackground.background.visible = true
contentHeight: root.contentItem.height - Kirigami.Units.gridUnit * 4
contentWidth: Kirigami.Units.gridUnit * 13
QQC2.ScrollBar.horizontal.policy: QQC2.ScrollBar.AlwaysOff
QQC2.ScrollBar.vertical.policy: QQC2.ScrollBar.AlwaysOff
Component.onCompleted: leftSidePaneBackground.background.visible = true
ListView {
id: listView
activeFocusOnTab: true
......
[Desktop Entry]
Name=Accessibility
Comment=Accessibility Options
Comment=Configure Accessibility Options
Icon=preferences-desktop-accessibility
Type=Service
X-KDE-PluginInfo-Author=Tomaz Canabrava
X-KDE-PluginInfo-Email=tcanabrava@kde.org
X-KDE-PluginInfo-License=GPL
X-KDE-PluginInfo-Name=kcma_ccess
X-KDE-PluginInfo-Name=kcm_access
X-KDE-PluginInfo-Version=
X-KDE-PluginInfo-Website=
X-KDE-ServiceTypes=Plasma/Generic
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment