Skip to content

Commit

Permalink
translations: update for v0.9.0 release
Browse files Browse the repository at this point in the history
Reverts in the document JSON schema the title value of the person JSON
reference, mainly to avoid translating it again.

Removes codes that were added to the manual translations but are not
displayed on the document detailed view.

Fixes the custom extraction script with a better regex to identify only
label and not labelSomething in the JSON schemas.

Co-Authored-by: Igor Milhit <[email protected]>
  • Loading branch information
Igor Milhit committed May 28, 2020
1 parent 89693cd commit c129cea
Show file tree
Hide file tree
Showing 12 changed files with 1,022 additions and 1,239 deletions.
2 changes: 1 addition & 1 deletion babel.ini
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ extract_messages = $._, jQuery._
[ignore: **/**/document-v0.0.1.json]
[ignore: **/**/document-minimal-v0.0.1.json]
[json: **.json]
keys_to_translate = ['^title$', 'label', 'description', 'placeholder', 'validationMessage', 'name', 'add', '403', '.*Message']
keys_to_translate = ['^title$', '^label$', 'description', 'placeholder', 'validationMessage', 'name', 'add', '403', '.*Message']
5 changes: 0 additions & 5 deletions rero_ils/manual_translations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,3 @@ _('bf:Place')
# Harvested source
_('ebibliomedia')
_('mv-cantook')

# Notes types
_('accompanyingMaterial')
_('general')
_('otherPhysicalDetails')
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@
}
},
"$ref": {
"title": "person reference",
"title": "MEF person reference",
"type": "string",
"pattern": "^https://mef.rero.ch/api/bnf|gnd|idref|rero/.*?$",
"form": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@
}
},
"$ref": {
"title": "person reference",
"title": "MEF person reference",
"type": "string",
"pattern": "^https://mef.rero.ch/api/bnf|gnd|idref|rero/.*?$",
"form": {
Expand Down
Loading

0 comments on commit c129cea

Please sign in to comment.