Added missing qsTr() calls

Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
This commit is contained in:
Dominique Fuchs 2020-08-25 14:59:10 +02:00 committed by Kevin Ottens (Rebase PR Action)
parent a4151d71bc
commit a69898371f
2 changed files with 4 additions and 4 deletions

View file

@ -132,7 +132,7 @@ MenuItem {
icon.color: "transparent"
Accessible.role: Accessible.ButtonMenu
Accessible.name: "More"
Accessible.name: qsTr("More")
Accessible.description: qsTr("Menu button providing more account actions when clicked")
Accessible.onPressAction: {
userMoreButtonMenu.popup()

View file

@ -22,7 +22,7 @@ Window {
readonly property int maxMenuHeight: Style.trayWindowHeight - Style.trayWindowHeaderHeight - 2 * Style.trayWindowBorderWidth
Accessible.role: Accessible.Application
Accessible.name: "Nextcloud client tray window"
Accessible.name: qsTr("Nextcloud client tray window")
// Close tray window when focus is lost (e.g. click somewhere else on the screen)
onActiveChanged: {
@ -138,8 +138,8 @@ Window {
flat: true
Accessible.role: Accessible.ButtonMenu
Accessible.name: "Current account"
Accessible.description: "Shows the currently selected account and opens a dropdown list for all accounts when clicked"
Accessible.name: qsTr("Current account")
Accessible.description: qsTr("Shows the currently selected account and opens a dropdown list for all accounts when clicked")
Accessible.onPressAction: {
syncPauseButton.text = Systray.syncIsPaused() ? qsTr("Resume sync for all") : qsTr("Pause sync for all")
accountMenu.open()