Applied feedback

- changes string name to show_word_count
- changed id of relative layout to notes_relative_layout

refs #141
This commit is contained in:
Christopher 2017-11-20 23:02:13 +01:00
parent d2fb9240fa
commit 460c278809
19 changed files with 20 additions and 20 deletions

View File

@ -25,8 +25,8 @@ class Config(context: Context) : BaseConfig(context) {
set(showKeyboard) = prefs.edit().putBoolean(SHOW_KEYBOARD, showKeyboard).apply()
var showWordCount: Boolean
get() = prefs.getBoolean(SHOW_WORDCOUNT, false)
set(showWordCount) = prefs.edit().putBoolean(SHOW_WORDCOUNT, showWordCount).apply()
get() = prefs.getBoolean(SHOW_WORD_COUNT, false)
set(showWordCount) = prefs.edit().putBoolean(SHOW_WORD_COUNT, showWordCount).apply()
var fontSize: Int
get() = prefs.getInt(FONT_SIZE, FONT_SIZE_MEDIUM)

View File

@ -10,7 +10,7 @@ val CLICKABLE_LINKS = "clickable_links"
val WIDGET_NOTE_ID = "widget_note_id"
val MONOSPACED_FONT = "monospaced_font"
val SHOW_KEYBOARD = "show_keyboard"
val SHOW_WORDCOUNT = "show_word_count"
val SHOW_WORD_COUNT = "show_word_count"
val FONT_SIZE = "font_size"
val GRAVITY = "gravity"
val CURSOR_PLACEMENT = "cursor_placement"

View File

@ -178,7 +178,7 @@
android:clickable="false"
android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@dimen/medium_margin"
android:text="@string/show_wordcount"/>
android:text="@string/show_word_count"/>
</RelativeLayout>

View File

@ -13,7 +13,7 @@
<RelativeLayout
android:layout_width="match_parent"
android:id="@+id/notes_relativelayout"
android:id="@+id/notes_relative_layout"
android:layout_height="wrap_content">
<com.simplemobiletools.commons.views.MyEditText

View File

@ -32,7 +32,7 @@
<string name="place_cursor_end">Platziere Cursor am Ende der Notiz</string>
<string name="monospaced_font">Benutze Monospace Schrift</string>
<string name="show_keyboard">Zeige Tastatur beim Start</string>
<string name="show_wordcount">Zeige Wort Zähler</string>
<string name="show_word_count">Zeige Wort Zähler</string>
<string name="alignment">Ausrichtung</string>
<string name="left">Linksbündig</string>
<string name="center">Zentriert</string>

View File

@ -32,7 +32,7 @@
<string name="place_cursor_end">Place cursor to the end of note</string>
<string name="monospaced_font">Use monospaced font</string>
<string name="show_keyboard">Show keyboard on startup</string>
<string name="show_wordcount">Show word counter</string>
<string name="show_word_count">Show word counter</string>
<string name="alignment">Alineación del texto</string>
<string name="left">Izquierda</string>
<string name="center">Centrado</string>

View File

@ -32,7 +32,7 @@
<string name="place_cursor_end">Placer le curseur à la fin de la note</string>
<string name="monospaced_font">Use monospaced font</string>
<string name="show_keyboard">Show keyboard on startup</string>
<string name="show_wordcount">Show word counter</string>
<string name="show_word_count">Show word counter</string>
<string name="alignment">Alignment</string>
<string name="left">Gauche</string>
<string name="center">Centre</string>

View File

@ -32,7 +32,7 @@
<string name="place_cursor_end">Place cursor to the end of note</string>
<string name="monospaced_font">Use monospaced font</string>
<string name="show_keyboard">Show keyboard on startup</string>
<string name="show_wordcount">Show word counter</string>
<string name="show_word_count">Show word counter</string>
<string name="alignment">Igazítottság</string>
<string name="left">Bal</string>
<string name="center">Közép</string>

View File

@ -32,7 +32,7 @@
<string name="place_cursor_end">Place cursor to the end of note</string>
<string name="monospaced_font">Use monospaced font</string>
<string name="show_keyboard">Show keyboard on startup</string>
<string name="show_wordcount">Show word counter</string>
<string name="show_word_count">Show word counter</string>
<string name="alignment">Alignment</string>
<string name="left">Left</string>
<string name="center">Center</string>

View File

@ -32,7 +32,7 @@
<string name="place_cursor_end">Place cursor to the end of note</string>
<string name="monospaced_font">Use monospaced font</string>
<string name="show_keyboard">Show keyboard on startup</string>
<string name="show_wordcount">Show word counter</string>
<string name="show_word_count">Show word counter</string>
<string name="alignment">重力</string>
<string name="left"></string>
<string name="center">中央</string>

View File

@ -32,7 +32,7 @@
<string name="place_cursor_end">Perkelti þymeklá á áraðo pabaigà</string>
<string name="monospaced_font">Use monospaced font</string>
<string name="show_keyboard">Show keyboard on startup</string>
<string name="show_wordcount">Show word counter</string>
<string name="show_word_count">Show word counter</string>
<string name="alignment">Átrauka</string>
<string name="left">Kairëje</string>
<string name="center">Centre</string>

View File

@ -32,7 +32,7 @@
<string name="place_cursor_end">Cursor onderaan notitie plaatsen</string>
<string name="monospaced_font">Lettertype met vaste breedte gebruiken</string>
<string name="show_keyboard">Toetsenbord bij start tonen</string>
<string name="show_wordcount">Show word counter</string>
<string name="show_word_count">Show word counter</string>
<string name="alignment">Uitlijning</string>
<string name="left">Links</string>
<string name="center">Midden</string>

View File

@ -32,7 +32,7 @@
<string name="place_cursor_end">Umieszczaj kursor na końcu notatki</string>
<string name="monospaced_font">Używaj czcionki monospace</string>
<string name="show_keyboard">Pokazuj klawiaturę na starcie</string>
<string name="show_wordcount">Show word counter</string>
<string name="show_word_count">Show word counter</string>
<string name="alignment">Wyrównanie tekstu w notatkach</string>
<string name="left">Do lewej strony</string>
<string name="center">Do środka</string>

View File

@ -32,7 +32,7 @@
<string name="place_cursor_end">Place cursor to the end of note</string>
<string name="monospaced_font">Use monospaced font</string>
<string name="show_keyboard">Show keyboard on startup</string>
<string name="show_wordcount">Show word counter</string>
<string name="show_word_count">Show word counter</string>
<string name="alignment">Gravidade</string>
<string name="left">Esquerda</string>
<string name="center">Centro</string>

View File

@ -32,7 +32,7 @@
<string name="place_cursor_end">Colocar cursor no fim da nota</string>
<string name="monospaced_font">Usar letra mono-espaçada</string>
<string name="show_keyboard">Mostrar teclado ao inciar</string>
<string name="show_wordcount">Show word counter</string>
<string name="show_word_count">Show word counter</string>
<string name="alignment">Gravidade</string>
<string name="left">Esquerda</string>
<string name="center">Centro</string>

View File

@ -32,7 +32,7 @@
<string name="place_cursor_end">Помещать курсор в конец заметки</string>
<string name="monospaced_font">Использовать моноширинный шрифт</string>
<string name="show_keyboard">Показывать клавиатуру при запуске</string>
<string name="show_wordcount">Show word counter</string>
<string name="show_word_count">Show word counter</string>
<string name="alignment">Выравнивание</string>
<string name="left">По левому краю</string>
<string name="center">По центру</string>

View File

@ -32,7 +32,7 @@
<string name="place_cursor_end">Umiestniť kurzor na koniec poznámky</string>
<string name="monospaced_font">Použiť písmo Monospace</string>
<string name="show_keyboard">Zobraziť klávesnicu po spustení</string>
<string name="show_wordcount">Show word counter</string>
<string name="show_word_count">Show word counter</string>
<string name="alignment">Zarovnanie</string>
<string name="left">Vľavo</string>
<string name="center">Uprostred</string>

View File

@ -32,7 +32,7 @@
<string name="place_cursor_end">Placera markören vid slutet av anteckningen</string>
<string name="monospaced_font">Use monospaced font</string>
<string name="show_keyboard">Show keyboard on startup</string>
<string name="show_wordcount">Show word counter</string>
<string name="show_word_count">Show word counter</string>
<string name="alignment">Justering</string>
<string name="left">Vänster</string>
<string name="center">Centrerad</string>

View File

@ -32,7 +32,7 @@
<string name="place_cursor_end">Place cursor to the end of note</string>
<string name="monospaced_font">Use monospaced font</string>
<string name="show_keyboard">Show keyboard on startup</string>
<string name="show_wordcount">Show word counter</string>
<string name="show_word_count">Show word counter</string>
<string name="alignment">Alignment</string>
<string name="left">Left</string>
<string name="center">Center</string>