* init: schema migration, isArchived added to board table. refactor: board repo for isArchived filtering * init: archived, unarchived API procedures. refactor: all query * fix: migration error * feat: add tabbed navigation for boards view * Implemented a Listbox for mobile and a tabbed navigation for desktop to switch between "Boards" and "Archived" views. * Introduced state management for active tab selection. * Updated UI components to reflect the new navigation structure. * init: frontend/boards lists & tabs * chore: fixed font styling and spacing * init:boardDropdown / boardView. * chore:added translations * Remove .cursor plan file from repo * fix:build erros * revert: remove locales changes * fix:reverted changes under locales, replaced the archive and unarchive endpoints. Reorder migrations * fix:migration issue * fix: update journal.json --------- Co-authored-by: Henry <henry_ball@hotmail.co.uk>
28 lines
430 B
TypeScript
28 lines
430 B
TypeScript
export const locales = [
|
|
"en",
|
|
"fr",
|
|
"de",
|
|
"es",
|
|
"it",
|
|
"nl",
|
|
"ru",
|
|
"pl",
|
|
"ptbr"
|
|
] as const;
|
|
|
|
export type Locale = (typeof locales)[number];
|
|
|
|
export const defaultLocale: Locale = "en";
|
|
|
|
export const localeNames: Record<Locale, string> = {
|
|
en: "English",
|
|
fr: "Français",
|
|
de: "Deutsch",
|
|
es: "Español",
|
|
it: "Italiano",
|
|
nl: "Nederlands",
|
|
ru: "Русский",
|
|
pl: "Polski",
|
|
ptbr: "Português",
|
|
};
|