Merge pull request #2951 from philipwhiuk/translateSearchFromSender
Allow translation of 'more from sender' search name
This commit is contained in:
commit
1a12b18f0c
2 changed files with 2 additions and 1 deletions
|
@ -1279,7 +1279,7 @@ public class MessageList extends K9Activity implements MessageListFragmentListen
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void showMoreFromSameSender(String senderAddress) {
|
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.addAccountUuids(mSearch.getAccountUuids());
|
||||||
tmpSearch.and(SearchField.SENDER, senderAddress, Attribute.CONTAINS);
|
tmpSearch.and(SearchField.SENDER, senderAddress, Attribute.CONTAINS);
|
||||||
|
|
||||||
|
|
|
@ -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="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="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="debug_delete_local_body">Debug / Clear message body</string>
|
||||||
|
|
||||||
<string name="message_discarded_toast">Message discarded</string>
|
<string name="message_discarded_toast">Message discarded</string>
|
||||||
|
|
Loading…
Reference in a new issue