Skip to content

Commit cb646e6

Browse files
committed
Refactor full stop value text to strings.xml
1 parent 4d52c83 commit cb646e6

6 files changed

Lines changed: 8 additions & 5 deletions

File tree

app/src/main/res/values/strings.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,7 @@
3737
<!-- Space bar: U+25C0, U+25B6 (triangles) -->
3838
<string name="display_text__qwerty_space_bar">◀ English ▶</string>
3939
<string name="display_text__strokes_space_bar">◀ Chinese ▶</string>
40+
<!-- Full stop: U+002E FULL STOP, U+3002 IDEOGRAPHIC FULL STOP -->
41+
<string name="value_text__qwerty_full_stop" translatable="false">.</string>
42+
<string name="value_text__strokes_full_stop" translatable="false">。</string>
4043
</resources>

app/src/main/res/xml/keyboard_qwerty.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
/>
120120
<!-- Full stop -->
121121
<Key
122-
app:keyValueText="."
122+
app:keyValueText="@string/value_text__qwerty_full_stop"
123123
app:keyWidth="@dimen/key_width__digit"
124124
/>
125125
<!-- Enter key -->

app/src/main/res/xml/keyboard_qwerty_symbols.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
/>
100100
<!-- Full stop -->
101101
<Key
102-
app:keyValueText="."
102+
app:keyValueText="@string/value_text__qwerty_full_stop"
103103
app:keyWidth="@dimen/key_width__digit"
104104
/>
105105
<!-- Enter key -->

app/src/main/res/xml/keyboard_strokes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
/>
111111
<!-- U+3002 IDEOGRAPHIC FULL STOP -->
112112
<Key
113-
app:keyValueText=""
113+
app:keyValueText="@string/value_text__strokes_full_stop"
114114
app:keyWidth="@dimen/key_width__digit"
115115
/>
116116
<!-- Enter key -->

app/src/main/res/xml/keyboard_strokes_symbols_1.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
/>
106106
<!-- U+3002 IDEOGRAPHIC FULL STOP -->
107107
<Key
108-
app:keyValueText=""
108+
app:keyValueText="@string/value_text__strokes_full_stop"
109109
app:keyWidth="@dimen/key_width__digit"
110110
/>
111111
<!-- Enter key -->

app/src/main/res/xml/keyboard_strokes_symbols_2.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
/>
8383
<!-- U+3002 IDEOGRAPHIC FULL STOP -->
8484
<Key
85-
app:keyValueText=""
85+
app:keyValueText="@string/value_text__strokes_full_stop"
8686
app:keyWidth="@dimen/key_width__digit"
8787
/>
8888
<!-- Enter key -->

0 commit comments

Comments
 (0)