Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
f80b563c
Commit
f80b563c
authored
Feb 17, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(ui/views/App/InviteFriends): open url externally
parent
28cf495a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
1 deletion
+28
-1
en.ts
linphone-desktop/assets/languages/en.ts
+8
-0
fr.ts
linphone-desktop/assets/languages/fr.ts
+8
-0
InviteFriends.qml
linphone-desktop/ui/views/App/InviteFriends.qml
+12
-1
No files found.
linphone-desktop/assets/languages/en.ts
View file @
f80b563c
...
...
@@ -433,6 +433,14 @@ Server url not configured.</translation>
<
source
>
inviteFriendsTitle
<
/source
>
<
translation
>
Linphone
-
Invite
Friends
<
/translation
>
<
/message
>
<
message
>
<
source
>
defaultMessage
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
source
>
defaultSubject
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
MainWindow
<
/name
>
...
...
linphone-desktop/assets/languages/fr.ts
View file @
f80b563c
...
...
@@ -432,6 +432,14 @@ Url du serveur non configurée.</translation>
<
source
>
inviteFriendsTitle
<
/source
>
<
translation
>
Linphone
-
Inviter
des
amis
<
/translation
>
<
/message
>
<
message
>
<
source
>
defaultMessage
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
source
>
defaultSubject
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
MainWindow
<
/name
>
...
...
linphone-desktop/ui/views/App/InviteFriends.qml
View file @
f80b563c
...
...
@@ -18,7 +18,15 @@ DialogPlus {
enabled
:
email
.
length
&&
message
.
length
text
:
qsTr
(
'
confirm
'
)
onClicked
:
exit
(
0
)
onClicked
:
{
Qt
.
openUrlExternally
(
'
mailto:
'
+
encodeURIComponent
(
email
.
text
)
+
'
?subject=
'
+
encodeURIComponent
(
qsTr
(
'
defaultSubject
'
))
+
'
&body=
'
+
encodeURIComponent
(
message
.
text
)
)
exit
(
0
)
}
}
]
...
...
@@ -61,6 +69,7 @@ DialogPlus {
TextField
{
id
:
email
inputMethodHints
:
Qt
.
ImhEmailCharactersOnly
width
:
parent
.
width
}
}
...
...
@@ -87,6 +96,8 @@ DialogPlus {
Layout.fillHeight
:
true
Layout.fillWidth
:
true
text
:
qsTr
(
'
defaultMessage
'
)
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment