Skip to content

Commit

Permalink
make and compile all messages
Browse files Browse the repository at this point in the history
  • Loading branch information
vabene1111 committed Mar 10, 2024
1 parent ba54a44 commit 539eb8e
Show file tree
Hide file tree
Showing 115 changed files with 40,198 additions and 27,209 deletions.
Binary file modified cookbook/locale/ar/LC_MESSAGES/django.mo
Binary file not shown.
1,727 changes: 830 additions & 897 deletions cookbook/locale/ar/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/bg/LC_MESSAGES/django.mo
Binary file not shown.
2,259 changes: 1,263 additions & 996 deletions cookbook/locale/bg/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/ca/LC_MESSAGES/django.mo
Binary file not shown.
1,328 changes: 761 additions & 567 deletions cookbook/locale/ca/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/cs/LC_MESSAGES/django.mo
Binary file not shown.
3,918 changes: 2,647 additions & 1,271 deletions cookbook/locale/cs/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/da/LC_MESSAGES/django.mo
Binary file not shown.
2,225 changes: 1,241 additions & 984 deletions cookbook/locale/da/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/de/LC_MESSAGES/django.mo
Binary file not shown.
1,362 changes: 786 additions & 576 deletions cookbook/locale/de/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/el/LC_MESSAGES/django.mo
Binary file not shown.
1,737 changes: 900 additions & 837 deletions cookbook/locale/el/LC_MESSAGES/django.po

Large diffs are not rendered by default.

919 changes: 414 additions & 505 deletions cookbook/locale/en/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/es/LC_MESSAGES/django.mo
Binary file not shown.
1,334 changes: 759 additions & 575 deletions cookbook/locale/es/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/fi/LC_MESSAGES/django.mo
Binary file not shown.
1,828 changes: 900 additions & 928 deletions cookbook/locale/fi/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
1,377 changes: 790 additions & 587 deletions cookbook/locale/fr/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/he/LC_MESSAGES/django.mo
Binary file not shown.
934 changes: 427 additions & 507 deletions cookbook/locale/he/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/hu_HU/LC_MESSAGES/django.mo
Binary file not shown.
1,346 changes: 789 additions & 557 deletions cookbook/locale/hu_HU/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/hy/LC_MESSAGES/django.mo
Binary file not shown.
3,915 changes: 2,653 additions & 1,262 deletions cookbook/locale/hy/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/id/LC_MESSAGES/django.mo
Binary file not shown.
1,519 changes: 727 additions & 792 deletions cookbook/locale/id/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/it/LC_MESSAGES/django.mo
Binary file not shown.
1,350 changes: 774 additions & 576 deletions cookbook/locale/it/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/lv/LC_MESSAGES/django.mo
Binary file not shown.
1,224 changes: 646 additions & 578 deletions cookbook/locale/lv/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/nb_NO/LC_MESSAGES/django.mo
Binary file not shown.
3,287 changes: 2,165 additions & 1,122 deletions cookbook/locale/nb_NO/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/nl/LC_MESSAGES/django.mo
Binary file not shown.
1,349 changes: 780 additions & 569 deletions cookbook/locale/nl/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/pl/LC_MESSAGES/django.mo
Binary file not shown.
3,932 changes: 2,648 additions & 1,284 deletions cookbook/locale/pl/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/pt/LC_MESSAGES/django.mo
Binary file not shown.
1,164 changes: 627 additions & 537 deletions cookbook/locale/pt/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/pt_BR/LC_MESSAGES/django.mo
Binary file not shown.
2,406 changes: 1,216 additions & 1,190 deletions cookbook/locale/pt_BR/LC_MESSAGES/django.po

Large diffs are not rendered by default.

1,000 changes: 495 additions & 505 deletions cookbook/locale/rn/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/ro/LC_MESSAGES/django.mo
Binary file not shown.
2,804 changes: 1,644 additions & 1,160 deletions cookbook/locale/ro/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/ru/LC_MESSAGES/django.mo
Binary file not shown.
2,104 changes: 1,043 additions & 1,061 deletions cookbook/locale/ru/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/sl/LC_MESSAGES/django.mo
Binary file not shown.
1,983 changes: 980 additions & 1,003 deletions cookbook/locale/sl/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/sv/LC_MESSAGES/django.mo
Binary file not shown.
3,990 changes: 2,627 additions & 1,363 deletions cookbook/locale/sv/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/tr/LC_MESSAGES/django.mo
Binary file not shown.
1,102 changes: 585 additions & 517 deletions cookbook/locale/tr/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/uk/LC_MESSAGES/django.mo
Binary file not shown.
1,584 changes: 700 additions & 884 deletions cookbook/locale/uk/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/vi/LC_MESSAGES/django.mo
Binary file not shown.
3,079 changes: 2,044 additions & 1,035 deletions cookbook/locale/vi/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/zh_CN/LC_MESSAGES/django.mo
Binary file not shown.
1,285 changes: 754 additions & 531 deletions cookbook/locale/zh_CN/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified cookbook/locale/zh_Hant/LC_MESSAGES/django.mo
Binary file not shown.
2,664 changes: 1,452 additions & 1,212 deletions cookbook/locale/zh_Hant/LC_MESSAGES/django.po

Large diffs are not rendered by default.

32 changes: 32 additions & 0 deletions make_compile_messages.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import os


def detect_languages(folder_path):
languages = []
for root, dirs, files in os.walk(folder_path):
for dir in dirs:
languages.append(dir)
return languages


def call_makemessages(languages):
command = "python manage.py makemessages -i venv -i staticfiles -i static -i vue -i vue3 "
for lang in languages:
command += f"-l {lang} "
os.system(command)

def call_compilemessages():
os.system('python manage.py compilemessages -i venv -i staticfiles -i static -i vue -i vue3')


if __name__ == "__main__":
# Specify the path to the folder containing language directories
folder_path = "cookbook/locale"

# Detect languages in the folder
languages = detect_languages(folder_path)

# Call makemessages for each language
call_makemessages(languages)

call_compilemessages()
2 changes: 0 additions & 2 deletions makemessages.cmd

This file was deleted.

Binary file added recipes/locale/ar/LC_MESSAGES/django.mo
Binary file not shown.
125 changes: 125 additions & 0 deletions recipes/locale/ar/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
# 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 <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-10 07:18+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
#: .\recipes\plugins\enterprise_plugin\helper\permission_helper.py:58
msgid ""
"You do not have the required permissions to view this page! You need to have "
"the following modules licensed: "
msgstr ""

#: .\recipes\plugins\enterprise_plugin\helper\permission_helper.py:76
msgid "You are not logged in and therefore cannot view this page!"
msgstr ""

#: .\recipes\plugins\enterprise_plugin\helper\permission_helper.py:79
msgid "You do not have the required modules to view this page!"
msgstr ""

#: .\recipes\plugins\enterprise_plugin\helper\permission_helper.py:90
msgid "You do not have the required module to view this page!"
msgstr ""

#: .\recipes\plugins\enterprise_plugin\models.py:35
msgid "Recipe"
msgstr ""

#: .\recipes\plugins\enterprise_plugin\models.py:35
msgid "Recipe Keyword"
msgstr ""

#: .\recipes\plugins\enterprise_plugin\models.py:35
msgid "Meal Plan"
msgstr ""

#: .\recipes\plugins\enterprise_plugin\models.py:35
msgid "Shopping"
msgstr ""

#: .\recipes\plugins\enterprise_plugin\models.py:35
msgid "Book"
msgstr ""

#: .\recipes\settings.py:402
msgid "Armenian "
msgstr ""

#: .\recipes\settings.py:402
msgid "Bulgarian"
msgstr ""

#: .\recipes\settings.py:402
msgid "Catalan"
msgstr ""

#: .\recipes\settings.py:402
msgid "Czech"
msgstr ""

#: .\recipes\settings.py:402
msgid "Danish"
msgstr ""

#: .\recipes\settings.py:402
msgid "Dutch"
msgstr ""

#: .\recipes\settings.py:402
msgid "English"
msgstr ""

#: .\recipes\settings.py:403
msgid "French"
msgstr ""

#: .\recipes\settings.py:403
msgid "German"
msgstr ""

#: .\recipes\settings.py:403
msgid "Hungarian"
msgstr ""

#: .\recipes\settings.py:403
msgid "Italian"
msgstr ""

#: .\recipes\settings.py:403
msgid "Latvian"
msgstr ""

#: .\recipes\settings.py:403
msgid "Norwegian "
msgstr ""

#: .\recipes\settings.py:403
msgid "Polish"
msgstr ""

#: .\recipes\settings.py:404
msgid "Russian"
msgstr ""

#: .\recipes\settings.py:404
msgid "Spanish"
msgstr ""

#: .\recipes\settings.py:404
msgid "Swedish"
msgstr ""
Binary file added recipes/locale/bg/LC_MESSAGES/django.mo
Binary file not shown.
124 changes: 124 additions & 0 deletions recipes/locale/bg/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
# 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 <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-10 07:18+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\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"
#: .\recipes\plugins\enterprise_plugin\helper\permission_helper.py:58
msgid ""
"You do not have the required permissions to view this page! You need to have "
"the following modules licensed: "
msgstr ""

#: .\recipes\plugins\enterprise_plugin\helper\permission_helper.py:76
msgid "You are not logged in and therefore cannot view this page!"
msgstr ""

#: .\recipes\plugins\enterprise_plugin\helper\permission_helper.py:79
msgid "You do not have the required modules to view this page!"
msgstr ""

#: .\recipes\plugins\enterprise_plugin\helper\permission_helper.py:90
msgid "You do not have the required module to view this page!"
msgstr ""

#: .\recipes\plugins\enterprise_plugin\models.py:35
msgid "Recipe"
msgstr ""

#: .\recipes\plugins\enterprise_plugin\models.py:35
msgid "Recipe Keyword"
msgstr ""

#: .\recipes\plugins\enterprise_plugin\models.py:35
msgid "Meal Plan"
msgstr ""

#: .\recipes\plugins\enterprise_plugin\models.py:35
msgid "Shopping"
msgstr ""

#: .\recipes\plugins\enterprise_plugin\models.py:35
msgid "Book"
msgstr ""

#: .\recipes\settings.py:402
msgid "Armenian "
msgstr ""

#: .\recipes\settings.py:402
msgid "Bulgarian"
msgstr ""

#: .\recipes\settings.py:402
msgid "Catalan"
msgstr ""

#: .\recipes\settings.py:402
msgid "Czech"
msgstr ""

#: .\recipes\settings.py:402
msgid "Danish"
msgstr ""

#: .\recipes\settings.py:402
msgid "Dutch"
msgstr ""

#: .\recipes\settings.py:402
msgid "English"
msgstr ""

#: .\recipes\settings.py:403
msgid "French"
msgstr ""

#: .\recipes\settings.py:403
msgid "German"
msgstr ""

#: .\recipes\settings.py:403
msgid "Hungarian"
msgstr ""

#: .\recipes\settings.py:403
msgid "Italian"
msgstr ""

#: .\recipes\settings.py:403
msgid "Latvian"
msgstr ""

#: .\recipes\settings.py:403
msgid "Norwegian "
msgstr ""

#: .\recipes\settings.py:403
msgid "Polish"
msgstr ""

#: .\recipes\settings.py:404
msgid "Russian"
msgstr ""

#: .\recipes\settings.py:404
msgid "Spanish"
msgstr ""

#: .\recipes\settings.py:404
msgid "Swedish"
msgstr ""
Loading

0 comments on commit 539eb8e

Please sign in to comment.