added seeder for legacy apge and added the legacy page
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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": "اعرف المزيد",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user