* Add `VideoCompressorPreset` enum This represents the different compression presets used for processing videos before uploading them * Add `VideoCompressorHelper` util class to calculate the scaled output size of the video given an input size and its optimal bitrate Also add `MediaOptimizationConfig` which will be used to decide how to apply compression in `MediaPreProcessor` * Add `RustMatrixClient.getMaxFileUploadSize()` function and `MaxUploadSizeProvider` so we can import only this functionality into other components * Try preloading the max file upload size the first time we get network connectivity - it's a best effort This should help ensure we'll have this value available later, even if we still need to load it asynchronously. * Split the `compressMedia` preference into `compressImages` and `compressMediaPreset` * Modify the media processing parts to use the new classes and utils * Add `MediaOptimizationSelectorPresenter`, which will retrieve the compression values and the max file upload size, also estimating the compressed video file sizes if needed. * Add a feature flag to allow selecting the media upload quality per upload * Integrate the previous changes with the attachments preview screen Add strings from localazy too. * Adapt the rest of the app calls to upload media to using the media optimization configs * Allow modifying the default compression values in advanced settings, based on the feature flag value * Pass the `fileSize` in `MediaUploadInfo` too, to be able to check it against the `maxUploadSize` * Update screenshots --------- Co-authored-by: ElementBot <android@element.io>
42 lines
4 KiB
XML
42 lines
4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
<string name="emoji_picker_category_activity">"فعّالیتها"</string>
|
|
<string name="emoji_picker_category_flags">"پرچمها"</string>
|
|
<string name="emoji_picker_category_foods">"غذا و نوشیدنی"</string>
|
|
<string name="emoji_picker_category_nature">"حیوانات و طبعیت"</string>
|
|
<string name="emoji_picker_category_objects">"اشیا"</string>
|
|
<string name="emoji_picker_category_people">"شکلکها و افراد"</string>
|
|
<string name="emoji_picker_category_places">"سفر و مکانها"</string>
|
|
<string name="emoji_picker_category_symbols">"نمادها"</string>
|
|
<string name="screen_media_upload_preview_error_failed_processing">"پردازش رسانه برای بارگذاری شکست خورد. لطفاً دوباره تلاش کنید."</string>
|
|
<string name="screen_media_upload_preview_error_failed_sending">"بارگذاری رسانه شکست خورد. لطفاً دوباره تلاش کنید."</string>
|
|
<string name="screen_report_content_block_user">"انسداد کاربر"</string>
|
|
<string name="screen_report_content_block_user_hint">"اگر میخواهید همه پیامهای فعلی و آینده را از این کاربر را پنهان کنید، علامت بزنید"</string>
|
|
<string name="screen_report_content_explanation">"این پیام به مدیر کارساز خانگی شما گزارش خواهد شد. آنها قادر به خواندن پیام های رمزگذاری شده نخواهند بود."</string>
|
|
<string name="screen_report_content_hint">"دلیل گزارش این محتوا"</string>
|
|
<string name="screen_room_attachment_source_camera">"دوربین"</string>
|
|
<string name="screen_room_attachment_source_camera_photo">"عکس گرفتن"</string>
|
|
<string name="screen_room_attachment_source_camera_video">"ضبط ویدیو"</string>
|
|
<string name="screen_room_attachment_source_files">"پیوست"</string>
|
|
<string name="screen_room_attachment_source_gallery">"کتابخانهٔ عکس و ویدیو"</string>
|
|
<string name="screen_room_attachment_source_location">"مکان"</string>
|
|
<string name="screen_room_attachment_source_poll">"نظرسنجی"</string>
|
|
<string name="screen_room_attachment_text_formatting">"قالببندی متن"</string>
|
|
<string name="screen_room_encrypted_history_banner">"تاریخچه پیام درحال حاضر دردسترس نیست."</string>
|
|
<string name="screen_room_invite_again_alert_message">"میخواهید دوباره دعوتش کنید؟"</string>
|
|
<string name="screen_room_invite_again_alert_title">"در این گپ تنهایید"</string>
|
|
<string name="screen_room_mentions_at_room_subtitle">"آگاهی به تمام اتاق"</string>
|
|
<string name="screen_room_mentions_at_room_title">"هرکسی"</string>
|
|
<string name="screen_room_retry_send_menu_send_again_action">"فرستادن دوباره"</string>
|
|
<string name="screen_room_retry_send_menu_title">"فرستادن پیامتان شکست خورد"</string>
|
|
<string name="screen_room_timeline_add_reaction">"افزودن شکلک"</string>
|
|
<string name="screen_room_timeline_beginning_of_room">"آغاز %1$s است."</string>
|
|
<string name="screen_room_timeline_beginning_of_room_no_name">"این، آغاز گفتوگوست."</string>
|
|
<string name="screen_room_timeline_less_reactions">"نمایش کمتر"</string>
|
|
<string name="screen_room_timeline_message_copied">"پیام رونوشت شد"</string>
|
|
<string name="screen_room_timeline_no_permission_to_post">"اجازهٔ فرستادن به این اتاق را ندارید"</string>
|
|
<string name="screen_room_timeline_reactions_show_less">"نمایش کمتر"</string>
|
|
<string name="screen_room_timeline_reactions_show_more">"نمایش بیشتر"</string>
|
|
<string name="screen_room_timeline_read_marker_title">"جدید"</string>
|
|
<string name="screen_room_typing_two_members">"%1$s و %2$s"</string>
|
|
</resources>
|