locale.ts 636 B

12345678910111213141516171819202122232425
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import type { PersonalSettingPlugin } from './types.ts'
  3. export default <PersonalSettingPlugin>{
  4. label: __('Language'),
  5. category: {
  6. label: __('Profile'),
  7. id: 'category-profile',
  8. order: 1000,
  9. },
  10. route: {
  11. path: 'locale',
  12. name: 'PersonalSettingLocale',
  13. component: () => import('../../PersonalSettingLocale.vue'),
  14. level: 2,
  15. meta: {
  16. title: __('Language'),
  17. requiresAuth: true,
  18. requiredPermission: 'user_preferences.language',
  19. },
  20. },
  21. order: 2000,
  22. keywords: __('translation,locale,localization'),
  23. }