Last active
October 5, 2017 20:05
-
-
Save zbraniecki/1a273839a8babbfb0d938070d85cacfc to your computer and use it in GitHub Desktop.
FTL ∞
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
key = Value | |
.attr = Attribute | |
.attr2 = Attribute 2 | |
key.attr = Attribute | |
key.attr2 = Attribute 2 | |
key | |
.attr = Attribute | |
.attr2 = Attribute 2 | |
key = | |
Multiline | |
Value | |
key | |
.attr = Attribute | |
.attr2 = Attribute 2 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# File wide comment | |
key = Value | |
key = | |
Value | |
# Message comment | |
key = | |
Multiline | |
value | |
# Because multiline values must start with a blank line | |
# and multiline values cannot be followed by attributes | |
# there is no problem with `.` sign at the beginning of a multiline | |
key = | |
This is a message with a | |
. at the beginning of the line | |
or a | |
# sign and it all works | |
because they're not significant. | |
same with | |
[ sign and the closing ] for example. | |
which are just part of a message. | |
The only significant sign it \{ and \n\r\t\l stuff | |
# key = Value | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
key = """ Leading and trailing space are meaningful here """ | |
key = """ | |
All white spaces around this message | |
Are actually meaningful | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
key = This is a { $placeable } | |
key = | |
A placeable in | |
{ $foo } multiline | |
works just fine | |
key.attr = Placeable in { $foo } attribute works | |
key = { $var -> | |
[one] Variant 1 | |
*[other] Variant 2 | |
} | |
key = | |
{ $ var -> | |
[one] Variant 1 | |
*[other] Variant 2 | |
} | |
key = { $var -> | |
[one] Multiline | |
message can work | |
*[other] Inside | |
a variant | |
} | |
# Super complex example! | |
key = { $var -> | |
[one] Let's try { $var2 -> | |
[masculine] Mascline | |
*[feminie] Feminine | |
} example | |
*[other] Multiline message | |
with some placeable { $var2 -> | |
[masculine] Also | |
*[feminine] works | |
} quite well. | |
} | |
key | |
.attr = Attribute | |
.attr2 = Attribute 2 | |
# flattened nested | |
key = { $var, $var2 -> | |
[one, masculine] Masculine | |
[one, feminine] Feminine | |
*[other] And this is for other | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-private-message = Value | |
key = { -private-message } | |
key2 = { -private-message -> { | |
*[one] Foo | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## This is a section | |
key = value | |
## Another section | |
## This is a section comment. | |
## | |
## Sections are used for grouping messages, | |
## assigning comments to the whole group, | |
## and aiding CAT tools in presenting groups | |
## of messages together. | |
key = Value 2 | |
key2 = Value 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
key = { | |
[one] Variant 1 | |
*[other] Variant 2 | |
} | |
key.attr = { | |
[one] Variant 1 | |
*[other] Variant 2 | |
} | |
key = Value | |
.attr = { | |
[one] Variant 1 | |
*[other] Variant 2 | |
} | |
.attr2 = { | |
*[one] Variant 1 | |
[other] Variant 2 | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment