Skip to content

Commit

Permalink
add l10n-transfer, add json-pointer with fylr-syntax-support
Browse files Browse the repository at this point in the history
  • Loading branch information
StiftungAusNachlass committed Jan 31, 2024
1 parent 1e5a54d commit f4bcfff
Show file tree
Hide file tree
Showing 4 changed files with 345 additions and 250 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ help:

all: build zip ## build and zip

build: clean ## build plugin
build: clean

mkdir -p build
mkdir -p build/$(PLUGIN_NAME)
mkdir -p build/$(PLUGIN_NAME)/webfrontend
mkdir -p build/$(PLUGIN_NAME)/l10n
mkdir -p build/$(PLUGIN_NAME)/server

mkdir -p src/tmp # build code from coffee

cp src/webfrontend/*.coffee src/tmp
cd src/tmp && coffee -b --compile ${COFFEE_FILES} # bare-parameter is obligatory!
cat src/tmp/*.js > build/$(PLUGIN_NAME)/webfrontend/custom-vzg-validationhub.js
Expand Down
2 changes: 2 additions & 0 deletions l10n/custom-vzg-validationhub.csv
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ server.config.parameter.system.VZG-Validationhub.enable_debugging.checkbox, Akti
server.config.parameter.system.VZG-Validationhub.token.label,Geheimer Token,Secret token
server.config.parameter.system.VZG-Validationhub.max_records_to_check_on_error.label,Maximale Anzahl an Datensätzen welche im Fehlerfall validiert werden,Maximal records to be validated in case of errors
server.config.parameter.system.VZG-Validationhub.validation_selector.label,Selektor für Objekttypen ohne Tags,Selector for objecttypes without tags
server.config.parameter.system.VZG-Validationhub.send_l10n.label,Übersetzungen des Datenmodells senden?,Send schema-translations?
server.config.parameter.system.VZG-Validationhub.send_l10n.checkbox,Ja,yes

baseconfig.validation.selector.objecttype.label,Objekttyp,Objecttype
baseconfig.validation.selector.validierung.label,Validierung,Validation
Expand Down
9 changes: 6 additions & 3 deletions manifest.master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,17 @@ base_config:
resolve_on_timeout:
type: bool
position: 6
send_l10n:
type: bool
position: 7
max_records_to_check_on_error:
type: int
position: 7
position: 8
tagfilter_select:
type: tagfilter-select
position: 8
position: 9
validation_selector:
type: text
plugin_type: validation-selector
store_as_json: true
position: 9
position: 10
Loading

0 comments on commit f4bcfff

Please sign in to comment.