diff --git a/src/containers/Preferences/Currencies/components.js b/src/containers/Preferences/Currencies/components.js index 51eb2371c..431628b27 100644 --- a/src/containers/Preferences/Currencies/components.js +++ b/src/containers/Preferences/Currencies/components.js @@ -67,7 +67,7 @@ export function useCurrenciesTableColumns() { width: 120, }, { - Header: 'Currency sign', + Header: intl.get('currency_sign'), width: 120, accessor: 'currency_sign' }, diff --git a/src/containers/Preferences/Users/components.js b/src/containers/Preferences/Users/components.js index 65eeb0e7f..dcdaa0389 100644 --- a/src/containers/Preferences/Users/components.js +++ b/src/containers/Preferences/Users/components.js @@ -131,7 +131,7 @@ export const useUsersListColumns = () => { }, { id: 'role_name', - Header: intl.get('roles.column.role_name'), + Header: intl.get('users.column.role_name'), accessor: 'role.name', width: 120, }, @@ -143,7 +143,7 @@ export const useUsersListColumns = () => { // }, { id: 'status', - Header: 'Status', + Header: intl.get('status'), accessor: StatusAccessor, width: 80, className: 'status', diff --git a/src/lang/ar/index.json b/src/lang/ar/index.json index 913afc98d..1d3ab5fca 100644 --- a/src/lang/ar/index.json +++ b/src/lang/ar/index.json @@ -360,7 +360,7 @@ "the_email_already_used_in_another_account": "البريد الإلكتروني مستخدم بالفعل في حساب آخر", "hide_filter": "إخفاء الترشيح", "show_filter": "عرض عامل التصفية", - "new_role": "دور جديد", + "new_role": "دور مستخدم جديد", "quick_new": "انشاء سريع", "help": "مساعدة", "organization_id": "معرف المنشأة", @@ -979,7 +979,7 @@ "should_account_code_be_unique_when_create_a_new_account": "يجب أن يكون رمز الحساب فريدًا عند إنشاء حساب جديد.", "select_a_preferred_account_to_deposit_into_it_after_customer_make_payment": "حدد الحساب المفضل للإيداع فيه بعد قيام الزبون بالدفع.", "select_a_preferred_account_to_deposit_into_it_vendor_advanced_deposits": "حدد حساب المفضل لإيداع فيه ودائع الموردين المقدمة.", - "roles": "الأدوار", + "roles": "دور المستخدمين", "closing_balance": "الرصيد الختامي", "view_more_transactions": "عرض المزيد من المعاملات.", "there_is_no_results_in_the_table": "لا توجد نتائج في الجدول.", @@ -1480,5 +1480,19 @@ "sms_notification.payment_details.type": "شكر علي عملية الدفع", "sms_notification.receipt_details.type": "تفاصيل إيصال البيع", "personal": "المحمول", - "list.create":"إضافة {value}" + "list.create":"إضافة {value}", + "roles.label":"دور المستخدمين", + "roles.column.name":"اسم الدور", + "roles.column.description":"الوصف", + "roles.edit_roles":" تعديل دور المستخدم", + "roles.delete_roles":"حذف دور المستخدم", + "roles.label.role_name":"دور المستخدم", + "roles.error.role_is_predefined":"دور المستخدم معرَّف مسبقًا ، ولا يمكنك حذف دور المستخدمين المحددة مسبقًا ", + "roles.error.you_cannot_change_your_own_role":"لا يمكنك تغيير دور المستخدم الخاص بك.", + "roles.label.role_name_":"اسم دور المستخدم ", + "roles.permission_schema.success_message":"تم اضافة دور المستخدم بنجاح.", + "roles.permission_schema.upload_message":"تم تحديث دور المستخدم بنجاح.", + "roles.permission_schema.delete.alert_message":"تم حذف دور المستخدم بنجاح. ", + "roles.permission_schema.once_delete_this_role_you_will_able_to_restore_it":"بمجرد حذف دور المستخدم ، لن تتمكن من استعادتها لاحقًا. هل أنت متأكد أنك تريد حذف هذا الدور؟", + "users.column.role_name":"دور المستخدم" } \ No newline at end of file diff --git a/src/lang/en/index.json b/src/lang/en/index.json index b8127c3bf..103da57c6 100644 --- a/src/lang/en/index.json +++ b/src/lang/en/index.json @@ -1471,7 +1471,6 @@ "roles.label":"Roles", "roles.column.name":"Name", "roles.column.description":"Description", - "roles.column.role_name":"Role Name", "roles.edit_roles":"Edit Roles", "roles.delete_roles":"Delete Roles", "roles.label.role_name":"Role Name", @@ -1481,7 +1480,8 @@ "sidebar.transactions_locaking":"Transactions Locaking", "transactions_locking.dialog.label":"Transactions locking", "roles.permission_schema.success_message":"The role has been created successfully.", - "roles.permission_schema.upload_message":"The given role hsa been updated successfully.", + "roles.permission_schema.upload_message":"The given role has been updated successfully.", "roles.permission_schema.delete.alert_message":"The given role has been deleted successfully.", - "roles.permission_schema.once_delete_this_role_you_will_able_to_restore_it":"Once you delete this role, you won't be able to restore it later. Are you sure you want to delete this role?" + "roles.permission_schema.once_delete_this_role_you_will_able_to_restore_it":"Once you delete this role, you won't be able to restore it later. Are you sure you want to delete this role?", + "users.column.role_name":"Role Name" } \ No newline at end of file