Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
7e56c5a9
Commit
7e56c5a9
authored
Apr 22, 2015
by
Fabio Bas
Browse files
Added translation fix missing from #1001
parent
36a0d25c
Changes
2
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/gamesmodel.cpp
View file @
7e56c5a9
...
@@ -18,7 +18,7 @@ const QString GamesModel::getGameCreatedString(const int secs) const {
...
@@ -18,7 +18,7 @@ const QString GamesModel::getGameCreatedString(const int secs) const {
else
if
(
secs
<
SECS_PER_MIN
*
5
)
else
if
(
secs
<
SECS_PER_MIN
*
5
)
ret
=
tr
(
"<5m ago"
);
ret
=
tr
(
"<5m ago"
);
else
if
(
secs
<
SECS_PER_HOUR
)
else
if
(
secs
<
SECS_PER_HOUR
)
ret
=
QString
::
number
(
secs
/
SECS_PER_MIN
)
.
append
(
tr
(
"m ago"
)
);
ret
=
tr
(
"%1m ago"
).
arg
(
QString
::
number
(
secs
/
SECS_PER_MIN
));
else
if
(
secs
<
SECS_PER_MIN
*
90
)
{
else
if
(
secs
<
SECS_PER_MIN
*
90
)
{
ret
=
tr
(
"1hr %1m ago"
).
arg
(
QString
::
number
((
secs
/
SECS_PER_MIN
)
-
60
));
ret
=
tr
(
"1hr %1m ago"
).
arg
(
QString
::
number
((
secs
/
SECS_PER_MIN
)
-
60
));
}
else
if
(
secs
<
SECS_PER_HOUR
*
4
)
{
}
else
if
(
secs
<
SECS_PER_HOUR
*
4
)
{
...
...
cockatrice/translations/cockatrice_en.ts
View file @
7e56c5a9
...
@@ -1297,7 +1297,7 @@ Would you like to change your database location setting?</source>
...
@@ -1297,7 +1297,7 @@ Would you like to change your database location setting?</source>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
../src/gamesmodel.cpp
"
line
=
"
21
"
/>
<
location
filename
=
"
../src/gamesmodel.cpp
"
line
=
"
21
"
/>
<
source
>
m
ago
<
/source
>
<
source
>
%
1
m
ago
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment