-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathinteractions.ts
More file actions
427 lines (424 loc) · 17.6 KB
/
interactions.ts
File metadata and controls
427 lines (424 loc) · 17.6 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
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
/**
* Localization strings used for Interactions
*
* @module
*/
import { createDictionary } from './utils';
// Refer to "Guidelines for Programmers" in ./README.md before editing this file
export const interactionsText = createDictionary({
interactions: {
'en-us': 'Interactions',
'ru-ru': 'Взаимодействия',
'es-es': 'Interacciones',
'fr-fr': 'Interactions',
'uk-ua': 'Взаємодії',
'de-ch': 'Wechselwirkungen',
'pt-br': 'Interações',
},
addItems: {
'en-us': 'Add Items',
'ru-ru': 'Добавить элементы',
'es-es': 'Agregar elementos',
'fr-fr': 'Ajouter des objets',
'uk-ua': 'Додати елементи',
'de-ch': 'Elemente hinzufügen',
'pt-br': 'Adicionar itens',
},
recordReturn: {
'en-us': '{table:string} Return',
'ru-ru': '{table:string} Возврат',
'es-es': '{table:string} Regresar',
'fr-fr': '{table:string} Retour',
'uk-ua': '{table:string} Повернення',
'de-ch': '{table:string} Rückkehr',
'pt-br': '{table:string} Retornar',
},
preparationsNotFoundFor: {
'en-us': 'No preparations were found for the following records:',
'de-ch':
'Für die folgenden Datensätze wurden keine Vorbereitungen gefunden:',
'es-es': 'No se encontraron preparaciones para los siguientes registros:',
'fr-fr':
"Aucune préparation n'a été trouvée pour les enregistrements suivants :",
'ru-ru':
'Не было обнаружено никаких подготовительных работ для следующих записей:',
'uk-ua': 'Для наступних записів не знайдено жодних підготовчих матеріалів:',
'pt-br': 'Não foram encontradas preparações para os seguintes registros:',
},
preparationsNotAvailableFor: {
'en-us':
'No preparations are available for at least one type of preparation in the following records:',
'de-ch':
'Für mindestens eine Zubereitungsart sind in den folgenden Datensätzen keine Präparate verfügbar:',
'es-es':
'No hay preparaciones disponibles para al menos un tipo de preparación en los siguientes registros:',
'fr-fr':
"Aucune préparation n'est disponible pour au moins un type de préparation dans les enregistrements suivants :",
'ru-ru':
'В следующих записях отсутствуют данные как минимум об одном из видов препаратов:',
'uk-ua':
'У наступних записах відсутні препарати принаймні для одного типу препарату:',
'pt-br':
'Não há preparações disponíveis para pelo menos um tipo de preparação nos seguintes registros:',
},
problemsFound: {
'en-us': 'There are problems with the entry:',
'ru-ru': 'В записи обнаружены ошибки:',
'es-es': 'Hay problemas con la entrada:',
'fr-fr': 'Il y a des problèmes avec la saisie :',
'uk-ua': 'Є проблеми зі вступом:',
'de-ch': 'Es gibt Probleme mit dem Eintrag:',
'pt-br': 'Existem problemas com a entrada:',
},
byChoosingRecordSet: {
comment: 'See documentation for syntax for plural rules',
'en-us': 'Choose a {recordSet:string} ({count:number|formatted} available)',
'de-ch':
'Wählen Sie ein {recordSet:string} ({count:number|formatted} verfügbar)',
'es-es':
'Elija un {recordSet:string} ({count:number|formatted} disponible)',
'fr-fr':
'Choisissez un {recordSet:string} ({count:number|formatted} disponible)',
'pt-br':
'Escolha um {recordSet:string} ({count:number|formatted} disponível)',
'ru-ru': 'Выберите {recordSet:string} ({count:number|formatted} доступно)',
'uk-ua': 'Виберіть {recordSet:string} (доступно {count:number|formatted})',
},
byEnteringNumbers: {
comment: `
Field name is localized. Coming from Schema Configuration. I.e, By
entering Catalog Numbers
`,
'en-us': 'Enter {tableName:string} {fieldName:string}s',
'de-ch': '{tableName:string} {fieldName:string}s eingeben',
'es-es': 'Ingresa {tableName:string} {fieldName:string}s',
'fr-fr': 'Saisir des {fieldName:string}s de {tableName:string}',
'ru-ru': 'Введите {tableName:string} {fieldName:string}s',
'uk-ua': 'Введіть {fieldName:string} {tableName:string}',
'pt-br': 'Digite {tableName:string} {fieldName:string}s',
},
enterLoanNumbers: {
'en-us': 'Enter {fieldName: string}s',
'de-ch': 'Geben Sie {fieldName: string}s ein',
'es-es': 'Ingrese {fieldName: string}s',
'fr-fr': 'Saisir des {fieldName: string}s',
'ru-ru': 'Введите {fieldName: string}s',
'uk-ua': 'Введіть {fieldName: string}s',
'pt-br': 'Insira {fieldName: string}s',
},
withoutPreparations: {
'en-us': 'Without preparations',
'ru-ru': 'Без подготовки',
'es-es': 'Sin preparaciones',
'fr-fr': 'Sans préparations',
'uk-ua': 'Без підготовки',
'de-ch': 'Ohne Präparate',
'pt-br': 'Sem preparativos',
},
continueWithoutPreparations: {
'en-us': 'Continue without preparations',
'de-ch': 'Ohne Vorbereitungen fortfahren',
'es-es': 'Continuar sin preparaciones',
'fr-fr': 'Continuer sans préparation',
'ru-ru': 'Продолжать без подготовки',
'uk-ua': 'Продовжуйте без підготовки',
'pt-br': 'Continuar sem preparativos',
},
addUnassociated: {
'en-us': 'Add unassociated item',
'ru-ru': 'Добавить несвязанный элемент',
'es-es': 'Agregar elemento no asociado',
'fr-fr': 'Ajouter un objet non associé',
'uk-ua': "Додати непов'язаний елемент",
'de-ch': 'Nicht assoziierter Gegenstand hinzufügen',
'pt-br': 'Adicionar item não relacionado',
},
preparations: {
'en-us': 'Preparations',
'ru-ru': 'Подготовка',
'es-es': 'Preparaciones',
'fr-fr': 'Preparations',
'uk-ua': 'Підготовка',
'de-ch': 'Präparate',
'pt-br': 'Preparativos',
},
preparationsCanNotBeReturned: {
'en-us': 'Preparations cannot be returned in this context.',
'ru-ru': 'В данном контексте возврат подготовленных материалов невозможен.',
'es-es': 'En este contexto no es posible retomar las preparaciones',
'fr-fr': 'Les preparations ne peuvent être renvoyées dans ce contexte.',
'uk-ua': 'У цьому контексті препарати не можна повернути.',
'de-ch': 'Präparate können in diesem Kontext nicht zurückgegeben werden.',
'pt-br': 'Neste contexto, os produtos não podem ser devolvidos.',
},
noUnresolvedPreparations: {
'en-us': 'There are no unresolved preparations for this loan.',
'ru-ru':
'В настоящее время никаких незавершенных подготовительных работ по данному кредиту не требуется.',
'es-es': 'No existen preparaciones pendientes para este préstamo.',
'fr-fr': 'Il n’y a pas de preparations non retournées pour ce prêt.',
'uk-ua':
'Немає жодних невирішених питань щодо підготовки до цього кредиту.',
'de-ch': 'Für dieses Ausleihe bestehen keine ungelösten Vorbereitungen.',
'pt-br': 'Não há pendências processuais relativas a este empréstimo.',
},
unresolved: {
'en-us': 'Unresolved',
'ru-ru': 'Не решено',
'es-es': 'Sin resolver',
'fr-fr': 'Non résolu',
'uk-ua': 'Невирішено',
'de-ch': 'Ungelöst',
'pt-br': 'Não resolvido',
},
return: {
comment: 'Verb',
'en-us': 'Return',
'ru-ru': 'Возвращаться',
'es-es': 'Devolver',
'fr-fr': 'Retour',
'uk-ua': 'Повернення',
'de-ch': 'Rückgabe',
'pt-br': 'Retornar',
},
resolve: {
comment: 'As in "Resolve preparations"',
'en-us': 'Resolve',
'ru-ru': 'Решать',
'es-es': 'Resolver',
'fr-fr': 'Résoudre',
'uk-ua': 'Вирішити',
'de-ch': 'Lösen',
'pt-br': 'Resolver',
},
returnAllPreparations: {
'en-us': 'Return all preparations',
'ru-ru': 'Верните все приготовления',
'es-es': 'Devolver todos los preparativos',
'fr-fr': 'Retourner toutes les préparations',
'uk-ua': 'Поверніть усі заготовки',
'de-ch': 'Alle Präparate zurückgeben',
'pt-br': 'Devolva todos os preparativos.',
},
returnSelectedPreparations: {
'en-us': 'Return selected preparations',
'ru-ru': 'Верните выбранные препараты',
'es-es': 'Devolver preparaciones seleccionadas',
'fr-fr': 'Retourner les préparations sélectionnées',
'uk-ua': 'Повернути вибрані препарати',
'de-ch': 'Ausgewählte Präparate zurückgeben',
'pt-br': 'Devolva as preparações selecionadas',
},
selectAllAvailablePreparations: {
'en-us': 'Select all available preparations',
'ru-ru': 'Выберите все доступные варианты приготовления.',
'es-es': 'Seleccione todas las preparaciones disponibles',
'fr-fr': 'Sélectionnez toutes les préparations disponibles',
'uk-ua': 'Виберіть усі доступні препарати',
'de-ch': 'Alle verfügbaren Präparate auswählen',
'pt-br': 'Selecione todas as preparações disponíveis.',
},
selectAll: {
'en-us': 'Select All',
'ru-ru': 'Выбрать все',
'es-es': 'Seleccionar todo',
'fr-fr': 'Tout sélectionner',
'uk-ua': 'Вибрати все',
'de-ch': 'Alle auswählen',
'pt-br': 'Selecionar tudo',
},
selectedAmount: {
'en-us': 'Selected Amount',
'ru-ru': 'Выбранная сумма',
'es-es': 'Cantidad seleccionada',
'fr-fr': 'Quantité sélectionnée',
'uk-ua': 'Вибрана сума',
'de-ch': 'Ausgewählte Anzahl',
'pt-br': 'Valor selecionado',
},
returnedAmount: {
'en-us': 'Returned Amount',
'ru-ru': 'Возвращенная сумма',
'es-es': 'Cantidad devuelta',
'fr-fr': 'Quantité retournée',
'uk-ua': 'Повернена сума',
'de-ch': 'Zurückgegebene Anzahl',
'pt-br': 'Valor devolvido',
},
resolvedAmount: {
'en-us': 'Resolved Amount',
'ru-ru': 'Решенная сумма',
'es-es': 'Monto Resuelto',
'fr-fr': 'Montant résolu',
'uk-ua': 'Вирішена сума',
'de-ch': 'Gelöste Anzahl',
'pt-br': 'Valor Resolvido',
},
prepReturnFormatter: {
comment: 'Used to format preparations in the prep return dialog',
'en-us': '{tableName:string}: {resource:string}',
'ru-ru': '{tableName:string}: {resource:string}',
'es-es': '{tableName:string}: {resource:string}',
'fr-fr': '{tableName:string} : {resource:string}',
'uk-ua': "{tableName:string}': {resource:string}",
'de-ch': '{tableName:string}: {resource:string}',
'pt-br': '{tableName:string}: {resource:string}',
},
resolvedLoans: {
comment: 'Example: Resolved Loan records',
'en-us': 'Resolved {loanTable:string} records',
'es-es': 'Registros {loanTable:string} resueltos',
'fr-fr': 'Enregistrements {loanTable:string} résolus',
'ru-ru': 'Разрешены записи {loanTable:string}',
'uk-ua': 'Вирішено записів {loanTable:string}',
'de-ch': 'Aufgelöste {loanTable:string}-Datensätze',
'pt-br': 'Registros {loanTable:string} resolvidos',
},
openLoans: {
comment: 'Example: Open Loan records',
'en-us': 'Open {loanTable:string} records',
'es-es': 'Abrir {loanTable:string} registros',
'fr-fr': 'Ouvrir les enregistrements {loanTable:string}',
'ru-ru': 'Открыть записи {loanTable:string}',
'uk-ua': 'Відкрити записи {loanTable:string}',
'de-ch': '{loanTable:string}-Datensätze öffnen',
'pt-br': 'Abrir registros {loanTable:string}',
},
gifts: {
comment: 'Example: Gift records',
'en-us': '{giftTable:string} records',
'es-es': '{giftTable:string} registros',
'fr-fr': '{giftTable:string} enregistrements',
'ru-ru': '{giftTable:string} записи',
'uk-ua': '{giftTable:string} записи',
'de-ch': '{giftTable:string}-Datensätze',
'pt-br': '{giftTable:string} registros',
},
exchanges: {
comment: 'Example: Exchange In / Exchnage Out records',
'en-us': '{exhangeInTable:string} / {exhangeOutTable:string} records',
'es-es': '{exhangeInTable:string} / {exhangeOutTable:string} registros',
'fr-fr':
'{exhangeInTable:string} / {exhangeOutTable:string} enregistrements',
'ru-ru': '{exhangeInTable:string} / {exhangeOutTable:string} записи',
'uk-ua': 'Записи {exhangeInTable:string} / {exhangeOutTable:string}',
'de-ch': '{exhangeInTable:string} / {exhangeOutTable:string} Datensätze',
'pt-br': 'Registros {exhangeInTable:string} / {exhangeOutTable:string}',
},
unCataloged: {
'en-us': 'uncataloged',
'ru-ru': 'некаталогизированный',
'es-es': 'sin catalogar',
'fr-fr': 'non catalogué',
'uk-ua': 'некаталогізований',
'de-ch': 'nicht katalogisiert',
'pt-br': 'não catalogado',
},
returnedPreparations: {
comment: 'Example: Preparation records',
'en-us': 'Returned {tablePreparation:string} records',
'es-es': 'Se devolvieron {tablePreparation:string} registros',
'fr-fr': 'Enregistrements {tablePreparation:string} retournés',
'ru-ru': 'Возвращены записи {tablePreparation:string}',
'uk-ua': 'Повернуто записів {tablePreparation:string}',
'de-ch': 'Zurückgegebene {tablePreparation:string} Datensätze',
'pt-br': 'Registros {tablePreparation:string} retornados',
},
returnedAndSaved: {
comment: 'Example: 2 Preparation records have been returned and saved',
'en-us':
'{count:number|formatted} {tablePreparation:string} records have been returned and saved',
'es-es':
'{count:number|formatted} {tablePreparation:string} registros han sido devueltos y guardados',
'fr-fr':
'Les enregistrements {count:number|formatted} {tablePreparation:string} ont été renvoyés et sauvegardés.',
'ru-ru':
'{count:number|formatted} {tablePreparation:string} записи были возвращены и сохранены',
'uk-ua':
'Повернуто та збережено записів {count:number|formatted} {tablePreparation:string}',
'de-ch':
'{count:number|formatted} {tablePreparation:string} Datensätze wurden zurückgegeben und gespeichert',
'pt-br':
'Registros {count:number|formatted} {tablePreparation:string} foram retornados e salvos',
},
deselectAll: {
'en-us': 'Deselect all',
'ru-ru': 'Снять выделение со всех элементов',
'es-es': 'Deseleccionar todo',
'fr-fr': 'Désélectionnez tout',
'uk-ua': 'Зняти вибір усіх',
'de-ch': 'Alle abwählen',
'pt-br': 'Desmarque tudo',
},
available: {
'en-us': 'Available',
'ru-ru': 'Доступный',
'es-es': 'Disponible',
'fr-fr': 'Disponible',
'uk-ua': 'Доступно',
'de-ch': 'Verfügbar',
'pt-br': 'Disponível',
},
unavailable: {
'en-us': 'Unavailable',
'ru-ru': 'Недоступно',
'es-es': 'Indisponible',
'fr-fr': 'Indisponible',
'uk-ua': 'Недоступно',
'de-ch': 'Nicht verfügbar',
'pt-br': 'Indisponível',
},
returnLoan: {
comment: 'Example: Return Loan records',
'en-us': 'Return {tableLoan:string} records',
'es-es': 'Devolver {tableLoan:string} registros',
'fr-fr': 'Retourner les enregistrements {tableLoan:string}',
'ru-ru': 'Возвращать записи {tableLoan:string}',
'uk-ua': 'Повернути записи {tableLoan:string}',
'de-ch': '{tableLoan:string} Datensätze zurückgeben',
'pt-br': 'Retornar registros {tableLoan:string}',
},
createRecord: {
comment: 'Example: Create a Loan',
'en-us': 'Create {table:string}',
'es-es': 'Crear {table:string}',
'fr-fr': 'Créer {table:string}',
'ru-ru': 'Создать {table:string}',
'uk-ua': 'Створити {table:string}',
'de-ch': 'Erstelle {table:string}',
'pt-br': 'Criar {table:string}',
},
noPreparationsWarning: {
'en-us':
'None of these records have preparations. Would you like to continue?',
'de-ch':
'Keiner dieser Datensätze enthält Vorbereitungen. Möchten Sie fortfahren?',
'es-es': 'Ninguno de estos discos tiene preparativos. ¿Quieres continuar?',
'fr-fr':
"Aucun de ces enregistrements n'est préparé. Souhaitez-vous continuer ?",
'pt-br': 'Nenhum desses registros possui preparativos. Deseja continuar?',
'ru-ru': 'Ни одна из этих записей не была подготовлена. Хотите продолжить?',
'uk-ua': 'Жоден із цих записів не має підготовки. Бажаєте продовжити?',
},
continue: {
'en-us': 'Continue',
'de-ch': 'Weitermachen',
'es-es': 'Continuar',
'fr-fr': 'Continuer',
'ru-ru': 'Продолжать',
'uk-ua': 'Продовжити',
'pt-br': 'Continuar',
},
notAvailable: {
'en-us': 'Not available',
'de-ch': 'Nicht verfügbar',
'es-es': 'No disponible',
'fr-fr': 'Pas disponible',
'pt-br': 'Não disponível',
'ru-ru': 'Нет в наличии',
'uk-ua': 'Не доступно',
},
invertSelection: {
'en-us': 'Invert Selection',
},
} as const);