diff --git a/templates/account/signup.html b/templates/account/signup.html
index 6b44d13e..f43c08e7 100644
--- a/templates/account/signup.html
+++ b/templates/account/signup.html
@@ -24,8 +24,8 @@
-
Sign Up
-
Create your account today
+
{% trans "Sign Up" %}
+
{% trans "Create your account today" %}
{% if PASSKEY_SIGNUP_ENABLED %}
diff --git a/templates/admin_management/auth_logs.html b/templates/admin_management/auth_logs.html
index 7c6c9cf3..8e7fb4c0 100644
--- a/templates/admin_management/auth_logs.html
+++ b/templates/admin_management/auth_logs.html
@@ -51,7 +51,7 @@
{% include 'partials/pagination.html' with q='loginEvents' %}
{% else %}
- No authentication audit events found.
+ {% trans "No authentication audit events found." %}
{% endif %}
diff --git a/templates/admin_management/permenant_delete_account.html b/templates/admin_management/permenant_delete_account.html
index 92e1deff..aa6966af 100644
--- a/templates/admin_management/permenant_delete_account.html
+++ b/templates/admin_management/permenant_delete_account.html
@@ -23,7 +23,7 @@
- Are you sure you want to delete this account "{{ obj.email }}"? This will delete all associated information for this user.
+ {% blocktrans %}Are you sure you want to delete this account "{{ obj.email }}"? This will delete all associated information for this user.{% endblocktrans %}
diff --git a/templates/admin_management/request_logs.html b/templates/admin_management/request_logs.html
index df4d7ee6..4b96f551 100644
--- a/templates/admin_management/request_logs.html
+++ b/templates/admin_management/request_logs.html
@@ -51,7 +51,7 @@
{% include 'partials/pagination.html' with q='userRequests' %}
{% else %}
- No request audit events found.
+ {% trans "No request audit events found." %}
{% endif %}
diff --git a/templates/bill/bill_detail.html b/templates/bill/bill_detail.html
index bdaa39ae..391ccc45 100644
--- a/templates/bill/bill_detail.html
+++ b/templates/bill/bill_detail.html
@@ -3,7 +3,7 @@
{% load static %}
{% load django_ledger %}
{% load custom_filters %}
-{% block title %}Bill Details{% endblock %}
+{% block title %}{% trans "Bill Details" %}{% endblock %}
{% block content %}
diff --git a/templates/bill/tags/bill_table.html b/templates/bill/tags/bill_table.html
index f0fef517..60159fde 100644
--- a/templates/bill/tags/bill_table.html
+++ b/templates/bill/tags/bill_table.html
@@ -42,9 +42,9 @@
diff --git a/templates/components/email_modal.html b/templates/components/email_modal.html
index f65ae78b..b0a85ee7 100644
--- a/templates/components/email_modal.html
+++ b/templates/components/email_modal.html
@@ -15,7 +15,7 @@
-
hi
+ {% trans "hi" %}
diff --git a/templates/crm/add_activity.html b/templates/crm/add_activity.html
index 2e171743..75b4b264 100644
--- a/templates/crm/add_activity.html
+++ b/templates/crm/add_activity.html
@@ -1,10 +1,10 @@
{% extends 'base.html' %}
{% load i18n static crispy_forms_filters %}
{% block content %}
- Add Activity to {{ lead.first_name }} {{ lead.last_name }}
+ {% trans "Add Activity to" %} {{ lead.first_name }} {{ lead.last_name }}
{% endblock %}
diff --git a/templates/crm/employee_calendar.html b/templates/crm/employee_calendar.html
index 74d71a84..519680e0 100644
--- a/templates/crm/employee_calendar.html
+++ b/templates/crm/employee_calendar.html
@@ -6,13 +6,13 @@
- Customer
- Service
- Date
- Start Time
- End Time
- Staff
- Status
+ {% trans "Customer" %}
+ {% trans "Service" %}
+ {% trans "Date" %}
+ {% trans "Start Time" %}
+ {% trans "End Time" %}
+ {% trans "Staff" %}
+ {% trans "Status" %}
@@ -27,7 +27,7 @@
{{ appointment.get_staff_member_name }}
- view
+ {%trans "view" %}
{% endfor %}
diff --git a/templates/crm/leads/lead_send.html b/templates/crm/leads/lead_send.html
index 1ea38305..a0549f8e 100644
--- a/templates/crm/leads/lead_send.html
+++ b/templates/crm/leads/lead_send.html
@@ -6,7 +6,7 @@
{% endblock title %}
{% block content %}
diff --git a/templates/crm/notifications.html b/templates/crm/notifications.html
index e080aed1..7ffb5288 100644
--- a/templates/crm/notifications.html
+++ b/templates/crm/notifications.html
@@ -5,7 +5,7 @@
@@ -39,7 +39,7 @@
diff --git a/templates/crm/notifications_history.html b/templates/crm/notifications_history.html
index 100651d9..68ea14ba 100644
--- a/templates/crm/notifications_history.html
+++ b/templates/crm/notifications_history.html
@@ -38,6 +38,6 @@
{% endif %}
{% else %}
- No notifications found.
+ {% trans "No notifications found." %}
{% endif %}
{% endblock %}
diff --git a/templates/crm/opportunities/opportunity_confirm_delete.html b/templates/crm/opportunities/opportunity_confirm_delete.html
index 8170c2e4..19aeec15 100644
--- a/templates/crm/opportunities/opportunity_confirm_delete.html
+++ b/templates/crm/opportunities/opportunity_confirm_delete.html
@@ -1,10 +1,10 @@
{% extends 'base.html' %}
{% block content %}
- Delete Opportunity
- Are you sure you want to delete "{{ object.deal_name }}"?
+ {% trans "Delete Opportunity" %}
+ {% trans "Are you sure you want to delete" %} "{{ object.deal_name }}"?
{% endblock %}
diff --git a/templates/crm/opportunities/opportunity_detail.html b/templates/crm/opportunities/opportunity_detail.html
index 9c438233..16bf74c2 100644
--- a/templates/crm/opportunities/opportunity_detail.html
+++ b/templates/crm/opportunities/opportunity_detail.html
@@ -37,18 +37,18 @@
{% if perms.inventory.change_opportunity %}
Update Opportunity
+ href="{% url 'update_opportunity' request.dealer.slug opportunity.slug %}">{% trans "Update Opportunity" %}
Update Stage
+ data-bs-target="#updateStageModal">{% trans "Update Stage" %}
{% endif %}
{% if perms.inventory.delete_opportunity %}
- Delete Opportunity
+ {% trans "Delete Opportunity" %}
{% endif %}
@@ -73,7 +73,7 @@
{% if opportunity.car.marked_price %}
- {{ opportunity.car.total }} # TODO : check later
+ {{ opportunity.car.total }}
{% endif %}
@@ -91,20 +91,20 @@
{{ opportunity.customer|capfirst }}
- Individual
+ {% trans "Individual" %}
{% else %}
{{ opportunity.organization|capfirst }}
- Organization
+ {% trans "Organization" %}
{% endif %}
- STAGE : {{ opportunity.get_stage_display }} {{ opportunity.get_status_display }}
+ {% trans "STAGE" %} : {{ opportunity.get_stage_display }} {{ opportunity.get_status_display }}
@@ -295,7 +295,7 @@
style="width:16px;
height:16px">
- Probability (%)
+ {% trans "Probability (%)" %}
:
@@ -421,7 +421,7 @@
:
{% if request.user.email == opportunity.staff.email %}
- You
+ {% trans "You" %}
{% else %}
{{ opportunity.staff.get_local_name }}
{% endif %}
@@ -560,25 +560,25 @@
scope="col"
data-sort="subject"
style="width:31%;
- min-width:350px">Title
+ min-width:350px">{% trans "Title" %}
Notes
+ min-width:350px">{% trans "Notes" %}
Assigned to
+ min-width:130px">{% trans "Assigned to" %}
Due Date
+ style="min-width:165px">{% trans "Due Date" %}
Completed
+ style="min-width:165px">{% trans "Completed" %}
@@ -592,7 +592,7 @@
@@ -678,143 +678,7 @@
- {% comment %}
-
Notes
- {%if perms.inventory.change_opportunity%}
-
- {% endif %}
-
-
- {% for note in opportunity.get_notes %}
-
- {% endfor %}
-
-
-
{% endcomment %}
-{% comment %}
-
Meeting
-
-
-
- {% if perms.inventory.change_opportunity%}
-
- {% endif %}
-
-
- {% for metting in opportunity.lead.get_meetings %}
-
-
-
-
-
-
{{metting.purpose}}
-
{{metting.scheduled_at}} - {{meeting.duration}}
-
-
-
-
-
- {% endfor %}
-
-
{% endcomment %}
-{% comment %}
-
-
-
Call
-
- {% if perms.inventory.change_opportunity%}
-
- {% endif %}
-
-
-
{{opportunity.get_all_notes}}
-
-
{% endcomment %}
+
Emails
{% if perms.inventory.change_opportunity %}
- {% comment %}
-
-
- {% trans 'Send Email' %}
-
- {% endcomment %}
+
{% if opportunity.lead %}
Subject
+ min-width:350px">{% trans "Subject" %}
Sent by
+ min-width:130px">{% trans "Sent by" %}
Date
+ style="min-width:15px">{% trans "Date" %}
Status
+ min-width:100px">{% trans "Status" %}
@@ -901,7 +760,7 @@
{{ email.from_email }}
{{ email.created }}
- sent
+ {% trans "sent" %}
{% endfor %}
@@ -912,7 +771,7 @@
@@ -930,92 +789,7 @@
-
+
-
Activity
+
{% trans "Activity" %}
diff --git a/templates/crm/opportunities/opportunity_list copy.html b/templates/crm/opportunities/opportunity_list copy.html
index b9a1260e..e2f94335 100644
--- a/templates/crm/opportunities/opportunity_list copy.html
+++ b/templates/crm/opportunities/opportunity_list copy.html
@@ -108,7 +108,7 @@
:
- {{ opportunity.car.total }}# TODO : check later
+ {{ opportunity.car.total }}
diff --git a/templates/crm/opportunities/opportunity_logs.html b/templates/crm/opportunities/opportunity_logs.html
index da56c1e5..15acc8be 100644
--- a/templates/crm/opportunities/opportunity_logs.html
+++ b/templates/crm/opportunities/opportunity_logs.html
@@ -1,16 +1,16 @@
{% extends 'base.html' %}
{% block content %}
-
Logs for {{ opportunity.deal_name }}
+
{% trans "Logs for" %} {{ opportunity.deal_name }}
- Action
- User
- Old Status
- New Status
- Details
- Date
+ {% trans "Action" %}
+ {% trans "User" %}
+ {%trans Old Status %}
+ {% trans "New Status" %}
+ {% trans "Details" %}
+ {% trans "Date" %}
@@ -25,7 +25,7 @@
{% empty %}
- No logs found.
+ {% trans "No logs found." %}
{% endfor %}
diff --git a/templates/csv_upload.html b/templates/csv_upload.html
index ca58ae26..1f4ec621 100644
--- a/templates/csv_upload.html
+++ b/templates/csv_upload.html
@@ -80,7 +80,7 @@
{% if messages %}
@@ -163,7 +163,7 @@
{% endif %}
{% if item %}
- List of Items
+ {% trans "List of Items" %}
{{ item.item_model }}
@@ -171,7 +171,7 @@
{% endif %}
-
CSV File
+
{% trans "CSV File" %}
{{ _("CSV should include columns: vin") }}
- Upload
+ {% trans "Upload" %}
Cancel
+ class="btn btn-phoenix-secondary mb-2">{% trans "Cancel" %}
{% endblock %}
diff --git a/templates/dashboards/partials/chart.html b/templates/dashboards/partials/chart.html
index bee7b356..3d997c3b 100644
--- a/templates/dashboards/partials/chart.html
+++ b/templates/dashboards/partials/chart.html
@@ -110,7 +110,6 @@
{% trans "Go" %}
-
{%if selected_make_inventory%}
diff --git a/templates/errors/403.html b/templates/errors/403.html
index e547aed6..5e36b9cf 100644
--- a/templates/errors/403.html
+++ b/templates/errors/403.html
@@ -16,12 +16,12 @@
-
Access Forbidden!
+
{% trans "Access Forbidden!" %}
- Halt! Thou art endeavouring to trespass upon a realm not granted unto thee.
+ {% trans "Halt! Thou art endeavouring to trespass upon a realm not granted unto thee." %}
- granted unto thee.
+ {% trans "granted unto thee." %}"
-
Go Home
+
{% trans "Go Home" %}
diff --git a/templates/groups/group_detail.html b/templates/groups/group_detail.html
index 4e4474bb..2b7fe935 100644
--- a/templates/groups/group_detail.html
+++ b/templates/groups/group_detail.html
@@ -79,9 +79,9 @@