From cba364f036df2783b35f353dd06a9327dec2e197 Mon Sep 17 00:00:00 2001 From: Solovyev_S Date: Mon, 1 Jul 2013 13:00:02 +0400 Subject: [PATCH] wizard finished --- .../res/values-ru/text_strings.xml | 4 +- .../res/values-zh-rtw/text_strings.xml | 2 +- android-app-core/res/values/text_strings.xml | 4 +- android-app-core/res/values/text_wizard.xml | 13 ++++ android-app/res/layout/cpp_wizard.xml | 12 +-- .../res/layout/cpp_wizard_step_final.xml | 55 ++++++++++++++ .../calculator/wizard/AppWizardFlow.java | 3 +- .../wizard/CalculatorWizardActivity.java | 43 ++++------- .../calculator/wizard/FinalWizardStep.java | 69 +++++++++++++++++ .../android/calculator/wizard/WizardStep.java | 74 ++++++------------- .../wizard/CalculatorWizardActivityTest.java | 10 +-- .../calculator/wizard/WizardStepTest.java | 4 +- 12 files changed, 186 insertions(+), 107 deletions(-) create mode 100644 android-app/res/layout/cpp_wizard_step_final.xml create mode 100644 android-app/src/main/java/org/solovyev/android/calculator/wizard/FinalWizardStep.java diff --git a/android-app-core/res/values-ru/text_strings.xml b/android-app-core/res/values-ru/text_strings.xml index 51d936ee..f41c6845 100644 --- a/android-app-core/res/values-ru/text_strings.xml +++ b/android-app-core/res/values-ru/text_strings.xml @@ -201,9 +201,7 @@ Приветствие Спасибо за выбор Калькулятора++!\n\nКалькулятор++ - это мощный инструмент для - проведения ежедневных расчётов.\n\nДля избавление от рекламы и поддержки проекта вы можете воспользоваться - специальной опцией доступной из настроек приложения.\n\nПеред началом работы рекомендуется прочитать FAQ и - подсказки для использования всех возможностей программы (нажмите Меню, затем Помощь) + проведения ежедневных расчётов. Показывать примечания к выпуску diff --git a/android-app-core/res/values-zh-rtw/text_strings.xml b/android-app-core/res/values-zh-rtw/text_strings.xml index eb1956cc..776ae11c 100644 --- a/android-app-core/res/values-zh-rtw/text_strings.xml +++ b/android-app-core/res/values-zh-rtw/text_strings.xml @@ -181,7 +181,7 @@ 複製值 感謝您選擇 Calculator++!\n\nCalculator++ - 是一個強大的計算工具.\n\n您可以從設定選單內的一個特殊選項移除廣告並支持此專案.\n\n強烈建議您在使用本程式之前先閱讀常見問題以及提示 (按下選單鍵, 然後選擇「說明」) + 是一個強大的計算工具. 歡迎 diff --git a/android-app-core/res/values/text_strings.xml b/android-app-core/res/values/text_strings.xml index 3cc0c871..ea49b818 100644 --- a/android-app-core/res/values/text_strings.xml +++ b/android-app-core/res/values/text_strings.xml @@ -196,9 +196,7 @@ Copy value Thank you for choosing Calculator++!\n\nCalculator++ is a powerful tool for making - everyday calculations.\n\nTo remove the ads and support the project you can use special option from application - settings.\n\nIt\'s highly recommended to read the FAQ and hints before the work to use all the features of - application (press Menu button and then Help) + everyday calculations. Welcome diff --git a/android-app-core/res/values/text_wizard.xml b/android-app-core/res/values/text_wizard.xml index 227ce38d..987c769a 100644 --- a/android-app-core/res/values/text_wizard.xml +++ b/android-app-core/res/values/text_wizard.xml @@ -23,6 +23,10 @@ --> + Next + Back + Finish + Start wizard Optimized Big buttons Simple @@ -47,5 +51,14 @@ Choose mode Calculator in a separate window Drag button basics + Almost done! + Calculator++ is free and open-source: all the features are free + of charge and source code can be found on github. + + There are several ways how you can help to make this app better: + + Donating money + Translating + Contributing source code \ No newline at end of file diff --git a/android-app/res/layout/cpp_wizard.xml b/android-app/res/layout/cpp_wizard.xml index ac3106fb..e03cd5a4 100644 --- a/android-app/res/layout/cpp_wizard.xml +++ b/android-app/res/layout/cpp_wizard.xml @@ -46,22 +46,14 @@ a:layout_height="wrap_content" a:layout_width="0dp" a:layout_weight="1" - a:text="Prev"/> + a:text="@string/cpp_wizard_back"/>