mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-14 06:09:33 +00:00
Revert "Füge Unterstützung für Datenquellen-Synonyme hinzu."
This commit is contained in:
parent
dc4461d0e9
commit
3d3d655b54
27 changed files with 37 additions and 277 deletions
|
|
@ -16,20 +16,6 @@ parameters:
|
|||
|
||||
partdb.create_assembly_use_ipn_placeholder_in_name: '%env(bool:CREATE_ASSEMBLY_USE_IPN_PLACEHOLDER_IN_NAME)%' # Use an %%ipn%% placeholder in the name of an assembly. Placeholder is replaced with the ipn input while saving.
|
||||
|
||||
partdb.data_sources.synonyms: # Define your own synonyms for the given data sources
|
||||
# Possible datasources: category, storagelocation, footprint, manufacturer, supplier, project, assembly
|
||||
# Possible locales like the ones in 'partdb.locale_menu': en, de, it, fr, ru, ja, cs, da, zh, pl
|
||||
#category:
|
||||
#de: 'Bauteil Kategorien'
|
||||
#en: 'Part categories'
|
||||
#project:
|
||||
#de: 'Geräte'
|
||||
#en: 'Devices'
|
||||
#assembly:
|
||||
#de: 'Zusammengestellte Baugruppe'
|
||||
#en: 'Combined assembly'
|
||||
|
||||
|
||||
######################################################################################################################
|
||||
# Users and Privacy
|
||||
######################################################################################################################
|
||||
|
|
|
|||
|
|
@ -191,25 +191,6 @@ services:
|
|||
$fontDirectory: '%kernel.project_dir%/var/dompdf/fonts/'
|
||||
$tmpDirectory: '%kernel.project_dir%/var/dompdf/tmp/'
|
||||
|
||||
####################################################################################################################
|
||||
# Trees
|
||||
####################################################################################################################
|
||||
App\Services\Trees\TreeViewGenerator:
|
||||
arguments:
|
||||
$dataSourceSynonyms: '%partdb.data_sources.synonyms%'
|
||||
App\Services\Trees\ToolsTreeBuilder:
|
||||
arguments:
|
||||
$dataSourceSynonyms: '%partdb.data_sources.synonyms%'
|
||||
|
||||
####################################################################################################################
|
||||
# Twig Extensions
|
||||
####################################################################################################################
|
||||
|
||||
App\Twig\DataSourceNameExtension:
|
||||
arguments:
|
||||
$dataSourceSynonyms: '%partdb.data_sources.synonyms%'
|
||||
tags: [ 'twig.extension' ]
|
||||
|
||||
####################################################################################################################
|
||||
# Part info provider system
|
||||
####################################################################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue