Media description improvements (#898)

* Enforce 420-character limit on media descriptions in the UI

* Persist media descriptions with drafts

* Defer media description update until after upload finishes

* Make description field 2 lines for better visibility of hint text

* Reuse Gson instance

* Force retranslation of modified string "hint_describe_for_visually_impaired"

* Add bounds check when reading serialized media descriptions
This commit is contained in:
Levi Bard 2018-11-11 19:25:45 +01:00 committed by Konrad Pozniak
commit 690e612f8b
30 changed files with 103 additions and 48 deletions

View file

@ -268,7 +268,6 @@
<string name="compose_active_account_description">Poster avec le compte %1$s</string>
<string name="error_failed_set_caption">Impossible de mettre la légende</string>
<string name="hint_describe_for_visually_impaired">Décrire pour les mal voyants</string>
<string name="action_set_caption">Mettre une légende</string>
<string name="action_remove_media">Supprimer le média</string>
<string name="lock_account_label">Verrouiller le compte</string>