diff --git a/cache_cleaner/locale/en/LC_MESSAGES/django.mo b/cache_cleaner/locale/en/LC_MESSAGES/django.mo new file mode 100644 index 0000000..71cbdf3 Binary files /dev/null and b/cache_cleaner/locale/en/LC_MESSAGES/django.mo differ diff --git a/cache_cleaner/locale/en/LC_MESSAGES/django.po b/cache_cleaner/locale/en/LC_MESSAGES/django.po new file mode 100644 index 0000000..e3d9baf --- /dev/null +++ b/cache_cleaner/locale/en/LC_MESSAGES/django.po @@ -0,0 +1,42 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-06-25 14:47-0500\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: cache_cleaner/admin.py +msgid "Clear selected caches" +msgstr "" + +#: cache_cleaner/admin.py +msgid "Cleared caches:" +msgstr "Cleared caches:" + +#: cache_cleaner/apps.py +msgid "Cache Cleaner" +msgstr "Cache Cleaner" + +#: cache_cleaner/models.py +msgid "Cache" +msgstr "Cache" + +#: cache_cleaner/models.py +msgid "Caches" +msgstr "Caches" + +#: cache_cleaner/models.py +msgid "Name" +msgstr "Name" diff --git a/cache_cleaner/locale/it/LC_MESSAGES/django.mo b/cache_cleaner/locale/it/LC_MESSAGES/django.mo new file mode 100644 index 0000000..71cbdf3 Binary files /dev/null and b/cache_cleaner/locale/it/LC_MESSAGES/django.mo differ diff --git a/cache_cleaner/locale/it/LC_MESSAGES/django.po b/cache_cleaner/locale/it/LC_MESSAGES/django.po new file mode 100644 index 0000000..14b2916 --- /dev/null +++ b/cache_cleaner/locale/it/LC_MESSAGES/django.po @@ -0,0 +1,42 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-06-25 14:47-0500\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: cache_cleaner/admin.py +msgid "Clear selected caches" +msgstr "" + +#: cache_cleaner/admin.py +msgid "Cleared caches:" +msgstr "Cleared caches:" + +#: cache_cleaner/apps.py +msgid "Cache Cleaner" +msgstr "Cache Cleaner" + +#: cache_cleaner/models.py +msgid "Cache" +msgstr "Cache" + +#: cache_cleaner/models.py +msgid "Caches" +msgstr "Caches" + +#: cache_cleaner/models.py +msgid "Name" +msgstr "Nome" diff --git a/tests/settings.py b/tests/settings.py index 948d90c..f21848c 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -55,6 +55,15 @@ DEFAULT_AUTO_FIELD = "django.db.models.AutoField" +USE_I18N = True +LANGUAGES = ( + ("en", "English"), + ("it", "Italiano"), +) +LANGUAGE_CODE = "en" + +LOCALE_PATHS = (os.path.join(BASE_DIR, "cache_cleaner/locale/"),) + MEDIA_ROOT = os.path.join(BASE_DIR, "cache-cleaner/public/media/") MEDIA_URL = "/media/"