-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
documents: fix form options label/value
- Fixes the JSON schema, in the form options, when the label has a value in natural language instead of the code (as in the value of the value key) as specified in the guidelines¹. - Replaces the title value that is in natural language by it's code in some oneOf sections of the document JSON schema, in order to avoid translating both the code and the natural language version. Removes the corresponding useless strings from the manual translations file. ¹ https://github.com/rero/developer-resources/blob/master/data/jsonschema.md#enum Co-Authored-by: Igor Milhit <[email protected]>
- Loading branch information
iGor milhit
committed
Feb 3, 2021
1 parent
fc51cee
commit 50c82ba
Showing
10 changed files
with
100 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
"options": [ | ||
{ | ||
"value": "bf:Local", | ||
"label": "Local" | ||
"label": "bf:local" | ||
} | ||
], | ||
"templateOptions": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
], | ||
"options": [ | ||
{ | ||
"label": "Language", | ||
"label": "bf:Language", | ||
"value": "bf:Language" | ||
} | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.