diff --git a/k9mail/src/main/java/com/fsck/k9/fragment/MessageListFragment.java b/k9mail/src/main/java/com/fsck/k9/fragment/MessageListFragment.java index 175066d06..3eab54bf5 100644 --- a/k9mail/src/main/java/com/fsck/k9/fragment/MessageListFragment.java +++ b/k9mail/src/main/java/com/fsck/k9/fragment/MessageListFragment.java @@ -1340,10 +1340,10 @@ public class MessageListFragment extends Fragment implements OnItemClickListener public void remoteSearchServerQueryComplete(String folderName, int numResults, int maxResults) { handler.progress(true); if (maxResults != 0 && numResults > maxResults) { - handler.updateFooter(context.getString(R.string.remote_search_downloading_limited, - maxResults, numResults)); + handler.updateFooter(context.getResources().getQuantityString(R.plurals.remote_search_downloading_limited, + maxResults, maxResults, numResults)); } else { - handler.updateFooter(context.getString(R.string.remote_search_downloading, numResults)); + handler.updateFooter(context.getResources().getQuantityString(R.plurals.remote_search_downloading, numResults)); } fragmentListener.setMessageListProgress(Window.PROGRESS_START); } diff --git a/k9mail/src/main/res/values/strings.xml b/k9mail/src/main/res/values/strings.xml index dd21aa3af..0de5bb1f1 100644 --- a/k9mail/src/main/res/values/strings.xml +++ b/k9mail/src/main/res/values/strings.xml @@ -1058,8 +1058,14 @@ Please submit bug reports, contribute new features and ask questions at Server search limit Search will stop after finding %s results. Sending query to server - Fetching %d results - Fetching %1$d of %2$d results + + Fetching %d result + Fetching %d results + + + Fetching %1$d of %2$d results + Fetching %1$d of %2$d results + Remote search failed Search