Remove full stops from inline messages

This commit is contained in:
Patrick Nicolas
2025-10-26 13:46:03 +01:00
parent 9b6531908c
commit b687f83950
11 changed files with 97 additions and 145 deletions
+3 -3
View File
@@ -40,11 +40,11 @@ Kirigami.ScrollablePage {
if (ApkInstaller.busy && !ApkInstaller.apkAvailable)
return i18n("Checking latest release...");
else if (!ApkInstaller.apkAvailable)
return i18n("No precompiled APK is available for this version.");
return i18n("No precompiled APK is available for this version");
else if (!Adb.adbInstalled)
return i18n("ADB is not installed.");
return i18n("ADB is not installed");
else
return i18n("Connect a headset and make sure developer mode is enabled.");
return i18n("Connect a headset and make sure developer mode is enabled");
}
explanation: {
if (!ApkInstaller.busy && !ApkInstaller.apkAvailable)
+6 -6
View File
@@ -126,7 +126,7 @@ Kirigami.ApplicationWindow {
id: messages
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("The server does not have CAP_SYS_NICE capabilities.")
text: i18n("The server does not have CAP_SYS_NICE capabilities")
// type: Kirigami.MessageType.Warning
type: Kirigami.MessageType.Information
showCloseButton: true
@@ -141,7 +141,7 @@ Kirigami.ApplicationWindow {
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("Firewall may not allow port 9757.")
text: i18n("Firewall may not allow port 9757")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: settings.show_system_checks && Firewall.needSetup
@@ -156,7 +156,7 @@ Kirigami.ApplicationWindow {
Kirigami.InlineMessage {
id: restart_capsysnice
Layout.fillWidth: true
text: i18n("The CAP_SYS_NICE capability will be used when the server is restarted.")
text: i18n("The CAP_SYS_NICE capability will be used when the server is restarted")
type: Kirigami.MessageType.Information
showCloseButton: true
visible: false
@@ -284,9 +284,9 @@ Kirigami.ApplicationWindow {
Controls.ToolTip.delay: Kirigami.Units.toolTipDelay
Controls.ToolTip.text: {
if (!Adb.adbInstalled)
return i18n("ADB is not installed.");
return i18n("ADB is not installed");
if (select_usb_device.connected_headset_count == 0)
return i18n("No headset is connected or your headset is not in developer mode.");
return i18n("No headset is connected or your headset is not in developer mode");
return "";
}
}
@@ -367,7 +367,7 @@ Kirigami.ApplicationWindow {
if (!root.server_started)
return "";
if (!Adb.adbInstalled)
return i18n("ADB is not installed.");
return i18n("ADB is not installed");
return "";
}
},
+1 -1
View File
@@ -195,7 +195,7 @@ Kirigami.ScrollablePage {
BetterLabel {
Layout.fillWidth: true
text: i18n("No precompiled APK is available for this version.")
text: i18n("No precompiled APK is available for this version")
visible: !ApkInstaller.busy && !ApkInstaller.apkAvailable
}