import type { TranslationSeedItem } from './translation-seed.types';

export const PROFILE_MENU_LABELS = [
  ['account_setting', 'Account Setting', 'ការកំណត់គណនី'],
  ['notification_setting', 'Notification Setting', 'ការកំណត់ការជូនដំណឹង'],
  ['my_organization', 'My Organization', 'អង្គភាពរបស់ខ្ញុំ'],
  ['download_app', 'Download App', 'ទាញយកកម្មវិធី'],
  ['language', 'Language', 'ភាសា'],
  ['logout', 'Logout', 'ចាកចេញ'],
] as const;

export function profileMenuSeeds(): TranslationSeedItem[] {
  const module = 'shared' as const;
  const page = 'profile_menu';
  return [
    {
      module, page, translationKey: 'page_title',
      englishText: 'Profile Menu', khmerText: 'ម៉ឺនុយគណនី', isActive: true,
    },
    ...PROFILE_MENU_LABELS.map(([translationKey, englishText, khmerText]) => ({
      module, page, translationKey, englishText, khmerText, isActive: true,
      parent: { module, page, translationKey: 'page_title' },
    })),
  ];
}
