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

@ -117,11 +117,11 @@
<string name="link_whats_an_instance">نمونه چیست؟</string>
<string name="login_connection">در حال وصل شدن…</string>
<string name="dialog_whats_an_instance">نشانی یا دامنهٔ هر نمونه‌ای می‌تواند وارد شود، مثل mastodon.social, icosahedron.website, social.tchncs.de, و <a href="https://instances.social">بیش‌تر!</a>.
\n
\n اگر هنوز حسابی ندارید، می‌توانید نام نمونه مورد نظر را وارد کرده و در آن حسابی بسازید.
\n
\n
\n اگر هنوز حسابی ندارید، می‌توانید نام نمونه مورد نظر را وارد کرده و در آن حسابی بسازید.
\n
\n نمونه، جاییست که حسابتان رویش میزبانی می‌شود، ولی به راحتی می‌توانید با دیگر افراد روی نمونه‌های دیگر ارتباط داشته و دنبالشان کنید؛ انگار که روی یک پایگاه باشید.
\n
\n
\nاطّلاعات بیش‌تر می‌تواند در <a href="https://joinmastodon.org">joinmastodon.org</a> پیدا شود. </string>
<string name="dialog_title_finishing_media_upload">پایان بارگذاری رسانه</string>
<string name="dialog_message_uploading_media">در حال بارگذاری…</string>
@ -204,7 +204,7 @@
-->
<string name="about_project_site">پایگاه وب پروژه :
\n https://tusky.app</string>
<string name="about_bug_feature_request_site">گزارش مشکلات و درخواست ویژگی‌ها:
<string name="about_bug_feature_request_site">گزارش مشکلات و درخواست ویژگی‌ها:
\n https://github.com/tuskyapp/Tusky/issues</string>
<string name="about_tusky_account">نمایهٔ تاسکی</string>
<string name="post_share_content">هم‌رسانی محتوای فرسته</string>
@ -228,7 +228,6 @@
<string name="action_lists">فهرست‌ها</string>
<string name="title_lists">فهرست‌ها</string>
<string name="compose_active_account_description">فرستادن از طرف %1$s</string>
<string name="error_failed_set_caption">شکست در تنظیم عنوان</string>
<plurals name="hint_describe_for_visually_impaired">
<item quantity="one">توصیف محتوا برای کم‌بینایان (کران ۱ نویسه)</item>
<item quantity="other">توصیف محتوا برای کم‌بینایان (کران %d نویسه)</item>
@ -556,7 +555,6 @@
<string name="pref_title_show_self_username">نمایش نام کاربری در نوارابزارها</string>
<string name="url_domain_notifier">%s (🔗 %s)</string>
<string name="action_add_reaction">افزودن واکنش</string>
<string name="error_failed_set_focus">شکست در تنظیم نقطهٔ تمرکز</string>
<string name="action_set_focus">تنظیم نقطهٔ تمرکز</string>
<string name="duration_no_change">(بدون تغییر)</string>
<string name="error_loading_account_details">شکست در بار کردن جزییات حساب</string>
@ -666,4 +664,4 @@
<string name="select_list_empty">هنوز هیچ سیاهه‌ای ندارید</string>
<string name="select_list_manage">مدیریت سیاهه‌ها</string>
<string name="error_list_load">خطا در بار کردن سیاهه‌ها</string>
</resources>
</resources>