Add 30 n12345

This commit is contained in:
yznahmad 2025-06-21 04:35:40 +03:00
parent 97e6aac39d
commit df46525ccf
5 changed files with 9 additions and 5 deletions

View File

@ -49,7 +49,7 @@ export default function IncomeOutcome()
}], }],
annotations: { annotations: {
points: [{ points: [{
x: t('incomes'), x: t('income'),
seriesIndex: 0, seriesIndex: 0,
label: { label: {
borderColor: '#775DD0', borderColor: '#775DD0',

View File

@ -13,7 +13,7 @@ export default function ServicesSubscriptions()
const themeType = useAppSelector((state) => state.themeTypeReducer.value.themeType) const themeType = useAppSelector((state) => state.themeTypeReducer.value.themeType)
// declare global variables // declare global variables
const cookies = new Cookies(); const cookies = new Cookies();
const t = useTranslations(); const t = useTranslations('statistics');
const locale = cookies.get("NEXT_LOCALE") const locale = cookies.get("NEXT_LOCALE")
const isRtl = locale == 'ar' ? true : false const isRtl = locale == 'ar' ? true : false
const isDark = themeType == 'dark' ? true : false const isDark = themeType == 'dark' ? true : false

View File

@ -13,7 +13,7 @@ export default function WorkersJobTypes()
const themeType = useAppSelector((state) => state.themeTypeReducer.value.themeType) const themeType = useAppSelector((state) => state.themeTypeReducer.value.themeType)
// declare global variables // declare global variables
const cookies = new Cookies(); const cookies = new Cookies();
const t = useTranslations(); const t = useTranslations('statistics');
const locale = cookies.get("NEXT_LOCALE") const locale = cookies.get("NEXT_LOCALE")
const isRtl = locale == 'ar' ? true : false const isRtl = locale == 'ar' ? true : false
const isDark = themeType == 'dark' ? true : false const isDark = themeType == 'dark' ? true : false

View File

@ -394,6 +394,8 @@
"female": "أنثى", "female": "أنثى",
"total": "الإجمالي", "total": "الإجمالي",
"active": "نشط", "active": "نشط",
"inactive": "غير نشط" "inactive": "غير نشط",
"services": "الخدمات",
"workers": "العمال"
} }
} }

View File

@ -398,6 +398,8 @@
"female": "Female", "female": "Female",
"total": "Total", "total": "Total",
"active": "Active", "active": "Active",
"inactive": "Inactive" "inactive": "Inactive",
"services": "Services",
"workers": "Workers"
} }
} }