Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-libclient
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-libclient
Commits
29d99dd7
Unverified
Commit
29d99dd7
authored
4 years ago
by
Sébastien Blin
Browse files
Options
Downloads
Patches
Plain Diff
chatview: fix chatview' strings for qml client on linux
Change-Id: Iabbab961b1a68ef5d42c331ddc9c481552cb7a29
parent
8f282fe1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/api/chatview.h
+1
-1
1 addition, 1 deletion
src/api/chatview.h
src/chatview.cpp
+33
-33
33 additions, 33 deletions
src/chatview.cpp
with
34 additions
and
34 deletions
src/api/chatview.h
+
1
−
1
View file @
29d99dd7
...
...
@@ -28,7 +28,7 @@ namespace api {
namespace
chatview
{
QVariantMap
getTranslatedStrings
();
QVariantMap
getTranslatedStrings
(
bool
qwebview
=
true
);
}
// namespace chatview
}
// namespace api
...
...
This diff is collapsed.
Click to expand it.
src/chatview.cpp
+
33
−
33
View file @
29d99dd7
...
...
@@ -24,41 +24,41 @@ namespace api {
namespace
chatview
{
QVariantMap
getTranslatedStrings
()
getTranslatedStrings
(
bool
qwebview
)
{
return
{
return
{
{
"Hide chat view"
,
QObject
::
tr
(
"Hide chat view"
)},
{
"Place video call"
,
QObject
::
tr
(
"Place video call"
)},
{
"Place audio call"
,
QObject
::
tr
(
"Place audio call"
)},
{
"Add to conversations"
,
QObject
::
tr
(
"Add to conversations"
)},
{
"Unban contact"
,
QObject
::
tr
(
"Unban contact"
)},
{
"Send"
,
QObject
::
tr
(
"Send"
)},
{
"Options"
,
QObject
::
tr
(
"Options"
)},
{
"Jump to latest"
,
QObject
::
tr
(
"Jump to latest"
)},
{
"Send file"
,
QObject
::
tr
(
"Send file"
)},
{
"Leave video message"
,
QObject
::
tr
(
"Leave video message"
)},
{
"Leave audio message"
,
QObject
::
tr
(
"Leave audio message"
)},
{
"Accept"
,
QObject
::
tr
(
"Accept"
)},
{
"Refuse"
,
QObject
::
tr
(
"Refuse"
)},
{
"Block"
,
QObject
::
tr
(
"Block"
)},
{
"Type a message"
,
QObject
::
tr
(
"Type a message"
)},
{
"Note: an interaction will create a new contact."
,
QObject
::
tr
(
"Note: an interaction will create a new contact."
)},
{
"is not in your contacts"
,
QObject
::
tr
(
"is not in your contacts"
)},
{
"Note: you can automatically accept this invitation by sending a message."
,
QObject
::
tr
(
"Note: you can automatically accept this invitation by sending a message."
)},
#if defined(WIN32)
{
"%d days ago"
,
QObject
::
tr
(
"{0} days ago"
)},
{
"%d hours ago"
,
QObject
::
tr
(
"{0} hours ago"
)},
{
"%d minutes ago"
,
QObject
::
tr
(
"{0} minutes ago"
)},
#else
{
"%d days ago"
,
QObject
::
tr
(
"%d days ago"
)},
{
"%d hours ago"
,
QObject
::
tr
(
"%d hours ago"
)},
{
"%d minutes ago"
,
QObject
::
tr
(
"%d minutes ago"
)},
#endif
{
"one day ago"
,
QObject
::
tr
(
"one day ago"
)},
{
"one hour ago"
,
QObject
::
tr
(
"one hour ago"
)},
{
"just now"
,
QObject
::
tr
(
"just now"
)},
{
"Failure"
,
QObject
::
tr
(
"Failure"
)},
{
"Accept"
,
QObject
::
tr
(
"Accept"
)},
{
"Refuse"
,
QObject
::
tr
(
"Refuse"
)},
{
"Delete"
,
QObject
::
tr
(
"Delete"
)},
{
"Retry"
,
QObject
::
tr
(
"Retry"
)},
{
"Place video call"
,
QObject
::
tr
(
"Place video call"
)},
{
"Place audio call"
,
QObject
::
tr
(
"Place audio call"
)},
{
"Add to conversations"
,
QObject
::
tr
(
"Add to conversations"
)},
{
"Unban contact"
,
QObject
::
tr
(
"Unban contact"
)},
{
"Send"
,
QObject
::
tr
(
"Send"
)},
{
"Options"
,
QObject
::
tr
(
"Options"
)},
{
"Jump to latest"
,
QObject
::
tr
(
"Jump to latest"
)},
{
"Send file"
,
QObject
::
tr
(
"Send file"
)},
{
"Leave video message"
,
QObject
::
tr
(
"Leave video message"
)},
{
"Leave audio message"
,
QObject
::
tr
(
"Leave audio message"
)},
{
"Accept"
,
QObject
::
tr
(
"Accept"
)},
{
"Refuse"
,
QObject
::
tr
(
"Refuse"
)},
{
"Block"
,
QObject
::
tr
(
"Block"
)},
{
"Type a message"
,
QObject
::
tr
(
"Type a message"
)},
{
"Note: an interaction will create a new contact."
,
QObject
::
tr
(
"Note: an interaction will create a new contact."
)},
{
"is not in your contacts"
,
QObject
::
tr
(
"is not in your contacts"
)},
{
"Note: you can automatically accept this invitation by sending a message."
,
QObject
::
tr
(
"Note: you can automatically accept this invitation by sending a message."
)},
{
"%d days ago"
,
qwebview
?
QObject
::
tr
(
"{0} days ago"
)
:
QObject
::
tr
(
"%d days ago"
)},
{
"%d hours ago"
,
qwebview
?
QObject
::
tr
(
"{0} hours ago"
)
:
QObject
::
tr
(
"%d hours ago"
)},
{
"%d minutes ago"
,
qwebview
?
QObject
::
tr
(
"{0} minutes ago"
)
:
QObject
::
tr
(
"%d minutes ago"
)},
{
"one day ago"
,
QObject
::
tr
(
"one day ago"
)},
{
"one hour ago"
,
QObject
::
tr
(
"one hour ago"
)},
{
"just now"
,
QObject
::
tr
(
"just now"
)},
{
"Failure"
,
QObject
::
tr
(
"Failure"
)},
{
"Accept"
,
QObject
::
tr
(
"Accept"
)},
{
"Refuse"
,
QObject
::
tr
(
"Refuse"
)},
{
"Delete"
,
QObject
::
tr
(
"Delete"
)},
{
"Retry"
,
QObject
::
tr
(
"Retry"
)},
};
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment