summaryrefslogtreecommitdiffstats
path: root/res/values/strings.xml
blob: 5fdb7253fee28991d1771f4777fe553dd033e8eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2007 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<resources>

    <!-- Application name -->
    <string name="app_name">Quantum Calculator</string>
    <!-- If there is a syntax error in the user entered calculation, an error dialog will appear.  This is the title. -->
    <string name="error">Error</string>
    <!-- Displayed numbers for the digit buttons -->
    <string name="digit0">0</string>
    <!-- Displayed numbers for the digit buttons -->
    <string name="digit1">1</string>
    <!-- Displayed numbers for the digit buttons -->
    <string name="digit2">2</string>
    <!-- Displayed numbers for the digit buttons -->
    <string name="digit3">3</string>
    <!-- Displayed numbers for the digit buttons -->
    <string name="digit4">4</string>
    <!-- Displayed numbers for the digit buttons -->
    <string name="digit5">5</string>
    <!-- Displayed numbers for the digit buttons -->
    <string name="digit6">6</string>
    <!-- Displayed numbers for the digit buttons -->
    <string name="digit7">7</string>
    <!-- Displayed numbers for the digit buttons -->
    <string name="digit8">8</string>
    <!-- Displayed numbers for the digit buttons -->
    <string name="digit9">9</string>
    <!-- Button name on screen to delete the last entered digit or operator -->
    <string name="del">DEL</string>
    <!-- Button name on screen to clear the entire calculation field. [CHAR LIMIT=6] -->
    <string name="clear">CLR</string>
    <!-- Do not translate. Unicode division sign; don't translate. Displayed as button on screen. -->
    <string name="div">\u00f7</string>
    <!-- Do not translate. Unicode multiplication sign; don't translate. Displayed as button on screen. -->
    <string name="mul">\u00d7</string>
    <!-- Do not translate. Plus sign, displayed as button on screen -->
    <string name="plus">+</string>
    <!-- Do not translate. Unicode minus sign; don't translate. Displayed as button on screen. -->
    <string name="minus">\u2212</string>
    <!-- Do not translate. Decimal point; don't translate. Displayed as button on screen. -->
    <string name="dot">.</string>
    <!-- Do not translate. Equal sign; don't translate. Displayed as button on screen. -->
    <string name="equal">=</string>
    <!-- Do not translate. Down arrow; don't translate. Displayed as button on screen. -->
    <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 name="sin_mathematical_value" translate="false">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 name="cos_mathematical_value" translate="false">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 name="tan_mathematical_value" translate="false">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. -->
    <string name="e">e</string>
    <!-- Do not translate. What we replace translated e with for calculating e. -->
    <string name="e_mathematical_value" translate="false">e</string>
    <!-- Displayed on buttons on screen for the ln function. -->
    <string name="ln">ln</string>
    <!-- Do not translate. What we replace translated ln with for calculating ln. -->
    <string name="ln_mathematical_value" translate="false">ln</string>
    <!-- Displayed on buttons on screen for the log function. -->
    <string name="lg">log</string>
    <!-- Do not translate. What we replace translated lg with for calculating lg. -->
    <string name="lg_mathematical_value" translate="false">lg</string>
    <!-- Displayed on buttons on screen for a left parenthesis. -->
    <string name="leftParen">(</string>
    <!-- Displayed on buttons on screen for a right parenthesis. -->
    <string name="rightParen">)</string>
    <!-- Do not translate. Unicode square root sign; don't translate. Displayed on button on screen. -->
    <string name="sqrt">\u221a</string>
    <!-- Do not translate. Displayed on buttons on screen. -->
    <string name="power">^</string>
    <!-- Do not translate. -->
    <string name="factorial">!</string>
    <!-- Menu item text to take user to the screen with the basic digits and operators. -->
    <string name="basic">Basic panel</string>
    <!-- Menu item text to take user to the screen with the advanced functions, such as sin, cos, ln, log, etc. -->
    <string name="advanced">Advanced panel</string>
    <!-- Menu item text to clear the calculation history. -->
    <string name="clear_history">Clear history</string>
    <!-- Toast shown when text is copied to the clipboard. -->
    <string name="text_copied_toast">Text copied.</string>

    <!--
    Content descriptions for accessibility. These strings will be read aloud to users who are using the calculator with
    accessibility features enabled and should reflect the mathematical concept instead of a direct representation of what is shown
    on the button
    -->
    <string name="leftParenDesc">left parenthesis</string>
    <string name="rightParenDesc">right parenthesis</string>
    <string name="factorialDesc">factorial</string>
    <string name="lnDesc">natural logarithm</string>
    <string name="lgDesc">logarithm</string>
    <string name="sqrtDesc">square root</string>
    <string name="divDesc">divide</string>
    <string name="mulDesc">multiply</string>
    <string name="plusDesc">plus</string>
    <string name="minusDesc">minus</string>
    <string name="dotDesc">point</string>
    <string name="powerDesc">power</string>
    <string name="delDesc">delete</string>
    <string name="clearDesc">clear</string>
    <string name="tanDesc">tangent</string>
    <string name="sinDesc">sine</string>
    <string name="cosDesc">cosine</string>
    <string name="eDesc">Euler\'s number</string>
    <string name="piDesc">pi</string>
    <string name="equalDesc">equals</string>

    <!--
    Content descriptions for accessibility used as keys when determining which mathematical
    concept description to speak when accessibility features are enabled. Order of the array is
    important.
    -->
    <string-array name="operators" translatable="false">
        <item>(</item>
        <item>)</item>
        <item>!</item>
        <item>ln</item>
        <item>log</item>
        <item>\u221a</item>
        <item>\u00f7</item>
        <item>\u00d7</item>
        <item>+</item>
        <item>\u2212</item>
        <item>.</item>
        <item>^</item>
        <item>tan</item>
        <item>sin</item>
        <item>cos</item>
        <item>\u03c0</item>
        <item>=</item>
    </string-array>

    <!--
     Content descriptions for accessibility. These strings will be read aloud to users who
     are using the calculator with accessibility features enabled and hover over the edit text
     field. These should reflect the mathematical concept instead of a direct representation of
     what is shown in the text field. Order of the array is important.
    -->
    <string-array name="operatorDescs">

        <!-- Description for mathematical ( [CHAR LIMIT=200] -->
        <item>left parenthesis</item>
        <!-- Description for mathematical ) [CHAR LIMIT=200] -->
        <item>right parenthesis</item>
        <!-- Description for mathematical ! (factorial) function [CHAR LIMIT=200] -->
        <item>factorial</item>
        <!-- Description for mathematical ln [CHAR LIMIT=200] -->
        <item>natural logarithm</item>
        <!-- Description for mathematical log [CHAR LIMIT=200] -->
        <item>logarithm</item>
        <!-- Description for mathematical square root [CHAR LIMIT=200] -->
        <item>square root</item>
        <!-- Description for mathematical / [CHAR LIMIT=200] -->
        <item>divided by</item>
        <!-- Description for mathematical x [CHAR LIMIT=200] -->
        <item>multiplied by</item>
        <!-- Description for mathematical + [CHAR LIMIT=200] -->
        <item>plus</item>
        <!-- Description for mathematical - [CHAR LIMIT=200] -->
        <item>minus</item>
        <!-- Description for mathematical . [CHAR LIMIT=200] -->
        <item>&#160;point&#160;</item>
        <!-- Description for mathematical ^ [CHAR LIMIT=200] -->
        <item>power</item>
        <!-- Description for mathematical TAN [CHAR LIMIT=200] -->
        <item>tangent</item>
        <!-- Description for mathematical SIN [CHAR LIMIT=200] -->
        <item>sine</item>
        <!-- Description for mathematical COS [CHAR LIMIT=200] -->
        <item>cosine</item>
        <!-- Description for mathematical PI [CHAR LIMIT=200] -->
        <item>pi</item>
        <!-- Description for mathematical = [CHAR LIMIT=200] -->
        <item>equals</item>
    </string-array>

</resources>