Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 42x 42x 156x 132x | import type { Locale } from './locale.ts';
/** The service status, in its official capitalization. */
export const PUBLIC_BETA_LABEL: Readonly<Record<Locale, string>> = {
en: 'Public Beta',
ja: 'パブリックベータ',
};
/** Shown with the Public Beta label. Stored data may be removed without a prior warning. */
export const PUBLIC_BETA_DELETION: Readonly<Record<Locale, string>> = {
en: 'Data may be deleted without notice.',
ja: 'データは予告なく削除されることがあります。',
};
/** The label and the deletion warning as one line. Japanese joins them with のため and no space. */
export function publicBetaNotice(locale: Locale): string {
if (locale === 'ja') return `${PUBLIC_BETA_LABEL.ja}のため${PUBLIC_BETA_DELETION.ja}`;
return `${PUBLIC_BETA_LABEL.en}. ${PUBLIC_BETA_DELETION.en}`;
}
|