Always publish image alt text

Previous code would discard the image alt-text if the user finished writing the text before the image had finished uploading.

This code ensures the text is set after the image has completed uploading.
This commit is contained in:
UlrichKu 2023-04-24 11:48:40 +02:00 committed by GitHub
commit 24d7ef7ccb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
53 changed files with 209 additions and 288 deletions

View file

@ -206,11 +206,11 @@
<string name="dialog_download_image">داگرتن</string>
<string name="dialog_message_uploading_media">بارکردن…</string>
<string name="dialog_title_finishing_media_upload">تەواوکردنی بارکردنی میدیا</string>
<string name="dialog_whats_an_instance">ناونیشان یان دۆمەینی هەر نمونەیەک دەکرێت لێرە تێبنووسرێت، وەک <a href="https://instances.social">فرەتر!</a>
<string name="dialog_whats_an_instance">ناونیشان یان دۆمەینی هەر نمونەیەک دەکرێت لێرە تێبنووسرێت، وەک <a href="https://instances.social">فرەتر!</a>
\n
\nئەگەر هێشتا ئەژمێرێکت نیە، دەتوانیت ناوی ئەو نمونەیە داخڵ بکەیت کە دەتەوێت بیبەستیت و ئەژمێرێک دروست بکەیت لەوێ.
\n
\nنموونەیەک تاکە شوێنە کە ئەژمێرەکەت میوانداری کراوە، بەڵام دەتوانیت بە ئاسانی پەیوەندی لەگەڵ بکەیت و دوای ئەو خەڵکانە بکەویت لە نمونەکانی تر وەک ئەوەی تۆ لە هەمان سایت دابیت.
\nنموونەیەک تاکە شوێنە کە ئەژمێرەکەت میوانداری کراوە، بەڵام دەتوانیت بە ئاسانی پەیوەندی لەگەڵ بکەیت و دوای ئەو خەڵکانە بکەویت لە نمونەکانی تر وەک ئەوەی تۆ لە هەمان سایت دابیت.
\n
\nزانیاری زیاتر دەتوانرێت بدۆزرێتەوە لە <a href="https://joinmastodon.org">joinmastodon.org</a>. </string>
<string name="login_connection">گرێدان…</string>
@ -386,7 +386,6 @@
<item quantity="other">وەسف بکە بۆ بینایی داڕماو
\n(%d سنوری کاراکتەر)</item>
</plurals>
<string name="error_failed_set_caption">دانانی سەردێڕ شکستی هێنا</string>
<string name="compose_active_account_description">بڵاوکردنەوە بە هەژماری %1$s</string>
<string name="action_remove_from_list">لابردنی ئەژمێر لە لیستەکە</string>
<string name="action_add_to_list">زیادکردنی ئەژمێر بۆ لیستەکە</string>
@ -477,4 +476,4 @@
<string name="pref_failed_to_sync">سەرکەوتوو نەبوو لە هاودەمکردنی ڕێکبەندەکان</string>
<string name="pref_publishing">بڵاوکردنەوە (هاوکاتکراوە لەگەڵ سێرڤەر)</string>
<string name="pref_default_media_sensitivity">هەمیشە میدیا وەک هەستیار نیشان بکە</string>
</resources>
</resources>