mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Added possibility to generate labels for storelocations.
This commit is contained in:
parent
9a9cd8e887
commit
bd6a0de0a2
12 changed files with 126 additions and 4 deletions
|
@ -23,6 +23,7 @@ CKEDITOR.plugins.setLang( 'partdb_label', 'de', {
|
|||
'section.global': 'Global',
|
||||
'section.part': 'Bauteil',
|
||||
'section.part_lot': 'Bauteilbestand',
|
||||
'section.storelocation': 'Lagerort',
|
||||
'part.id': 'Datenbank ID',
|
||||
'part.name': 'Bauteilename',
|
||||
'part.category': 'Kategorie',
|
||||
|
@ -55,4 +56,14 @@ CKEDITOR.plugins.setLang( 'partdb_label', 'de', {
|
|||
'lot.amount': 'Bestandsmenge',
|
||||
'lot.location': 'Lagerort',
|
||||
'lot.location_full': 'Lagerort (Ganzer Pfad)',
|
||||
|
||||
'storelocation.id': 'Lagerort ID',
|
||||
'storelocation.name': 'Name',
|
||||
'storelocation.full_path': 'Ganzer Pfad',
|
||||
'storelocation.parent_name': 'Name des Übergeordneten Elements',
|
||||
'storelocation.parent_full_path': 'Ganzer Pfad des Übergeordneten Elements',
|
||||
'storelocation.comment': 'Kommentar',
|
||||
'storelocation.comment_t': 'Kommentar (Text)',
|
||||
'storelocation.last_modified': 'Änderungsdatum',
|
||||
'storelocation.creation_date': 'Erstellungsdatum',
|
||||
} );
|
|
@ -23,6 +23,7 @@ CKEDITOR.plugins.setLang( 'partdb_label', 'en', {
|
|||
'section.global': 'Globals',
|
||||
'section.part': 'Part',
|
||||
'section.part_lot': 'Part lot',
|
||||
'section.storelocation': 'Storage location',
|
||||
'part.id': 'Database ID',
|
||||
'part.name': 'Part name',
|
||||
'part.category': 'Category',
|
||||
|
@ -55,4 +56,14 @@ CKEDITOR.plugins.setLang( 'partdb_label', 'en', {
|
|||
'lot.amount': 'Lot amount',
|
||||
'lot.location': 'Storage location',
|
||||
'lot.location_full': 'Storage location (Full path)',
|
||||
|
||||
'storelocation.id': 'Location ID',
|
||||
'storelocation.name': 'Name',
|
||||
'storelocation.full_path': 'Full path',
|
||||
'storelocation.parent_name': 'Parent name',
|
||||
'storelocation.parent_full_path': 'Parent full path',
|
||||
'storelocation.comment': 'Comment',
|
||||
'storelocation.comment_t': 'Comment (Text)',
|
||||
'storelocation.last_modified': 'Last modified datetime',
|
||||
'storelocation.creation_date': 'Createion datetime',
|
||||
} );
|
|
@ -57,6 +57,20 @@ const PLACEHOLDERS = {
|
|||
['[[LOCATION_FULL]]', 'lot.location_full'],
|
||||
]
|
||||
},
|
||||
storelocation: {
|
||||
label: 'section.storelocation',
|
||||
entries: [
|
||||
['[[ID]]', 'storelocation.id'],
|
||||
['[[NAME]]', 'storelocation.name'],
|
||||
['[[FULL_PATH]]', 'storelocation.full_path'],
|
||||
['[[PARENT_NAME]]', 'storelocation.parent_name'],
|
||||
['[[PARENT_FULL_PATH]]', 'storelocation.parent_full_path'],
|
||||
['[[COMMENT]]', 'storelocation.comment'],
|
||||
['[[COMMENT_T]]', 'storelocation.comment_t'],
|
||||
['[[LAST_MODIFIED]]', 'storelocation.last_modified'],
|
||||
['[[CREATION_DATE]]', 'storelocation.creation_date'],
|
||||
]
|
||||
},
|
||||
global: {
|
||||
label: 'section.global',
|
||||
entries: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue