Skip to content

Commit

Permalink
fix: use consistent label for Whiteboard editor
Browse files Browse the repository at this point in the history
"Settings" > "Appearance" > "App bar buttons" > "Whiteboard" > "Whiteboard pen color" actually targets "Whiteboard editor" option in Reviewer.
This commit renames the "Whiteboard pen color" label to "Whiteboard editor" for consistency.
  • Loading branch information
snowtimeglass committed Feb 7, 2025
1 parent b64ce1b commit f6f4910
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion AnkiDroid/src/main/res/values/02-strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@
<string name="white_board_image_save_failed">Failed to save whiteboard image. %s</string>
<string name="white_board_image_saved">Whiteboard image saved to %s</string>

<string name="title_whiteboard_pen_color" maxLength="41">Whiteboard pen color</string>
<string name="title_whiteboard_editor" maxLength="28">Whiteboard editor</string>

<string name="user_is_a_robot">Detected automated test. If you are a human, contact AnkiDroid support</string>
Expand Down
2 changes: 1 addition & 1 deletion AnkiDroid/src/main/res/xml/preferences_custom_buttons.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ TODO: Add a unit test
android:entries="@array/custom_button_labels"
android:entryValues="@array/custom_button_values"
android:key="@string/custom_button_whiteboard_pen_color_key"
android:title="@string/title_whiteboard_pen_color"
android:title="@string/title_whiteboard_editor"
app:useSimpleSummaryProvider="true"/>
<ListPreference
android:defaultValue="2"
Expand Down

0 comments on commit f6f4910

Please sign in to comment.