@pdfme/ui 3.1.5 → 3.2.0-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/i18n.ts CHANGED
@@ -24,6 +24,10 @@ const dictEn: { [key in keyof Dict]: string } = {
24
24
  'Cannot commit the change because the number of items has been changed.',
25
25
  commitBulkUpdateFieldName: 'Commit Changes',
26
26
  bulkUpdateFieldName: 'Bulk update field names',
27
+ hexColorPrompt: 'Please enter a valid hex color code.',
28
+ 'schemas.color': 'Color',
29
+ 'schemas.borderWidth': 'Border Width',
30
+ 'schemas.borderColor': 'Border Color',
27
31
  'schemas.textColor': 'Text Color',
28
32
  'schemas.bgColor': 'Background Color',
29
33
  'schemas.horizontal': 'Horizontal',
@@ -45,6 +49,7 @@ const dictEn: { [key in keyof Dict]: string } = {
45
49
  'schemas.text.fit': 'Fit',
46
50
  'schemas.text.dynamicFontSize': 'Dynamic Font Size',
47
51
  'schemas.barcodes.barColor': 'Bar Color',
52
+ 'schemas.barcodes.includetext': 'Include Text',
48
53
  };
49
54
 
50
55
  const dictJa: { [key in keyof Dict]: string } = {
@@ -69,6 +74,10 @@ const dictJa: { [key in keyof Dict]: string } = {
69
74
  errorBulkUpdateFieldName: '項目数が変更されているため変更をコミットできません。',
70
75
  commitBulkUpdateFieldName: '変更を反映',
71
76
  bulkUpdateFieldName: '項目名を一括変更',
77
+ hexColorPrompt: '有効な16進数のカラーコードを入力してください。',
78
+ 'schemas.color': '色',
79
+ 'schemas.borderWidth': '枠線の太さ',
80
+ 'schemas.borderColor': '枠線の色',
72
81
  'schemas.textColor': 'テキストの色',
73
82
  'schemas.bgColor': '背景色',
74
83
  'schemas.horizontal': '水平',
@@ -90,6 +99,7 @@ const dictJa: { [key in keyof Dict]: string } = {
90
99
  'schemas.text.fit': 'フィット',
91
100
  'schemas.text.dynamicFontSize': '動的フォントサイズ',
92
101
  'schemas.barcodes.barColor': 'バーの色',
102
+ 'schemas.barcodes.includetext': 'テキストを含める',
93
103
  };
94
104
 
95
105
  const dictAr: { [key in keyof Dict]: string } = {
@@ -114,6 +124,10 @@ const dictAr: { [key in keyof Dict]: string } = {
114
124
  errorBulkUpdateFieldName: 'لا يمكن تنفيذ التغيير لأنه تم تغيير عدد العناصر.',
115
125
  commitBulkUpdateFieldName: 'تنفيذ التغييرات',
116
126
  bulkUpdateFieldName: 'تغيير الأسماء',
127
+ hexColorPrompt: 'الرجاء إدخال رمز لون سداسي عشري صالح.',
128
+ 'schemas.color': 'اللون',
129
+ 'schemas.borderWidth': 'عرض الحدود',
130
+ 'schemas.borderColor': 'لون الحدود',
117
131
  'schemas.textColor': 'لون الخط',
118
132
  'schemas.bgColor': 'لون الخلفية',
119
133
  'schemas.horizontal': 'أفقي',
@@ -135,6 +149,7 @@ const dictAr: { [key in keyof Dict]: string } = {
135
149
  'schemas.text.fit': 'ملاءمة',
136
150
  'schemas.text.dynamicFontSize': 'حجم الخط الديناميكي',
137
151
  'schemas.barcodes.barColor': 'لون الشريط',
152
+ 'schemas.barcodes.includetext': 'تضمين النص',
138
153
  };
139
154
 
140
155
  const dictTh: { [key in keyof Dict]: string } = {
@@ -159,6 +174,10 @@ const dictTh: { [key in keyof Dict]: string } = {
159
174
  errorBulkUpdateFieldName: 'ไม่สามารถยืนยันการแก้ไขได้เนื่องจากจำนวนรายการมีการเปลี่ยนแปลง',
160
175
  commitBulkUpdateFieldName: 'ยืนยันการแก้ไข',
161
176
  bulkUpdateFieldName: 'แก้ไขชื่อฟิลด์เป็นชุด',
177
+ hexColorPrompt: 'กรุณาใส่รหัสสีแบบฐานสิบหกที่ถูกต้อง',
178
+ 'schemas.color': 'สี',
179
+ 'schemas.borderWidth': 'ความกว้างของเส้นขอบ',
180
+ 'schemas.borderColor': 'สีขอบ',
162
181
  'schemas.textColor': 'สีข้อความ',
163
182
  'schemas.bgColor': 'สีพื้นหลัง',
164
183
  'schemas.horizontal': 'แนวนอน',
@@ -180,6 +199,7 @@ const dictTh: { [key in keyof Dict]: string } = {
180
199
  'schemas.text.fit': 'พอดี',
181
200
  'schemas.text.dynamicFontSize': 'ขนาดตัวอักษรแบบไดนามิก',
182
201
  'schemas.barcodes.barColor': 'สีบาร์',
202
+ 'schemas.barcodes.includetext': 'รวมข้อความ',
183
203
  };
184
204
 
185
205
  const dictIt: { [key in keyof Dict]: string } = {
@@ -205,6 +225,10 @@ const dictIt: { [key in keyof Dict]: string } = {
205
225
  'Non è possibile salvare le modifiche perché il numero di elementi è cambiato.',
206
226
  commitBulkUpdateFieldName: 'Salva cambiamenti',
207
227
  bulkUpdateFieldName: 'Modifica nomi campi in blocco',
228
+ hexColorPrompt: 'Inserisci un codice colore esadecimale valido.',
229
+ 'schemas.color': 'Colore',
230
+ 'schemas.borderWidth': 'Spessore bordo',
231
+ 'schemas.borderColor': 'Colore bordo',
208
232
  'schemas.textColor': 'Colore testo',
209
233
  'schemas.bgColor': 'Colore sfondo',
210
234
  'schemas.horizontal': 'Orizzontale',
@@ -226,6 +250,7 @@ const dictIt: { [key in keyof Dict]: string } = {
226
250
  'schemas.text.fit': 'Adatta',
227
251
  'schemas.text.dynamicFontSize': 'Dimensione font dinamica',
228
252
  'schemas.barcodes.barColor': 'Colore barra',
253
+ 'schemas.barcodes.includetext': 'Includi testo',
229
254
  };
230
255
 
231
256
  const dictPl: { [key in keyof Dict]: string } = {
@@ -250,6 +275,10 @@ const dictPl: { [key in keyof Dict]: string } = {
250
275
  errorBulkUpdateFieldName: 'Nie można wprowadzić zmian ponieważ liczba elementów uległa zmianie.',
251
276
  commitBulkUpdateFieldName: 'Zaakceptuj zmiany',
252
277
  bulkUpdateFieldName: 'Masowo aktualizuj klucze pól',
278
+ hexColorPrompt: 'Wprowadź poprawny kod koloru szesnastkowego.',
279
+ 'schemas.color': 'Kolor',
280
+ 'schemas.borderWidth': 'Szerokość obramowania',
281
+ 'schemas.borderColor': 'Kolor obramowania',
253
282
  'schemas.textColor': 'Kolor tekstu',
254
283
  'schemas.bgColor': 'Kolor tła',
255
284
  'schemas.horizontal': 'Poziomo',
@@ -271,6 +300,58 @@ const dictPl: { [key in keyof Dict]: string } = {
271
300
  'schemas.text.fit': 'Dopasowanie',
272
301
  'schemas.text.dynamicFontSize': 'Dynamiczny rozmiar czcionki',
273
302
  'schemas.barcodes.barColor': 'Kolor paska',
303
+ 'schemas.barcodes.includetext': 'Dołącz tekst',
304
+ };
305
+
306
+ const dictDe: { [key in keyof Dict]: string } = {
307
+ cancel: 'Abbrechen',
308
+ field: 'Feld',
309
+ fieldName: 'Name',
310
+ align: 'Ausrichten',
311
+ width: 'Breite',
312
+ height: 'Höhe',
313
+ opacity: 'Opazität',
314
+ rotate: 'Drehen',
315
+ edit: 'Bearbeiten',
316
+ plsInputName: 'Bitte geben Sie einen Namen ein',
317
+ fieldMustUniq: 'Feldname ist nicht eindeutig',
318
+ notUniq: '(Nicht eindeutiger Name)',
319
+ noKeyName: 'Kein Name',
320
+ fieldsList: 'Feldliste',
321
+ addNewField: 'Neues Feld hinzufügen',
322
+ editField: 'Feld bearbeiten',
323
+ type: 'Typ',
324
+ errorOccurred: 'Ein Fehler ist aufgetreten',
325
+ errorBulkUpdateFieldName:
326
+ 'Die Änderung kann nicht übernommen werden, weil die Anzahl der Elemente geändert wurde.',
327
+ commitBulkUpdateFieldName: 'Änderungen übernehmen',
328
+ bulkUpdateFieldName: 'Mehrfachaktualisierung der Feldnamen',
329
+ hexColorPrompt: 'Bitte geben Sie einen gültigen Hex-Farbcode ein.',
330
+ 'schemas.color': 'Farbe',
331
+ 'schemas.borderWidth': 'Rahmenbreite',
332
+ 'schemas.borderColor': 'Rahmenfarbe',
333
+ 'schemas.textColor': 'Textfarbe',
334
+ 'schemas.bgColor': 'Hintergrundfarbe',
335
+ 'schemas.horizontal': 'Horizontal',
336
+ 'schemas.vertical': 'Vertikal',
337
+ 'schemas.left': 'Links',
338
+ 'schemas.center': 'Zentriert',
339
+ 'schemas.right': 'Rechts',
340
+ 'schemas.top': 'Oben',
341
+ 'schemas.middle': 'Mitte',
342
+ 'schemas.bottom': 'Unten',
343
+ 'schemas.text.fontName': 'Schriftart',
344
+ 'schemas.text.size': 'Größe',
345
+ 'schemas.text.spacing': 'Abstand',
346
+ 'schemas.text.textAlign': 'Ausrichtung',
347
+ 'schemas.text.verticalAlign': 'vert. Ausr.',
348
+ 'schemas.text.lineHeight': 'Zeilenhöhe',
349
+ 'schemas.text.min': 'Min',
350
+ 'schemas.text.max': 'Max',
351
+ 'schemas.text.fit': 'Anpassen',
352
+ 'schemas.text.dynamicFontSize': 'Dynamische Schriftgröße',
353
+ 'schemas.barcodes.barColor': 'Strichcodefarbe',
354
+ 'schemas.barcodes.includetext': 'Text anzeigen',
274
355
  };
275
356
 
276
357
  const dictionaries: { [key in Lang]: Dict } = {
@@ -280,6 +361,7 @@ const dictionaries: { [key in Lang]: Dict } = {
280
361
  th: dictTh,
281
362
  it: dictIt,
282
363
  pl: dictPl,
364
+ de: dictDe,
283
365
  };
284
366
 
285
367
  export const getDict = (lang: Lang): Dict => dictionaries[lang] || dictionaries[DEFAULT_LANG];