From: Serge Ziryukin Date: Tue, 13 Apr 2010 16:49:07 +0000 (+0300) Subject: bigger label text; update translation X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;h=7fad5c68e4b5b62c8bd69778758bf0f0d7edfc94;p=colorflood bigger label text; update translation --- diff --git a/colorflood/src/colorbuttons.cpp b/colorflood/src/colorbuttons.cpp index 1d46bf1..e86da05 100644 --- a/colorflood/src/colorbuttons.cpp +++ b/colorflood/src/colorbuttons.cpp @@ -40,5 +40,6 @@ ColorButtons::ColorButtons (QWidget *parent) this, SIGNAL(flood(int))); + layout->setSpacing(24); setLayout(layout); } diff --git a/colorflood/src/colorflood.qm b/colorflood/src/colorflood.qm index 59552bc..1d5f4e8 100644 Binary files a/colorflood/src/colorflood.qm and b/colorflood/src/colorflood.qm differ diff --git a/colorflood/src/colorflood.ts b/colorflood/src/colorflood.ts new file mode 100644 index 0000000..7711989 --- /dev/null +++ b/colorflood/src/colorflood.ts @@ -0,0 +1,43 @@ + + + + + Field + + + You won! + win message + Вы победили! + + + + You lost! + fail message + Вы проиграли! + + + + QObject + + + Default + default color scheme name + Стандартная + + + + Black-and-white + black-and-white color scheme name + Чёрно-белая + + + + Window + + + <font size="24">Turns: %1/%2</font> + number of turns + <font size="24">Шагов: %1/%2</font> + + + diff --git a/colorflood/src/window.cpp b/colorflood/src/window.cpp index affafdc..625022b 100644 --- a/colorflood/src/window.cpp +++ b/colorflood/src/window.cpp @@ -44,6 +44,7 @@ Window::Window () SLOT(flood(int))); turnsLabel = new QLabel(this); + turnsLabel->setAlignment(Qt::AlignRight); QObject::connect(field, SIGNAL(turnsChanged(int)), @@ -69,7 +70,7 @@ Window::Window () void Window::updateTurns (int turns) { /*: number of turns */ - turnsLabel->setText(tr("Turns: %1/%2") + turnsLabel->setText(tr("Turns: %1/%2") .arg(turns) .arg(field->getNumTurnsOfSize(field->getSize()))); }