// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.

/**
 * Built-in Settings translations.
 *
 * Mirrors the CRM example's `src/translations/{en,zh-CN,ja-JP}.ts` convention —
 * one file per locale, aggregated into a `TranslationBundle` here.
 *
 * Hosts merge `settingsBuiltinTranslations` into the i18next resource tree
 * under whatever namespace makes sense (the console wires it as `system`),
 * making keys resolvable as `<ns>.settings.<namespace>.{title,description,...}`.
 */

import type { TranslationBundle } from '@objectstack/spec/system';
import { en } from './en.js';
import { zhCN } from './zh-CN.js';
import { jaJP } from './ja-JP.js';
import { esES } from './es-ES.js';

export { en, zhCN, jaJP, esES };

export const settingsBuiltinTranslations: TranslationBundle = {
  en,
  'zh-CN': zhCN,
  'ja-JP': jaJP,
  'es-ES': esES,
};
