mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-28 04:30:08 +02:00
Added an CKEditor plugin for easy placeholder selection.
This commit is contained in:
parent
726cab1c5a
commit
a39f816422
7 changed files with 221 additions and 0 deletions
50
public/ckeditor/plugins/partdb_label/lang/en.js
Normal file
50
public/ckeditor/plugins/partdb_label/lang/en.js
Normal file
|
@ -0,0 +1,50 @@
|
|||
/*
|
||||
* This file is part of Part-DB (https://github.com/Part-DB/Part-DB-symfony).
|
||||
*
|
||||
* Copyright (C) 2019 - 2020 Jan Böhmer (https://github.com/jbtronics)
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published
|
||||
* by the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'partdb_label', 'en', {
|
||||
title: 'Insert Placeholders',
|
||||
label: 'Placeholders',
|
||||
'section.global': 'Globals',
|
||||
'section.part': 'Part',
|
||||
'part.id': 'Database ID',
|
||||
'part.name': 'Part name',
|
||||
'part.category': 'Category',
|
||||
'part.category_full': 'Category (Full path)',
|
||||
'part.manufacturer': 'Manufacturer',
|
||||
'part.manufacturer_full': 'Manufacturer (Full path)',
|
||||
'part.footprint': 'Footprint',
|
||||
'part.footprint_full': 'Footprint (Full path)',
|
||||
'part.mass': 'Mass',
|
||||
'part.tags': 'Tags',
|
||||
'part.mpn': 'Manufacturer Product Number (MPN)',
|
||||
'part.status': 'Manufacturing status',
|
||||
'part.description': 'Description',
|
||||
'part.description_t': 'Description (Text)',
|
||||
'part.comment': 'Comment',
|
||||
'part.comment_t': 'Comment (Text)',
|
||||
'part.last_modified': 'Last modified datetime',
|
||||
'part.creation_date': 'Creation datetime',
|
||||
'global.username': 'Username',
|
||||
'global.username_full': 'Username (including name)',
|
||||
'global.datetime': 'Current datetime',
|
||||
'global.date': 'Current date',
|
||||
'global.time': 'Current time',
|
||||
'global.install_name': 'Instance name',
|
||||
'global.type': 'Target type',
|
||||
} );
|
Loading…
Add table
Add a link
Reference in a new issue