diff options
author | digitalcraftsman <digitalcraftsman@users.noreply.github.com> | 2015-10-09 22:54:12 +0300 |
---|---|---|
committer | digitalcraftsman <digitalcraftsman@users.noreply.github.com> | 2015-10-09 22:54:12 +0300 |
commit | 2bbc95a07f9abb5fef2d0d493e83b23ce687d0c1 (patch) | |
tree | e66bf87bf74ffa1c65627bcc860eaea44a97c76e /exampleSite | |
parent | 6030faa64d98d67e77a8eabad98b925583388c74 (diff) |
Make all strings customizable
- Users can localize each theme string by
changing them in /data/i10n.toml
- Placed redudant article footer in it's
own partial
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/data/i10n.toml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/exampleSite/data/i10n.toml b/exampleSite/data/i10n.toml new file mode 100644 index 0000000..a60b08f --- /dev/null +++ b/exampleSite/data/i10n.toml @@ -0,0 +1,37 @@ +[articles] + read_more = "Read more" + share = "Share" + comments = "Comments" + +# Linked older/newer posts at the bottom of each one +[articles.linked_posts] + older = "Older" + newer = "Newer" + +[search] + placeholder = "Search" + +[pagination] + previous = "Prev" + next = "Next" + +[profile] + follow_button = "Follow" + tags = "Tags" + posts = "Posts" + +[page_not_found] + title = "404 - page not found" + subtitle = "The content you're looking for doesn't seem to exist." + +[widgets.categories] + title = "Categories" + +[widgets.recent_articles] + title = "Recents" + +[widgets.tag_cloud] + title = "Tag cloud" + +[widgets.tags] + title = "Tags" |