Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-04-07 12:21:26 +02:00
commit ed124b62ef
2 changed files with 4 additions and 2 deletions

View file

@ -51,8 +51,10 @@
android:id="@+id/description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:lines="1"
android:textSize="@dimen/default_desc_text_size"
tools:text="Some subtitle text"/>
tools:text="Some very long subtitle text, that won't fit into one line"/>
<View
android:layout_width="0dp"

View file

@ -58,7 +58,7 @@ public class GpxSelectionHelper {
File file = new File(selectedGPXFiles.get(0).getGpxFile().path);
return Algorithms.getFileNameWithoutExtension(file);
} else if (selectedGPXFiles.size() == 0) {
return app.getResources().getString(R.string.shared_string_none);
return null;
} else {
return app.getResources().getString(R.string.number_of_gpx_files_selected_pattern,
selectedGPXFiles.size());