66 lines
2.1 KiB
TypeScript
66 lines
2.1 KiB
TypeScript
import type { LocaleBundle } from '~/types/locale'
|
|
import { hospitalsPageContentAr } from '~/data/locale/ar/hospitals-page.ar'
|
|
import { hospitalsPageContentRu } from '~/data/locale/ru/hospitals-page.ru'
|
|
import { hospitalsPageContentZh } from '~/data/locale/zh/hospitals-page.zh'
|
|
|
|
export type HospitalsPageUi = {
|
|
title: string
|
|
desc: string
|
|
searchPlaceholder: string
|
|
empty: string
|
|
officialWebsite: string
|
|
}
|
|
|
|
export type DoctorsPageUi = {
|
|
title: string
|
|
titleAtHospital: (name: string) => string
|
|
descAll: string
|
|
descAtHospital: string
|
|
backLink: string
|
|
hospitalLabel: string
|
|
departmentLabel: string
|
|
doctorNameLabel: string
|
|
allHospitals: string
|
|
searchDepartment: string
|
|
searchDoctor: string
|
|
clearFilters: string
|
|
empty: string
|
|
}
|
|
|
|
export type HospitalsPageContent = {
|
|
hospitals: HospitalsPageUi
|
|
doctors: DoctorsPageUi
|
|
}
|
|
|
|
const hospitalsPageContentEn: HospitalsPageContent = {
|
|
hospitals: {
|
|
title: 'Featured Hospitals',
|
|
desc: 'UMedGlobal consolidates premium hospital resources across China to provide precise matching services.',
|
|
searchPlaceholder: 'Search hospitals by name…',
|
|
empty: 'No hospitals match your search. Try a different keyword.',
|
|
officialWebsite: 'Official website →'
|
|
},
|
|
doctors: {
|
|
title: 'Featured Specialists',
|
|
titleAtHospital: (name: string) => name,
|
|
descAll: "Carefully Curated by UMedGlobal: China's Top-Tier Specialist Resources",
|
|
descAtHospital: 'Specialists at this partner hospital. Use the filters below to narrow by department or name.',
|
|
backLink: '← All featured hospitals',
|
|
hospitalLabel: 'Hospital',
|
|
departmentLabel: 'Department',
|
|
doctorNameLabel: 'Doctor name',
|
|
allHospitals: 'All hospitals',
|
|
searchDepartment: 'Search department…',
|
|
searchDoctor: 'Search doctor name…',
|
|
clearFilters: 'Clear filters',
|
|
empty: 'No specialists match your filters. Try adjusting your search.'
|
|
}
|
|
}
|
|
|
|
export const hospitalsPageContentBundle: LocaleBundle<HospitalsPageContent> = {
|
|
en: hospitalsPageContentEn,
|
|
zh: hospitalsPageContentZh,
|
|
ar: hospitalsPageContentAr,
|
|
ru: hospitalsPageContentRu
|
|
}
|