-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
38 lines (33 loc) · 723 Bytes
/
Copy pathtypes.ts
File metadata and controls
38 lines (33 loc) · 723 Bytes
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
38
export enum Language {
Danish = 'da-DK',
English = 'en-US',
German = 'de-DE',
Turkish = 'tr-TR',
Japanese = 'ja-JP'
}
export type Gender = 'male' | 'female';
export interface HistoryItem {
timestamp: Date;
originalText: string;
translatedText: string;
sourceLang: string;
targetLang: string;
}
export type AppStatus = 'Klar' | 'Lytter...' | 'Oversætter...' | 'Taler...' | 'Error';
export interface UIStrings {
title: string;
sourceLang: string;
targetLang: string;
gender: string;
male: string;
female: string;
start: string;
stop: string;
detectLang: string;
history: string;
heardText: string;
translatedText: string;
model: string;
status: string;
auto: string;
}