mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
Add mainwindow Tooltips in tr files
This commit is contained in:
parent
9818ebddb9
commit
509c813135
2 changed files with 22 additions and 4 deletions
|
|
@ -1274,6 +1274,21 @@ Click here: <a href="%1">%1</a>
|
|||
<extracomment>'Open Conference' : Tooltip to illustrate a button</extracomment>
|
||||
<translation>Open Conference</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>hideTimeline</source>
|
||||
<extracomment>'Hide Timeline' : Tooltip for a button that hide the timeline</extracomment>
|
||||
<translation>Hide Timeline</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>openTimeline</source>
|
||||
<extracomment>'Open Timeline' : Tooltip for a button that open the timeline</extracomment>
|
||||
<translation>Open Timeline</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>openHome</source>
|
||||
<extracomment>'Open Home' : Tooltip for a button that open the home view</extracomment>
|
||||
<translation>Open Home</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>MainWindowMenuBar</name>
|
||||
|
|
|
|||
|
|
@ -104,14 +104,19 @@ ApplicationWindow {
|
|||
|
||||
ActionButton {
|
||||
icon: (leftPanel.visible?'panel_shown':'panel_hidden')
|
||||
tooltipText : (leftPanel.visible?'Open Timeline':'Hide Timeline')
|
||||
|
||||
//: 'Hide Timeline' : Tooltip for a button that hide the timeline
|
||||
tooltipText : (leftPanel.visible?qsTr('hideTimeline')
|
||||
//: 'Open Timeline' : Tooltip for a button that open the timeline
|
||||
:qsTr('openTimeline'))
|
||||
iconSize: MainWindowStyle.panelButtonSize
|
||||
//autoIcon: true
|
||||
onClicked: leftPanel.visible = !leftPanel.visible
|
||||
}
|
||||
ActionButton {
|
||||
icon: 'home'
|
||||
tooltipText : 'Open Home'
|
||||
//: 'Open Home' : Tooltip for a button that open the home view
|
||||
tooltipText : qsTr('openHome')
|
||||
iconSize: MainWindowStyle.homeButtonSize
|
||||
//autoIcon: true
|
||||
onClicked: setView('Home')
|
||||
|
|
@ -123,8 +128,6 @@ ApplicationWindow {
|
|||
Layout.preferredHeight: parent.height
|
||||
Layout.preferredWidth: MainWindowStyle.accountStatus.width
|
||||
Layout.fillWidth: false
|
||||
//height: parent.height
|
||||
//width: MainWindowStyle.accountStatus.width
|
||||
|
||||
TooltipArea {
|
||||
text: AccountSettingsModel.sipAddress
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue