From 31c7a968c86122115db7787e43b66cc79802a1b3 Mon Sep 17 00:00:00 2001 From: "Stephen V. Williams" Date: Sat, 27 Apr 2013 14:42:27 -0600 Subject: [PATCH] * themes/wilma/i18n/ added property files for storing theme dependent translations * themes/wilma/templates/footer.ftl replaced english words with i18n variables --- themes/wilma/i18n/all.properties | 12 ++++++++++++ themes/wilma/i18n/all_es.properties | 13 +++++++++++++ themes/wilma/templates/footer.ftl | 14 +++++++------- 3 files changed, 32 insertions(+), 7 deletions(-) create mode 100644 themes/wilma/i18n/all.properties create mode 100644 themes/wilma/i18n/all_es.properties diff --git a/themes/wilma/i18n/all.properties b/themes/wilma/i18n/all.properties new file mode 100644 index 00000000..631f31f7 --- /dev/null +++ b/themes/wilma/i18n/all.properties @@ -0,0 +1,12 @@ +# +# Text strings for the controllers and templates +# +# Default (English) +# + +menu_termuse = Terms of Use +menu_powered = Powered by +menu_about = About +menu_contactus = Contact Us +menu_support = Support +menu_version = Version \ No newline at end of file diff --git a/themes/wilma/i18n/all_es.properties b/themes/wilma/i18n/all_es.properties new file mode 100644 index 00000000..2c1fee12 --- /dev/null +++ b/themes/wilma/i18n/all_es.properties @@ -0,0 +1,13 @@ +# +# Text strings for the controllers and templates +# +# Spanish - +# +# TODO: verify translations from Google Translate are correct + +menu_termuse = Términos de uso +menu_powered = Desarrollado por +menu_about = Respecto a +menu_contactus = Contáctenos +menu_support = Apoyar +menu_version = Versión \ No newline at end of file diff --git a/themes/wilma/templates/footer.ftl b/themes/wilma/templates/footer.ftl index ba54d9e8..6d24ad15 100644 --- a/themes/wilma/templates/footer.ftl +++ b/themes/wilma/templates/footer.ftl @@ -1,5 +1,5 @@ <#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> - +<#assign i18n = i18n() >