Skip to content

Commit

Permalink
feat(templates): nrel_main_idtf for sc_definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
pavellos21 committed Jul 16, 2020
1 parent 75b3c46 commit 2964337
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/templates/entity.scs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
[{{label}}] (* <- lang_{{lang}};; *);{% endfor %}
<- rrel_key_sc_element: ...
(*
=> nrel_main_idtf:{% for lang, label in labels %}
{% if lang == 'ru' %}[Опр.({{label}})]{% else %}[Def.({{label}})]{% endif %} (* <-lang_{{lang}};; *);{% endfor %};
<- sc_definition;;
<= nrel_sc_text_translation:{% for lang, description in descriptions %}
... (* -> rrel_example: [{{description}}] (* <-lang_{{lang}};; *);; *);{% endfor %};
Expand Down
2 changes: 2 additions & 0 deletions src/templates/relation.scs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
[{{label}}] (* <- lang_{{lang}};; *);{% endfor %}
<- rrel_key_sc_element: ...
(*
=> nrel_main_idtf:{% for lang, label in labels %}
{% if lang == 'ru' %}[Опр.({{label}})]{% else %}[Def.({{label}})]{% endif %} (* <-lang_{{lang}};; *);{% endfor %};
<- sc_definition;;
<= nrel_sc_text_translation:{% for lang, description in descriptions %}
... (* -> rrel_example: [{{description}}] (* <-lang_{{lang}};; *);; *);{% endfor %};
Expand Down

0 comments on commit 2964337

Please sign in to comment.