-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtranslations.ts
More file actions
158 lines (144 loc) · 4.5 KB
/
translations.ts
File metadata and controls
158 lines (144 loc) · 4.5 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
export type Language = 'en' | 'de';
export type TranslationKey = keyof typeof translations.en;
export const translations = {
en: {
// StartScreen
performanceWorkshop: 'Performance Workshop',
login: 'Login',
// HomeScreen
searchPlaceholder: 'Search by book or author',
showing: 'Showing',
of: 'of',
books: 'books',
favorites: 'favorites',
sortBy: 'Sort by:',
sortScore: 'Score',
sortPopular: 'Most popular',
sortTitle: 'Title',
sortAuthor: 'Author',
author: 'Author',
// BookListItem
published: 'Published',
lastRead: 'Last read',
never: 'Never',
rating: 'Rating',
votes: 'votes',
notRatedYet: 'Not rated yet',
loading: 'Loading...',
unknown: 'Unknown',
// FavoritesScreen
yourFavorites: 'Your Favorites',
noFavoriteBooksYet: 'No favorite books yet',
tapHeartToAdd: 'Tap the heart icon on any book to add it to your favorites',
noAuthorsFound: 'No authors found',
somethingWentWrong: 'Something went wrong loading the authors',
booksTab: 'Books',
authorsTab: 'Authors',
age: 'Age',
awards: 'Awards',
genreMatches: 'Genre matches',
newest: 'Newest',
oldest: 'Oldest',
// SettingsScreen
settings: 'Settings',
showDebugFAB: 'Show Debug FAB',
language: 'Language',
english: 'English',
german: 'German',
// Navigation headers
booksHeader: 'Books',
favoriteBooksAndAuthors: 'Favorite books and authors',
// BookDetailsScreen
bookDetails: 'Book Details',
basicInformation: 'Basic Information',
genre: 'Genre',
ratingsAndStatistics: 'Ratings & Statistics',
authorDetails: 'Author Details',
nationality: 'Nationality',
birthYear: 'Birth Year',
years: 'years',
primaryGenre: 'Primary Genre',
yearsActive: 'Years Active',
recentComments: 'Recent Comments',
noCommentsYet: 'No comments yet',
addComment: 'Add Comment',
yourName: 'Your name',
yourComment: 'Your comment',
submitComment: 'Submit Comment',
error: 'Error',
success: 'Success',
pleaseEnterBothAuthorAndComment: 'Please enter both your name and comment',
commentAdded: 'Comment added successfully',
bookNotFound: 'Book not found',
},
de: {
// StartScreen
performanceWorkshop: 'Performance-Workshop',
login: 'Anmelden',
// HomeScreen
searchPlaceholder: 'Nach Buch oder Autor suchen',
showing: 'Zeige',
of: 'von',
books: 'Bücher',
favorites: 'Favoriten',
sortBy: 'Sortieren nach:',
sortScore: 'Bewertung',
sortPopular: 'Am beliebtesten',
sortTitle: 'Titel',
sortAuthor: 'Autor',
author: 'Author',
// BookListItem
published: 'Veröffentlicht',
lastRead: 'Zuletzt gelesen',
never: 'Nie',
rating: 'Bewertung',
votes: 'Stimmen',
notRatedYet: 'Noch nicht bewertet',
loading: 'Laden...',
unknown: 'Unbekannt',
// FavoritesScreen
yourFavorites: 'Ihre Favoriten',
noFavoriteBooksYet: 'Noch keine Lieblingsbücher',
tapHeartToAdd: 'Tippen Sie auf das Herzsymbol bei einem Buch, um es zu Ihren Favoriten hinzuzufügen',
noAuthorsFound: 'Keine Autoren gefunden',
somethingWentWrong: 'Beim Laden der Autoren ist ein Fehler aufgetreten',
booksTab: 'Bücher',
authorsTab: 'Autoren',
age: 'Alter',
awards: 'Auszeichnungen',
genreMatches: 'Genre-Übereinstimmungen',
newest: 'Neueste',
oldest: 'Älteste',
// SettingsScreen
settings: 'Einstellungen',
showDebugFAB: 'Debug-Button anzeigen',
language: 'Sprache',
english: 'Englisch',
german: 'Deutsch',
// Navigation headers
booksHeader: 'Bücher',
favoriteBooksAndAuthors: 'Lieblingsbücher und -autoren',
// BookDetailsScreen
bookDetails: 'Buchdetails',
basicInformation: 'Grundinformationen',
genre: 'Genre',
ratingsAndStatistics: 'Bewertungen & Statistiken',
authorDetails: 'Autorendetails',
nationality: 'Nationalität',
birthYear: 'Geburtsjahr',
years: 'Jahre',
primaryGenre: 'Hauptgenre',
yearsActive: 'Jahre aktiv',
recentComments: 'Neueste Kommentare',
noCommentsYet: 'Noch keine Kommentare',
addComment: 'Kommentar hinzufügen',
yourName: 'Ihr Name',
yourComment: 'Ihr Kommentar',
submitComment: 'Kommentar abschicken',
error: 'Fehler',
success: 'Erfolg',
pleaseEnterBothAuthorAndComment: 'Bitte geben Sie sowohl Ihren Namen als auch einen Kommentar ein',
commentAdded: 'Kommentar erfolgreich hinzugefügt',
bookNotFound: 'Buch nicht gefunden',
},
};