fix: show an error when pre-request script fails (#1991)

* fix: show an error when pre-request script fails

* refactor: minor ui improvements

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
This commit is contained in:
Andrius Petrauskis
2021-12-02 19:44:26 +02:00
committed by GitHub
parent cc81242294
commit d24d07e420
36 changed files with 112 additions and 6 deletions

View File

@@ -178,6 +178,7 @@
"json_prettify_invalid_body": "تعذر تجميل جسم غير صالح وحل أخطاء بناء جملة json وحاول مرة أخرى",
"network_error": "There seems to be a network error. Please try again.",
"network_fail": "تعذر إرسال الطلب",
"script_fail": "تعذر تنفيذ نص الطلب المسبق",
"no_duration": "لا مدة",
"something_went_wrong": "هناك خطأ ما"
},
@@ -209,6 +210,7 @@
"authorization": "سيتم إنشاء رأس التفويض تلقائيًا عند إرسال الطلب.",
"generate_documentation_first": "قم بإنشاء الوثائق أولاً",
"network_fail": "تعذر الوصول إلى نقطة نهاية API. تحقق من اتصالك بالشبكة وحاول مرة أخرى.",
"script_fail": "يبدو أن هناك خللًا في نص الطلب المسبق. تحقق من الخطأ أدناه وقم بإصلاح البرنامج النصي وفقًا لذلك.",
"offline": "يبدو أنك غير متصل بالإنترنت. قد لا تكون البيانات الموجودة في مساحة العمل هذه محدثة.",
"offline_short": "يبدو أنك غير متصل بالإنترنت.",
"post_request_tests": "تتم كتابة نصوص الاختبار بلغة JavaScript ، ويتم تشغيلها بعد تلقي الاستجابة.",