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

@ -265,7 +265,6 @@
<string name="compose_active_account_description">النشر بواسطة حساب %1$s</string>
<string name="error_failed_set_caption">تعذرت عملية إضافة الشرح</string>
<string name="hint_describe_for_visually_impaired">وصف للمعاقين بصريًا</string>
<string name="action_set_caption">إضافة شرح</string>
<string name="action_remove_media">حذف</string>
<string name="lock_account_label">تجميد الحساب</string>