diff --git a/src/containers/Dialogs/BranchActivateDialog/BranchActivateFormContent.js b/src/containers/Dialogs/BranchActivateDialog/BranchActivateFormContent.js index ed31bb290..84cfac959 100644 --- a/src/containers/Dialogs/BranchActivateDialog/BranchActivateFormContent.js +++ b/src/containers/Dialogs/BranchActivateDialog/BranchActivateFormContent.js @@ -1,4 +1,5 @@ import React from 'react'; +import intl from 'react-intl-universal'; import { Form } from 'formik'; import { Classes } from '@blueprintjs/core'; import BranchActivateFormFloatingActions from './BranchActivateFormFloatingActions'; @@ -11,17 +12,19 @@ export default function BranchActivateFormContent() {

- Once you enable Multiply Branches, you will not be able to disable it. - However, you can delete the branch or mark it inactive. + {intl.getHTML('branch_activate.dialog_paragraph_once_you_enable')}

diff --git a/src/containers/Dialogs/WarehouseActivateDialog/WarehouseActivateFormContent.js b/src/containers/Dialogs/WarehouseActivateDialog/WarehouseActivateFormContent.js index d83710cd3..18ecddecd 100644 --- a/src/containers/Dialogs/WarehouseActivateDialog/WarehouseActivateFormContent.js +++ b/src/containers/Dialogs/WarehouseActivateDialog/WarehouseActivateFormContent.js @@ -1,7 +1,7 @@ import React from 'react'; +import intl from 'react-intl-universal'; import { Form } from 'formik'; import { Classes } from '@blueprintjs/core'; - import WarehouseActivateFormFloatingActions from './WarehouseActivateFormFloatingActions'; /** @@ -12,16 +12,19 @@ export default function WarehouseActivateFormContent() {

- Once you enable Multiply Warehouses, you will not be able to disable it. - However, you can delete the warehouse or mark it inactive. + {intl.getHTML('warehouse_activate.dialog_paragraph_once_you_enable')}

diff --git a/src/lang/ar/index.json b/src/lang/ar/index.json index a4606f1d9..3ae19de33 100644 --- a/src/lang/ar/index.json +++ b/src/lang/ar/index.json @@ -1810,8 +1810,9 @@ "warehouses.action.edit_warehouse": "تعديل المخزن", "warehouses.action.delete_warehouse": "حذف المخزن ", "warehouses.action.make_as_parimary": "وضع علامة كأساسي ", - "warehouses.empty_status.title":"إنشاء وإدارة مخازن مؤسستك.", - "warehouses.empty_status.description": "", + "warehouses.empty_status.title": "إدارة مخازن مؤسستك.", + "warehouses.empty_status.description": "إدارة وتتبع مخزون مؤسستك عبر مخازن متعددة. ", + "warehouses.activate_button": "تفعيل المخازن ", "warehouse.alert.delete_message": "تم حذف المخزن بنجاح.", "warehouse.once_delete_this_warehouse": "بمجرد حذف هذا المخزن، لن تتمكن من استعادته لاحقًا. هل أنت متأكد أنك تريد حذف؟.", "warehouse.error.could_not_delete_only_waerhouse": "لا يمكنك حذف المخزن الاخير.", @@ -1858,8 +1859,9 @@ "branches.column.address": "عنوان", "branches.column.phone_number": "رقم الهاتف", "branches.column.code": "رمز", - "branches.empty_status.title":"إنشاء وإدارة فروع مؤسستك", - "branches.empty_status.description": "", + "branches.empty_status.title": "إدارة فروع مؤسستك", + "branches.empty_status.description": "إدارة ومتابعة المعاملات التجارية لتقييم أداء الفروع. ", + "branches.activate_button": "تفعيل الفروع ", "select_branch": "حدد الفرع ", "branch": "فرع", "warehouse": "مخزن", @@ -1880,11 +1882,17 @@ "realized_gain_or_loss.label": "Realized Gain or Loss", "unrealized_gain_or_loss.label": "Unrealized Gain or Loss", "branch_activate.dialog_success_message": "تم تفعيل خاصية تعدد الفروع بنجاح.", - "branch_activate.dialog.label":"تفعيل الفروع", + "branch_activate.dialog.label": "تفعيل الفروع", + "branch_activate.dialog_paragraph_once_you_enable": "بمجرد تفعيل خاصية تعدد الفروع, لن تتمكن من تعطيلها. ومع ذلك ، يمكنك حذف الفرع أو وضع علامة على أنه غير نشط.", + "branch_activate.dialog_paragraph_list_the_current_organization_will_be_considered": "سيتم اعتبار المنشأة الحالية بمثابة المكتب الرئيسي أو الفرع الرئيسي.", + "branch_activate.dialog_paragraph_list_all_accounts_transactions_will_be_considered": "سيتم اعتبار جميع معاملات الحسابات بمثابة المكتب الرئيسي. ", "branch.alert.mark_primary_message": "تم تحديد الفرع على أنه أساسي.", "branch.error.could_not_delete_only_branch": "لا يمكنك حذف الفرع الاخير.", "warehouse_activate.dialog_success_message": "تم تفعيل خاصية تعدد المخازن بنجاح.", - "warehouse_actviate.dialog.label":"تفعيل المخازن", + "warehouse_actviate.dialog.label": "تفعيل المخازن", + "warehouse_actviate.dialog_paragraph_once_you_enable": "بمجرد تفعيل خاصية تعدد المخازن, لن تتمكن من تعطيلها. ومع ذلك ، يمكنك حذف المخزن أو وضع علامة على أنه غير نشط.", + "warehouse_actviate.dialog_paragraph_list_the_current_organization_will_be_considered": "سيتم اعتبار المنشأة الحالية بمثابة المكتب الرئيسي أو الفرع الرئيسي.", + "warehouse_actviate.dialog_paragraph_list_all_accounts_transactions_will_be_considered": "سيتم اعتبار جميع معاملات الحسابات بمثابة المكتب الرئيسي. ", "warehouse.alert.mark_primary_message": "تم تحديد المخزن على أنه أساسي.", "make_primary": "وضع علامة كأساسي", "invoice.branch_button.label": "الفرع: {label}", @@ -1917,13 +1925,12 @@ "warehouse.error.warehouse_has_associated_transactions": "لا يمكنك حذف هذا المخزن لأنه لديه معاملات مرتبطة به. ", "branche.error.warehouse_code_not_unique": "رمز الفرع ليس فريدًا ", "branche.error.branch_has_associated_transactions": "لا يمكنك حذف هذا الفرع لأنه لديه معاملات مرتبطة به.", - "payment_Receive.error.payment_account_currency_invalid":"يجب أن تكون عملة حساب الإيداع هي نفس عملة العميل أو العملة الأساسية للمنشأة.", - "payment_made.error.withdrawal_account_currency_invalid":"يجب أن تكون عملة حساب السحب هي نفس عملة المورد أو العملة الأساسية للمنشأة.", + "payment_Receive.error.payment_account_currency_invalid": "يجب أن تكون عملة حساب الإيداع هي نفس عملة العميل أو العملة الأساسية للمنشأة.", + "payment_made.error.withdrawal_account_currency_invalid": "يجب أن تكون عملة حساب السحب هي نفس عملة المورد أو العملة الأساسية للمنشأة.", "view_customer_details": "عرض تفاصيل العميل ", "view_vendor_details": "عرض تفاصيل المورد ", "thanks_for_your_business_and_have_a_great_day": "Thanks for your business and have a great day!", "terms_and_conditions.placeholder": "Enter the terms and conditions of your business to be displayed in your transaction", "expenses.decscrption.placeholder": "Enter the description of your business to be displayed in your transaction", "make_jorunal.decscrption.placeholder": "Enter the description of your business to be displayed in your transaction" - } \ No newline at end of file diff --git a/src/lang/en/index.json b/src/lang/en/index.json index b030addf6..d085ec873 100644 --- a/src/lang/en/index.json +++ b/src/lang/en/index.json @@ -1876,11 +1876,17 @@ "unrealized_gain_or_loss.label": "Unrealized Gain or Loss", "branch_activate.dialog.label": "Branches Activation", "branch_activate.dialog_success_message": "Multi-branches feature has been activated successfully.", + "branch_activate.dialog_paragraph_once_you_enable": "Once you enable Multiple Branches, you will not be able to disable it. However, you can delete the branch or mark it inactive.", + "branch_activate.dialog_paragraph_list_the_current_organization_will_be_considered": "The current organization will be considered as the Head Office or Primary Branch.", + "branch_activate.dialog_paragraph_list_all_accounts_transactions_will_be_considered": "All accounts transactions will be considered as the primary office.", "branch.alert.mark_primary_message": "The branch has been marked as primary.", "branch.alert.are_you_sure_you_want_to_make": "Are you sure you want to make a primary branch?", "branch.error.could_not_delete_only_branch": "You could not delete the only branch.", "warehouse_actviate.dialog.label": "Warehouses Activation", "warehouse_activate.dialog_success_message": "Multi-branches feature has been activated successfully.", + "warehouse_activate.dialog_paragraph_once_you_enable": "Once you enable Multiple Warehouses, you will not be able to disable it. However, you can delete the warehouse or mark it inactive.", + "warehouse_activate.dialog_paragraph_list_the_current_organization_will_be_considered": "The current organization will be considered as the Head Office or Primary warehouse.", + "warehouse_activate.dialog_paragraph_list_all_accounts_transactions_will_be_considered": "All accounts transactions will be considered as the primary office.", "warehouse.alert.mark_primary_message": "The given warehouse has been marked as primary.", "warehouse.alert.are_you_sure_you_want_to_make": "Are you sure you want to make a primary warehouse?", "make_primary": "Make as Primary",