forked from mirror/monocles_chat
add description for text/plain
This commit is contained in:
parent
27fd2688ea
commit
f9204fc340
2 changed files with 3 additions and 0 deletions
|
@ -515,6 +515,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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1145,4 +1145,5 @@
|
||||||
<string name="delete_recording_dialog_message">Do you really want to cancel and delete your recording?</string>
|
<string name="delete_recording_dialog_message">Do you really want to cancel and delete your recording?</string>
|
||||||
<string name="pref_pause_voice_on_move_from_ear">Pause voice message automatically</string>
|
<string name="pref_pause_voice_on_move_from_ear">Pause voice message automatically</string>
|
||||||
<string name="pref_pause_voice_on_move_from_ear_summary">Pause the current voice message when you move your device away from your ear.</string>
|
<string name="pref_pause_voice_on_move_from_ear_summary">Pause the current voice message when you move your device away from your ear.</string>
|
||||||
|
<string name="plain_text_document">Plain text document</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Add table
Reference in a new issue