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"}