@pdfme/ui 3.1.5-dev.1 → 3.1.5-dev.3

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.
@@ -10,7 +10,7 @@ export declare abstract class BaseUIClass {
10
10
  private readonly setSize;
11
11
  resizeObserver: ResizeObserver;
12
12
  constructor(props: UIProps);
13
- protected getLang(): "en" | "th" | "ja" | "ar" | "pl" | "it";
13
+ protected getLang(): "en" | "th" | "ja" | "ar" | "pl" | "it" | "de";
14
14
  protected getFont(): Record<string, {
15
15
  data: (string | Uint8Array | ArrayBuffer) & (string | Uint8Array | ArrayBuffer | undefined);
16
16
  fallback?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdfme/ui",
3
- "version": "3.1.5-dev.1",
3
+ "version": "3.1.5-dev.3",
4
4
  "sideEffects": false,
5
5
  "author": "hand-dot",
6
6
  "license": "MIT",
package/src/i18n.ts CHANGED
@@ -273,6 +273,52 @@ const dictPl: { [key in keyof Dict]: string } = {
273
273
  'schemas.barcodes.barColor': 'Kolor paska',
274
274
  };
275
275
 
276
+ const dictDe: { [key in keyof Dict]: string } = {
277
+ cancel: 'Abbrechen',
278
+ field: 'Feld',
279
+ fieldName: 'Name',
280
+ align: 'Ausrichten',
281
+ width: 'Breite',
282
+ height: 'Höhe',
283
+ opacity: 'Opazität',
284
+ rotate: 'Drehen',
285
+ edit: 'Bearbeiten',
286
+ plsInputName: 'Bitte geben Sie einen Namen ein',
287
+ fieldMustUniq: 'Feldname ist nicht eindeutig',
288
+ notUniq: '(Nicht eindeutiger Name)',
289
+ noKeyName: 'Kein Name',
290
+ fieldsList: 'Feldliste',
291
+ addNewField: 'Neues Feld hinzufügen',
292
+ editField: 'Feld bearbeiten',
293
+ type: 'Typ',
294
+ errorOccurred: 'Ein Fehler ist aufgetreten',
295
+ errorBulkUpdateFieldName:
296
+ 'Die Änderung kann nicht übernommen werden, weil die Anzahl der Elemente geändert wurde.',
297
+ commitBulkUpdateFieldName: 'Änderungen übernehmen',
298
+ bulkUpdateFieldName: 'Mehrfachaktualisierung der Feldnamen',
299
+ 'schemas.textColor': 'Textfarbe',
300
+ 'schemas.bgColor': 'Hintergrundfarbe',
301
+ 'schemas.horizontal': 'Horizontal',
302
+ 'schemas.vertical': 'Vertikal',
303
+ 'schemas.left': 'Links',
304
+ 'schemas.center': 'Zentriert',
305
+ 'schemas.right': 'Rechts',
306
+ 'schemas.top': 'Oben',
307
+ 'schemas.middle': 'Mitte',
308
+ 'schemas.bottom': 'Unten',
309
+ 'schemas.text.fontName': 'Schriftart',
310
+ 'schemas.text.size': 'Größe',
311
+ 'schemas.text.spacing': 'Abstand',
312
+ 'schemas.text.textAlign': 'Ausrichtung',
313
+ 'schemas.text.verticalAlign': 'vert. Ausr.',
314
+ 'schemas.text.lineHeight': 'Zeilenhöhe',
315
+ 'schemas.text.min': 'Min',
316
+ 'schemas.text.max': 'Max',
317
+ 'schemas.text.fit': 'Anpassen',
318
+ 'schemas.text.dynamicFontSize': 'Dynamische Schriftgröße',
319
+ 'schemas.barcodes.barColor': 'Strichcodefarbe',
320
+ };
321
+
276
322
  const dictionaries: { [key in Lang]: Dict } = {
277
323
  en: dictEn,
278
324
  ja: dictJa,
@@ -280,6 +326,7 @@ const dictionaries: { [key in Lang]: Dict } = {
280
326
  th: dictTh,
281
327
  it: dictIt,
282
328
  pl: dictPl,
329
+ de: dictDe,
283
330
  };
284
331
 
285
332
  export const getDict = (lang: Lang): Dict => dictionaries[lang] || dictionaries[DEFAULT_LANG];