Skip to content

Commit

Permalink
Added new test
Browse files Browse the repository at this point in the history
  • Loading branch information
kobezzza committed Feb 9, 2016
1 parent ebf5687 commit 81b6dc5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/tests/syntax/localization.ss
Expand Up @@ -30,6 +30,10 @@ Hello world!

Привет world!

[[custom i18n function]]================================================================================================

<foo bar="bla" baz="3"></foo>

========================================================================================================================

- namespace syntax[%fileName%]
Expand All @@ -54,3 +58,12 @@ Hello world!
`Hello` `world`!

- template ['static ru']() extends @['static en'] @= language './langs/ru.json'

- template i18nFn(str, a, b)
- return a + b

- head
- @@i18n = @i18nFn

- template ['custom i18n function']() @= i18nFn 'Snakeskin.Vars.i18n'
< foo bar = ${'bla'} | baz = ${`hello`(1, (2))}

0 comments on commit 81b6dc5

Please sign in to comment.