Add RTL languages support and improved Arabic localization

This commit is contained in:
xmodar 2022-10-24 19:03:01 +03:00 committed by AUTOMATIC1111
parent df0a1f8381
commit ca2ebc89c2
6 changed files with 551 additions and 691 deletions

View file

@ -107,7 +107,7 @@ function processNode(node){
}
function dumpTranslations(){
dumped = {}
dumped = { rtl: localization.rtl || false }
Object.keys(original_lines).forEach(function(text){
if(dumped[text] !== undefined) return
@ -129,6 +129,24 @@ onUiUpdate(function(m){
document.addEventListener("DOMContentLoaded", function() {
processNode(gradioApp())
if (localization.rtl) { // if the language is from right to left,
(new MutationObserver((mutations, observer) => { // wait for the style to load
mutations.forEach(mutation => {
mutation.addedNodes.forEach(node => {
if (node.tagName === 'STYLE') {
observer.disconnect();
for (const x of node.sheet.rules) { // find all rtl media rules
if (Array.from(x.media || []).includes('rtl')) {
x.media.appendMedium('all'); // enable them
}
}
}
})
});
})).observe(gradioApp(), { childList: true });
}
})
function download_localization() {

View file

@ -1,4 +1,6 @@
{ "⤡": "⤡",
{
"rtl": true,
"⤡": "⤡",
"⊞": "⊞",
"×": "×",
"": "",
@ -13,9 +15,10 @@
"img2img": "صورة لصورة",
"Extras": "الإضافات",
"PNG Info": "معلومات PNG",
"Image Browser": "مستعرض الصور",
"Checkpoint Merger": "دمج النماذج",
"Train": "التدريب",
"Create aesthetic embedding": "Create aesthetic embedding",
"Image Browser": "مستعرض الصور",
"Settings": "الإعدادات",
"Prompt": "الموجه",
"Negative prompt": "الموجه السلبي",
@ -66,8 +69,18 @@
"Variation strength": "قوة التباين",
"Resize seed from width": "تغيير حجم البذرة من العرض",
"Resize seed from height": "تغيير حجم البذرة من الارتفاع",
"Script": "سكريبت",
"Open for Clip Aesthetic!": "Open for Clip Aesthetic!",
"▼": "▼",
"Aesthetic weight": "Aesthetic weight",
"Aesthetic steps": "Aesthetic steps",
"Aesthetic learning rate": "Aesthetic learning rate",
"Slerp interpolation": "Slerp interpolation",
"Aesthetic imgs embedding": "Aesthetic imgs embedding",
"None": "لايوجد",
"Aesthetic text for imgs": "Aesthetic text for imgs",
"Slerp angle": "Slerp angle",
"Is negative text": "Is negative text",
"Script": "سكريبت",
"Prompt matrix": "مصفوفة الموجهات",
"Prompts from file or textbox": "موجهات من ملف أو مربع النص",
"X/Y plot": "الرسم البياني X/Y",
@ -134,214 +147,11 @@
"Just resize": "تغييير الحجم فقط",
"Crop and resize": "اقتصاص وتغيير الحجم",
"Resize and fill": "تغيير الحجم والتعبئة",
"Animator": "محرك الرسوم",
"Animator v2": "محرك الرسوم نسخة 2",
"Deforum v0.5-webui-beta": "ديفوروم 0.5",
"External Image Masking": "تقنيع الصور الخارجي",
"img2img alternative test": "صورة لصورة البديلة",
"Loopback": "الحلقة الراجعة",
"Outpainting mk2": "الرسم الخارجي نسخة 2",
"Poor man's outpainting": "الرسم الخارجي للفقراء",
"SD upscale": "ترقية الانتشار المستقر",
"txt2mask v0.1.1": "نص لقناع 0.1.1",
"[C] Video to video": "فيديو لفيديو",
"Videos": "فيديوهات",
"Render these video formats:": "رسم تنسيقات الفيديو:",
"GIF": "GIF",
"MP4": "MP4",
"WEBM": "WEBM",
"Animation Parameters": "متغيرات تحريك الرسوم",
"Total Animation Length (s)": "المدة الكلية للرسوم المتحركة",
"Framerate": "Framerate",
"Add_Noise": "Add_Noise",
"Noise Strength": "Noise Strength",
"Denoising_Decay": "Denoising_Decay",
"Denoising Decay Rate": "Denoising Decay Rate",
"Initial Parameters": "Initial Parameters",
"Denoising Strength (overrides img2img slider)": "Denoising Strength (overrides img2img slider)",
"Zoom Factor (scale/s)": "Zoom Factor (scale/s)",
"X Pixel Shift (pixels/s)": "X Pixel Shift (pixels/s)",
"Y Pixel Shift (pixels/s)": "Y Pixel Shift (pixels/s)",
"Prompt Template, applied to each keyframe below": "Prompt Template, applied to each keyframe below",
"Positive Prompts": "Positive Prompts",
"Negative Prompts": "Negative Prompts",
"Keyframe Format:": "Keyframe Format:",
"Time (s) | Desnoise | Zoom (/s) | X Shift (pix/s) | Y shift (pix/s) | Positive Prompts | Negative Prompts | Seed": "Time (s) | Desnoise | Zoom (/s) | X Shift (pix/s) | Y shift (pix/s) | Positive Prompts | Negative Prompts | Seed",
"Keyframes:": "Keyframes:",
"Rotation (deg/s)": "Rotation (deg/s)",
"Props": "Props",
"Folder:": "Folder:",
"Supported Keyframes:": "Supported Keyframes:",
"time_s | prompt | positive_prompts | negative_prompts": "time_s | prompt | positive_prompts | negative_prompts",
"time_s | transform | zoom | x_shift | y_shift | rotation": "time_s | transform | zoom | x_shift | y_shift | rotation",
"time_s | seed | new_seed_int": "time_s | seed | new_seed_int",
"time_s | denoise | denoise_value": "time_s | denoise | denoise_value",
"time_s | prop | prop_filename | x_pos | y_pos | scale | rotation": "time_s | prop | prop_filename | x_pos | y_pos | scale | rotation",
"time_s | set_text | textblock_name | text_prompt | x | y | fore_R | fore_G | fore_B | back_R | back_G | back_B | font_name | font_size": "time_s | set_text | textblock_name | text_prompt | x | y | fore_R | fore_G | fore_B | back_R | back_G | back_B | font_name | font_size",
"time_s | clear_text | textblock_name": "time_s | clear_text | textblock_name",
"time_s | prop | prop_name | prop_filename | x pos | y pos | scale | rotation": "time_s | prop | prop_name | prop_filename | x pos | y pos | scale | rotation",
"time_s | set_stamp | stamp_name | stamp_filename | x pos | y pos | scale | rotation": "time_s | set_stamp | stamp_name | stamp_filename | x pos | y pos | scale | rotation",
"time_s | clear_stamp | stamp_name": "time_s | clear_stamp | stamp_name",
"time_s | col_set": "time_s | col_set",
"time_s | col_clear": "time_s | col_clear",
"time_s | model | 2022-10-19T08-10-53_VV_6_training_images_1212_max_training_steps_VV_V_token_woman_class_word, 2022-10-19T09-06-28_VV_6_training_images_1212_max_training_steps_VV_V_token_woman_class_word, 2022-10-20T10-07-46_Zori_New_20_training_images_2020_max_training_steps_ZZ_W_token_woman_class_word, 2022-10-20T10-39-38_Zori_New_20_training_images_1010_max_training_steps_ZZ_W_token_woman_class_word, HD-16, L, L2_1, L2_2, LM, MT_V, Main+Trinart, Z1, Z2, model, modelZ, nai, robo-diffusion-v1, sd-v1-5-inpainting, trinart2_step115000, v1-5-pruned, v1-5-pruned-emaonly, wd-v1-2-full-ema, wd-v1-3-float16": "time_s | model | 2022-10-19T08-10-53_VV_6_training_images_1212_max_training_steps_VV_V_token_woman_class_word, 2022-10-19T09-06-28_VV_6_training_images_1212_max_training_steps_VV_V_token_woman_class_word, 2022-10-20T10-07-46_Zori_New_20_training_images_2020_max_training_steps_ZZ_W_token_woman_class_word, 2022-10-20T10-39-38_Zori_New_20_training_images_1010_max_training_steps_ZZ_W_token_woman_class_word, HD-16, L, L2_1, L2_2, LM, MT_V, Main+Trinart, Z1, Z2, model, modelZ, nai, robo-diffusion-v1, sd-v1-5-inpainting, trinart2_step115000, v1-5-pruned, v1-5-pruned-emaonly, wd-v1-2-full-ema, wd-v1-3-float16",
"Click here after the generation to show the video": "Click here after the generation to show the video",
"Made by deforum.github.io, port for AUTOMATIC1111's webui maintained by kabachuha": "Made by deforum.github.io, port for AUTOMATIC1111's webui maintained by kabachuha",
"Original Deforum Github repo github.com/deforum/stable-diffusion": "Original Deforum Github repo github.com/deforum/stable-diffusion",
"This fork for auto1111's webui github.com/deforum-art/deforum-for-automatic1111-webui": "This fork for auto1111's webui github.com/deforum-art/deforum-for-automatic1111-webui",
"Join the official Deforum Discord discord.gg/deforum to share your creations and suggestions": "Join the official Deforum Discord discord.gg/deforum to share your creations and suggestions",
"User guide for v0.5 docs.google.com/document/d/1pEobUknMFMkn8F5TMsv8qRzamXX_75BShMMXV8IFslI/edit": "User guide for v0.5 docs.google.com/document/d/1pEobUknMFMkn8F5TMsv8qRzamXX_75BShMMXV8IFslI/edit",
"Math keyframing explanation docs.google.com/document/d/1pfW1PwbDIuW0cv-dnuyYj1UzPqe23BlSLTJsqazffXM/edit?usp=sharing": "Math keyframing explanation docs.google.com/document/d/1pfW1PwbDIuW0cv-dnuyYj1UzPqe23BlSLTJsqazffXM/edit?usp=sharing",
"Keyframes": "Keyframes",
"Init": "Init",
"Video output": "Video output",
"Run settings": "Run settings",
"Import settings from file": "Import settings from file",
"Override settings": "Override settings",
"Custom settings file": "Custom settings file",
"Sampling settings": "Sampling settings",
"The following settings have already been set up in the webui": "The following settings have already been set up in the webui",
"Do you want to override them with the values above?": "Do you want to override them with the values above?",
"FIXME! Need to make deforum <-> webui samplers map. Before that, the sampler gets used from webui anyway. If your images are changing too adruptly, lower steps or increase strength schedule!": "FIXME! Need to make deforum <-> webui samplers map. Before that, the sampler gets used from webui anyway. If your images are changing too adruptly, lower steps or increase strength schedule!",
"override_these_with_webui": "override_these_with_webui",
"W, H, seed, sampler, steps, scale, ddim_eta, n_batch, make_grid, grid_rows": "W, H, seed, sampler, steps, scale, ddim_eta, n_batch, make_grid, grid_rows",
"W": "W",
"H": "H",
"seed": "seed",
"sampler": "sampler",
"klms": "klms",
"dpm2": "dpm2",
"dpm2_ancestral": "dpm2_ancestral",
"heun": "heun",
"euler": "euler",
"euler_ancestral": "euler_ancestral",
"plms": "plms",
"ddim": "ddim",
"steps": "steps",
"scale": "scale",
"ddim_eta": "ddim_eta",
"n_batch": "n_batch",
"make_grid": "make_grid",
"grid_rows": "grid_rows",
"save_settings": "save_settings",
"save_samples": "save_samples",
"display_samples": "display_samples",
"save_sample_per_step": "save_sample_per_step",
"show_sample_per_step": "show_sample_per_step",
"Batch settings": "Batch settings",
"batch_name": "batch_name",
"filename_format": "filename_format",
"seed_behavior": "seed_behavior",
"iter": "iter",
"fixed": "fixed",
"random": "random",
"schedule": "schedule",
"Animation settings": "Animation settings",
"animation_mode": "animation_mode",
"2D": "2D",
"3D": "3D",
"Video Input": "Video Input",
"max_frames": "max_frames",
"border": "border",
"replicate": "replicate",
"wrap": "wrap",
"Motion parameters:": "Motion parameters:",
"2D and 3D settings": "2D and 3D settings",
"angle": "angle",
"zoom": "zoom",
"translation_x": "translation_x",
"translation_y": "translation_y",
"3D settings": "3D settings",
"translation_z": "translation_z",
"rotation_3d_x": "rotation_3d_x",
"rotation_3d_y": "rotation_3d_y",
"rotation_3d_z": "rotation_3d_z",
"Prespective flip — Low VRAM pseudo-3D mode:": "Prespective flip — Low VRAM pseudo-3D mode:",
"flip_2d_perspective": "flip_2d_perspective",
"perspective_flip_theta": "perspective_flip_theta",
"perspective_flip_phi": "perspective_flip_phi",
"perspective_flip_gamma": "perspective_flip_gamma",
"perspective_flip_fv": "perspective_flip_fv",
"Generation settings:": "Generation settings:",
"noise_schedule": "noise_schedule",
"strength_schedule": "strength_schedule",
"contrast_schedule": "contrast_schedule",
"cfg_scale_schedule": "cfg_scale_schedule",
"To enable seed schedule select seed behavior — 'schedule'": "To enable seed schedule select seed behavior — 'schedule'",
"seed_schedule": "seed_schedule",
"Coherence:": "Coherence:",
"color_coherence": "color_coherence",
"Match Frame 0 HSV": "Match Frame 0 HSV",
"Match Frame 0 LAB": "Match Frame 0 LAB",
"Match Frame 0 RGB": "Match Frame 0 RGB",
"diffusion_cadence": "diffusion_cadence",
"3D Depth Warping:": "3D Depth Warping:",
"use_depth_warping": "use_depth_warping",
"midas_weight": "midas_weight",
"near_plane": "near_plane",
"far_plane": "far_plane",
"fov": "fov",
"padding_mode": "padding_mode",
"reflection": "reflection",
"zeros": "zeros",
"sampling_mode": "sampling_mode",
"bicubic": "bicubic",
"bilinear": "bilinear",
"nearest": "nearest",
"save_depth_maps": "save_depth_maps",
"`animation_mode: None` batches on list of *prompts*. (Batch mode disabled atm, only animation_prompts are working)": "`animation_mode: None` batches on list of *prompts*. (Batch mode disabled atm, only animation_prompts are working)",
"*Important change from vanilla Deforum!*": "*Important change from vanilla Deforum!*",
"This script uses the built-in webui weighting settings.": "This script uses the built-in webui weighting settings.",
"So if you want to use math functions as prompt weights,": "So if you want to use math functions as prompt weights,",
"keep the values above zero in both parts": "keep the values above zero in both parts",
"Negative prompt part can be specified with --neg": "Negative prompt part can be specified with --neg",
"batch_prompts (disabled atm)": "batch_prompts (disabled atm)",
"animation_prompts": "animation_prompts",
"Init settings": "Init settings",
"use_init": "use_init",
"from_img2img_instead_of_link": "from_img2img_instead_of_link",
"strength_0_no_init": "strength_0_no_init",
"strength": "strength",
"init_image": "init_image",
"use_mask": "use_mask",
"use_alpha_as_mask": "use_alpha_as_mask",
"invert_mask": "invert_mask",
"overlay_mask": "overlay_mask",
"mask_file": "mask_file",
"mask_brightness_adjust": "mask_brightness_adjust",
"mask_overlay_blur": "mask_overlay_blur",
"Video Input:": "Video Input:",
"video_init_path": "video_init_path",
"extract_nth_frame": "extract_nth_frame",
"overwrite_extracted_frames": "overwrite_extracted_frames",
"use_mask_video": "use_mask_video",
"video_mask_path": "video_mask_path",
"Interpolation (turned off atm)": "Interpolation (turned off atm)",
"interpolate_key_frames": "interpolate_key_frames",
"interpolate_x_frames": "interpolate_x_frames",
"Resume animation:": "Resume animation:",
"resume_from_timestring": "resume_from_timestring",
"resume_timestring": "resume_timestring",
"Video output settings": "Video output settings",
"skip_video_for_run_all": "skip_video_for_run_all",
"fps": "fps",
"output_format": "output_format",
"PIL gif": "PIL gif",
"FFMPEG mp4": "FFMPEG mp4",
"ffmpeg_location": "ffmpeg_location",
"add_soundtrack": "add_soundtrack",
"soundtrack_path": "soundtrack_path",
"use_manual_settings": "use_manual_settings",
"render_steps": "render_steps",
"max_video_frames": "max_video_frames",
"path_name_modifier": "path_name_modifier",
"x0_pred": "x0_pred",
"x": "x",
"image_path": "image_path",
"mp4_path": "mp4_path",
"Masking preview size": "Masking preview size",
"Draw new mask on every run": "Draw new mask on every run",
"Process non-contigious masks separately": "Process non-contigious masks separately",
"should be 2 or lower.": "should be 2 or lower.",
"Override `Sampling method` to Euler?(this method is built for it)": "Override `Sampling method` to Euler?(this method is built for it)",
"Override `prompt` to the same value as `original prompt`?(and `negative prompt`)": "Override `prompt` to the same value as `original prompt`?(and `negative prompt`)",
@ -368,53 +178,6 @@
"Tile overlap": "تداخل التبليط",
"Upscaler": "المرقي",
"Lanczos": "Lanczos",
"LDSR": "LDSR",
"ESRGAN 4x": "ESRGAN 4x",
"R-ESRGAN General 4xV3": "R-ESRGAN General 4xV3",
"R-ESRGAN General WDN 4xV3": "R-ESRGAN General WDN 4xV3",
"R-ESRGAN AnimeVideo": "R-ESRGAN AnimeVideo",
"R-ESRGAN 4x+": "R-ESRGAN 4x+",
"R-ESRGAN 4x+ Anime6B": "R-ESRGAN 4x+ Anime6B",
"R-ESRGAN 2x+": "R-ESRGAN 2x+",
"ScuNET GAN": "ScuNET GAN",
"ScuNET PSNR": "ScuNET PSNR",
"SwinIR_4x": "SwinIR_4x",
"Mask prompt": "Mask prompt",
"Negative mask prompt": "Negative mask prompt",
"Mask precision": "Mask precision",
"Mask padding": "Mask padding",
"Brush mask mode": "Brush mask mode",
"discard": "discard",
"add": "add",
"subtract": "subtract",
"Show mask in output?": "Show mask in output?",
"If you like my work, please consider showing your support on": "If you like my work, please consider showing your support on",
"Patreon": "Patreon",
"Input file path": "Input file path",
"CRF (quality, less is better, x264 param)": "CRF (quality, less is better, x264 param)",
"FPS": "FPS",
"Seed step size": "Seed step size",
"Seed max distance": "Seed max distance",
"Start time": "Start time",
"End time": "End time",
"End Prompt Blend Trigger Percent": "End Prompt Blend Trigger Percent",
"Prompt end": "Prompt end",
"Smooth video": "Smooth video",
"Seconds": "Seconds",
"Zoom": "Zoom",
"Zoom level": "Zoom level",
"Direction X": "Direction X",
"Direction Y": "Direction Y",
"Rotate": "Rotate",
"Degrees": "Degrees",
"Is the Image Tiled?": "Is the Image Tiled?",
"TranslateX": "TranslateX",
"Left": "Left",
"PercentX": "PercentX",
"TranslateY": "TranslateY",
"Up": "Up",
"PercentY": "PercentY",
"Show generated pictures in ui": "عرض الصور المنشئة في واجهة الاستخدام",
"Single Image": "صورة واحدة",
"Batch Process": "معالجة الدفعات",
"Batch from Directory": "دفعة من المجلد",
@ -430,27 +193,6 @@
"CodeFormer weight (0 = maximum effect, 1 = minimum effect)": "وزن CodeFormer (0 = أقصى تأثير ، 1 = تأثير أدنى)",
"Open output directory": "افتح مجلد المخرجات",
"Send to txt2img": "أرسل إلى كتابة لصورة",
"extras": "إضافات",
"favorites": "المفضلة",
"Load": "تحميل",
"Images directory": "مجلد الصور",
"Prev batch": "الدفعة السابقة",
"Next batch": "الدفعة التالية",
"First Page": "الصفحة الأولى",
"Prev Page": "الصفحة السابقة",
"Page Index": "فهرس الصفحات",
"Next Page": "الصفحة التالية",
"End Page": "صفحة النهاية",
"number of images to delete consecutively next": "عدد الصور المطلوب حذفها على التوالي بعد ذلك",
"Delete": "حذف",
"Generate Info": "معلومات الإنشاء",
"File Name": "اسم الملف",
"Collect": "جمع",
"Refresh page": "إعادة تحميل الصفحة",
"Date to": "التاريخ إلى",
"Number": "الرقم",
"set_index": "وضع الفهرس",
"Checkbox": "صندوق اختيار",
"A merger of the two checkpoints will be generated in your": "سيتم إنشاء نموذجمدمج من النموذجين في",
"checkpoint": "النموذج",
"directory.": "المجلد.",
@ -513,11 +255,36 @@
"Read parameters (prompt, etc...) from txt2img tab when making previews": "قراءة المتغيرات (الموجه ، إلخ ...) من علامة تبويب نص لصورة عند إجراء المعاينات",
"Train Hypernetwork": "تدريب الشبكة الفائقة",
"Train Embedding": "تدريب التضمين",
"Create an aesthetic embedding out of any number of images": "Create an aesthetic embedding out of any number of images",
"Create images embedding": "Create images embedding",
"extras": "إضافات",
"favorites": "المفضلة",
"custom fold": "custom fold",
"Load": "تحميل",
"Images directory": "مجلد الصور",
"Prev batch": "الدفعة السابقة",
"Next batch": "الدفعة التالية",
"First Page": "الصفحة الأولى",
"Prev Page": "الصفحة السابقة",
"Page Index": "فهرس الصفحات",
"Next Page": "الصفحة التالية",
"End Page": "صفحة النهاية",
"number of images to delete consecutively next": "عدد الصور المطلوب حذفها على التوالي بعد ذلك",
"Delete": "حذف",
"Generate Info": "معلومات الإنشاء",
"File Name": "اسم الملف",
"Collect": "جمع",
"Refresh page": "إعادة تحميل الصفحة",
"Date to": "التاريخ إلى",
"Number": "الرقم",
"set_index": "وضع الفهرس",
"Checkbox": "صندوق اختيار",
"Apply settings": "تطبيق الإعدادات",
"Saving images/grids": "حفظ الصور / الإطار الشبكي",
"Always save all generated images": "احفظ دائمًا جميع الصور التي تم إنشائها",
"File format for images": "تنسيق ملفات الصور",
"Images filename pattern": "نمط اسم ملفات الصور",
"Add number to filename when saving": "Add number to filename when saving",
"Always save all generated image grids": "احفظ دائمًا جميع الإطارات الشبكية للصور التي تم إنشاؤها",
"File format for grids": "تنسيق ملفات الإطارات الشبكية",
"Add extended info (seed, prompt) to filename when saving grid": "أضف معلومات إضافية (البذرة ، الموجه) إلى اسم الملف عند حفظ الإطار الشبكي",
@ -544,7 +311,7 @@
"Saving to a directory": "يتم الحفظ إلى المجلد..",
"Save images to a subdirectory": "حفظ الصور في مجلد فرعي",
"Save grids to a subdirectory": "حفظ الإطارات الشبكية في مجلد فرعي",
"When using 'Save' button, save images to a subdirectory": "عند استخدام زر 'حفظ' ، احفظ الصور في مجلد فرعي",
"When using \"Save\" button, save images to a subdirectory": "احفظ الصور في مجلد فرعي عند الضغط على زر الحفظ",
"Directory name pattern": "نمط اسم المجلد",
"Max prompt words for [prompt_words] pattern": "أقصى عدد لكلمات التوجيه لنمط [كلمات_التوجيه]",
"Upscaling": "الارتقاء",
@ -592,6 +359,7 @@
"Interrogate: deepbooru score threshold": "الاستجواب: عتبة درجات deepbooru",
"Interrogate: deepbooru sort alphabetically": "الاستجواب: الترتيب الأبجدي لـ deepbooru",
"use spaces for tags in deepbooru": "استخدام مسافات للعلامات في deepbooru",
"escape (\\) brackets in deepbooru (so they are used as literal brackets and not for emphasis)": "تجاهل الأقواس عند استخدام deepbooru (كي لا تعامل كأقواس التشديد)",
"User interface": "واجهة المستخدم",
"Show progressbar": "إظهار شريط التقدم",
"Show image creation progress every N sampling steps. Set 0 to disable.": "إظهار تقدم إنشاء الصورة لكل N خطوة من خطوات أخذ العينات. قم بتعيين 0 للتعطيل.",
@ -607,9 +375,6 @@
"Show generation progress in window title.": "إظهار تقدم الإنشاء في عنوان الشاشة.",
"Quicksettings list": "قائمة الإعدادات السريعة",
"Localization (requires restart)": "الترجمة (يتطلب إعادة التشغيل)",
"ar_AR": "العربية",
"ja_JP": "اليابانية",
"ru_RU": "الروسية",
"Sampler parameters": "متغيرات أنظمة اخذ العينات",
"Hide samplers in user interface (requires restart)": "إخفاء أنظمة أخذ العينات في واجهة المستخدم (يتطلب إعادة التشغيل)",
"eta (noise multiplier) for DDIM": "الوقت المتبقي (مضاعف الضوضاء) لـ DDIM",
@ -623,9 +388,9 @@
"Eta noise seed delta": "الوقت المتوقع لديلتا بذرة الضجيج ",
"Images Browser": "مستعرض الصور",
"Preload images at startup": "تحميل الصور مسبقًا عند بدء التشغيل",
"Number of pictures displayed on each page": "عدد الصور المعروضة في كل صفحة",
"Number of columns on the page": "Number of columns on the page",
"Number of rows on the page": "Number of rows on the page",
"Minimum number of pages per load": "الحد الأدنى لعدد الصفحات لكل تحميل",
"Number of grids in each row": "عدد الإطارات الشبكية لكل صف",
"Request browser notifications": "طلب إشعارات المتصفح",
"Download localization template": "تنزيل نموذج الترجمة",
"Reload custom script bodies (No ui updates, No restart)": "إعادة تحميل السكريبتات المخصصة (لا توجد تحديثات لواجهة المستخدم ، لا إعادة تشغيل)",
@ -655,6 +420,7 @@
"Seed of a different picture to be mixed into the generation.": "استخدام بذرة من صورة مختلفة ليتم مزجها في الإنشاء.",
"How strong of a variation to produce. At 0, there will be no effect. At 1, you will get the complete picture with variation seed (except for ancestral samplers, where you will just get something).": "ما مدى قوة التباين عند الإنشاء. 0 ، لن يكون هناك أي تأثير. 1 ، ستحصل على الصورة الكاملة ببذور التباين (باستثناء أنظمة عينات الأسلاف ، حيث ستحصل على شيء ما فقط).",
"Make an attempt to produce a picture similar to what would have been produced with same seed at specified resolution": "قم بمحاولة لإنتاج صورة مشابهة لما تم إنتاجه بنفس البذرة بناءا على دقة محددة",
"This text is used to rotate the feature space of the imgs embs": "This text is used to rotate the feature space of the imgs embs",
"Separate values for X axis using commas.": "افصل بين قيم المحور X باستخدام الفواصل.",
"Separate values for Y axis using commas.": "افصل بين قيم المحور Y باستخدام الفواصل.",
"Write image to a directory (default - log/images) and generation parameters into csv file.": "اكتب الصورة إلى مجلد (الافتراضي - log/images) وتوليد المتغيرات في ملف csv.",
@ -674,16 +440,15 @@
"For SD upscale, how much overlap in pixels should there be between tiles. Tiles overlap so that when they are merged back into one picture, there is no clearly visible seam.": "الترقية باستخدام الانتشار المستقر ، كم يجب أن يكون مقدار التداخل بالبكسل بين المربعات. تتداخل المربعات بحيث لا يكون هناك خط واضح للعيان عند دمجها مرة أخرى في صورة واحدة.",
"A directory on the same machine where the server is running.": "مجلد على نفس الجهاز حيث يتم تشغيل الخادم.",
"Leave blank to save images to the default path.": "اتركه فارغًا لحفظ الصور في المسار الافتراضي.",
"Input images directory": "مجلد الصور المدخلة",
"Result = A * (1 - M) + B * M": "النتيجة = A * (1 - M) + B * M",
"Result = A + (B - C) * M": "النتيجة = A + (B - C) * M",
"1st and last digit must be 1. ex:'1, 2, 1'": "يجب أن يكون الرقم الأول والأخير 1. على سبيل المثال: '1 ، 2 ، 1'",
"Path to directory with input images": "المسار إلى مجلد الصور المدخلة",
"Path to directory where to write outputs": "المسار إلى مجلد كتابة النتائج",
"Use following tags to define how filenames for images are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.": "استخدم العلامات التالية لتعريف كيفية اختيار أسماء الملفات للصور: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp] ؛ اتركه فارغا للوضع الافتراضي.",
"Input images directory": "مجلد الصور المدخلة",
"Use following tags to define how filenames for images are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [datetime<Format>], [datetime<Format><Time Zone>], [job_timestamp]; leave empty for default.": "استخدم العلامات التالية لتعريف كيفية اختيار أسماء الملفات للصور: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [datetime<Format>], [datetime<Format><Time Zone>], [job_timestamp] ؛ اتركه فارغا للوضع الافتراضي.",
"If this option is enabled, watermark will not be added to created images. Warning: if you do not add watermark, you may be behaving in an unethical manner.": "إذا تم تمكين هذا الخيار ، فلن تتم إضافة العلامة المائية إلى الصور التي تم إنشاؤها. تحذير: إذا لم تقم بإضافة علامة مائية ، فقد تكون تتصرف بطريقة غير أخلاقية.",
"Use following tags to define how subdirectories for images and grids are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.": "استخدم العلامات التالية لتحديد كيفية اختيار المجادت الفرعية للصور و الإطارات الشبكية : [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp] ؛ اتركه فارغا للوضع الافتراضي.",
"Restore low quality faces using GFPGAN neural network": "ترميم الوجوه منخفضة الجودة باستخدام الشبكة العصبية GFPGAN ",
"Use following tags to define how subdirectories for images and grids are chosen: [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [datetime<Format>], [datetime<Format><Time Zone>], [job_timestamp]; leave empty for default.": "استخدم العلامات التالية لتحديد كيفية اختيار المجادت الفرعية للصور و الإطارات الشبكية : [steps], [cfg], [prompt], [prompt_no_styles], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [datetime<Format>], [datetime<Format><Time Zone>], [job_timestamp] ؛ اتركه فارغا للوضع الافتراضي.",
"This regular expression will be used extract words from filename, and they will be joined using the option below into label text used for training. Leave empty to keep filename text as it is.": "سيتم استخدام هذا التعبير العادي لاستخراج الكلمات من اسم الملف ، وسيتم ضمها باستخدام الخيار أدناه في نص التسمية المستخدم للتدريب. اتركه فارغًا للاحتفاظ بنص اسم الملف كما هو.",
"This string will be used to join split words into a single line if the option above is enabled.": "سيتم استخدام هذا النص لضم الكلمات المقسمة إلى سطر واحد إذا تم تمكين الخيار أعلاه.",
"List of setting names, separated by commas, for settings that should go to the quick access bar at the top, rather than the usual setting tab. See modules/shared.py for setting names. Requires restarting to apply.": "قائمة أسماء الإعدادات ، مفصولة بفواصل ، للإعدادات التي يجب أن تنتقل إلى شريط الوصول السريع في الأعلى ، بدلاً من علامة تبويب الإعداد المعتادة. انظر modules / shared.py للتعرف على أسماء الإعدادات. يتطلب إعادة التشغيل للتطبيق.",

View file

@ -1,4 +1,5 @@
{
"rtl": false,
"⤡": "⤡",
"⊞": "⊞",
"×": "×",

View file

@ -1,4 +1,5 @@
{
"rtl": false,
"×": "×",
"•": "•",
"⊞": "⊞",

View file

@ -1,4 +1,5 @@
{
"rtl": false,
"⤡": "⤡",
"⊞": "⊞",
"×": "×",

View file

@ -515,3 +515,77 @@ img2maskimg, #img2maskimg > .h-60, #img2maskimg > .h-60 > div, #img2maskimg > .h
max-height: 480px !important;
min-height: 480px !important;
}
/* The following handles localization for right-to-left (RTL) languages like Arabic.
The rtl media type will only be activated by the logic in javascript/localization.js.
If you change anything above, you need to make sure it is RTL compliant by just running
your changes through converters like https://cssjanus.github.io/ or https://rtlcss.com/.
Then, you will need to add the RTL counterpart only if needed in the rtl section below.*/
@media rtl {
/* this part was manualy added */
:host {
direction: rtl;
}
.output-html:has(.performance), .gr-text-input {
direction: ltr;
}
.gr-radio, .gr-checkbox{
margin-left: 0.25em;
}
/* this part was automatically generated with few manual modifications */
.performance .time {
margin-right: unset;
margin-left: 0;
}
.justify-center.overflow-x-scroll {
justify-content: right;
}
.justify-center.overflow-x-scroll button:first-of-type {
margin-left: unset;
margin-right: auto;
}
.justify-center.overflow-x-scroll button:last-of-type {
margin-right: unset;
margin-left: auto;
}
#settings fieldset span.text-gray-500, #settings .gr-block.gr-box span.text-gray-500, #settings label.block span{
margin-right: unset;
margin-left: 8em;
}
#txt2img_progressbar, #img2img_progressbar, #ti_progressbar{
right: unset;
left: 0;
}
.progressDiv .progress{
padding: 0 0 0 8px;
text-align: left;
}
#lightboxModal{
left: unset;
right: 0;
}
.modalPrev, .modalNext{
border-radius: 3px 0 0 3px;
}
.modalNext {
right: unset;
left: 0;
border-radius: 0 3px 3px 0;
}
#imageARPreview{
left:unset;
right:0px;
}
#txt2img_skip, #img2img_skip{
right: unset;
left: 0px;
}
#context-menu{
box-shadow:-1px 1px 2px #CE6400;
}
.gr-box > div > div > input.gr-text-input{
right: unset;
left: 0.5em;
}
}