-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathi18n.ts
More file actions
284 lines (261 loc) · 10.9 KB
/
i18n.ts
File metadata and controls
284 lines (261 loc) · 10.9 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
export type Language = 'RU' | 'EN';
export const translations = {
RU: {
// Header
room: 'Комната',
online: 'Онлайн',
offline: 'Офлайн',
chatRoom: 'Чат комнаты',
createNew: 'Создать новую',
downloadTxt: 'Скачать как TXT',
downloadMd: 'Скачать как MD',
downloadZip: 'Скачать архив ZIP',
historyEmpty: 'История пуста',
historyTitle: 'История',
current: 'Текущая',
themeLight: 'Светлая тема',
themeDark: 'Тёмная тема',
protectedRoom: 'Комната защищена паролем',
// Board / Cards
textAdded: 'Текст добавлен',
imageAdded: 'Изображение добавлено',
audioAdded: 'Аудио добавлено',
uploadError: 'Ошибка отправки/загрузки',
fileTypeWarning: 'Можно загружать только медиафайлы',
filesUploaded: 'Загружено файл(ов):',
copied: 'Скопировано!',
linkCopied: 'Ссылка скопирована',
deleted: 'Удалено',
deleteError: 'Ошибка удаления',
chatError: 'Ошибка отправки чата',
settingsUpdated: 'Настройки обновлены',
settingsUpdateError: 'Ошибка обновления настроек',
boardCleared: 'Доска очищена',
clearError: 'Ошибка очистки',
confirmClear: 'Вы уверены, что хотите полностью очистить доску?',
// BottomInputBar
writeNote: 'Написать заметку...',
openCanvas: 'Рисовать',
dictationStartText: 'Слушаю... (отпустите кнопку для отправки)',
pasteFromClipboard: 'Вставить из буфера',
clipboardError: 'Ошибка доступа к буферу обмена',
noSupportedDataInClipboard: 'В буфере нет текста или картинок',
micBlocked: 'Доступ к микрофону заблокирован',
micDenied: 'Нет доступа к микрофону',
sendText: 'Отправить текст',
voiceMessage: 'Голосовое сообщение',
// Chat
chatTitle: 'Чат комнаты',
chatPlaceholder: 'Написать в чат...',
usernamePrompt: 'Ваше имя для чата:',
usernamePlaceholder: 'Нажмите Enter',
welcomeChat: 'Добро пожаловать в Чат',
chatIntroText: 'Введите ваше имя, чтобы начать общение с остальными участниками.',
startChatting: 'Начать общение',
yourNamePlaceholder: 'Ваше имя...',
nameSaved: 'Имя сохранено',
chatEmpty: 'Здесь пока пусто.',
chatBeFirst: 'Оставьте сообщение первым!',
youLabel: 'Вы',
// Modals & Prompts
settingsTitle: 'Настройки комнаты',
autoDeleteLabel: 'Авто-очистка через:',
never: 'Никогда',
oneHour: '1 час',
oneDay: '24 часа',
oneWeek: '7 дней',
passwordLabel: 'Пароль (оставьте пустым для удаления):',
saveSettings: 'Сохранить',
close: 'Закрыть',
clearBoardAction: 'Очистить всю доску (Удалить все)',
showQR: 'Показать QR-код',
copyLink: 'Скопировать ссылку',
goToRoom: 'Перейти',
goToRoomPlaceholder: 'Введите ID комнаты...',
passwordTitle: 'Вход в комнату',
passwordEnterLabel: 'Введите пароль для доступа:',
enterRoom: 'Войти',
wrongPassword: 'Неверный пароль',
// Canvas
selectColor: 'Выбрать цвет',
brush: 'Кисть',
eraser: 'Ластик',
textTool: 'Текст',
lineTool: 'Линия',
rectTool: 'Прямоугольник',
circleTool: 'Круг/Эллипс',
clearCanvas: 'Очистить',
lineWidth: 'Толщина',
fontSize: 'Размер',
saveDrawing: 'Сохранить',
undo: 'Отменить',
redo: 'Повторить',
clickToAddText: 'Нажмите на холст, чтобы добавить текст',
dragToDrawShape: 'Зажмите и тяните для рисования фигуры',
// Cards
boardEmpty: 'Доска пуста',
orDragDrop: 'или перетащите файлы',
copyAction: 'Копировать',
shareAction: 'Поделиться',
deleteAction: 'Удалить',
downloadAction: 'Скачать',
// QR
qrTitle: 'QR-код комнаты',
qrScanText: 'Отсканируйте камерой телефона',
// Drag
dropToUpload: 'Отпустите, чтобы загрузить',
// Misc
downloaded: 'Файл скачан',
zipPreparing: 'Подготовка ZIP-архива...',
unsupportedFormat: 'Формат не поддерживается',
dropFilesHere: 'Бросайте файлы сюда',
nothingFound: 'Здесь пока пусто. Создайте заметку или перетащите файлы.',
// Auth
login: 'Войти',
logout: 'Выйти',
loginDesc: 'Войдите, чтобы навсегда сохранить свои комнаты и синхронизировать их на всех устройствах.',
privateRoomDesc: 'Это личная комната. Войдите в аккаунт владельца, чтобы получить доступ.',
// Files
attachFile: 'Прикрепить файл',
fileAdded: 'Файл добавлен',
// Password attempts
tooManyAttempts: 'Слишком много попыток. Подождите',
tryAgainIn: 'Повторите через',
// Read-only mode
readOnlyBadge: 'Только чтение',
readOnlyHint: 'Владелец включил режим «только чтение». Вы можете просматривать, но не изменять доску.',
readOnlyToggle: 'Режим «только чтение»',
readOnlyToggleDesc: 'Гости смогут просматривать доску, но не смогут добавлять или удалять записи.',
readOnlyError: 'Доска в режиме «только чтение»',
loading: 'Загрузка...',
},
EN: {
// Header
room: 'Room',
online: 'Online',
offline: 'Offline',
chatRoom: 'Room Chat',
createNew: 'Create New',
downloadTxt: 'Download as TXT',
downloadMd: 'Download as Markdown',
downloadZip: 'Download ZIP Archive',
historyEmpty: 'History is empty',
historyTitle: 'History',
current: 'Current',
themeLight: 'Light Theme',
themeDark: 'Dark Theme',
protectedRoom: 'Room is password protected',
// Board / Cards
textAdded: 'Text added',
imageAdded: 'Image added',
audioAdded: 'Audio added',
uploadError: 'Upload/send error',
fileTypeWarning: 'Only media files are allowed',
filesUploaded: 'Files uploaded:',
copied: 'Copied!',
linkCopied: 'Link copied',
deleted: 'Deleted',
deleteError: 'Delete error',
chatError: 'Chat send error',
settingsUpdated: 'Settings updated',
settingsUpdateError: 'Error updating settings',
boardCleared: 'Board cleared',
clearError: 'Error clearing board',
confirmClear: 'Are you sure you want to completely clear the board?',
// BottomInputBar
writeNote: 'Write a note...',
openCanvas: 'Draw',
dictationStartText: 'Listening... (release to send)',
pasteFromClipboard: 'Paste from clipboard',
clipboardError: 'Clipboard access error',
noSupportedDataInClipboard: 'No text or images in clipboard',
micBlocked: 'Microphone access blocked',
micDenied: 'Microphone access denied',
sendText: 'Send text',
voiceMessage: 'Voice message',
// Chat
chatTitle: 'Room Chat',
chatPlaceholder: 'Write in chat...',
usernamePrompt: 'Your chat name:',
usernamePlaceholder: 'Press Enter',
welcomeChat: 'Welcome to Chat',
chatIntroText: 'Enter your name to start chatting with others.',
startChatting: 'Start Chatting',
yourNamePlaceholder: 'Your name...',
nameSaved: 'Name saved',
chatEmpty: 'Nothing here yet.',
chatBeFirst: 'Be the first to leave a message!',
youLabel: 'You',
// Modals & Prompts
settingsTitle: 'Room Settings',
autoDeleteLabel: 'Auto-delete after:',
never: 'Never',
oneHour: '1 hour',
oneDay: '24 hours',
oneWeek: '7 days',
passwordLabel: 'Password (leave empty to remove):',
saveSettings: 'Save',
close: 'Close',
clearBoardAction: 'Clear entire board (Delete all)',
showQR: 'Show QR code',
copyLink: 'Copy link',
goToRoom: 'Go',
goToRoomPlaceholder: 'Enter room ID...',
passwordTitle: 'Room Entry',
passwordEnterLabel: 'Enter password to access:',
enterRoom: 'Enter',
wrongPassword: 'Wrong password',
// Canvas
selectColor: 'Select color',
brush: 'Brush',
eraser: 'Eraser',
textTool: 'Text',
lineTool: 'Line',
rectTool: 'Rectangle',
circleTool: 'Circle/Ellipse',
clearCanvas: 'Clear',
lineWidth: 'Size',
fontSize: 'Size',
saveDrawing: 'Save',
undo: 'Undo',
redo: 'Redo',
clickToAddText: 'Click on canvas to add text',
dragToDrawShape: 'Drag to draw shape',
// Cards
boardEmpty: 'Board is empty',
orDragDrop: 'or drag & drop',
copyAction: 'Copy',
shareAction: 'Share',
deleteAction: 'Delete',
downloadAction: 'Download',
// QR
qrTitle: 'Room QR Code',
qrScanText: 'Scan with your phone camera',
// Drag
dropToUpload: 'Drop to upload',
// Misc
downloaded: 'File downloaded',
zipPreparing: 'Preparing ZIP archive...',
unsupportedFormat: 'Format not supported',
dropFilesHere: 'Drop files here',
nothingFound: 'Nothing here yet. Create a note or drop files.',
// Auth
login: 'Sign In',
logout: 'Log Out',
loginDesc: 'Sign in to permanently save your rooms and sync them across all devices.',
privateRoomDesc: 'This is a private room. Sign in with the owner\'s account to access it.',
// Files
attachFile: 'Attach file',
fileAdded: 'File added',
// Password attempts
tooManyAttempts: 'Too many attempts. Please wait',
tryAgainIn: 'Try again in',
// Read-only mode
readOnlyBadge: 'Read-only',
readOnlyHint: 'The owner has enabled read-only mode. You can view but not modify this board.',
readOnlyToggle: 'Read-only mode',
readOnlyToggleDesc: 'Guests can view the board but cannot add or delete items.',
readOnlyError: 'Board is in read-only mode',
loading: 'Loading...',
}
};