/**
 * ANNOTATED COPY — every line explained
 * Source: src/i18n/types.ts
 * NOT used by the app — read this to learn how the real file works
 */
// Export TypeScript type — defines data shape used across the app
export type Locale = 'en' | 'sv' | 'ur';
// (blank line — separates logical blocks for readability)
// Named export constant — shared config/data imported elsewhere
export const LOCALES: { code: Locale; label: string; nativeLabel: string }[] = [
  // Property or array item — trailing comma allowed in TypeScript
  { code: 'sv', label: 'Swedish', nativeLabel: 'Svenska' },
  // Property or array item — trailing comma allowed in TypeScript
  { code: 'en', label: 'English', nativeLabel: 'English' },
  // Property or array item — trailing comma allowed in TypeScript
  { code: 'ur', label: 'Urdu', nativeLabel: 'اردو' },
// End of array literal
];
// (blank line — separates logical blocks for readability)
// Named export constant — shared config/data imported elsewhere
export const DEFAULT_LOCALE: Locale = 'sv';
// (blank line — separates logical blocks for readability)
// Export TypeScript type — defines data shape used across the app
export interface TranslationDict {
  // Line 12: [key: string]: string | TranslationDict;
  [key: string]: string | TranslationDict;
// Closing brace — end of block (function, if, object, JSX)
}
