Open-source marketplace for AI Agent skills. Features: - Next.js 15 web app with i18n (en/fa) - CLI tool for skill installation (npx skillhub) - GitHub crawler/indexer with multi-strategy discovery - Security scanning for all indexed skills - Self-hostable with Docker Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
325 B
TypeScript
15 lines
325 B
TypeScript
export const locales = ['en', 'fa'] as const;
|
|
export type Locale = (typeof locales)[number];
|
|
|
|
export const defaultLocale: Locale = 'en';
|
|
|
|
export const localeNames: Record<Locale, string> = {
|
|
fa: 'فارسی',
|
|
en: 'English',
|
|
};
|
|
|
|
export const localeDirection: Record<Locale, 'rtl' | 'ltr'> = {
|
|
fa: 'rtl',
|
|
en: 'ltr',
|
|
};
|