Update wording of tooltips (Gaelle's review)

This commit is contained in:
Benoit Marty 2022-01-04 18:43:17 +01:00
parent 0797860e4f
commit 97459bc822
2 changed files with 16 additions and 11 deletions

View File

@ -208,12 +208,12 @@ class AttachmentTypeSelectorView(context: Context,
* The all possible types to pick with their required permissions and tooltip resource
*/
enum class Type(val permissions: List<String>, @StringRes val tooltipRes: Int) {
CAMERA(PERMISSIONS_FOR_TAKING_PHOTO, R.string.option_take_photo_video),
GALLERY(PERMISSIONS_EMPTY, R.string.tooltip_select_item_from_gallery),
FILE(PERMISSIONS_EMPTY, R.string.tooltip_select_file),
STICKER(PERMISSIONS_EMPTY, R.string.option_send_sticker),
AUDIO(PERMISSIONS_EMPTY, R.string.tooltip_select_audio_file),
CONTACT(PERMISSIONS_FOR_PICKING_CONTACT, R.string.tooltip_select_contact),
POLL(PERMISSIONS_EMPTY, R.string.create_poll_title)
CAMERA(PERMISSIONS_FOR_TAKING_PHOTO, R.string.tooltip_attachment_photo),
GALLERY(PERMISSIONS_EMPTY, R.string.tooltip_attachment_gallery),
FILE(PERMISSIONS_EMPTY, R.string.tooltip_attachment_file),
STICKER(PERMISSIONS_EMPTY, R.string.tooltip_attachment_sticker),
AUDIO(PERMISSIONS_EMPTY, R.string.tooltip_attachment_audio),
CONTACT(PERMISSIONS_FOR_PICKING_CONTACT, R.string.tooltip_attachment_contact),
POLL(PERMISSIONS_EMPTY, R.string.tooltip_attachment_poll)
}
}

View File

@ -3676,8 +3676,13 @@
<string name="poll_end_room_list_preview">Poll ended</string>
<string name="delete_poll_dialog_title">Remove poll</string>
<string name="delete_poll_dialog_content">Are you sure you want to remove this poll? You won\'t be able to recover it once removed.</string>
<string name="tooltip_select_item_from_gallery">Select photos and videos from your device</string>
<string name="tooltip_select_file">Select any files from your device</string>
<string name="tooltip_select_audio_file">Select audio file from your device</string>
<string name="tooltip_select_contact">Select contact from your device</string>
<string name="tooltip_attachment_photo">Open camera</string>
<string name="tooltip_attachment_gallery">Send images and videos</string>
<string name="tooltip_attachment_file">Upload file</string>
<string name="tooltip_attachment_sticker">Send sticker</string>
<string name="tooltip_attachment_audio">WILL BE REMOVED</string>
<string name="tooltip_attachment_contact">Open contacts</string>
<string name="tooltip_attachment_poll">Create poll</string>
</resources>