|
1 | 1 | // AUTO-GENERATED. DO NOT EDIT. |
2 | 2 | /* eslint-disable @stylistic/quote-props */ |
3 | | - |
| 3 | +/* eslint-disable no-useless-escape */ |
4 | 4 | /* eslint-disable @typescript-eslint/no-unused-vars */ |
5 | 5 | import type { Translation } from '@helpwave/internationalization' |
| 6 | +import { TranslationGen } from '@helpwave/internationalization' |
6 | 7 |
|
7 | 8 | export const helpwaveIdTranslationLocales = ['de', 'en'] as const |
8 | 9 |
|
9 | 10 | export type HelpwaveIdTranslationLocales = typeof helpwaveIdTranslationLocales[number] |
10 | 11 |
|
11 | 12 | export type HelpwaveIdTranslationEntries = { |
12 | 13 | 'helpwaveId': string, |
| 14 | + 'nOrganization': (values: { count: number }) => string, |
13 | 15 | } |
14 | 16 |
|
15 | 17 | export const helpwaveIdTranslation: Translation<HelpwaveIdTranslationLocales, Partial<HelpwaveIdTranslationEntries>> = { |
16 | 18 | 'de': { |
17 | | - 'helpwaveId': `helpwave id` |
| 19 | + 'helpwaveId': `helpwave id`, |
| 20 | + 'nOrganization': ({ count }): string => { |
| 21 | + return TranslationGen.resolvePlural(count, { |
| 22 | + '=1': `${count} Organisation`, |
| 23 | + 'other': `${count} Organisationen`, |
| 24 | + }) |
| 25 | + } |
18 | 26 | }, |
19 | 27 | 'en': { |
20 | | - 'helpwaveId': `helpwave id` |
| 28 | + 'helpwaveId': `helpwave id`, |
| 29 | + 'nOrganization': ({ count }): string => { |
| 30 | + return TranslationGen.resolvePlural(count, { |
| 31 | + '=1': `${count} Organization`, |
| 32 | + 'other': `${count} Organizations`, |
| 33 | + }) |
| 34 | + } |
21 | 35 | } |
22 | 36 | } |
23 | 37 |
|
0 commit comments