diff options
author | Mindy Pereira <mindyp@google.com> | 2012-05-03 11:45:31 -0700 |
---|---|---|
committer | Mindy Pereira <mindyp@google.com> | 2012-05-03 11:50:48 -0700 |
commit | caccbfbeaf0c42b86b6e26ff48c18c4fc136e28f (patch) | |
tree | a9acdfa597b3cbd76fe22f2b5a01b26fc2394a51 /res/values | |
parent | 3f892cca0a6f647b879e1f4998207a1e7ef4bc5a (diff) | |
download | android_packages_apps_ExactCalculator-caccbfbeaf0c42b86b6e26ff48c18c4fc136e28f.tar.gz android_packages_apps_ExactCalculator-caccbfbeaf0c42b86b6e26ff48c18c4fc136e28f.tar.bz2 android_packages_apps_ExactCalculator-caccbfbeaf0c42b86b6e26ff48c18c4fc136e28f.zip |
Translate from translated languages to MATH.
Fixes b/6116353 Calculator doesn't calculate sin(0) when language is set to Spanish
Change-Id: I40ecf66e8021e914eaee9c603191d022d0b757ff
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/strings.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 958a6c4..e5038a9 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -59,11 +59,16 @@ <string name="enter">\u2193</string> <!-- Displayed on buttons on screen for the sin function. --> <string name="sin">sin</string> + <!-- Do not translate. What we replace translated SIN with for calculating sin.--> + <string translate="false" name="sin_mathematical_value">sin</string> <!-- Displayed on buttons on screen for the cos function. --> <string name="cos">cos</string> + <!-- Do not translate. What we replace translated COS with for calculating cos. --> + <string translate="false" name="cos_mathematical_value">cos</string> <!-- Displayed on buttons on screen for the tan function. --> <string name="tan">tan</string> - + <!-- Do not translate. What we replace translated TAN with for calculating tan. --> + <string translate="false" name="tan_mathematical_value">tan</string> <!-- Do not translate. Unicode pi sign; don't translate. Displayed as button on screen. --> <string name="pi">\u03c0</string> <!-- Displayed on buttons on screen for the e function. --> |