mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Add string resources
This commit is contained in:
parent
d0622d14b1
commit
4a53db8476
2 changed files with 2 additions and 3 deletions
|
|
@ -160,10 +160,8 @@ public class NearbyActivity extends BaseActivity {
|
|||
gsonCurLatLng = gson.toJson(curLatLang);
|
||||
|
||||
if (placeList.size() == 0) {
|
||||
CharSequence text = "No nearby places found";
|
||||
int duration = Toast.LENGTH_SHORT;
|
||||
|
||||
Toast toast = Toast.makeText(mContext, text, duration);
|
||||
Toast toast = Toast.makeText(mContext, R.string.no_nearby, duration);
|
||||
toast.show();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -157,6 +157,7 @@ Tap this message (or hit back) to skip this step.</string>
|
|||
<string name="location_permission_rationale">Optional permission: Get current location for category suggestions</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="title_activity_nearby">Nearby Places</string>
|
||||
<string name="no_nearby">No nearby places found</string>
|
||||
<string name="warning">Warning</string>
|
||||
<string name="file_exists">This file already exists on Commons. Are you sure you want to proceed?</string>
|
||||
<string name="yes">Yes</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue