add description for text/plain

This commit is contained in:
Daniel Gultsch 2021-05-17 16:00:00 +02:00
parent 87f99d3570
commit af33a57bf2
2 changed files with 3 additions and 0 deletions

View file

@ -502,6 +502,8 @@ public class UIHelper {
return context.getString(R.string.ebook); return context.getString(R.string.ebook);
} else if (mime.equals("application/gpx+xml")) { } else if (mime.equals("application/gpx+xml")) {
return context.getString(R.string.gpx_track); return context.getString(R.string.gpx_track);
} else if (mime.equals("text/plain")) {
return context.getString(R.string.plain_text_document);
} else { } else {
return mime; return mime;
} }

View file

@ -965,4 +965,5 @@
<string name="no_active_accounts_support_this">No active accounts support this feature</string> <string name="no_active_accounts_support_this">No active accounts support this feature</string>
<string name="backup_started_message">The backup has been started. Youll get a notification once it has been completed.</string> <string name="backup_started_message">The backup has been started. Youll get a notification once it has been completed.</string>
<string name="unable_to_enable_video">Unable to enable video.</string> <string name="unable_to_enable_video">Unable to enable video.</string>
<string name="plain_text_document">Plain text document</string>
</resources> </resources>