feat(i18n): localize global app shell announcement bar and widgets
This commit is contained in:
+17
-5
@@ -1,7 +1,13 @@
|
||||
export type AnnouncementItem = {
|
||||
export type AnnouncementItem = {
|
||||
id: string;
|
||||
text: string;
|
||||
actionLabel: string;
|
||||
text: {
|
||||
tr: string;
|
||||
en: string;
|
||||
};
|
||||
actionLabel: {
|
||||
tr: string;
|
||||
en: string;
|
||||
};
|
||||
actionHref: string;
|
||||
};
|
||||
|
||||
@@ -10,8 +16,14 @@ export const ENABLE_NEKO_FOLLOWER = true;
|
||||
export const ANNOUNCEMENT_ITEMS: AnnouncementItem[] = [
|
||||
{
|
||||
id: "main-announcement",
|
||||
text: 'Yeni Projem "Neta" Yayında!',
|
||||
actionLabel: "İncele ->",
|
||||
text: {
|
||||
tr: 'Yeni Projem "Neta" Yayında!',
|
||||
en: 'My New Project "Neta" is Live!',
|
||||
},
|
||||
actionLabel: {
|
||||
tr: "İncele ->",
|
||||
en: "Explore ->",
|
||||
},
|
||||
actionHref: "https://www.takeneta.com",
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user