-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathen.ts
37 lines (33 loc) · 1.25 KB
/
en.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import type { Translation } from '../library/localize.js';
const translation: Translation = {
$code: 'en',
$name: 'English',
$dir: 'ltr',
// All of these should have corresponding entries in ./en.json,
// using ICU message syntax in place of any of dynamic functions
close: 'Close',
dismiss: 'Dismiss',
selectAll: 'Select all',
notifications: 'Notifications',
nextTab: 'Next tab',
previousTab: 'Previous tab',
noResults: 'No results found',
tooltip: 'Tooltip:',
severityInformational: 'Severity: Informational',
severityCritical: 'Severity: Critical',
severityMedium: 'Severity: Medium',
success: 'Success:',
error: 'Error:',
informational: 'Informational:',
announcedCharacterCount: (current: number, maximum: number) =>
`Character count ${current} of ${maximum}`,
displayedCharacterCount: (current: number, maximum: number) =>
`${current}/${maximum}`,
clearEntry: (label: string) => `Clear ${label} entry`,
editOption: (label: string) => `Edit option: ${label}`,
editTag: (label: string) => `Edit tag: ${label}`,
removeTag: (label: string) => `Remove tag: ${label}`,
itemCount: (count: string) => `${count} items`,
closeInlineAlert: (variant: string) => `Close ${variant} alert`,
};
export default translation;