Skip to content

Commit

Permalink
refactor: Move number strings to strings.xml from donottranslate.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
prathameshmm02 committed May 9, 2023
1 parent c97a587 commit 0fe0bb0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/src/main/res/values/donottranslate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,7 @@
<resources>
<string name="app_name">Calculator-inator</string>

<string name="seven">7</string>
<string name="eight">8</string>
<string name="nine">9</string>
<string name="four">4</string>
<string name="five">5</string>
<string name="six">6</string>
<string name="one">1</string>
<string name="two">2</string>
<string name="three">3</string>
<string name="point">.</string>
<string name="zero">0</string>
<string name="equal">=</string>
<string name="add">+</string>
<string name="subtract">-</string>
Expand Down
11 changes: 11 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
<resources>
<string name="zero">0</string>
<string name="one">1</string>
<string name="two">2</string>
<string name="three">3</string>
<string name="four">4</string>
<string name="five">5</string>
<string name="six">6</string>
<string name="seven">7</string>
<string name="eight">8</string>
<string name="nine">9</string>

<string name="title_activity_settings">Settings</string>


Expand Down

0 comments on commit 0fe0bb0

Please sign in to comment.