From 193036fb3a3a68fa42c1ec27659e16a9dac76b05 Mon Sep 17 00:00:00 2001 From: Faheedkhan Date: Sun, 31 Aug 2025 14:49:32 +0300 Subject: [PATCH] translations --- templates/account/signup.html | 4 +- templates/admin_management/auth_logs.html | 2 +- .../permenant_delete_account.html | 4 +- templates/admin_management/request_logs.html | 2 +- templates/bill/bill_detail.html | 2 +- templates/bill/tags/bill_table.html | 4 +- templates/components/email_modal.html | 2 +- templates/crm/add_activity.html | 4 +- templates/crm/employee_calendar.html | 16 +- templates/crm/leads/lead_send.html | 6 +- templates/crm/notifications.html | 6 +- templates/crm/notifications_history.html | 2 +- .../opportunity_confirm_delete.html | 8 +- .../crm/opportunities/opportunity_detail.html | 276 ++---------------- .../opportunities/opportunity_list copy.html | 2 +- .../crm/opportunities/opportunity_logs.html | 16 +- templates/csv_upload.html | 10 +- templates/dashboards/partials/chart.html | 1 - templates/errors/403.html | 8 +- templates/groups/group_detail.html | 4 +- templates/haikalbot/chatbot.html | 2 +- templates/inventory/car_confirm_delete.html | 2 +- templates/inventory/car_history.html | 2 +- templates/inventory/car_list_view.html | 2 +- templates/inventory/transfer_details.html | 4 +- templates/inventory/transfer_preview.html | 8 +- .../bank_accounts/bank_account_detail.html | 2 +- templates/ledger/bills/bill_form-copy.html | 6 +- .../ledger/coa_accounts/account_detail.html | 7 +- .../coa_accounts/partials/account_table.html | 3 +- .../journal_entry/includes/card_invoice.html | 14 +- .../journal_entry/journal_entry_delete.html | 2 +- .../journal_entry/journal_entry_txs.html | 10 +- templates/ledger/ledger/ledger_detail.html | 4 +- templates/ledger/reports/balance_sheet.html | 2 +- templates/ledger/reports/car_sale_report.html | 21 +- templates/modal/confirm_modal.html | 4 +- templates/notifications.html | 2 +- templates/plans/plan_table.html | 4 +- .../includes/inventory_item_form.html | 6 +- .../purchase_orders/includes/po_table.html | 14 +- .../purchase_orders/inventory_item_form.html | 2 +- .../purchase_orders/po_confirm_delete.html | 10 +- templates/purchase_orders/po_delete.html | 10 +- templates/purchase_orders/po_list.html | 2 +- templates/purchase_orders/po_upload_cars.html | 10 +- .../purchase_orders/tags/po_item_table.html | 4 +- templates/sales/estimates/estimate_send.html | 2 +- templates/sales/orders/order_details.html | 12 +- templates/sales/orders/order_list.html | 2 +- templates/sales/orders/purchase_order.html | 10 +- templates/support/help_center.html | 6 +- templates/support/ticket_list.html | 10 +- templates/support/ticket_update.html | 6 +- templates/tours/start_tour.html | 6 +- templates/tours/tour_list.html | 8 +- 56 files changed, 175 insertions(+), 425 deletions(-) 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 %}

{% csrf_token %} @@ -33,7 +33,7 @@ {{ _("Delete Permenantly") }} Cancel + href="{% url 'user_management' request.dealer.slug %}">{{_("Cancel")}}
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 @@
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 }}

{% csrf_token %} {{ form|crispy }} - +
{% 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 @@ - - - - - - - + + + + + + + @@ -27,7 +27,7 @@ {% 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 %}
-
Send Mail
+
{% trans "Send Mail" %}
Save as Draft + class="btn btn-phoenix-success">{% trans "Save as Draft" %}
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 @@
-
Notifications
+
{% trans "Notifications" %}
@@ -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 }}"?

{% csrf_token %} - - Cancel + + {% trans "Cancel" %} {% 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 @@ + min-width:350px">{% trans "Notes" %} + min-width:130px">{% trans "Assigned to" %} + style="min-width:165px">{% trans "Due Date" %} + style="min-width:165px">{% trans "Completed" %} @@ -592,7 +592,7 @@

    - View allView Less + {% trans "View all" %}View Less
    - {% comment %}
    -

    Notes

    - {%if perms.inventory.change_opportunity%} -
    - {% csrf_token %} - - - - {% endif %} -
    -
    - {% for note in opportunity.get_notes %} -
    -

    {{ note.note }}

    -
    -
    {{note.created|naturaltime|capfirst}}
    -

    by{{note.created_by}}

    -
    -
    - {% endfor %} -
    -
    -
    {% endcomment %} -{% comment %}
    -

    Meeting

    -
    -
    - -
    -
    -

    23 tasks

    - -
    - {% 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%} -
    - Add Call -
    - {% endif %} - -
    -
    {{opportunity.get_all_notes}}
    -
    -
    -
    CustomerServiceDateStart TimeEnd TimeStaffStatus{% trans "Customer" %}{% trans "Service" %}{% trans "Date" %}{% trans "Start Time" %}{% trans "End Time" %}{% trans "Staff" %}{% trans "Status" %}
    {{ appointment.get_staff_member_name }} - view + {%trans "view" %}
    :: {% 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 Assigned to Due Date Completed
    - - - - - - - - - {% for call in opportunity.lead.get_calls %} - - - - - - - {% endfor %} - -
    PurposeScheduled ByCreated at
    {{call.purpose}}{{call.scheduled_by}}{{call.created_at|naturaltime|capfirst}} -
    - - -
    -
    - -
    - -
    - -
      - -
      -
      - - {% endcomment %} +
      Emails {% if perms.inventory.change_opportunity %}
      - {% comment %} - - {% endcomment %} + {% if opportunity.lead %}
      -
      -

      Attachments

      -
      -
      -
      - -

      Silly_sight_1.png

      -
      - -
      -

      - 768kB|Shantinan Mekalan|21st Dec, 12:56 PM -

      - -
      -
      -
      -
      -
      - -

      All_images.zip

      -
      -

      - 12.8 mB|Yves Tanguy|19th Dec, 08:56 PM -

      -
      - -
      -
      -
      -
      -
      -
      - -

      Project.txt

      -
      -

      - 123 kB|Shantinan Mekalan|12th Dec, 12:56 PM -

      -
      - -
      -
      -
      +
      -

      Activity

      +

      {% trans "Activity" %}