String extract (#148)
* FolderSyncWorker: update supported file types in getFileType * Extract hardcoded strings to `strings.xml` and `plurals.xml` * Extract hardcoded strings to `strings.xml` and `plurals.xml` * Extract hardcoded strings to `strings.xml` and `plurals.xml` in MainViewModel * Extract hardcoded strings to `strings.xml` and `plurals.xml` in Common.kt * Extract hardcoded strings to `strings.xml` and `plurals.xml` in Epub Reader
This commit is contained in:
parent
da1c5bce1e
commit
381193d774
20 changed files with 1388 additions and 855 deletions
19
app/src/main/res/values/plurals.xml
Normal file
19
app/src/main/res/values/plurals.xml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<plurals name="book_count">
|
||||
<item quantity="one">%1$d book</item>
|
||||
<item quantity="other">%1$d books</item>
|
||||
</plurals>
|
||||
<plurals name="book_word">
|
||||
<item quantity="one">book</item>
|
||||
<item quantity="other">books</item>
|
||||
</plurals>
|
||||
<plurals name="shelf_count">
|
||||
<item quantity="one">%1$d shelf</item>
|
||||
<item quantity="other">%1$d shelves</item>
|
||||
</plurals>
|
||||
<plurals name="search_results_count">
|
||||
<item quantity="one">%1$d result found</item>
|
||||
<item quantity="other">%1$d results found</item>
|
||||
</plurals>
|
||||
</resources>
|
||||
Loading…
Add table
Add a link
Reference in a new issue