From 69a25604a35f92e04119878ca537e58908dff9d3 Mon Sep 17 00:00:00 2001 From: serso Date: Thu, 15 Dec 2011 23:17:34 +0400 Subject: [PATCH] multiplication sign fix --- res/values-ru/strings.xml | 2 ++ res/values/arrays.xml | 6 ++++++ res/values/default_values.xml | 3 +++ res/values/strings.xml | 2 ++ res/xml/main_preferences.xml | 6 ++++++ .../android/calculator/CalculatorActivity.java | 17 ++++++++++++++++- .../calculator/model/AbstractNumberBuilder.java | 6 +++++- .../calculator/model/CalculatorEngine.java | 17 +++++++++++++++++ .../model/FromJsclSimplifyTextProcessor.java | 2 +- .../android/view/widgets/ColorButton.java | 2 +- .../view/widgets/DirectionDragButton.java | 11 ----------- 11 files changed, 59 insertions(+), 15 deletions(-) diff --git a/res/values-ru/strings.xml b/res/values-ru/strings.xml index 8df3ee26..ef290653 100644 --- a/res/values-ru/strings.xml +++ b/res/values-ru/strings.xml @@ -127,6 +127,8 @@ Пробел ( ) Разделитель разрядов Устанавливает разделитель разрядов числа + Знак произведения + Устанавливает знак произведения Раскладка Телефон diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 83dd1ce1..81a6f6cd 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -27,6 +27,12 @@ " " + + "*" + "×" + "∙" + + @string/p_layout_cellphone @string/p_layout_calculator diff --git a/res/values/default_values.xml b/res/values/default_values.xml index 00babc34..e6ebd39e 100644 --- a/res/values/default_values.xml +++ b/res/values/default_values.xml @@ -44,6 +44,9 @@ org.solovyev.android.calculator.CalculatorActivity_calc_grouping_separator " " + org.solovyev.android.calculator.CalculatorActivity_calc_multiplication_sign + "×" + org.solovyev.android.calculator.CalculatorActivity_calc_haptic_feedback_duration_key " " diff --git a/res/values/strings.xml b/res/values/strings.xml index 0c07a229..4e35c5be 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -128,6 +128,8 @@ Space ( ) Grouping separator Sets grouping separator + Multiplication sign + Sets multiplication sign Layout Cellphone diff --git a/res/xml/main_preferences.xml b/res/xml/main_preferences.xml index 0b27ae69..d33e2a38 100644 --- a/res/xml/main_preferences.xml +++ b/res/xml/main_preferences.xml @@ -23,6 +23,12 @@ a:summary="@string/c_calc_grouping_separator_summary" a:entryValues="@array/p_grouping_separator_values"/> + +