refactor: update terminology from "مشتری" to "مودی" and "ارایه‌دهنده" to "PSP" across the application
Production CI / validate-and-build (push) Failing after 1m6s

- Updated column headers and labels in various components and constants to reflect the new terminology.
- Changed the titles and placeholders in forms and dialogs to use "مودی" and "PSP".
- Adjusted routing titles and menu items to align with the new naming conventions.
- Refactored related constants and configurations to ensure consistency throughout the application.
This commit is contained in:
2026-06-16 15:47:23 +03:30
parent 151eff2f7c
commit ea458c7b72
42 changed files with 148 additions and 153 deletions
@@ -21,7 +21,7 @@ export class CatalogProviderSelectComponent extends AbstractSelectComponent<
private readonly service = inject(CatalogsService);
get preparedLabel() {
return this.label || 'انتخاب ارایه‌دهنده';
return this.label || 'انتخاب PSP';
}
ngOnInit() {
@@ -1,7 +1,7 @@
import { IListConfig } from './list-config.model';
export const consumerAccountListConfig: IListConfig = {
pageTitle: 'مدیریت حساب‌های مشتری',
pageTitle: 'مدیریت حساب‌های مودی',
addNewCtaLabel: 'افزودن حساب',
emptyPlaceholderTitle: 'حسابی یافت نشد',
emptyPlaceholderDescription: 'برای افزودن حساب، روی دکمهٔ بالا کلیک کنید.',
@@ -1,10 +1,10 @@
import { IListConfig } from './list-config.model';
export const consumerListConfig: IListConfig = {
pageTitle: 'مدیریت مشتری‌ها',
addNewCtaLabel: 'افزودن مشتری',
emptyPlaceholderTitle: شتری‌ای یافت نشد',
emptyPlaceholderDescription: 'برای افزودن مشتری، روی دکمهٔ بالا کلیک کنید.',
pageTitle: 'مدیریت مودیان',
addNewCtaLabel: 'افزودن مودی',
emptyPlaceholderTitle: ودی‌ای یافت نشد',
emptyPlaceholderDescription: 'برای افزودن مودی، روی دکمهٔ بالا کلیک کنید.',
columns: [
{ field: 'name', header: 'عنوان' },
{
@@ -16,7 +16,7 @@ export const consumerListConfig: IListConfig = {
},
{
field: 'partner',
header: 'ارایه‌دهنده',
header: 'PSP',
type: 'nested',
nestedOption: { path: 'partner.name' },
},
@@ -8,7 +8,7 @@ export const licenseListConfig: IListConfig = {
columns: [
{
field: 'consumer',
header: شتری',
header: ودی',
customDataModel(item: any) {
return `${item.consumer.first_name} ${item.consumer.last_name}`;
},
@@ -2,9 +2,9 @@ import { IListConfig } from './list-config.model';
export const partnerListConfig: IListConfig = {
pageTitle: 'مدیریت ارایه‌دهندگان',
addNewCtaLabel: 'افزودن ارایه‌دهنده',
addNewCtaLabel: 'افزودن PSP',
emptyPlaceholderTitle: 'ارایه‌دهندگان‌ای یافت نشد',
emptyPlaceholderDescription: 'برای افزودن ارایه‌دهنده، روی دکمهٔ بالا کلیک کنید.',
emptyPlaceholderDescription: 'برای افزودن PSP، روی دکمهٔ بالا کلیک کنید.',
columns: [
{ field: 'name', header: 'عنوان' },
{ field: 'code', header: 'کد' },
@@ -12,7 +12,7 @@ export const posListConfig: IListConfig = {
{ field: 'device', header: 'دستگاه', type: 'nested', nestedOption: { path: 'device.name' } },
{
field: 'provider',
header: 'ارایه‌دهنده',
header: 'PSP',
type: 'nested',
nestedOption: { path: 'provider.name' },
},