diff options
2038 files changed, 672955 insertions, 20145 deletions
@@ -1,2 +1,3 @@ talermerchantdemos/static/*.css talermerchantdemos/static/navbar.css.map +translations/de/LC_MESSAGES/messages.mo @@ -8,9 +8,9 @@ all: .PHONY: install ifeq ($(install_global), true) -install: install-global +install: install-global compile sass-build else -install: install-local +install: install-local compile sass-build endif .PHONY: install-global @@ -48,7 +48,7 @@ extract: # Add new language as follows: # pybabel init -i locale/messages.pot -d locale/ -l de -compile: +compile: update pybabel compile -d translations/ update: extract diff --git a/babel.cfg b/babel.cfg new file mode 100644 index 0000000..cbe8963 --- /dev/null +++ b/babel.cfg @@ -0,0 +1,2 @@ +[jinja2: **/templates/**.j2] +extensions=jinja2.ext.autoescape,jinja2.ext.with_ @@ -21,7 +21,7 @@ setup(name='talermerchantdemos', # Blog files "blog/templates/*.html", "blog/templates/*.j2", - "blog/articles/*", + "blog/articles/*/*", "blog/data/*", # Donation files "donations/templates/*.html", diff --git a/talermerchantdemos/blog/README.md b/talermerchantdemos/blog/README.md new file mode 100644 index 0000000..1c00b4a --- /dev/null +++ b/talermerchantdemos/blog/README.md @@ -0,0 +1,7 @@ +This implements the 'shop.demo.taler.net' site. + +ISSUES: +======= + +To add another language, you currently MUST edit the list of languages +at the end of content.py as well as the templates/base.html.j2 diff --git a/talermerchantdemos/blog/articles/README b/talermerchantdemos/blog/articles/README |