@pdfme/ui 3.1.5 → 3.2.0

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',
@@ -69,6 +73,10 @@ const dictJa: { [key in keyof Dict]: string } = {
69
73
  errorBulkUpdateFieldName: '項目数が変更されているため変更をコミットできません。',
70
74
  commitBulkUpdateFieldName: '変更を反映',
71
75
  bulkUpdateFieldName: '項目名を一括変更',
76
+ hexColorPrompt: '有効な16進数のカラーコードを入力してください。',
77
+ 'schemas.color': '色',
78
+ 'schemas.borderWidth': '枠線の太さ',
79
+ 'schemas.borderColor': '枠線の色',
72
80
  'schemas.textColor': 'テキストの色',
73
81
  'schemas.bgColor': '背景色',
74
82
  'schemas.horizontal': '水平',
@@ -114,6 +122,10 @@ const dictAr: { [key in keyof Dict]: string } = {
114
122
  errorBulkUpdateFieldName: 'لا يمكن تنفيذ التغيير لأنه تم تغيير عدد العناصر.',
115
123
  commitBulkUpdateFieldName: 'تنفيذ التغييرات',
116
124
  bulkUpdateFieldName: 'تغيير الأسماء',
125
+ hexColorPrompt: 'الرجاء إدخال رمز لون سداسي عشري صالح.',
126
+ 'schemas.color': 'اللون',
127
+ 'schemas.borderWidth': 'عرض الحدود',
128
+ 'schemas.borderColor': 'لون الحدود',
117
129
  'schemas.textColor': 'لون الخط',
118
130
  'schemas.bgColor': 'لون الخلفية',
119
131
  'schemas.horizontal': 'أفقي',
@@ -159,6 +171,10 @@ const dictTh: { [key in keyof Dict]: string } = {
159
171
  errorBulkUpdateFieldName: 'ไม่สามารถยืนยันการแก้ไขได้เนื่องจากจำนวนรายการมีการเปลี่ยนแปลง',
160
172
  commitBulkUpdateFieldName: 'ยืนยันการแก้ไข',
161
173
  bulkUpdateFieldName: 'แก้ไขชื่อฟิลด์เป็นชุด',
174
+ hexColorPrompt: 'กรุณาใส่รหัสสีแบบฐานสิบหกที่ถูกต้อง',
175
+ 'schemas.color': 'สี',
176
+ 'schemas.borderWidth': 'ความกว้างของเส้นขอบ',
177
+ 'schemas.borderColor': 'สีขอบ',
162
178
  'schemas.textColor': 'สีข้อความ',
163
179
  'schemas.bgColor': 'สีพื้นหลัง',
164
180
  'schemas.horizontal': 'แนวนอน',
@@ -205,6 +221,10 @@ const dictIt: { [key in keyof Dict]: string } = {
205
221
  'Non è possibile salvare le modifiche perché il numero di elementi è cambiato.',
206
222
  commitBulkUpdateFieldName: 'Salva cambiamenti',
207
223
  bulkUpdateFieldName: 'Modifica nomi campi in blocco',
224
+ hexColorPrompt: 'Inserisci un codice colore esadecimale valido.',
225
+ 'schemas.color': 'Colore',
226
+ 'schemas.borderWidth': 'Spessore bordo',
227
+ 'schemas.borderColor': 'Colore bordo',
208
228
  'schemas.textColor': 'Colore testo',
209
229
  'schemas.bgColor': 'Colore sfondo',
210
230
  'schemas.horizontal': 'Orizzontale',
@@ -250,6 +270,10 @@ const dictPl: { [key in keyof Dict]: string } = {
250
270
  errorBulkUpdateFieldName: 'Nie można wprowadzić zmian ponieważ liczba elementów uległa zmianie.',
251
271
  commitBulkUpdateFieldName: 'Zaakceptuj zmiany',
252
272
  bulkUpdateFieldName: 'Masowo aktualizuj klucze pól',
273
+ hexColorPrompt: 'Wprowadź poprawny kod koloru szesnastkowego.',
274
+ 'schemas.color': 'Kolor',
275
+ 'schemas.borderWidth': 'Szerokość obramowania',
276
+ 'schemas.borderColor': 'Kolor obramowania',
253
277
  'schemas.textColor': 'Kolor tekstu',
254
278
  'schemas.bgColor': 'Kolor tła',
255
279
  'schemas.horizontal': 'Poziomo',
@@ -273,6 +297,56 @@ const dictPl: { [key in keyof Dict]: string } = {
273
297
  'schemas.barcodes.barColor': 'Kolor paska',
274
298
  };
275
299
 
300
+ const dictDe: { [key in keyof Dict]: string } = {
301
+ cancel: 'Abbrechen',
302
+ field: 'Feld',
303
+ fieldName: 'Name',
304
+ align: 'Ausrichten',
305
+ width: 'Breite',
306
+ height: 'Höhe',
307
+ opacity: 'Opazität',
308
+ rotate: 'Drehen',
309
+ edit: 'Bearbeiten',
310
+ plsInputName: 'Bitte geben Sie einen Namen ein',
311
+ fieldMustUniq: 'Feldname ist nicht eindeutig',
312
+ notUniq: '(Nicht eindeutiger Name)',
313
+ noKeyName: 'Kein Name',
314
+ fieldsList: 'Feldliste',
315
+ addNewField: 'Neues Feld hinzufügen',
316
+ editField: 'Feld bearbeiten',
317
+ type: 'Typ',
318
+ errorOccurred: 'Ein Fehler ist aufgetreten',
319
+ errorBulkUpdateFieldName:
320
+ 'Die Änderung kann nicht übernommen werden, weil die Anzahl der Elemente geändert wurde.',
321
+ commitBulkUpdateFieldName: 'Änderungen übernehmen',
322
+ bulkUpdateFieldName: 'Mehrfachaktualisierung der Feldnamen',
323
+ hexColorPrompt: 'Bitte geben Sie einen gültigen Hex-Farbcode ein.',
324
+ 'schemas.color': 'Farbe',
325
+ 'schemas.borderWidth': 'Rahmenbreite',
326
+ 'schemas.borderColor': 'Rahmenfarbe',
327
+ 'schemas.textColor': 'Textfarbe',
328
+ 'schemas.bgColor': 'Hintergrundfarbe',
329
+ 'schemas.horizontal': 'Horizontal',
330
+ 'schemas.vertical': 'Vertikal',
331
+ 'schemas.left': 'Links',
332
+ 'schemas.center': 'Zentriert',
333
+ 'schemas.right': 'Rechts',
334
+ 'schemas.top': 'Oben',
335
+ 'schemas.middle': 'Mitte',
336
+ 'schemas.bottom': 'Unten',
337
+ 'schemas.text.fontName': 'Schriftart',
338
+ 'schemas.text.size': 'Größe',
339
+ 'schemas.text.spacing': 'Abstand',
340
+ 'schemas.text.textAlign': 'Ausrichtung',
341
+ 'schemas.text.verticalAlign': 'vert. Ausr.',
342
+ 'schemas.text.lineHeight': 'Zeilenhöhe',
343
+ 'schemas.text.min': 'Min',
344
+ 'schemas.text.max': 'Max',
345
+ 'schemas.text.fit': 'Anpassen',
346
+ 'schemas.text.dynamicFontSize': 'Dynamische Schriftgröße',
347
+ 'schemas.barcodes.barColor': 'Strichcodefarbe',
348
+ };
349
+
276
350
  const dictionaries: { [key in Lang]: Dict } = {
277
351
  en: dictEn,
278
352
  ja: dictJa,
@@ -280,6 +354,7 @@ const dictionaries: { [key in Lang]: Dict } = {
280
354
  th: dictTh,
281
355
  it: dictIt,
282
356
  pl: dictPl,
357
+ de: dictDe,
283
358
  };
284
359
 
285
360
  export const getDict = (lang: Lang): Dict => dictionaries[lang] || dictionaries[DEFAULT_LANG];