Skip to content

Commit

Permalink
fix(loader): reformat sc_text_translation struct
Browse files Browse the repository at this point in the history
  • Loading branch information
pavellos21 committed Aug 3, 2020
1 parent bdb00c0 commit f439c75
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/templates/entity.scs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
=> nrel_main_idtf:{% for lang, label in labels %}
{% if lang == 'ru' %}[Опр.({{label}})]{% else %}[Def.({{label}})]{% endif %} (* <-lang_{{lang}};; *);{% endfor %};
<= nrel_sc_text_translation:{% for lang, description in descriptions %}
... (* -> rrel_example: [{{description}}] (* <-lang_{{lang}};; *);; *);{% endfor %};
...
(*
-> rrel_example:
[{{description}}]
(* <-lang_{{lang}};; *);;
*);{% endfor %};
*);
{% if img_name %}<- rrel_key_sc_element: ...
(*
Expand Down
7 changes: 6 additions & 1 deletion src/templates/relation.scs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
=> nrel_main_idtf:{% for lang, label in labels %}
{% if lang == 'ru' %}[Опр.({{label}})]{% else %}[Def.({{label}})]{% endif %} (* <-lang_{{lang}};; *);{% endfor %};
<= nrel_sc_text_translation:{% for lang, description in descriptions %}
... (* -> rrel_example: [{{description}}] (* <-lang_{{lang}};; *);; *);{% endfor %};
...
(*
-> rrel_example:
[{{description}}]
(* <-lang_{{lang}};; *);;
*);{% endfor %};
*);
<-sc_node_norole_relation;;

0 comments on commit f439c75

Please sign in to comment.