Merge pull request #2951 from philipwhiuk/translateSearchFromSender

Allow translation of 'more from sender' search name
This commit is contained in:
cketti 2017-11-27 16:26:53 +01:00 committed by GitHub
commit 1a12b18f0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -1279,7 +1279,7 @@ public class MessageList extends K9Activity implements MessageListFragmentListen
@Override
public void showMoreFromSameSender(String senderAddress) {
LocalSearch tmpSearch = new LocalSearch("From " + senderAddress);
LocalSearch tmpSearch = new LocalSearch(getString(R.string.search_from_format, senderAddress));
tmpSearch.addAccountUuids(mSearch.getAccountUuids());
tmpSearch.and(SearchField.SENDER, senderAddress, Attribute.CONTAINS);

View file

@ -299,6 +299,7 @@ Please submit bug reports, contribute new features and ask questions at
<string name="message_additional_headers_retrieval_failed">The retrieval of additional headers from the database or mail server failed.</string>
<string name="from_same_sender">More from this sender</string>
<string name="search_from_format">From <xliff:g id="sender">%s</xliff:g></string>
<string name="debug_delete_local_body">Debug / Clear message body</string>
<string name="message_discarded_toast">Message discarded</string>