Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
Konquest
Commits
c3ec8a22
Commit
c3ec8a22
authored
Aug 07, 2021
by
Antoni Bella Pérez
🚵🏻
Browse files
GUI l10n fixes
* Add @title:window helpers, capitalization and punctuation fixes
parent
00784cb9
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/dialogs/fleetdlg.cc
View file @
c3ec8a22
...
...
@@ -30,7 +30,7 @@ FleetDlg::FleetDlg( QWidget *parent,
{
setObjectName
(
QStringLiteral
(
"FleetDlg"
)
);
setModal
(
true
);
setWindowTitle
(
i18n
(
"Fleet Overview"
)
);
setWindowTitle
(
i18n
c
(
"@title:window"
,
"Fleet Overview"
));
QDialogButtonBox
*
buttonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
);
QWidget
*
mainWidget
=
new
QWidget
(
this
);
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
;
...
...
src/dialogs/newGameDialog.ui
View file @
c3ec8a22
...
...
@@ -189,7 +189,7 @@
<item
row=
"6"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_5"
>
<property
name=
"text"
>
<string>
Kill
P
ercentage:
</string>
<string>
Kill
p
ercentage:
</string>
</property>
<property
name=
"buddy"
>
<cstring>
neutralPlanetsSB
</cstring>
...
...
@@ -206,7 +206,7 @@
<item
row=
"5"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label"
>
<property
name=
"text"
>
<string>
Owner
</string>
<string>
Owner
:
</string>
</property>
</widget>
</item>
...
...
@@ -231,21 +231,21 @@
<item>
<widget
class=
"QCheckBox"
name=
"BlindMapCB"
>
<property
name=
"text"
>
<string>
Blind
M
ap
</string>
<string>
Blind
m
ap
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"QCheckBox"
name=
"CumulativeProductionCB"
>
<property
name=
"text"
>
<string>
Cumulative
P
roduction
</string>
<string>
Cumulative
p
roduction
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"QCheckBox"
name=
"ProductionAfterConquereCB"
>
<property
name=
"text"
>
<string>
Production
A
fter
C
apture
</string>
<string>
Production
a
fter
c
apture
</string>
</property>
<property
name=
"checked"
>
<bool>
true
</bool>
...
...
@@ -270,21 +270,21 @@
<item
row=
"0"
column=
"0"
colspan=
"2"
>
<widget
class=
"QCheckBox"
name=
"NeutralsShowShipsCB"
>
<property
name=
"text"
>
<string>
Show
S
hips
</string>
<string>
Show
s
hips
</string>
</property>
</widget>
</item>
<item
row=
"1"
column=
"0"
colspan=
"2"
>
<widget
class=
"QCheckBox"
name=
"NeutralsShowStatsCB"
>
<property
name=
"text"
>
<string>
Show
S
tats
</string>
<string>
Show
s
tats
</string>
</property>
</widget>
</item>
<item
row=
"2"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_7"
>
<property
name=
"text"
>
<string>
Production
</string>
<string>
Production
:
</string>
</property>
</widget>
</item>
...
...
src/dialogs/newgamedlg.cc
View file @
c3ec8a22
...
...
@@ -312,7 +312,7 @@ NewGameDlg::NewGameDlg( QWidget *parent, Game *game)
m_game
(
game
)
{
m_neutral
=
m_game
->
neutral
();
setWindowTitle
(
i18n
(
"Start New Game"
));
setWindowTitle
(
i18n
c
(
"@title:window"
,
"Start New Game"
));
QDialogButtonBox
*
buttonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
|
QDialogButtonBox
::
Cancel
);
QWidget
*
mainWidget
=
new
QWidget
(
this
);
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
;
...
...
src/gameview.cc
View file @
c3ec8a22
...
...
@@ -521,7 +521,7 @@ GameView::shutdownGame()
int
choice
=
KMessageBox
::
warningContinueCancel
(
this
,
i18n
(
"Do you wish to retire this game?"
),
i18n
(
"End Game"
),
i18n
c
(
"@title:window"
,
"End Game"
),
KStandardGuiItem
::
ok
()
);
if
(
choice
==
KMessageBox
::
Cancel
)
...
...
@@ -549,7 +549,7 @@ GameView::gameOver()
m_messagesDock
->
hide
();
m_standingsDock
->
hide
();
ScoreDlg
*
scoreDlg
=
new
ScoreDlg
(
this
,
i18n
(
"Final Standings"
),
m_game
->
players
());
ScoreDlg
*
scoreDlg
=
new
ScoreDlg
(
this
,
i18n
c
(
"@title:window"
,
"Final Standings"
),
m_game
->
players
());
scoreDlg
->
exec
();
scoreDlg
->
deleteLater
();
...
...
src/mainwin.cc
View file @
c3ec8a22
...
...
@@ -30,7 +30,7 @@
// KonquestMainWindow
MainWindow
::
MainWindow
()
{
setWindowTitle
(
i18n
(
"Galactic Conquest"
)
);
setWindowTitle
(
i18n
c
(
"@title:window"
,
"Galactic Conquest"
));
setupActions
();
setupGameView
();
...
...
@@ -71,13 +71,13 @@ MainWindow::setupActions()
//different state - QAction not :-(
m_measureAction
=
actionCollection
()
->
addAction
(
QStringLiteral
(
"game_measure"
)
);
m_measureAction
->
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"go-jump"
))
);
m_measureAction
->
setText
(
i18n
(
"&Measure Distance"
)
);
m_measureAction
->
setText
(
i18n
(
"&Measure Distance
...
"
)
);
m_measureAction
->
setEnabled
(
false
);
// Show fleet overview
m_fleetAction
=
actionCollection
()
->
addAction
(
QStringLiteral
(
"game_fleets"
)
);
m_fleetAction
->
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"fork"
))
);
m_fleetAction
->
setText
(
i18n
(
"&Fleet Overview"
)
);
m_fleetAction
->
setText
(
i18n
(
"&Fleet Overview
...
"
)
);
m_fleetAction
->
setEnabled
(
false
);
// Toolbar
...
...
Write
Preview
Supports
Markdown
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