Skip to content

Commit 460c278

Browse files
committed
Applied feedback
- changes string name to show_word_count - changed id of relative layout to notes_relative_layout refs #141
1 parent d2fb924 commit 460c278

19 files changed

Lines changed: 20 additions & 20 deletions

File tree

app/src/main/kotlin/com/simplemobiletools/notes/helpers/Config.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class Config(context: Context) : BaseConfig(context) {
2525
set(showKeyboard) = prefs.edit().putBoolean(SHOW_KEYBOARD, showKeyboard).apply()
2626

2727
var showWordCount: Boolean
28-
get() = prefs.getBoolean(SHOW_WORDCOUNT, false)
29-
set(showWordCount) = prefs.edit().putBoolean(SHOW_WORDCOUNT, showWordCount).apply()
28+
get() = prefs.getBoolean(SHOW_WORD_COUNT, false)
29+
set(showWordCount) = prefs.edit().putBoolean(SHOW_WORD_COUNT, showWordCount).apply()
3030

3131
var fontSize: Int
3232
get() = prefs.getInt(FONT_SIZE, FONT_SIZE_MEDIUM)

app/src/main/kotlin/com/simplemobiletools/notes/helpers/Constants.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ val CLICKABLE_LINKS = "clickable_links"
1010
val WIDGET_NOTE_ID = "widget_note_id"
1111
val MONOSPACED_FONT = "monospaced_font"
1212
val SHOW_KEYBOARD = "show_keyboard"
13-
val SHOW_WORDCOUNT = "show_word_count"
13+
val SHOW_WORD_COUNT = "show_word_count"
1414
val FONT_SIZE = "font_size"
1515
val GRAVITY = "gravity"
1616
val CURSOR_PLACEMENT = "cursor_placement"

app/src/main/res/layout/activity_settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
android:clickable="false"
179179
android:paddingLeft="@dimen/medium_margin"
180180
android:paddingStart="@dimen/medium_margin"
181-
android:text="@string/show_wordcount"/>
181+
android:text="@string/show_word_count"/>
182182

183183
</RelativeLayout>
184184

app/src/main/res/layout/fragment_note.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<RelativeLayout
1515
android:layout_width="match_parent"
16-
android:id="@+id/notes_relativelayout"
16+
android:id="@+id/notes_relative_layout"
1717
android:layout_height="wrap_content">
1818

1919
<com.simplemobiletools.commons.views.MyEditText

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<string name="place_cursor_end">Platziere Cursor am Ende der Notiz</string>
3333
<string name="monospaced_font">Benutze Monospace Schrift</string>
3434
<string name="show_keyboard">Zeige Tastatur beim Start</string>
35-
<string name="show_wordcount">Zeige Wort Zähler</string>
35+
<string name="show_word_count">Zeige Wort Zähler</string>
3636
<string name="alignment">Ausrichtung</string>
3737
<string name="left">Linksbündig</string>
3838
<string name="center">Zentriert</string>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<string name="place_cursor_end">Place cursor to the end of note</string>
3333
<string name="monospaced_font">Use monospaced font</string>
3434
<string name="show_keyboard">Show keyboard on startup</string>
35-
<string name="show_wordcount">Show word counter</string>
35+
<string name="show_word_count">Show word counter</string>
3636
<string name="alignment">Alineación del texto</string>
3737
<string name="left">Izquierda</string>
3838
<string name="center">Centrado</string>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<string name="place_cursor_end">Placer le curseur à la fin de la note</string>
3333
<string name="monospaced_font">Use monospaced font</string>
3434
<string name="show_keyboard">Show keyboard on startup</string>
35-
<string name="show_wordcount">Show word counter</string>
35+
<string name="show_word_count">Show word counter</string>
3636
<string name="alignment">Alignment</string>
3737
<string name="left">Gauche</string>
3838
<string name="center">Centre</string>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<string name="place_cursor_end">Place cursor to the end of note</string>
3333
<string name="monospaced_font">Use monospaced font</string>
3434
<string name="show_keyboard">Show keyboard on startup</string>
35-
<string name="show_wordcount">Show word counter</string>
35+
<string name="show_word_count">Show word counter</string>
3636
<string name="alignment">Igazítottság</string>
3737
<string name="left">Bal</string>
3838
<string name="center">Közép</string>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<string name="place_cursor_end">Place cursor to the end of note</string>
3333
<string name="monospaced_font">Use monospaced font</string>
3434
<string name="show_keyboard">Show keyboard on startup</string>
35-
<string name="show_wordcount">Show word counter</string>
35+
<string name="show_word_count">Show word counter</string>
3636
<string name="alignment">Alignment</string>
3737
<string name="left">Left</string>
3838
<string name="center">Center</string>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<string name="place_cursor_end">Place cursor to the end of note</string>
3333
<string name="monospaced_font">Use monospaced font</string>
3434
<string name="show_keyboard">Show keyboard on startup</string>
35-
<string name="show_wordcount">Show word counter</string>
35+
<string name="show_word_count">Show word counter</string>
3636
<string name="alignment">重力</string>
3737
<string name="left">左</string>
3838
<string name="center">中央</string>

0 commit comments

Comments
 (0)