diff --git a/locale/ar/LC_MESSAGES/django.mo b/locale/ar/LC_MESSAGES/django.mo index e9d7f40..fd56e67 100644 Binary files a/locale/ar/LC_MESSAGES/django.mo and b/locale/ar/LC_MESSAGES/django.mo differ diff --git a/locale/ar/LC_MESSAGES/django.po b/locale/ar/LC_MESSAGES/django.po index f5d78a3..15e83df 100644 --- a/locale/ar/LC_MESSAGES/django.po +++ b/locale/ar/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PX360 1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-01-08 10:32+0300\n" +"POT-Creation-Date: 2026-01-08 10:47+0300\n" "PO-Revision-Date: 2025-12-15 12:30+0300\n" "Last-Translator: PX360 Team\n" "Language-Team: Arabic\n" @@ -607,6 +607,7 @@ msgstr "لا" #: templates/physicians/physician_list.html:154 #: templates/projects/project_list.html:22 #: templates/references/folder_form.html:173 +#: templates/surveys/template_list.html:44 msgid "Active" msgstr "نشط" @@ -617,6 +618,7 @@ msgstr "نشط" #: templates/physicians/physician_detail.html:28 #: templates/physicians/physician_list.html:89 #: templates/physicians/physician_list.html:156 +#: templates/surveys/template_list.html:46 msgid "Inactive" msgstr "غير نشط" @@ -3885,6 +3887,7 @@ msgid "Select source" msgstr "اختر المصدر" #: templates/complaints/complaint_form.html:231 +#: templates/surveys/instance_detail.html:5 msgid "Survey" msgstr "الاستبيان" @@ -6399,13 +6402,29 @@ msgstr "ملاحظات سلبية" msgid "Follow-up Actions" msgstr "إجراءات المتابعة" +#: templates/surveys/instance_detail.html:129 +msgid "Action Required" +msgstr "إجراء مطلوب" + +#: templates/surveys/instance_detail.html:129 +msgid "Contact patient to discuss negative feedback" +msgstr "التواصل مع المريض لمناقشة الملاحظات السلبية" + #: templates/surveys/instance_detail.html:135 msgid "Contact Notes *" msgstr "ملاحظات التواصل *" #: templates/surveys/instance_detail.html:137 msgid "Document your conversation with the patient..." -msgstr "قم بتوثيق محادثتك مع المريض..." +msgstr "وثّق محادثتك مع المريض..." + +#: templates/surveys/instance_detail.html:142 +msgid "Issue resolved or explained to patient" +msgstr "تم حل المشكلة أو شرحها للمريض" + +#: templates/surveys/instance_detail.html:146 +msgid "Log Patient Contact" +msgstr "تسجيل التواصل مع المريض" #: templates/surveys/instance_detail.html:152 msgid "Patient Contacted" @@ -6415,9 +6434,45 @@ msgstr "تم التواصل مع المريض" msgid "Contact Notes" msgstr "ملاحظات التواصل" +#: templates/surveys/instance_detail.html:164 +msgid "Issue Resolved" +msgstr "تم حل المشكلة" + +#: templates/surveys/instance_detail.html:166 +msgid "Issue Discussed" +msgstr "تمت مناقشة المشكلة" + #: templates/surveys/instance_detail.html:172 +#: templates/surveys/instance_detail.html:179 msgid "Send Satisfaction Feedback" -msgstr "إرسال تقييم الرضا" +msgstr "إرسال استبيان رضا" + +#: templates/surveys/instance_detail.html:174 +msgid "" +"Send a feedback form to the patient to assess their satisfaction with how " +"their concerns were addressed" +msgstr "إرسال نموذج تقييم للمريض لقياس رضاه عن معالجة ملاحظاته" + +#: templates/surveys/instance_detail.html:186 +msgid "Satisfaction Feedback Sent" +msgstr "تم إرسال استبيان الرضا" + +#: templates/surveys/instance_detail.html:192 +msgid "Related Feedback" +msgstr "التقييمات ذات الصلة" + +#: templates/surveys/instance_detail.html:196 +msgid "View Feedback" +msgstr "عرض التقييم" + +#: templates/surveys/instance_list.html:5 +#: templates/surveys/instance_list.html:13 +msgid "Survey Instances" +msgstr "حالات الاستبيانات" + +#: templates/surveys/instance_list.html:15 +msgid "Monitor survey responses and scores" +msgstr "متابعة ردود الاستبيانات والدرجات" #: templates/surveys/instance_list.html:63 msgid "Survey Template" @@ -6427,14 +6482,54 @@ msgstr "قالب الاستبيان" msgid "Journey Stage" msgstr "مرحلة الرحلة" +#: templates/surveys/instance_list.html:134 +msgid "No surveys found" +msgstr "لا توجد استبيانات" + +#: templates/surveys/invalid_token.html:7 #: templates/surveys/invalid_token.html:117 msgid "Invalid Survey Link" msgstr "رابط الاستبيان غير صالح" +#: templates/surveys/invalid_token.html:120 +msgid "We're sorry, but this survey link is no longer valid or has expired" +msgstr "نأسف، رابط الاستبيان هذا غير صالح أو انتهت صلاحيته" + #: templates/surveys/invalid_token.html:124 msgid "This could be because:" msgstr "قد يكون السبب:" +#: templates/surveys/invalid_token.html:126 +msgid "The survey has already been completed" +msgstr "تم إكمال الاستبيان مسبقًا" + +#: templates/surveys/invalid_token.html:127 +msgid "The link has expired (surveys are valid for 30 days)" +msgstr "انتهت صلاحية الرابط (الاستبيانات صالحة لمدة 30 يومًا)" + +#: templates/surveys/invalid_token.html:128 +msgid "The link was entered incorrectly" +msgstr "تم إدخال الرابط بشكل غير صحيح" + +#: templates/surveys/invalid_token.html:129 +msgid "The survey has been canceled" +msgstr "تم إلغاء الاستبيان" + +#: templates/surveys/invalid_token.html:134 +msgid "" +"If you believe this is an error, please contact your healthcare provider for " +"assistance" +msgstr "إذا كنت تعتقد أن هذا خطأ، يرجى التواصل مع مقدم الرعاية الصحية للمساعدة" + +#: templates/surveys/template_list.html:5 +#: templates/surveys/template_list.html:13 +msgid "Survey Templates" +msgstr "قوالب الاستبيانات" + +#: templates/surveys/template_list.html:15 +msgid "Manage survey templates and questions" +msgstr "إدارة قوالب الاستبيانات والأسئلة" + #: templates/surveys/template_list.html:26 msgid "Survey Type" msgstr "نوع الاستبيان" @@ -6447,3 +6542,14 @@ msgstr "الأسئلة" msgid "Scoring" msgstr "التقييم" +#: templates/surveys/template_list.html:40 +msgid "questions" +msgstr "أسئلة" + +#: templates/surveys/template_list.html:52 +msgid "View Instances" +msgstr "عرض النماذج" + +#: templates/surveys/template_list.html:60 +msgid "No templates found" +msgstr "لا توجد قوالب" diff --git a/templates/surveys/instance_detail.html b/templates/surveys/instance_detail.html index 78f3087..cecdd7d 100644 --- a/templates/surveys/instance_detail.html +++ b/templates/surveys/instance_detail.html @@ -2,7 +2,7 @@ {% load i18n %} {% load static %} -{% block title %}Survey #{{ survey.id|slice:":8" }} - PX360{% endblock %} +{% block title %}{{ _("Survey") }} #{{ survey.id|slice:":8" }} - PX360{% endblock %} {% block content %}
@@ -126,7 +126,7 @@ {% if not survey.patient_contacted %}
- Action Required: Contact patient to discuss negative feedback. + {{ _("Action Required")}}: {{ _("Contact patient to discuss negative feedback")}}.
@@ -139,11 +139,11 @@
{% else %} @@ -161,9 +161,9 @@
{{ _("Status") }}:
{% if survey.issue_resolved %} - Issue Resolved + {{ _("Issue Resolved")}} {% else %} - Issue Discussed + {{ _("Issue Discussed")}} {% endif %}
@@ -171,29 +171,29 @@
{% trans "Send Satisfaction Feedback" %}

- Send a feedback form to the patient to assess their satisfaction with how their concerns were addressed. + {{ _("Send a feedback form to the patient to assess their satisfaction with how their concerns were addressed")}}.

{% csrf_token %}
{% else %}
- Satisfaction Feedback Sent
+ {{ _("Satisfaction Feedback Sent")}}
{{ survey.satisfaction_feedback_sent_at|date:"M d, Y H:i" }}
{% if survey.follow_up_feedbacks.exists %}
- Related Feedback: + {{ _("Related Feedback")}}: {% for feedback in survey.follow_up_feedbacks.all %} {% endfor %} diff --git a/templates/surveys/instance_list.html b/templates/surveys/instance_list.html index e344801..011d338 100644 --- a/templates/surveys/instance_list.html +++ b/templates/surveys/instance_list.html @@ -2,7 +2,7 @@ {% load i18n %} {% load static %} -{% block title %}Survey Instances - PX360{% endblock %} +{% block title %}{{ _("Survey Instances")}} - PX360{% endblock %} {% block content %}
@@ -10,9 +10,9 @@

- Survey Instances + {{ _("Survey Instances")}}

-

Monitor survey responses and scores

+

{{ _("Monitor survey responses and scores")}}

@@ -131,7 +131,7 @@ -

No surveys found

+

{{ _("No surveys found")}}

{% endfor %} diff --git a/templates/surveys/invalid_token.html b/templates/surveys/invalid_token.html index 87d88a5..d45704b 100644 --- a/templates/surveys/invalid_token.html +++ b/templates/surveys/invalid_token.html @@ -4,7 +4,7 @@ - Invalid Survey Link - PX360 + {{ _("Invalid Survey Link")}} - PX360 @@ -117,21 +117,21 @@

{% trans "Invalid Survey Link" %}

- We're sorry, but this survey link is no longer valid or has expired. + {{ _("We're sorry, but this survey link is no longer valid or has expired")}}.

{% trans "This could be because:" %}

    -
  • The survey has already been completed
  • -
  • The link has expired (surveys are valid for 30 days)
  • -
  • The link was entered incorrectly
  • -
  • The survey has been cancelled
  • +
  • {{ _("The survey has already been completed")}}
  • +
  • {{ _("The link has expired (surveys are valid for 30 days)")}}
  • +
  • {{ _("The link was entered incorrectly")}}
  • +
  • {{ _("The survey has been canceled")}}

- If you believe this is an error, please contact your healthcare provider for assistance. + {{ _("If you believe this is an error, please contact your healthcare provider for assistance")}}.

diff --git a/templates/surveys/template_list.html b/templates/surveys/template_list.html index d0b1ec4..1cff766 100644 --- a/templates/surveys/template_list.html +++ b/templates/surveys/template_list.html @@ -2,7 +2,7 @@ {% load i18n %} {% load static %} -{% block title %}Survey Templates - PX360{% endblock %} +{% block title %}{{ _("Survey Templates")}} - PX360{% endblock %} {% block content %}
@@ -10,9 +10,9 @@

- Survey Templates + {{ _("Survey Templates")}}

-

Manage survey templates and questions

+

{{ _("Manage survey templates and questions")}}

@@ -37,19 +37,19 @@ {{ template.name }} {{ template.get_survey_type_display }} {{ template.hospital.name_en }} - {{ template.questions.count }} questions + {{ template.questions.count }} {{ _("questions") }} {{ template.get_scoring_method_display }} {% if template.is_active %} - Active + {{ _("Active") }} {% else %} - Inactive + {{ _("Inactive") }} {% endif %} - View Instances + {{ _("View Instances")}} @@ -57,7 +57,7 @@ -

No templates found

+

{{ _("No templates found")}}

{% endfor %}