Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
mobile Datovka
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Datovka projects
mobile Datovka
Commits
44c71a41
Commit
44c71a41
authored
Nov 15, 2018
by
Karel Slaný
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated Czech localisation.
parent
b60908f6
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
202 additions
and
168 deletions
+202
-168
res/locale/datovka_cs.ts
res/locale/datovka_cs.ts
+100
-81
res/locale/datovka_en.ts
res/locale/datovka_en.ts
+99
-84
src/net/isds_wrapper.cpp
src/net/isds_wrapper.cpp
+3
-3
No files found.
res/locale/datovka_cs.ts
View file @
44c71a41
This diff is collapsed.
Click to expand it.
res/locale/datovka_en.ts
View file @
44c71a41
This diff is collapsed.
Click to expand it.
src/net/isds_wrapper.cpp
View file @
44c71a41
...
...
@@ -718,7 +718,7 @@ void IsdsWrapper::sendMessage(const QString &userName, qint64 dmID,
/* Test if total attachment size is above the limit 50MB */
if
(
totalAttachmentSizeMB
>
SEND_OVM_ATTACH_SIZE_LIMIT_MB
)
{
Dialogues
::
errorMessage
(
Dialogues
::
CRITICAL
,
tr
(
"%1:
Message problem
"
).
arg
(
userName
),
tr
(
"%1:
Large message
"
).
arg
(
userName
),
tr
(
"Total attachment size exceeds the limit!"
),
tr
(
"Total attachment size is %1 MB. ISDS limits its size to %2 MB. Reduce the total attachment size and try sending the message again."
)
.
arg
(
totalAttachmentSizeMB
).
arg
(
SEND_OVM_ATTACH_SIZE_LIMIT_MB
)
...
...
@@ -729,10 +729,10 @@ void IsdsWrapper::sendMessage(const QString &userName, qint64 dmID,
/* Test if total attachment size is larger then 20 MB */
if
(
totalAttachmentSizeMB
>=
SEND_ATTACH_SIZE_LIMIT_MB
)
{
int
msgResponse
=
Dialogues
::
message
(
Dialogues
::
QUESTION
,
tr
(
"%1:
Message problem
"
).
arg
(
userName
),
tr
(
"%1:
Large message
"
).
arg
(
userName
),
tr
(
"Total size of attachments exceeds %1 MB. Most of the data boxes cannot receive messages larger than %1 MB. However, some OVM data boxes can receive message up to %2 MB."
)
.
arg
(
SEND_ATTACH_SIZE_LIMIT_MB
).
arg
(
SEND_OVM_ATTACH_SIZE_LIMIT_MB
),
tr
(
"Do you really want to send
the
large message?"
),
tr
(
"Do you really want to send
a such
large message?"
),
Dialogues
::
NO
|
Dialogues
::
YES
,
Dialogues
::
NO
);
if
(
msgResponse
==
Dialogues
::
NO
)
{
return
;
...
...
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