Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2018-05-08 11:21:22 +02:00
commit 2aae69cc35
2 changed files with 2 additions and 2 deletions

View file

@ -2881,7 +2881,7 @@
<string name="open_in_browser_wiki">Open article online</string>
<string name="open_in_browser_wiki_description">View article in a web browser.</string>
<string name="download_wiki_region_placeholder">this region</string>
<string name="wiki_article_search_text">Searching for the necessary wiki article</string>
<string name="wiki_article_search_text">Searching for the corresponding wiki article</string>
<string name="wiki_article_not_found">Article not found</string>
<string name="how_to_open_wiki_title">How to open Wikipedia articles?</string>
</resources>

View file

@ -302,7 +302,7 @@ public class ExploreTabFragment extends BaseOsmAndFragment implements DownloadIn
try {
for (DownloadActivityType type : types) {
IndexItem item = DownloadResources.findSmallestIndexItemAt(app, latLon, type);
if (item != null && !item.isDownloaded()) {
if (item != null && !item.isDownloaded() && !neededItems.contains(item)) {
neededItems.add(item);
}
}