From 09f0462a52f55c103cdb3cab86ec0f49d9df9d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20J=C3=B6rgensen?= Date: Fri, 2 Jan 2026 11:43:17 +0100 Subject: [PATCH] Fix missing accessible button name in dialer #LINQT-2221 --- Linphone/data/languages/de.ts | 40 ++++++++++++++++--- Linphone/data/languages/en.ts | 40 ++++++++++++++++--- Linphone/data/languages/fr.ts | 40 ++++++++++++++++--- Linphone/view/Control/Input/NumericPad.qml | 20 ++++++++-- .../view/Control/Popup/NumericPadPopup.qml | 2 + 5 files changed, 124 insertions(+), 18 deletions(-) diff --git a/Linphone/data/languages/de.ts b/Linphone/data/languages/de.ts index 6e80a57ca..8ec74fb31 100644 --- a/Linphone/data/languages/de.ts +++ b/Linphone/data/languages/de.ts @@ -1026,31 +1026,31 @@ CallHistoryListView - + call_name_accessible_button Call %1 Anruf %1 - + call_history_entry_accessible_name %1 - %2 - %3 - right arrow for call-back button - + notification_missed_call_title "Appel manqué" Verpasster Anruf - + call_outgoing "Appel sortant" Ausgehender Anruf - + call_audio_incoming "Appel entrant" Eingehender Anruf @@ -5104,6 +5104,36 @@ Ablauf: %1 Neue Nachricht im Chat %1 + + NumericPad + + + numpad_longpress_accessible_name + %1 longpress %2 + + + + + call_accessible_name + Call + + + + + erase_accessible_name + Erase + + + + + NumericPadPopup + + + close_numeric_pad_accessible_name + Close numeric pad + + + OIDCModel diff --git a/Linphone/data/languages/en.ts b/Linphone/data/languages/en.ts index 31983ac25..89526adc3 100644 --- a/Linphone/data/languages/en.ts +++ b/Linphone/data/languages/en.ts @@ -1007,31 +1007,31 @@ CallHistoryListView - + call_name_accessible_button Call %1 Call %1 - + call_history_entry_accessible_name %1 - %2 - %3 - right arrow for call-back button %1 - %2 - %3 - right arrow for call-back button - + notification_missed_call_title "Appel manqué" Missed call - + call_outgoing "Appel sortant" Outgoing call - + call_audio_incoming "Appel entrant" Incoming call @@ -4993,6 +4993,36 @@ Expiration : %1 New message on chatroom %1 + + NumericPad + + + numpad_longpress_accessible_name + %1 longpress %2 + %1 longpress %2 + + + + call_accessible_name + Call + Call + + + + erase_accessible_name + Erase + Erase + + + + NumericPadPopup + + + close_numeric_pad_accessible_name + Close numeric pad + Close numeric pad + + OIDCModel diff --git a/Linphone/data/languages/fr.ts b/Linphone/data/languages/fr.ts index 9b6b1c716..c9397a0d0 100644 --- a/Linphone/data/languages/fr.ts +++ b/Linphone/data/languages/fr.ts @@ -1002,31 +1002,31 @@ CallHistoryListView - + call_name_accessible_button Call %1 Appeler %1 - + call_history_entry_accessible_name %1 - %2 - %3 - right arrow for call-back button %1 - %2 - %3 - flèche droite pour bouton de rappel - + notification_missed_call_title "Appel manqué" Appel manqué - + call_outgoing "Appel sortant" Appel sortant - + call_audio_incoming "Appel entrant" Appel entrant @@ -4988,6 +4988,36 @@ Expiration : %1 Nouveau message sur la conversation %1 + + NumericPad + + + numpad_longpress_accessible_name + %1 longpress %2 + %1 appui long %2 + + + + call_accessible_name + Call + Appeler + + + + erase_accessible_name + Erase + Effacer + + + + NumericPadPopup + + + close_numeric_pad_accessible_name + Close numeric pad + Fermer le pavé numérique + + OIDCModel diff --git a/Linphone/view/Control/Input/NumericPad.qml b/Linphone/view/Control/Input/NumericPad.qml index a84d3bef1..84ee01d42 100644 --- a/Linphone/view/Control/Input/NumericPad.qml +++ b/Linphone/view/Control/Input/NumericPad.qml @@ -153,6 +153,9 @@ FocusScope { radius: Utils.getSizeWithScreenRatio(71) style: ButtonStyle.numericPad + //: %1 longpress %2 + Accessible.name: longPressText.text ? qsTr("numpad_longpress_accessible_name").arg(pressText.text).arg(longPressText.text) : pressText.text + contentItem: Item { anchors.fill: parent Text { @@ -195,7 +198,10 @@ FocusScope { icon.height: Utils.getSizeWithScreenRatio(32) radius: Utils.getSizeWithScreenRatio(71) style: ButtonStyle.phoneGreen - + + //: Call + Accessible.name: qsTr("call_accessible_name") + onClicked: mainItem.launchCall() KeyNavigation.left: eraseButton @@ -218,6 +224,9 @@ FocusScope { Layout.Layout.preferredWidth: Utils.getSizeWithScreenRatio(38) Layout.Layout.preferredHeight: Utils.getSizeWithScreenRatio(38) + //: Erase + Accessible.name: qsTr("erase_accessible_name") + onClicked: mainItem.wipe() KeyNavigation.left: launchCallButton @@ -225,8 +234,13 @@ FocusScope { KeyNavigation.up: numPadGrid.getButtonAt(11) KeyNavigation.down: numPadGrid.getButtonAt(1) - background: Item { - visible: false + background: Rectangle { + width: eraseButton.width + height: eraseButton.height + color: "transparent" + + border.color: eraseButton.keyboardFocus ? eraseButton.keyboardFocusedBorderColor : "transparent" + border.width: eraseButton.keyboardFocus ? eraseButton.keyboardFocusedBorderWidth : eraseButton.borderWidth } } } diff --git a/Linphone/view/Control/Popup/NumericPadPopup.qml b/Linphone/view/Control/Popup/NumericPadPopup.qml index 65fce495e..b0f564b1c 100644 --- a/Linphone/view/Control/Popup/NumericPadPopup.qml +++ b/Linphone/view/Control/Popup/NumericPadPopup.qml @@ -65,6 +65,8 @@ Control.Popup { icon.height: Utils.getSizeWithScreenRatio(24) style: ButtonStyle.noBackground onClicked: mainItem.close() + //: Close numeric pad + Accessible.name: qsTr("close_numeric_pad_accessible_name") } } contentItem: NumericPad{