added seeder for legacy apge and added the legacy page

This commit is contained in:
teledrisi
2026-10-05 17:32:06 +02:00
parent a5c531be00
commit 98fae066bc
30 changed files with 1488 additions and 181 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ export interface Translation {
readonly messages: Messages;
/** `/{locale}` prefixed URL for an unprefixed path. */
readonly localizedPath: (path: string) => string;
/** The locale-prefixed URL of one of the ten sections. */
/** The locale-prefixed URL of one of the eleven sections. */
readonly sectionPath: (key: RouteSlugKey) => string;
}
+7
View File
@@ -24,6 +24,7 @@
"home": "الرئيسية",
"aboutAndStrategy": "عن المشروع والاستراتيجية",
"about": "عن المشروع",
"legacy": "إرث شارب",
"whatWeDo": "ماذا نفعل",
"activities": "الأنشطة والمبادرات",
"engagementAndOpportunities": "المشاركة والفرص",
@@ -42,6 +43,12 @@
"en": "English",
"ar": "العربية"
},
"legacy": {
"fullRecord": "اقرأ التفاصيل الكاملة لبرنامج {programme}",
"previousImage": "الصورة السابقة من {programme}",
"nextImage": "الصورة التالية من {programme}",
"imageCount": "الصورة {current} من {total}"
},
"actions": {
"readMore": "اقرأ المزيد",
"learnMore": "اعرف المزيد",
+7
View File
@@ -24,6 +24,7 @@
"home": "Home",
"aboutAndStrategy": "About and Strategy",
"about": "About",
"legacy": "SHARP Legacy",
"whatWeDo": "What We Do",
"activities": "Activities and Initiatives",
"engagementAndOpportunities": "Engagement and Opportunities",
@@ -42,6 +43,12 @@
"en": "English",
"ar": "العربية"
},
"legacy": {
"fullRecord": "Read the full {programme} record",
"previousImage": "Previous {programme} image",
"nextImage": "Next {programme} image",
"imageCount": "Image {current} of {total}"
},
"actions": {
"readMore": "Read more",
"learnMore": "Learn more",
+1 -1
View File
@@ -60,7 +60,7 @@ export function alternatePath(
return buildLocalizedHref(pathname, targetLocale, options);
}
/** The locale-prefixed URL of one of the ten sections. */
/** The locale-prefixed URL of one of the eleven sections. */
export function sectionPath(key: RouteSlugKey, locale: Locale): string {
return localizePath(sectionSlugPath(key), locale);
}