From ff247a5c089d32f2873db21ec21b6bf1f45c9736 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Mon, 29 May 2017 19:02:48 +0200 Subject: [PATCH] Move gettext files outside of template directory --- {templates/Translations => i18n}/template.pot | 0 .../zh_CN/LC_MESSAGES/Alltube.mo | Bin .../zh_CN/LC_MESSAGES/Alltube.po | 0 templates/inc/head.tpl | 2 +- templates/index.tpl | 1 - 5 files changed, 1 insertion(+), 2 deletions(-) rename {templates/Translations => i18n}/template.pot (100%) rename {templates/Translations => i18n}/zh_CN/LC_MESSAGES/Alltube.mo (100%) rename {templates/Translations => i18n}/zh_CN/LC_MESSAGES/Alltube.po (100%) diff --git a/templates/Translations/template.pot b/i18n/template.pot similarity index 100% rename from templates/Translations/template.pot rename to i18n/template.pot diff --git a/templates/Translations/zh_CN/LC_MESSAGES/Alltube.mo b/i18n/zh_CN/LC_MESSAGES/Alltube.mo similarity index 100% rename from templates/Translations/zh_CN/LC_MESSAGES/Alltube.mo rename to i18n/zh_CN/LC_MESSAGES/Alltube.mo diff --git a/templates/Translations/zh_CN/LC_MESSAGES/Alltube.po b/i18n/zh_CN/LC_MESSAGES/Alltube.po similarity index 100% rename from templates/Translations/zh_CN/LC_MESSAGES/Alltube.po rename to i18n/zh_CN/LC_MESSAGES/Alltube.po diff --git a/templates/inc/head.tpl b/templates/inc/head.tpl index 9e63035..3c8c116 100644 --- a/templates/inc/head.tpl +++ b/templates/inc/head.tpl @@ -1,4 +1,4 @@ -{locale path="Translations" domain="Alltube"} +{locale path="../i18n" domain="Alltube"} diff --git a/templates/index.tpl b/templates/index.tpl index ab3ea6c..2f48a1f 100644 --- a/templates/index.tpl +++ b/templates/index.tpl @@ -1,6 +1,5 @@ {include file='inc/head.tpl'} {include file='inc/header.tpl'} -{locale path="Translations" domain="Alltube"}