Skip to content

Commit 0678410

Browse files
albendznicolas-raoul
authored andcommitted
Add a string to tell the user to name their multi image set
1 parent 6aa0f25 commit 0678410

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/src/main/java/fr/free/nrw/commons/upload/MultipleUploadListFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
207207
switch (item.getItemId()) {
208208
case R.id.menu_upload_multiple:
209209
if (baseTitle.getText().toString().trim().isEmpty()) {
210-
Toast.makeText(getContext(), R.string.add_title_toast, Toast.LENGTH_LONG).show();
210+
Toast.makeText(getContext(), R.string.add_set_name_toast, Toast.LENGTH_LONG).show();
211211
return false;
212212
}
213213
multipleUploadInitiatedHandler.OnMultipleUploadInitiated();

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
<string name="login_failed_generic">Login failed</string>
5757
<string name="share_upload_button">Upload</string>
5858
<string name="multiple_share_base_title">Name this set</string>
59+
<string name="add_set_name_toast">Please provide a name for this set</string>
5960
<string name="provider_modifications">Modifications</string>
6061
<string name="menu_upload_single">Upload</string>
6162
<string name="categories_search_text_hint">Search categories</string>

0 commit comments

Comments
 (0)