mirror of
https://github.com/QuasarApp/Hanoi-Towers.git
synced 2025-05-14 18:39:33 +00:00
commit
7c4d0bdc12
@ -39,6 +39,18 @@ if (NOT DEFINED HANOI_TESTS)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED HANOI_ADMOD)
|
||||
set(HANOI_ADMOD OFF)
|
||||
|
||||
if (ANDROID)
|
||||
set(HANOI_ADMOD OFF)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (HANOI_ADMOD)
|
||||
add_definitions(-DHANOI_ADMOD)
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED HANOI_SERVER)
|
||||
set(HANOI_SERVER ON)
|
||||
|
||||
|
@ -87,7 +87,6 @@ bool GameState::load() {
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
bool operator == (const GameState& left, const GameState& right) {
|
||||
|
@ -40,11 +40,7 @@ Item {
|
||||
start(-1);
|
||||
}
|
||||
|
||||
function load () {
|
||||
|
||||
stateData.load();
|
||||
stateWidget.tumbler.spin.maximumValue = stateData.getMaxValueOfLoadedSaves();
|
||||
|
||||
function clear() {
|
||||
tower1.clear()
|
||||
tower2.clear()
|
||||
tower3.clear()
|
||||
@ -53,6 +49,15 @@ Item {
|
||||
upPlate.destroy();
|
||||
upPlate = null;
|
||||
}
|
||||
}
|
||||
|
||||
function load () {
|
||||
|
||||
stateData.load();
|
||||
stateWidget.tumbler.spin.maximumValue = stateData.lvl;
|
||||
stateWidget.tumbler.spin.value = stateData.getMaxValueOfLoadedSaves();
|
||||
|
||||
clear();
|
||||
|
||||
stateWidget.step = stateData.getStep();
|
||||
stateWidget.tumbler.spin.value = all = stateData.getMaxValueOfLoadedSaves();
|
||||
@ -84,9 +89,9 @@ Item {
|
||||
stateWidget.tumbler.spin.value = all = value
|
||||
}
|
||||
stateWidget.step = 0
|
||||
tower1.clear()
|
||||
tower2.clear()
|
||||
tower3.clear()
|
||||
|
||||
clear()
|
||||
|
||||
while (value--) {
|
||||
var temp = Qt.createComponent("plate.qml")
|
||||
if (temp.status === Component.Ready) {
|
||||
|
@ -14,7 +14,6 @@ Item {
|
||||
property var itemsMassArray: []
|
||||
property int number: 0
|
||||
|
||||
property var upPlate: null
|
||||
signal click(var obj)
|
||||
|
||||
Rectangle {
|
||||
@ -36,8 +35,7 @@ Item {
|
||||
obj.x = (tover.width / 2) - (obj.width / 2)
|
||||
obj.y = 0 - obj.height;
|
||||
|
||||
upPlate = obj;
|
||||
return upPlate
|
||||
return obj
|
||||
|
||||
}
|
||||
|
||||
@ -70,6 +68,7 @@ Item {
|
||||
}
|
||||
|
||||
function clear() {
|
||||
|
||||
while (items.length) {
|
||||
items[items.length - 1].destroy()
|
||||
items.pop()
|
||||
|
@ -228,6 +228,14 @@ bool HanoiTowers::isAndroid() const{
|
||||
#endif
|
||||
}
|
||||
|
||||
bool HanoiTowers::isAdMod() const {
|
||||
#ifdef HANOI_ADMOD
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
void HanoiTowers::handleChangeName(const QString &) {
|
||||
emit profileChanged();
|
||||
}
|
||||
|
@ -110,6 +110,7 @@ public:
|
||||
|
||||
Q_INVOKABLE bool isAndroid() const;
|
||||
|
||||
Q_INVOKABLE bool isAdMod() const;
|
||||
|
||||
|
||||
public slots:
|
||||
|
@ -149,38 +149,38 @@
|
||||
<translation type="vanished">Minimum steps for this lvl: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="162"/>
|
||||
<location filename="../Game.qml" line="182"/>
|
||||
<location filename="../Game.qml" line="167"/>
|
||||
<location filename="../Game.qml" line="187"/>
|
||||
<source>Congratulations! You have passed the level %0</source>
|
||||
<translation>Congratulations! You have passed the level %0</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="165"/>
|
||||
<location filename="../Game.qml" line="170"/>
|
||||
<source>You got <b>%0</b> points for this level and unlocked the level <b>%1</b>!</source>
|
||||
<translation>You got <b>%0</b> points for this level and unlocked the level <b>%1</b>!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="166"/>
|
||||
<location filename="../Game.qml" line="171"/>
|
||||
<source><br><br> Totally <b>%2</b> steps.</source>
|
||||
<translation><br><br> Totally <b>%2</b> steps.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="167"/>
|
||||
<location filename="../Game.qml" line="172"/>
|
||||
<source><br> The minimum number of steps for this level : <b>%3</b></source>
|
||||
<translation><br> The minimum number of steps for this level : <b>%3</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="185"/>
|
||||
<location filename="../Game.qml" line="190"/>
|
||||
<source>You got <b>%0</b> points for this level!</source>
|
||||
<translation>You got <b>%0</b> points for this level!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="186"/>
|
||||
<location filename="../Game.qml" line="191"/>
|
||||
<source><br><br> Totally <b>%1</b> steps.</source>
|
||||
<translation><br><br> Totally <b>%1</b> steps.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="187"/>
|
||||
<location filename="../Game.qml" line="192"/>
|
||||
<source><br> The minimum number of steps for this level : <b>%2</b></source>
|
||||
<translation><br> The minimum number of steps for this level : <b>%2</b></translation>
|
||||
</message>
|
||||
@ -192,12 +192,12 @@
|
||||
<translation type="vanished">Tower height: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../menu/GameStateWidget.qml" line="33"/>
|
||||
<location filename="../menu/GameStateWidget.qml" line="20"/>
|
||||
<source>Tower height: </source>
|
||||
<translation>Tower height: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../menu/GameStateWidget.qml" line="62"/>
|
||||
<location filename="../menu/GameStateWidget.qml" line="49"/>
|
||||
<source>step </source>
|
||||
<translation>step </translation>
|
||||
</message>
|
||||
@ -266,68 +266,68 @@
|
||||
<translation>User data updated successful</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="247"/>
|
||||
<location filename="../hanoitowers.cpp" line="255"/>
|
||||
<source>login error</source>
|
||||
<translation>Login error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="248"/>
|
||||
<location filename="../hanoitowers.cpp" line="256"/>
|
||||
<source>Failed to login into online account, please check your password and username</source>
|
||||
<translation>Failed to login into online account, please check your password and username</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="258"/>
|
||||
<location filename="../hanoitowers.cpp" line="266"/>
|
||||
<source>Register online error</source>
|
||||
<translation>Register online error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="259"/>
|
||||
<location filename="../hanoitowers.cpp" line="267"/>
|
||||
<source>Failed to register this account, if this account was created by you, try to restore it.</source>
|
||||
<translation>Failed to register this account, if this account was created by you, try to restore it.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="269"/>
|
||||
<location filename="../hanoitowers.cpp" line="291"/>
|
||||
<location filename="../hanoitowers.cpp" line="277"/>
|
||||
<location filename="../hanoitowers.cpp" line="299"/>
|
||||
<source>Server error</source>
|
||||
<translation>Server error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="276"/>
|
||||
<location filename="../hanoitowers.cpp" line="284"/>
|
||||
<source>User with this id is not registered. If it you then use please the sigup form.</source>
|
||||
<translation>User with this id is not registered. If it you then use please the sigup form.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="284"/>
|
||||
<location filename="../hanoitowers.cpp" line="292"/>
|
||||
<source>User with this id already registered. If it you then use please the login form.</source>
|
||||
<translation>User with this id already registered. If it you then use please the login form.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="432"/>
|
||||
<location filename="../hanoitowers.cpp" line="440"/>
|
||||
<source>Create user error</source>
|
||||
<translation>User create error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="433"/>
|
||||
<location filename="../hanoitowers.cpp" line="441"/>
|
||||
<source>Failed to create a new user, The name %0 alredy used.</source>
|
||||
<translation>Failed to create a new user, This name %0 alredy used.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="464"/>
|
||||
<location filename="../hanoitowers.cpp" line="472"/>
|
||||
<source>Remove online error</source>
|
||||
<translation>Remove online error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="464"/>
|
||||
<location filename="../hanoitowers.cpp" line="472"/>
|
||||
<source>current profile not online!</source>
|
||||
<translation>Current profile is offline!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="470"/>
|
||||
<location filename="../hanoitowers.cpp" line="478"/>
|
||||
<source>Remove Local user</source>
|
||||
<translation>Remove Local user</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="470"/>
|
||||
<location filename="../hanoitowers.cpp" line="478"/>
|
||||
<source>Failed to remove the local user data</source>
|
||||
<translation>Failed to remove the local user data</translation>
|
||||
</message>
|
||||
|
@ -167,38 +167,38 @@
|
||||
<translation type="vanished">このLVLの最小ステップ: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="162"/>
|
||||
<location filename="../Game.qml" line="182"/>
|
||||
<location filename="../Game.qml" line="167"/>
|
||||
<location filename="../Game.qml" line="187"/>
|
||||
<source>Congratulations! You have passed the level %0</source>
|
||||
<translation>おめでとう! レベル %0 に合格しました</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="165"/>
|
||||
<location filename="../Game.qml" line="170"/>
|
||||
<source>You got <b>%0</b> points for this level and unlocked the level <b>%1</b>!</source>
|
||||
<translation>あなたが得た <b>%0</b> このレベルのポイントとレベルのロック解除 <b>%1</b>!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="166"/>
|
||||
<location filename="../Game.qml" line="171"/>
|
||||
<source><br><br> Totally <b>%2</b> steps.</source>
|
||||
<translation><br><br> 完全に <b>%2</b> ステップ.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="167"/>
|
||||
<location filename="../Game.qml" line="172"/>
|
||||
<source><br> The minimum number of steps for this level : <b>%3</b></source>
|
||||
<translation><br> このレベルの最小ステップ数 : <b>%3</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="185"/>
|
||||
<location filename="../Game.qml" line="190"/>
|
||||
<source>You got <b>%0</b> points for this level!</source>
|
||||
<translation>このレベルで <b>%0</b> ポイント獲得しました!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="186"/>
|
||||
<location filename="../Game.qml" line="191"/>
|
||||
<source><br><br> Totally <b>%1</b> steps.</source>
|
||||
<translation><br><br> 完全に <b>%1</b> ステップ.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="187"/>
|
||||
<location filename="../Game.qml" line="192"/>
|
||||
<source><br> The minimum number of steps for this level : <b>%2</b></source>
|
||||
<translation><br> このレベルの最小ステップ数 : <b>%2</b></translation>
|
||||
</message>
|
||||
@ -210,12 +210,12 @@
|
||||
<translation type="vanished">塔の高さ: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../menu/GameStateWidget.qml" line="33"/>
|
||||
<location filename="../menu/GameStateWidget.qml" line="20"/>
|
||||
<source>Tower height: </source>
|
||||
<translation>タワーの高さ: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../menu/GameStateWidget.qml" line="62"/>
|
||||
<location filename="../menu/GameStateWidget.qml" line="49"/>
|
||||
<source>step </source>
|
||||
<translation>ステップ </translation>
|
||||
</message>
|
||||
@ -284,68 +284,68 @@
|
||||
<translation>ユーザーデータが正常に更新されました</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="247"/>
|
||||
<location filename="../hanoitowers.cpp" line="255"/>
|
||||
<source>login error</source>
|
||||
<translation>ログインエラー</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="248"/>
|
||||
<location filename="../hanoitowers.cpp" line="256"/>
|
||||
<source>Failed to login into online account, please check your password and username</source>
|
||||
<translation>オンラインアカウントにログインできませんでした。パスワードとユーザー名を確認してください</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="258"/>
|
||||
<location filename="../hanoitowers.cpp" line="266"/>
|
||||
<source>Register online error</source>
|
||||
<translation>登録オンラインエラー</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="259"/>
|
||||
<location filename="../hanoitowers.cpp" line="267"/>
|
||||
<source>Failed to register this account, if this account was created by you, try to restore it.</source>
|
||||
<translation>このアカウントが登録されなかった場合、このアカウントが作成された場合、それを元に戻してください。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="269"/>
|
||||
<location filename="../hanoitowers.cpp" line="291"/>
|
||||
<location filename="../hanoitowers.cpp" line="277"/>
|
||||
<location filename="../hanoitowers.cpp" line="299"/>
|
||||
<source>Server error</source>
|
||||
<translation>サーバエラー</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="276"/>
|
||||
<location filename="../hanoitowers.cpp" line="284"/>
|
||||
<source>User with this id is not registered. If it you then use please the sigup form.</source>
|
||||
<translation>このIDのユーザーは登録されていません。 それを使用する場合は、サインアップフォームを使用してください。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="284"/>
|
||||
<location filename="../hanoitowers.cpp" line="292"/>
|
||||
<source>User with this id already registered. If it you then use please the login form.</source>
|
||||
<translation>このIDのユーザーはすでに登録されています。 それを使用する場合は、ログインフォームを使用してください。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="432"/>
|
||||
<location filename="../hanoitowers.cpp" line="440"/>
|
||||
<source>Create user error</source>
|
||||
<translation>ユーザーエラーの作成</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="433"/>
|
||||
<location filename="../hanoitowers.cpp" line="441"/>
|
||||
<source>Failed to create a new user, The name %0 alredy used.</source>
|
||||
<translation>新しいユーザーの作成に失敗しました。名前 %0 はすでに使用されています。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="464"/>
|
||||
<location filename="../hanoitowers.cpp" line="472"/>
|
||||
<source>Remove online error</source>
|
||||
<translation>オンラインユーザーデータの削除中にエラーが発生しました</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="464"/>
|
||||
<location filename="../hanoitowers.cpp" line="472"/>
|
||||
<source>current profile not online!</source>
|
||||
<translation>現在のプロファイルはオフラインです!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="470"/>
|
||||
<location filename="../hanoitowers.cpp" line="478"/>
|
||||
<source>Remove Local user</source>
|
||||
<translation>ローカルユーザーを削除する</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="470"/>
|
||||
<location filename="../hanoitowers.cpp" line="478"/>
|
||||
<source>Failed to remove the local user data</source>
|
||||
<translation>ローカルユーザーデータの削除に失敗しました</translation>
|
||||
</message>
|
||||
|
@ -174,38 +174,38 @@
|
||||
<translation type="vanished">Минимальные шаги для этого уровня:%1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="162"/>
|
||||
<location filename="../Game.qml" line="182"/>
|
||||
<location filename="../Game.qml" line="167"/>
|
||||
<location filename="../Game.qml" line="187"/>
|
||||
<source>Congratulations! You have passed the level %0</source>
|
||||
<translation>Поздравляем! Вы прошли уровень %0</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="165"/>
|
||||
<location filename="../Game.qml" line="170"/>
|
||||
<source>You got <b>%0</b> points for this level and unlocked the level <b>%1</b>!</source>
|
||||
<translation>Вы набрали <b>%0</b> баллов за этот уровень и разблокировали уровень <b>%1</b>!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="166"/>
|
||||
<location filename="../Game.qml" line="171"/>
|
||||
<source><br><br> Totally <b>%2</b> steps.</source>
|
||||
<translation><br><br> Всего <b>%2</b> ходов.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="167"/>
|
||||
<location filename="../Game.qml" line="172"/>
|
||||
<source><br> The minimum number of steps for this level : <b>%3</b></source>
|
||||
<translation><br> Минимально количество ходов для уровня: <b>%3</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="185"/>
|
||||
<location filename="../Game.qml" line="190"/>
|
||||
<source>You got <b>%0</b> points for this level!</source>
|
||||
<translation>Вы набрали <b>%0</b> баллов за этот уровень!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="186"/>
|
||||
<location filename="../Game.qml" line="191"/>
|
||||
<source><br><br> Totally <b>%1</b> steps.</source>
|
||||
<translation><br><br> Всего <b>%1</b> ходов.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="187"/>
|
||||
<location filename="../Game.qml" line="192"/>
|
||||
<source><br> The minimum number of steps for this level : <b>%2</b></source>
|
||||
<translation><br> Минимальное количиство ходов для уровня : <b>%2</b></translation>
|
||||
</message>
|
||||
@ -217,12 +217,12 @@
|
||||
<translation type="vanished">Высота башни</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../menu/GameStateWidget.qml" line="33"/>
|
||||
<location filename="../menu/GameStateWidget.qml" line="20"/>
|
||||
<source>Tower height: </source>
|
||||
<translation>Высота башни: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../menu/GameStateWidget.qml" line="62"/>
|
||||
<location filename="../menu/GameStateWidget.qml" line="49"/>
|
||||
<source>step </source>
|
||||
<translation>Шаг </translation>
|
||||
</message>
|
||||
@ -291,68 +291,68 @@
|
||||
<translation>Данные пользователя обновлены</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="247"/>
|
||||
<location filename="../hanoitowers.cpp" line="255"/>
|
||||
<source>login error</source>
|
||||
<translation>Ошибка входа</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="248"/>
|
||||
<location filename="../hanoitowers.cpp" line="256"/>
|
||||
<source>Failed to login into online account, please check your password and username</source>
|
||||
<translation>Ошибка входа в онлайн аккаунт, пожалуйста проверте свой логин и пароль</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="258"/>
|
||||
<location filename="../hanoitowers.cpp" line="266"/>
|
||||
<source>Register online error</source>
|
||||
<translation>Ошибка регистрации</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="259"/>
|
||||
<location filename="../hanoitowers.cpp" line="267"/>
|
||||
<source>Failed to register this account, if this account was created by you, try to restore it.</source>
|
||||
<translation>Не удалось зарегистрировать аккаунт, если этот аккаунт был создан вами попробуйте восстановить его.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="269"/>
|
||||
<location filename="../hanoitowers.cpp" line="291"/>
|
||||
<location filename="../hanoitowers.cpp" line="277"/>
|
||||
<location filename="../hanoitowers.cpp" line="299"/>
|
||||
<source>Server error</source>
|
||||
<translation>Ошибка сервера</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="276"/>
|
||||
<location filename="../hanoitowers.cpp" line="284"/>
|
||||
<source>User with this id is not registered. If it you then use please the sigup form.</source>
|
||||
<translation>Пользователь с этим id не зарегистрирован. Пожалуйста, заполните форму регистрации.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="284"/>
|
||||
<location filename="../hanoitowers.cpp" line="292"/>
|
||||
<source>User with this id already registered. If it you then use please the login form.</source>
|
||||
<translation>Пользователь с этим id уже зарегистрирован. Если это вы, пожалуйста используйте форму входа.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="432"/>
|
||||
<location filename="../hanoitowers.cpp" line="440"/>
|
||||
<source>Create user error</source>
|
||||
<translation>Ошибка создания пользователя</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="433"/>
|
||||
<location filename="../hanoitowers.cpp" line="441"/>
|
||||
<source>Failed to create a new user, The name %0 alredy used.</source>
|
||||
<translation>Не удалось создать пользователя. Данное имя %0 уже используется</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="464"/>
|
||||
<location filename="../hanoitowers.cpp" line="472"/>
|
||||
<source>Remove online error</source>
|
||||
<translation>Ошибка удаления онлайн аккаунта</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="464"/>
|
||||
<location filename="../hanoitowers.cpp" line="472"/>
|
||||
<source>current profile not online!</source>
|
||||
<translation>Текущий профиль не в сети!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="470"/>
|
||||
<location filename="../hanoitowers.cpp" line="478"/>
|
||||
<source>Remove Local user</source>
|
||||
<translation>Удалить локального.пользователя</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="470"/>
|
||||
<location filename="../hanoitowers.cpp" line="478"/>
|
||||
<source>Failed to remove the local user data</source>
|
||||
<translation>Ошибка удаления локального пользователя</translation>
|
||||
</message>
|
||||
|
@ -175,38 +175,38 @@ Bu seviye için minimum adımlar: %2</translation>
|
||||
<translation type="vanished">Bu seviye için minimum adımlar: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="162"/>
|
||||
<location filename="../Game.qml" line="182"/>
|
||||
<location filename="../Game.qml" line="167"/>
|
||||
<location filename="../Game.qml" line="187"/>
|
||||
<source>Congratulations! You have passed the level %0</source>
|
||||
<translation>Tebrikler! %0 seviyesini geçtiniz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="165"/>
|
||||
<location filename="../Game.qml" line="170"/>
|
||||
<source>You got <b>%0</b> points for this level and unlocked the level <b>%1</b>!</source>
|
||||
<translation>Bu seviye için <b>%0</b> puan aldınız ve <b>%1</b> seviyesinin kilidini açtınız!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="166"/>
|
||||
<location filename="../Game.qml" line="171"/>
|
||||
<source><br><br> Totally <b>%2</b> steps.</source>
|
||||
<translation><br><br> Tamamen <b>%2</b> adım.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="167"/>
|
||||
<location filename="../Game.qml" line="172"/>
|
||||
<source><br> The minimum number of steps for this level : <b>%3</b></source>
|
||||
<translation><br> Bu seviye için minimum adım sayısı : <b>%3</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="185"/>
|
||||
<location filename="../Game.qml" line="190"/>
|
||||
<source>You got <b>%0</b> points for this level!</source>
|
||||
<translation>Bu seviye için <b>%0</b> puan aldınız!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="186"/>
|
||||
<location filename="../Game.qml" line="191"/>
|
||||
<source><br><br> Totally <b>%1</b> steps.</source>
|
||||
<translation><br><br> Tamamen <b>%1</b> adım.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="187"/>
|
||||
<location filename="../Game.qml" line="192"/>
|
||||
<source><br> The minimum number of steps for this level : <b>%2</b></source>
|
||||
<translation><br> Bu seviye için minimum adım sayısı : <b>%2</b></translation>
|
||||
</message>
|
||||
@ -218,12 +218,12 @@ Bu seviye için minimum adımlar: %2</translation>
|
||||
<translation type="vanished">Kule yüksekliği: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../menu/GameStateWidget.qml" line="33"/>
|
||||
<location filename="../menu/GameStateWidget.qml" line="20"/>
|
||||
<source>Tower height: </source>
|
||||
<translation>Kule yüksekliği: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../menu/GameStateWidget.qml" line="62"/>
|
||||
<location filename="../menu/GameStateWidget.qml" line="49"/>
|
||||
<source>step </source>
|
||||
<translation>adım </translation>
|
||||
</message>
|
||||
@ -292,68 +292,68 @@ Bu seviye için minimum adımlar: %2</translation>
|
||||
<translation>Kullanıcı verileri başarıyla güncellendi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="247"/>
|
||||
<location filename="../hanoitowers.cpp" line="255"/>
|
||||
<source>login error</source>
|
||||
<translation>sisteme giriş hatası</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="248"/>
|
||||
<location filename="../hanoitowers.cpp" line="256"/>
|
||||
<source>Failed to login into online account, please check your password and username</source>
|
||||
<translation>Çevrimiçi hesaba giriş yapılamadı, lütfen şifrenizi ve kullanıcı adınızı kontrol edin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="258"/>
|
||||
<location filename="../hanoitowers.cpp" line="266"/>
|
||||
<source>Register online error</source>
|
||||
<translation>Çevrimiçi kayıt hatası</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="259"/>
|
||||
<location filename="../hanoitowers.cpp" line="267"/>
|
||||
<source>Failed to register this account, if this account was created by you, try to restore it.</source>
|
||||
<translation>Bu hesap kaydedilemedi, bu hesap sizin tarafınızdan oluşturulduysa, geri yüklemeyi deneyin.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="269"/>
|
||||
<location filename="../hanoitowers.cpp" line="291"/>
|
||||
<location filename="../hanoitowers.cpp" line="277"/>
|
||||
<location filename="../hanoitowers.cpp" line="299"/>
|
||||
<source>Server error</source>
|
||||
<translation>Server hatası</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="276"/>
|
||||
<location filename="../hanoitowers.cpp" line="284"/>
|
||||
<source>User with this id is not registered. If it you then use please the sigup form.</source>
|
||||
<translation>Bu kimliğe sahip kullanıcı kayıtlı değil. Daha sonra kullanırsanız, lütfen kayıt formunu kullanın.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="284"/>
|
||||
<location filename="../hanoitowers.cpp" line="292"/>
|
||||
<source>User with this id already registered. If it you then use please the login form.</source>
|
||||
<translation>Bu kimliğe sahip kullanıcı zaten kayıtlı. Eğer öyleyse, lütfen giriş formunu kullanın.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="432"/>
|
||||
<location filename="../hanoitowers.cpp" line="440"/>
|
||||
<source>Create user error</source>
|
||||
<translation>Kullanıcı hatası oluştur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="433"/>
|
||||
<location filename="../hanoitowers.cpp" line="441"/>
|
||||
<source>Failed to create a new user, The name %0 alredy used.</source>
|
||||
<translation>Yeni bir kullanıcı oluşturulamadı, %0 adı kullanıldı.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="464"/>
|
||||
<location filename="../hanoitowers.cpp" line="472"/>
|
||||
<source>Remove online error</source>
|
||||
<translation>Çevrimiçi kullanıcı verilerini kaldırma hatası</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="464"/>
|
||||
<location filename="../hanoitowers.cpp" line="472"/>
|
||||
<source>current profile not online!</source>
|
||||
<translation>Mevcut profil çevrimdışı!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="470"/>
|
||||
<location filename="../hanoitowers.cpp" line="478"/>
|
||||
<source>Remove Local user</source>
|
||||
<translation>Yerel kullanıcıyı kaldır</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="470"/>
|
||||
<location filename="../hanoitowers.cpp" line="478"/>
|
||||
<source>Failed to remove the local user data</source>
|
||||
<translation>Yerel kullanıcı verileri kaldırılamadı</translation>
|
||||
</message>
|
||||
|
@ -177,38 +177,38 @@
|
||||
<translation type="vanished">Мінімальні кроки для цього рівня: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="162"/>
|
||||
<location filename="../Game.qml" line="182"/>
|
||||
<location filename="../Game.qml" line="167"/>
|
||||
<location filename="../Game.qml" line="187"/>
|
||||
<source>Congratulations! You have passed the level %0</source>
|
||||
<translation>Вітаємо! Ви пройшли рівень %0</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="165"/>
|
||||
<location filename="../Game.qml" line="170"/>
|
||||
<source>You got <b>%0</b> points for this level and unlocked the level <b>%1</b>!</source>
|
||||
<translation>Ви отримали <b>%0</b> балів за цей рівень і розблокували рівень <b>%1</b>!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="166"/>
|
||||
<location filename="../Game.qml" line="171"/>
|
||||
<source><br><br> Totally <b>%2</b> steps.</source>
|
||||
<translation><br><br>Повністю<b>%2</b> кроків.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="167"/>
|
||||
<location filename="../Game.qml" line="172"/>
|
||||
<source><br> The minimum number of steps for this level : <b>%3</b></source>
|
||||
<translation><br> Мінімальна кількість кроків для цього рівня: <b>%3</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="185"/>
|
||||
<location filename="../Game.qml" line="190"/>
|
||||
<source>You got <b>%0</b> points for this level!</source>
|
||||
<translation>Ви отримали <b>%0</b> балів за цей рівень!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="186"/>
|
||||
<location filename="../Game.qml" line="191"/>
|
||||
<source><br><br> Totally <b>%1</b> steps.</source>
|
||||
<translation><br> <br> Повністю <b>%1</b> кроків.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../Game.qml" line="187"/>
|
||||
<location filename="../Game.qml" line="192"/>
|
||||
<source><br> The minimum number of steps for this level : <b>%2</b></source>
|
||||
<translation><br> Мінімальна кількість кроків для цього рівня: <b>%2</b></translation>
|
||||
</message>
|
||||
@ -220,12 +220,12 @@
|
||||
<translation type="vanished">Висота вежі: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../menu/GameStateWidget.qml" line="33"/>
|
||||
<location filename="../menu/GameStateWidget.qml" line="20"/>
|
||||
<source>Tower height: </source>
|
||||
<translation>Висота вежі: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../menu/GameStateWidget.qml" line="62"/>
|
||||
<location filename="../menu/GameStateWidget.qml" line="49"/>
|
||||
<source>step </source>
|
||||
<translation>крок </translation>
|
||||
</message>
|
||||
@ -294,68 +294,68 @@
|
||||
<translation>Дані користувачів оновлено успішно</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="247"/>
|
||||
<location filename="../hanoitowers.cpp" line="255"/>
|
||||
<source>login error</source>
|
||||
<translation>Помилка входу</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="248"/>
|
||||
<location filename="../hanoitowers.cpp" line="256"/>
|
||||
<source>Failed to login into online account, please check your password and username</source>
|
||||
<translation>Не вдалося увійти в онлайн-акаунт, перевірте свій пароль та ім’я користувача</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="258"/>
|
||||
<location filename="../hanoitowers.cpp" line="266"/>
|
||||
<source>Register online error</source>
|
||||
<translation>Помилка реєстрації в Інтернеті</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="259"/>
|
||||
<location filename="../hanoitowers.cpp" line="267"/>
|
||||
<source>Failed to register this account, if this account was created by you, try to restore it.</source>
|
||||
<translation>Не вдалося зареєструвати цей обліковий запис, якщо цей обліковий запис був створений вами, спробуйте відновити його.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="269"/>
|
||||
<location filename="../hanoitowers.cpp" line="291"/>
|
||||
<location filename="../hanoitowers.cpp" line="277"/>
|
||||
<location filename="../hanoitowers.cpp" line="299"/>
|
||||
<source>Server error</source>
|
||||
<translation>Помилка серверу</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="276"/>
|
||||
<location filename="../hanoitowers.cpp" line="284"/>
|
||||
<source>User with this id is not registered. If it you then use please the sigup form.</source>
|
||||
<translation>Користувач з цим id не зареєстрований. Якщо ви це використовуєте, будь ласка, будь ласка, зареєструйтесь.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="284"/>
|
||||
<location filename="../hanoitowers.cpp" line="292"/>
|
||||
<source>User with this id already registered. If it you then use please the login form.</source>
|
||||
<translation>Користувач з цим ідентифікатором вже зареєстрований. Якщо ви використовуєте його, будь ласка, увійдіть у форму для входу.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="432"/>
|
||||
<location filename="../hanoitowers.cpp" line="440"/>
|
||||
<source>Create user error</source>
|
||||
<translation>Помилка створення користувача</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="433"/>
|
||||
<location filename="../hanoitowers.cpp" line="441"/>
|
||||
<source>Failed to create a new user, The name %0 alredy used.</source>
|
||||
<translation>Не вдалося створити нового користувача, ім’я %0 вже використовується.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="464"/>
|
||||
<location filename="../hanoitowers.cpp" line="472"/>
|
||||
<source>Remove online error</source>
|
||||
<translation>Помилка видалення онлайн даних користувачів</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="464"/>
|
||||
<location filename="../hanoitowers.cpp" line="472"/>
|
||||
<source>current profile not online!</source>
|
||||
<translation>Поточний профіль офлайн!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="470"/>
|
||||
<location filename="../hanoitowers.cpp" line="478"/>
|
||||
<source>Remove Local user</source>
|
||||
<translation>Видалити локального користувача</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../hanoitowers.cpp" line="470"/>
|
||||
<location filename="../hanoitowers.cpp" line="478"/>
|
||||
<source>Failed to remove the local user data</source>
|
||||
<translation>Не вдалося видалити локальні дані користувача</translation>
|
||||
</message>
|
||||
|
@ -23,7 +23,7 @@ ApplicationWindow {
|
||||
property var admodbanner: null
|
||||
|
||||
function createSpriteObjects(url, parent) {
|
||||
if (!backEnd.isAndroid()) {
|
||||
if (!(backEnd.isAndroid() && backEnd.isAdMod())) {
|
||||
return null;
|
||||
}
|
||||
const component = Qt.createComponent(url);
|
||||
|
@ -5,11 +5,13 @@
|
||||
|
||||
***************************
|
||||
## **About Hanoi Towers**
|
||||
|
||||
This version of the game is a test project of **QasarApp**, which means that it is distributed free of charge and without ads.
|
||||
|
||||
This game allows you not only to "kill time", it is useful, corrupting logic. The game is rather a simulator for the development of logical thinking, you can spend time playing at the same time doing self-development.
|
||||
|
||||
### **How to play**
|
||||
|
||||
The rules of the game are quite simple, you will move smaller objects to larger ones in such a way that you get a tower of blocks going up from larger to smaller, try to make as few moves as possible, this is the part of the game that develops logic, think over the moves to the front.
|
||||
|
||||
In our implementation, the level of complexity is gradually increasing. Initially, you start with a small pyramid, after you solve this problem you move on to the next level. At each subsequent level, one new block is added, the level numbers correspond to the number of pyramid blocks, you yourself can switch between the levels that you have completed.
|
||||
@ -23,6 +25,7 @@ supported platform:
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
You can download the latest version of the game [here](https://github.com/EndrII/Hanoi-Towers/releases).
|
||||
|
||||
Or download from official services
|
||||
|
@ -28,7 +28,7 @@ parts:
|
||||
|
||||
override-stage: |
|
||||
snapcraftctl stage
|
||||
chmod +x -R "$SNAPCRAFT_STAGE"
|
||||
chmod 777 -R "$SNAPCRAFT_STAGE"
|
||||
|
||||
desktop-qt5:
|
||||
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
|
||||
|
Loading…
x
Reference in New Issue
Block a user