mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 03:49:20 +03:00
Added missing qsTr() calls
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
This commit is contained in:
parent
a4151d71bc
commit
a69898371f
2 changed files with 4 additions and 4 deletions
|
@ -132,7 +132,7 @@ MenuItem {
|
||||||
icon.color: "transparent"
|
icon.color: "transparent"
|
||||||
|
|
||||||
Accessible.role: Accessible.ButtonMenu
|
Accessible.role: Accessible.ButtonMenu
|
||||||
Accessible.name: "More"
|
Accessible.name: qsTr("More")
|
||||||
Accessible.description: qsTr("Menu button providing more account actions when clicked")
|
Accessible.description: qsTr("Menu button providing more account actions when clicked")
|
||||||
Accessible.onPressAction: {
|
Accessible.onPressAction: {
|
||||||
userMoreButtonMenu.popup()
|
userMoreButtonMenu.popup()
|
||||||
|
|
|
@ -22,7 +22,7 @@ Window {
|
||||||
readonly property int maxMenuHeight: Style.trayWindowHeight - Style.trayWindowHeaderHeight - 2 * Style.trayWindowBorderWidth
|
readonly property int maxMenuHeight: Style.trayWindowHeight - Style.trayWindowHeaderHeight - 2 * Style.trayWindowBorderWidth
|
||||||
|
|
||||||
Accessible.role: Accessible.Application
|
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)
|
// Close tray window when focus is lost (e.g. click somewhere else on the screen)
|
||||||
onActiveChanged: {
|
onActiveChanged: {
|
||||||
|
@ -138,8 +138,8 @@ Window {
|
||||||
flat: true
|
flat: true
|
||||||
|
|
||||||
Accessible.role: Accessible.ButtonMenu
|
Accessible.role: Accessible.ButtonMenu
|
||||||
Accessible.name: "Current account"
|
Accessible.name: qsTr("Current account")
|
||||||
Accessible.description: "Shows the currently selected account and opens a dropdown list for all accounts when clicked"
|
Accessible.description: qsTr("Shows the currently selected account and opens a dropdown list for all accounts when clicked")
|
||||||
Accessible.onPressAction: {
|
Accessible.onPressAction: {
|
||||||
syncPauseButton.text = Systray.syncIsPaused() ? qsTr("Resume sync for all") : qsTr("Pause sync for all")
|
syncPauseButton.text = Systray.syncIsPaused() ? qsTr("Resume sync for all") : qsTr("Pause sync for all")
|
||||||
accountMenu.open()
|
accountMenu.open()
|
||||||
|
|
Loading…
Reference in a new issue