Skip to content

Commit

Permalink
translation update
Browse files Browse the repository at this point in the history
  • Loading branch information
TripleWhy committed May 10, 2014
1 parent 9dcddc3 commit 3db8dcb
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 2 deletions.
30 changes: 30 additions & 0 deletions Carcasum/carcasum_de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,36 @@ Keinen Meeple setzen: rechte Maustaste
Spielfeld bewegen: mittlere Maustaste
Zoom: Mausrad</translation>
</message>
<message>
<location filename="gui/mainwindow.h" line="57"/>
<source>Red</source>
<translation>Rot</translation>
</message>
<message>
<location filename="gui/mainwindow.h" line="57"/>
<source>Blue</source>
<translation>Blau</translation>
</message>
<message>
<location filename="gui/mainwindow.h" line="57"/>
<source>Yellow</source>
<translation>Gelb</translation>
</message>
<message>
<location filename="gui/mainwindow.h" line="57"/>
<source>Green</source>
<translation>Grün</translation>
</message>
<message>
<location filename="gui/mainwindow.h" line="57"/>
<source>Black</source>
<translation>Schwarz</translation>
</message>
<message>
<location filename="gui/mainwindow.h" line="57"/>
<source>Gray</source>
<translation>Grau</translation>
</message>
</context>
<context>
<name>PlayerInfoView</name>
Expand Down
30 changes: 30 additions & 0 deletions Carcasum/carcasum_en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,36 @@ Place no meeple: right mouse button
Move board: middle mouse button
Zoom: mouse wheel</translation>
</message>
<message>
<location filename="gui/mainwindow.h" line="57"/>
<source>Red</source>
<translation>Red</translation>
</message>
<message>
<location filename="gui/mainwindow.h" line="57"/>
<source>Blue</source>
<translation>Blue</translation>
</message>
<message>
<location filename="gui/mainwindow.h" line="57"/>
<source>Yellow</source>
<translation>Yellow</translation>
</message>
<message>
<location filename="gui/mainwindow.h" line="57"/>
<source>Green</source>
<translation>Green</translation>
</message>
<message>
<location filename="gui/mainwindow.h" line="57"/>
<source>Black</source>
<translation>Black</translation>
</message>
<message>
<location filename="gui/mainwindow.h" line="57"/>
<source>Gray</source>
<translation>Gray</translation>
</message>
</context>
<context>
<name>PlayerInfoView</name>
Expand Down
4 changes: 2 additions & 2 deletions Carcasum/gui/mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ class MainWindow : public QMainWindow, public Player, public ScoreListener, publ
RandomNextTileProvider rntp;
bool randomTiles = true;

const std::array<Qt::GlobalColor, MAX_PLAYERS> colors = {{Qt::red, Qt::blue, Qt::yellow, Qt::darkGreen, Qt::black, Qt::gray}}; //Double brackets not needed in .cpp ...
const std::array<char const *, MAX_PLAYERS> colorNames= {{ "Red", "Blue", "Yellow", "Green", "Black", "Gray"}};
const std::array<Qt::GlobalColor, MAX_PLAYERS> colors = {{Qt::red, Qt::blue, Qt::yellow, Qt::darkGreen, Qt::black, Qt::gray}}; //Double brackets not needed in .cpp ...
const std::array<QString, MAX_PLAYERS> colorNames = {{tr("Red"), tr("Blue"), tr("Yellow"), tr("Green"), tr("Black"), tr("Gray")}};
std::array<NgPlayerEdit, MAX_PLAYERS> ngPlayerEdits;
PlayerSelector * playerSelector;
std::array<Player *, MAX_PLAYERS> selectedPlayers = {{}};
Expand Down

0 comments on commit 3db8dcb

Please sign in to comment.