Skip to content

Commit

Permalink
Translation extents dots (#594)
Browse files Browse the repository at this point in the history
* translation extents rework

* Added \. support for translation extents
  • Loading branch information
Louis-Happel authored Jan 7, 2025
1 parent cf0011a commit 26503ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
translation_line: "#tr" ["." language_code] ["." translation_extent] ": " markup+
language_code: /[a-z]{2}/
translation_extent: "(" [label " "] line_number ")"
label: /[a-z0-9]+/
label: /[a-z0-9\.]+/
line_number: /[0-9]+/
markup: emphasis_part | language_part | string_part
language_part: "@" LANGUAGE "{" translation_text "}"
Expand Down

0 comments on commit 26503ae

Please sign in to comment.