Skip to content

Commit

Permalink
Fix #10. Remove Section's body
Browse files Browse the repository at this point in the history
  • Loading branch information
stasm committed Jan 31, 2017
1 parent 7120a0d commit fbcdc07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fluent.asdl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module Fluent
res = Resource(entry* body, comment? comment)

entry = Message(iden id, pat? value, attr* attrs, comment? comment)
| Section(key key, entry* body, comment? comment)
| Section(key key, comment? comment)
| Comment(comment)
| Junk(string body)

Expand Down
6 changes: 4 additions & 2 deletions guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,10 @@ Sections
undo = Undo
search = Search

Grouping entities that belong to a particular piece of UI is possible thanks to
sections.
Section headers of the form ``[[ key ]]`` can be used to divide the
localization into smaller groups of messages related to each other. Sections
are mainly intended as a hint for tools about the layout of the localization
resource and don't impact how messages are referenced or requested.


Comments
Expand Down

0 comments on commit fbcdc07

Please sign in to comment.