mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 18:34:32 +02:00
Added placeholders to insert Barcodes into labels without using the predefined templates.
This commit is contained in:
parent
ab8be58c0d
commit
3d61e04e5b
6 changed files with 124 additions and 3 deletions
|
@ -93,6 +93,16 @@ const PLACEHOLDERS = [
|
|||
['[[CREATION_DATE]]', 'Creation datetime'],
|
||||
]
|
||||
},
|
||||
{
|
||||
label: 'Barcodes',
|
||||
entries: [
|
||||
['[[1D_CONTENT]]', 'Content of the 1D barcodes (like Code 39)'],
|
||||
['[[2D_CONTENT]]', 'Content of the 2D barcodes (QR codes)'],
|
||||
['[[BARCODE_QR]]', 'QR code linking to this element'],
|
||||
['[[BARCODE_C128]]', 'Code 128 barcode linking to this element'],
|
||||
['[[BARCODE_C39]]', 'Code 39 barcode linking to this element'],
|
||||
]
|
||||
},
|
||||
{
|
||||
label: 'Globals',
|
||||
entries: [
|
||||
|
@ -102,7 +112,8 @@ const PLACEHOLDERS = [
|
|||
['[[DATE]]', 'Current date'],
|
||||
['[[TIME]]', 'Current time'],
|
||||
['[[INSTALL_NAME]]', 'Instance name'],
|
||||
['[[TYPE]]', 'Target type']
|
||||
['[[TYPE]]', 'Target type'],
|
||||
['[[INSTANCE_URL]]', 'URL of this Part-DB instance']
|
||||
],
|
||||
},
|
||||
];
|
||||
|
|
|
@ -37,6 +37,14 @@ Object.assign( window.CKEDITOR_TRANSLATIONS[ 'de' ].dictionary, {
|
|||
'Storage location': 'Lagerort',
|
||||
'Storage location (Full path)': 'Lagerort (Vollständiger Pfad)',
|
||||
|
||||
|
||||
'Barcodes': 'Barcodes',
|
||||
'Content of the 1D barcodes (like Code 39)': 'Inhalt der 1D Barcodes (z.B. Code 39)',
|
||||
'Content of the 2D barcodes (QR codes)': 'Inhalt der 2D Barcodes (QR Codes)',
|
||||
'QR code linking to this element': 'QR Code verknüpft mit diesem Element',
|
||||
'Code 128 barcode linking to this element': 'Code 128 Barcode verknüpft mit diesem Element',
|
||||
'Code 39 barcode linking to this element': 'Code 39 Barcode verknüpft mit diesem Element',
|
||||
|
||||
'Location ID': 'Lagerort ID',
|
||||
'Name': 'Name',
|
||||
'Full path': 'Vollständiger Pfad',
|
||||
|
@ -50,5 +58,6 @@ Object.assign( window.CKEDITOR_TRANSLATIONS[ 'de' ].dictionary, {
|
|||
'Current time': 'Aktuelle Zeit',
|
||||
'Instance name': 'Instanzname',
|
||||
'Target type': 'Zieltyp',
|
||||
'URL of this Part-DB instance': 'URL dieser Part-DB Instanz',
|
||||
|
||||
} );
|
Loading…
Add table
Add a link
Reference in a new issue