Skip to content

Commit e01c06e

Browse files
committed
Use different labels for different buttons (toggle vs refresh)
1 parent 022ac94 commit e01c06e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/src/main/res/menu/menu_nearby.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<item
66
android:id="@+id/action_toggle_view"
7-
android:title="@string/refresh_button"
7+
android:title="@string/toggle_view_button"
88
android:icon="@drawable/ic_map_white_24dp"
99
android:orderInCategory="1"
1010
app:showAsAction="ifRoom"

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,12 @@
215215
<string name="nearby_location_has_not_changed">Location has not changed.</string>
216216
<string name="nearby_location_not_available">Location not available.</string>
217217
<string name="location_permission_rationale_nearby">Permission required to display a list of nearby places</string>
218-
<string name="get_directions">GET DIRECTIONS</string>
218+
<string name="get_directions">GET DIRECTIONS</string>
219219
<string name="read_article">READ ARTICLE</string>
220220

221221
<string name="notifications_welcome" formatted="false">Welcome to Wikimedia Commons, %1$s! We\'re glad you\'re here.</string>
222222
<string name="notifications_talk_page_message">%1$s left a message on your talk page</string>
223223
<string name="notifications_thank_you_edit">Thank you for making an edit</string>
224224
<string name="notifications_mention">%1$s mentioned you on %2$s.</string>
225+
<string name="toggle_view_button">Toggle view</string>
225226
</resources>

0 commit comments

Comments
 (0)