Initialize loco app
This commit is contained in:
4
assets/i18n/de-DE/main.ftl
Normal file
4
assets/i18n/de-DE/main.ftl
Normal file
@@ -0,0 +1,4 @@
|
||||
hello-world = Hallo Welt!
|
||||
greeting = Hallochen { $name }!
|
||||
.placeholder = Hallo Freund!
|
||||
about = Uber
|
||||
10
assets/i18n/en-US/main.ftl
Normal file
10
assets/i18n/en-US/main.ftl
Normal file
@@ -0,0 +1,10 @@
|
||||
hello-world = Hello World!
|
||||
greeting = Hello { $name }!
|
||||
.placeholder = Hello Friend!
|
||||
about = About
|
||||
simple = simple text
|
||||
reference = simple text with a reference: { -something }
|
||||
parameter = text with a { $param }
|
||||
parameter2 = text one { $param } second { $multi-word-param }
|
||||
email = text with an EMAIL("example@example.org")
|
||||
fallback = this should fall back
|
||||
1
assets/i18n/shared.ftl
Normal file
1
assets/i18n/shared.ftl
Normal file
@@ -0,0 +1 @@
|
||||
-something = foo
|
||||
3
assets/static/404.html
Normal file
3
assets/static/404.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>
|
||||
not found :-(
|
||||
</body></html>
|
||||
BIN
assets/static/image.png
Normal file
BIN
assets/static/image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 298 KiB |
12
assets/views/home/hello.html
Normal file
12
assets/views/home/hello.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<html><body>
|
||||
<img src="/static/image.png" width="200"/>
|
||||
<br/>
|
||||
find this tera template at <code>assets/views/home/hello.html</code>:
|
||||
<br/>
|
||||
<br/>
|
||||
{{ t(key="hello-world", lang="en-US") }},
|
||||
<br/>
|
||||
{{ t(key="hello-world", lang="de-DE") }}
|
||||
|
||||
</body></html>
|
||||
|
||||
Reference in New Issue
Block a user