mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-07 15:18:20 -05:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -39,12 +39,16 @@ class UserPreferenceForm(forms.ModelForm):
|
|||||||
class Meta:
|
class Meta:
|
||||||
model = UserPreference
|
model = UserPreference
|
||||||
fields = (
|
fields = (
|
||||||
'default_unit', 'use_fractions', 'theme', 'nav_color',
|
'default_unit', 'use_fractions', 'use_kj', 'theme', 'nav_color',
|
||||||
'sticky_navbar', 'default_page', 'show_recent', 'search_style',
|
'sticky_navbar', 'default_page', 'show_recent', 'search_style',
|
||||||
'plan_share', 'ingredient_decimals', 'shopping_auto_sync',
|
'plan_share', 'ingredient_decimals', 'shopping_auto_sync',
|
||||||
'comments'
|
'comments'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
labels = {
|
||||||
|
'use_kj': 'Use KJ'
|
||||||
|
}
|
||||||
|
|
||||||
help_texts = {
|
help_texts = {
|
||||||
'nav_color': _('Color of the top navigation bar. Not all colors work with all themes, just try them out!'),
|
'nav_color': _('Color of the top navigation bar. Not all colors work with all themes, just try them out!'),
|
||||||
# noqa: E501
|
# noqa: E501
|
||||||
@@ -52,6 +56,7 @@ class UserPreferenceForm(forms.ModelForm):
|
|||||||
'use_fractions': _(
|
'use_fractions': _(
|
||||||
'Enables support for fractions in ingredient amounts (e.g. convert decimals to fractions automatically)'),
|
'Enables support for fractions in ingredient amounts (e.g. convert decimals to fractions automatically)'),
|
||||||
# noqa: E501
|
# noqa: E501
|
||||||
|
'use_kj': _('Display nutritional energy amounts in joules instead of calories'), # noqa: E501
|
||||||
'plan_share': _(
|
'plan_share': _(
|
||||||
'Users with whom newly created meal plan/shopping list entries should be shared by default.'),
|
'Users with whom newly created meal plan/shopping list entries should be shared by default.'),
|
||||||
# noqa: E501
|
# noqa: E501
|
||||||
|
|||||||
@@ -15,8 +15,8 @@ msgstr ""
|
|||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2021-09-13 22:40+0200\n"
|
"POT-Creation-Date: 2021-09-13 22:40+0200\n"
|
||||||
"PO-Revision-Date: 2021-10-20 12:06+0000\n"
|
"PO-Revision-Date: 2021-11-01 08:47+0000\n"
|
||||||
"Last-Translator: Marco Lütticke <marcol123@gmail.com>\n"
|
"Last-Translator: Kaibu <notkaibu@gmail.com>\n"
|
||||||
"Language-Team: German <http://translate.tandoor.dev/projects/tandoor/"
|
"Language-Team: German <http://translate.tandoor.dev/projects/tandoor/"
|
||||||
"recipes-backend/de/>\n"
|
"recipes-backend/de/>\n"
|
||||||
"Language: de\n"
|
"Language: de\n"
|
||||||
@@ -85,7 +85,7 @@ msgid ""
|
|||||||
"mobile data. If lower than instance limit it is reset when saving."
|
"mobile data. If lower than instance limit it is reset when saving."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"0 deaktiviert automatische Synchronisation. Wird eine Einkaufsliste "
|
"0 deaktiviert automatische Synchronisation. Wird eine Einkaufsliste "
|
||||||
"betrachtet, dann wird wird sie gemäß der Einstellung alle paar Sekunden "
|
"betrachtet, dann wird sie gemäß der Einstellung alle paar Sekunden "
|
||||||
"aktualisiert. Dies ist nützlich, wenn mehrere Personen eine Liste beim "
|
"aktualisiert. Dies ist nützlich, wenn mehrere Personen eine Liste beim "
|
||||||
"Einkaufen verwenden, benötigt jedoch etwas Datenvolumen."
|
"Einkaufen verwenden, benötigt jedoch etwas Datenvolumen."
|
||||||
|
|
||||||
@@ -147,7 +147,7 @@ msgstr "Neue Einheit"
|
|||||||
|
|
||||||
#: .\cookbook\forms.py:166
|
#: .\cookbook\forms.py:166
|
||||||
msgid "New unit that other gets replaced by."
|
msgid "New unit that other gets replaced by."
|
||||||
msgstr "Neue Einheit, die die alte ersetzt."
|
msgstr "Neue Einheit, welche die alte ersetzt."
|
||||||
|
|
||||||
#: .\cookbook\forms.py:171
|
#: .\cookbook\forms.py:171
|
||||||
msgid "Old Unit"
|
msgid "Old Unit"
|
||||||
@@ -163,7 +163,7 @@ msgstr "Neue Zutat"
|
|||||||
|
|
||||||
#: .\cookbook\forms.py:190
|
#: .\cookbook\forms.py:190
|
||||||
msgid "New food that other gets replaced by."
|
msgid "New food that other gets replaced by."
|
||||||
msgstr "Neue Zutat, die die alte ersetzt."
|
msgstr "Neue Zutat, welche die alte ersetzt."
|
||||||
|
|
||||||
#: .\cookbook\forms.py:195
|
#: .\cookbook\forms.py:195
|
||||||
msgid "Old Food"
|
msgid "Old Food"
|
||||||
@@ -264,30 +264,42 @@ msgid ""
|
|||||||
"Fields to search ignoring accents. Selecting this option can improve or "
|
"Fields to search ignoring accents. Selecting this option can improve or "
|
||||||
"degrade search quality depending on language"
|
"degrade search quality depending on language"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Felder bei welchen Akzente ignoriert werden. Das aktivieren dieser Option "
|
||||||
|
"kann die Suchqualität abhängig von der Sprache verbessern oder "
|
||||||
|
"verschlechtern."
|
||||||
|
|
||||||
#: .\cookbook\forms.py:490
|
#: .\cookbook\forms.py:490
|
||||||
msgid ""
|
msgid ""
|
||||||
"Fields to search for partial matches. (e.g. searching for 'Pie' will return "
|
"Fields to search for partial matches. (e.g. searching for 'Pie' will return "
|
||||||
"'pie' and 'piece' and 'soapie')"
|
"'pie' and 'piece' and 'soapie')"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Felder welche auf partielle Treffer durchsucht werden. (z.B. eine Suche "
|
||||||
|
"nach \"Spa\" wird \"Spaghetti\", \"Spargel\" und \"Grünspargel\" liefern.)"
|
||||||
|
|
||||||
#: .\cookbook\forms.py:491
|
#: .\cookbook\forms.py:491
|
||||||
msgid ""
|
msgid ""
|
||||||
"Fields to search for beginning of word matches. (e.g. searching for 'sa' "
|
"Fields to search for beginning of word matches. (e.g. searching for 'sa' "
|
||||||
"will return 'salad' and 'sandwich')"
|
"will return 'salad' and 'sandwich')"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Felder welche auf übereinstimmenden Wortbeginn durchsucht werden. (z.B. eine "
|
||||||
|
"Suche nach \"Spa\" wird \"Spaghetti\" und \"Spargel\" liefern.)"
|
||||||
|
|
||||||
#: .\cookbook\forms.py:492
|
#: .\cookbook\forms.py:492
|
||||||
msgid ""
|
msgid ""
|
||||||
"Fields to 'fuzzy' search. (e.g. searching for 'recpie' will find 'recipe'.) "
|
"Fields to 'fuzzy' search. (e.g. searching for 'recpie' will find 'recipe'.) "
|
||||||
"Note: this option will conflict with 'web' and 'raw' methods of search."
|
"Note: this option will conflict with 'web' and 'raw' methods of search."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Felder welche \"ungenau\" durchsucht werden sollen. (z.B. eine Suche nach "
|
||||||
|
"\"Kuhcen\" wird \"Kuchen\" liefern.) Tipp: Diese Option konfligiert mit den "
|
||||||
|
"\"web\" und \"raw\" Suchtypen."
|
||||||
|
|
||||||
#: .\cookbook\forms.py:493
|
#: .\cookbook\forms.py:493
|
||||||
msgid ""
|
msgid ""
|
||||||
"Fields to full text search. Note: 'web', 'phrase', and 'raw' search methods "
|
"Fields to full text search. Note: 'web', 'phrase', and 'raw' search methods "
|
||||||
"only function with fulltext fields."
|
"only function with fulltext fields."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Felder welche im Volltext durchsucht werden sollen. Tipp: Die Suchtypen \"web"
|
||||||
|
"\", \"raw\" und \"phrase\" funktionieren nur mit Volltext-Feldern."
|
||||||
|
|
||||||
#: .\cookbook\forms.py:497
|
#: .\cookbook\forms.py:497
|
||||||
msgid "Search Method"
|
msgid "Search Method"
|
||||||
@@ -431,19 +443,21 @@ msgstr "Sektion"
|
|||||||
|
|
||||||
#: .\cookbook\management\commands\rebuildindex.py:14
|
#: .\cookbook\management\commands\rebuildindex.py:14
|
||||||
msgid "Rebuilds full text search index on Recipe"
|
msgid "Rebuilds full text search index on Recipe"
|
||||||
msgstr ""
|
msgstr "Generiert den Index für die Rezept-Volltextsuche neu"
|
||||||
|
|
||||||
#: .\cookbook\management\commands\rebuildindex.py:18
|
#: .\cookbook\management\commands\rebuildindex.py:18
|
||||||
msgid "Only Postgress databases use full text search, no index to rebuild"
|
msgid "Only Postgress databases use full text search, no index to rebuild"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Nur PostgreSQL Datenbanken verwenden Volltextsuche, kein Index muss neu "
|
||||||
|
"generiert werden"
|
||||||
|
|
||||||
#: .\cookbook\management\commands\rebuildindex.py:29
|
#: .\cookbook\management\commands\rebuildindex.py:29
|
||||||
msgid "Recipe index rebuild complete."
|
msgid "Recipe index rebuild complete."
|
||||||
msgstr ""
|
msgstr "Generierung des Indizes abgeschlossen."
|
||||||
|
|
||||||
#: .\cookbook\management\commands\rebuildindex.py:31
|
#: .\cookbook\management\commands\rebuildindex.py:31
|
||||||
msgid "Recipe index rebuild failed."
|
msgid "Recipe index rebuild failed."
|
||||||
msgstr ""
|
msgstr "Generierung des Indizes fehlgeschlagen."
|
||||||
|
|
||||||
#: .\cookbook\migrations\0047_auto_20200602_1133.py:14
|
#: .\cookbook\migrations\0047_auto_20200602_1133.py:14
|
||||||
msgid "Breakfast"
|
msgid "Breakfast"
|
||||||
@@ -594,10 +608,8 @@ msgid "Settings"
|
|||||||
msgstr "Einstellungen"
|
msgstr "Einstellungen"
|
||||||
|
|
||||||
#: .\cookbook\templates\account\email.html:13
|
#: .\cookbook\templates\account\email.html:13
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Add E-mail"
|
|
||||||
msgid "Email"
|
msgid "Email"
|
||||||
msgstr "Email hinzufügen"
|
msgstr "E-Mail"
|
||||||
|
|
||||||
#: .\cookbook\templates\account\email.html:19
|
#: .\cookbook\templates\account\email.html:19
|
||||||
msgid "The following e-mail addresses are associated with your account:"
|
msgid "The following e-mail addresses are associated with your account:"
|
||||||
@@ -613,7 +625,7 @@ msgstr "Unverfiziert"
|
|||||||
|
|
||||||
#: .\cookbook\templates\account\email.html:40
|
#: .\cookbook\templates\account\email.html:40
|
||||||
msgid "Primary"
|
msgid "Primary"
|
||||||
msgstr ""
|
msgstr "Primär"
|
||||||
|
|
||||||
#: .\cookbook\templates\account\email.html:47
|
#: .\cookbook\templates\account\email.html:47
|
||||||
msgid "Make Primary"
|
msgid "Make Primary"
|
||||||
@@ -735,22 +747,16 @@ msgstr "Willst du dich wirklich ausloggen?"
|
|||||||
#: .\cookbook\templates\account\password_change.html:6
|
#: .\cookbook\templates\account\password_change.html:6
|
||||||
#: .\cookbook\templates\account\password_change.html:16
|
#: .\cookbook\templates\account\password_change.html:16
|
||||||
#: .\cookbook\templates\account\password_change.html:21
|
#: .\cookbook\templates\account\password_change.html:21
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Reset My Password"
|
|
||||||
msgid "Change Password"
|
msgid "Change Password"
|
||||||
msgstr "Passwort zurücksetzen"
|
msgstr "Passwort ändern"
|
||||||
|
|
||||||
#: .\cookbook\templates\account\password_change.html:12
|
#: .\cookbook\templates\account\password_change.html:12
|
||||||
#: .\cookbook\templates\account\password_set.html:12
|
#: .\cookbook\templates\account\password_set.html:12
|
||||||
#: .\cookbook\templates\settings.html:64
|
#: .\cookbook\templates\settings.html:64
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Password Reset"
|
|
||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Passwort Reset"
|
msgstr "Passwort"
|
||||||
|
|
||||||
#: .\cookbook\templates\account\password_change.html:22
|
#: .\cookbook\templates\account\password_change.html:22
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Lost your password?"
|
|
||||||
msgid "Forgot Password?"
|
msgid "Forgot Password?"
|
||||||
msgstr "Passwort vergessen?"
|
msgstr "Passwort vergessen?"
|
||||||
|
|
||||||
@@ -784,10 +790,8 @@ msgstr ""
|
|||||||
#: .\cookbook\templates\account\password_set.html:6
|
#: .\cookbook\templates\account\password_set.html:6
|
||||||
#: .\cookbook\templates\account\password_set.html:16
|
#: .\cookbook\templates\account\password_set.html:16
|
||||||
#: .\cookbook\templates\account\password_set.html:21
|
#: .\cookbook\templates\account\password_set.html:21
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Reset My Password"
|
|
||||||
msgid "Set Password"
|
msgid "Set Password"
|
||||||
msgstr "Passwort zurücksetzen"
|
msgstr "Passwort setzen"
|
||||||
|
|
||||||
#: .\cookbook\templates\account\signup.html:6
|
#: .\cookbook\templates\account\signup.html:6
|
||||||
msgid "Register"
|
msgid "Register"
|
||||||
@@ -949,26 +953,20 @@ msgid "The path must be in the following format"
|
|||||||
msgstr "Der Pfad muss folgendes Format haben"
|
msgstr "Der Pfad muss folgendes Format haben"
|
||||||
|
|
||||||
#: .\cookbook\templates\batch\monitor.html:21
|
#: .\cookbook\templates\batch\monitor.html:21
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Manage Email Settings"
|
|
||||||
msgid "Manage External Storage"
|
msgid "Manage External Storage"
|
||||||
msgstr "Email-Einstellungen verwalten"
|
msgstr "Externe Speicherquellen verwalten"
|
||||||
|
|
||||||
#: .\cookbook\templates\batch\monitor.html:28
|
#: .\cookbook\templates\batch\monitor.html:28
|
||||||
msgid "Sync Now!"
|
msgid "Sync Now!"
|
||||||
msgstr "Jetzt Synchronisieren!"
|
msgstr "Jetzt Synchronisieren!"
|
||||||
|
|
||||||
#: .\cookbook\templates\batch\monitor.html:29
|
#: .\cookbook\templates\batch\monitor.html:29
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Shopping Recipes"
|
|
||||||
msgid "Show Recipes"
|
msgid "Show Recipes"
|
||||||
msgstr "Einkaufs-Rezepte"
|
msgstr "Rezepte anzeigen"
|
||||||
|
|
||||||
#: .\cookbook\templates\batch\monitor.html:30
|
#: .\cookbook\templates\batch\monitor.html:30
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Show Links"
|
|
||||||
msgid "Show Log"
|
msgid "Show Log"
|
||||||
msgstr "Links anzeigen"
|
msgstr "Log anzeigen"
|
||||||
|
|
||||||
#: .\cookbook\templates\batch\waiting.html:4
|
#: .\cookbook\templates\batch\waiting.html:4
|
||||||
#: .\cookbook\templates\batch\waiting.html:10
|
#: .\cookbook\templates\batch\waiting.html:10
|
||||||
@@ -1063,7 +1061,7 @@ msgstr ""
|
|||||||
#, python-format
|
#, python-format
|
||||||
msgid "Are you sure you want to delete the %(title)s: <b>%(object)s</b> "
|
msgid "Are you sure you want to delete the %(title)s: <b>%(object)s</b> "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Bist du sicher, dass %(title)s: <b>%(object)s</b> gelöscht werden soll?"
|
"Bist du sicher, dass %(title)s: <b>%(object)s</b> gelöscht werden soll? "
|
||||||
|
|
||||||
#: .\cookbook\templates\generic\delete_template.html:23
|
#: .\cookbook\templates\generic\delete_template.html:23
|
||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
@@ -1153,11 +1151,11 @@ msgid ""
|
|||||||
" "
|
" "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"\n"
|
"\n"
|
||||||
" <b>Password und Token</b> werden im <b>Klartext</b> in der "
|
" <b>Password und Token</b> werden im <b>Klartext</b> in der Datenbank "
|
||||||
"Datenbank gespeichert.\n"
|
"gespeichert.\n"
|
||||||
" Dies ist notwendig da Passwort oder Token benötigt werden, um API-"
|
" Dies ist notwendig da Passwort oder Token benötigt werden, um API-"
|
||||||
"Anfragen zu stellen, bringt jedoch auch ein Sicherheitsrisiko mit sich. <br/"
|
"Anfragen zu stellen, bringt jedoch auch ein Sicherheitsrisiko mit sich. <br/>"
|
||||||
">\n"
|
"\n"
|
||||||
" Um das Risiko zu minimieren sollten, wenn möglich, Tokens oder "
|
" Um das Risiko zu minimieren sollten, wenn möglich, Tokens oder "
|
||||||
"Accounts mit limitiertem Zugriff verwendet werden.\n"
|
"Accounts mit limitiertem Zugriff verwendet werden.\n"
|
||||||
" "
|
" "
|
||||||
@@ -1212,12 +1210,14 @@ msgid ""
|
|||||||
" "
|
" "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"\n"
|
"\n"
|
||||||
"Markdown ist eine Schreibweise mit der Text einfach formatiert werden kann. "
|
" Markdown ist eine Schreibweise mit der Text einfach formatiert "
|
||||||
"Diese Seite benutzt <a href=\"https\\://python-markdown.github.io/\" target="
|
"werden kann. Diese Seite benutzt <a href=\"https\\://python-markdown.github."
|
||||||
"\"_blank\">Python Markdown</a>, eine Bibliothek, die reinen Text in schönes "
|
"io/\" target=\"_blank\">Python Markdown</a>, eine Bibliothek, die reinen "
|
||||||
"HTML umwandelt. Die komplette Dokumentation befindet sich <a href=\"https"
|
"Text in schönes HTML umwandelt. Die komplette Dokumentation befindet sich <a "
|
||||||
"\\://daringfireball.net/projects/markdown/syntax\" target=\"_blank\">hier</"
|
"href=\"https\\://daringfireball.net/projects/markdown/syntax\" target="
|
||||||
"a>. Die wichtigsten Formatierungszeichen befinden sich hier auf dieser Seite."
|
"\"_blank\">hier</a>. Die wichtigsten Formatierungszeichen befinden sich hier "
|
||||||
|
"auf dieser Seite.\n"
|
||||||
|
" "
|
||||||
|
|
||||||
#: .\cookbook\templates\markdown_info.html:25
|
#: .\cookbook\templates\markdown_info.html:25
|
||||||
msgid "Headers"
|
msgid "Headers"
|
||||||
@@ -1321,7 +1321,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Es ist schwierig, Markdown-Tabellen von Hand zu erstellen. Daher bietet es "
|
"Es ist schwierig, Markdown-Tabellen von Hand zu erstellen. Daher bietet es "
|
||||||
"sich an, Werkzeuge wie <a href=\"https://www.tablesgenerator.com/"
|
"sich an, Werkzeuge wie <a href=\"https://www.tablesgenerator.com/"
|
||||||
"markdown_tables\" target=\"_blank\">dieses hier</a> zu verwenden."
|
"markdown_tables\" rel=\"noreferrer noopener\" target=\"_blank\">dieses hier</"
|
||||||
|
"a> zu verwenden."
|
||||||
|
|
||||||
#: .\cookbook\templates\markdown_info.html:155
|
#: .\cookbook\templates\markdown_info.html:155
|
||||||
#: .\cookbook\templates\markdown_info.html:157
|
#: .\cookbook\templates\markdown_info.html:157
|
||||||
@@ -1563,6 +1564,8 @@ msgid ""
|
|||||||
"Recipes, foods, shopping lists and more are organized in spaces of one or "
|
"Recipes, foods, shopping lists and more are organized in spaces of one or "
|
||||||
"more people."
|
"more people."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Rezepte, Lebensmittel, Einkaufslisten und weiteres werden Instanzen mit "
|
||||||
|
"einem oder mehreren Mitgliedern zugeordnet."
|
||||||
|
|
||||||
#: .\cookbook\templates\no_space_info.html:18
|
#: .\cookbook\templates\no_space_info.html:18
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -1663,10 +1666,8 @@ msgstr "Rezept-Hauptseite"
|
|||||||
#: .\cookbook\templates\search_info.html:5
|
#: .\cookbook\templates\search_info.html:5
|
||||||
#: .\cookbook\templates\search_info.html:9
|
#: .\cookbook\templates\search_info.html:9
|
||||||
#: .\cookbook\templates\settings.html:157
|
#: .\cookbook\templates\settings.html:157
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Search String"
|
|
||||||
msgid "Search Settings"
|
msgid "Search Settings"
|
||||||
msgstr "Suchwort"
|
msgstr "Sucheinstellungen"
|
||||||
|
|
||||||
#: .\cookbook\templates\search_info.html:10
|
#: .\cookbook\templates\search_info.html:10
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -1681,10 +1682,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: .\cookbook\templates\search_info.html:19
|
#: .\cookbook\templates\search_info.html:19
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Search"
|
|
||||||
msgid "Search Methods"
|
msgid "Search Methods"
|
||||||
msgstr "Suche"
|
msgstr "Suchtypen"
|
||||||
|
|
||||||
#: .\cookbook\templates\search_info.html:23
|
#: .\cookbook\templates\search_info.html:23
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -1766,10 +1765,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: .\cookbook\templates\search_info.html:69
|
#: .\cookbook\templates\search_info.html:69
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Search Recipe"
|
|
||||||
msgid "Search Fields"
|
msgid "Search Fields"
|
||||||
msgstr "Rezept suchen"
|
msgstr "Suchfelder"
|
||||||
|
|
||||||
#: .\cookbook\templates\search_info.html:73
|
#: .\cookbook\templates\search_info.html:73
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -1807,10 +1804,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: .\cookbook\templates\search_info.html:95
|
#: .\cookbook\templates\search_info.html:95
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Search"
|
|
||||||
msgid "Search Index"
|
msgid "Search Index"
|
||||||
msgstr "Suche"
|
msgstr "Suchindex"
|
||||||
|
|
||||||
#: .\cookbook\templates\search_info.html:99
|
#: .\cookbook\templates\search_info.html:99
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -1838,33 +1833,25 @@ msgid "API-Settings"
|
|||||||
msgstr "API-Einstellungen"
|
msgstr "API-Einstellungen"
|
||||||
|
|
||||||
#: .\cookbook\templates\settings.html:45
|
#: .\cookbook\templates\settings.html:45
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Search String"
|
|
||||||
msgid "Search-Settings"
|
msgid "Search-Settings"
|
||||||
msgstr "Suchwort"
|
msgstr "Sucheinstellungen"
|
||||||
|
|
||||||
#: .\cookbook\templates\settings.html:53
|
#: .\cookbook\templates\settings.html:53
|
||||||
msgid "Name Settings"
|
msgid "Name Settings"
|
||||||
msgstr "Namen-Einstellungen"
|
msgstr "Namen-Einstellungen"
|
||||||
|
|
||||||
#: .\cookbook\templates\settings.html:61
|
#: .\cookbook\templates\settings.html:61
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Account Connections"
|
|
||||||
msgid "Account Settings"
|
msgid "Account Settings"
|
||||||
msgstr "Account-Verbindungen"
|
msgstr "Account-Einstellungen"
|
||||||
|
|
||||||
#: .\cookbook\templates\settings.html:63
|
#: .\cookbook\templates\settings.html:63
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Add E-mail"
|
|
||||||
msgid "Emails"
|
msgid "Emails"
|
||||||
msgstr "Email hinzufügen"
|
msgstr "E-Mail Adressen"
|
||||||
|
|
||||||
#: .\cookbook\templates\settings.html:66
|
#: .\cookbook\templates\settings.html:66
|
||||||
#: .\cookbook\templates\socialaccount\connections.html:11
|
#: .\cookbook\templates\socialaccount\connections.html:11
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Social Login"
|
|
||||||
msgid "Social"
|
msgid "Social"
|
||||||
msgstr "Social Login"
|
msgstr "Social"
|
||||||
|
|
||||||
#: .\cookbook\templates\settings.html:78
|
#: .\cookbook\templates\settings.html:78
|
||||||
msgid "Language"
|
msgid "Language"
|
||||||
@@ -2002,10 +1989,8 @@ msgid "Add a 3rd Party Account"
|
|||||||
msgstr "Fremden Account hinzufügen"
|
msgstr "Fremden Account hinzufügen"
|
||||||
|
|
||||||
#: .\cookbook\templates\socialaccount\signup.html:5
|
#: .\cookbook\templates\socialaccount\signup.html:5
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Sign Up"
|
|
||||||
msgid "Signup"
|
msgid "Signup"
|
||||||
msgstr "Registrieren"
|
msgstr "Registrierung"
|
||||||
|
|
||||||
#: .\cookbook\templates\socialaccount\signup.html:10
|
#: .\cookbook\templates\socialaccount\signup.html:10
|
||||||
#, python-format
|
#, python-format
|
||||||
@@ -2014,6 +1999,9 @@ msgid ""
|
|||||||
" %(provider_name)s account to login to\n"
|
" %(provider_name)s account to login to\n"
|
||||||
" %(site_name)s. As a final step, please complete the following form:"
|
" %(site_name)s. As a final step, please complete the following form:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Du wirst via\n"
|
||||||
|
" %(provider_name)s eingeloggt.\n"
|
||||||
|
" %(site_name)s. Fülle bitte vorher noch diese Formular aus:"
|
||||||
|
|
||||||
#: .\cookbook\templates\socialaccount\snippets\provider_list.html:23
|
#: .\cookbook\templates\socialaccount\snippets\provider_list.html:23
|
||||||
#: .\cookbook\templates\socialaccount\snippets\provider_list.html:31
|
#: .\cookbook\templates\socialaccount\snippets\provider_list.html:31
|
||||||
@@ -2029,22 +2017,16 @@ msgstr ""
|
|||||||
#: .\cookbook\templates\socialaccount\snippets\provider_list.html:111
|
#: .\cookbook\templates\socialaccount\snippets\provider_list.html:111
|
||||||
#: .\cookbook\templates\socialaccount\snippets\provider_list.html:119
|
#: .\cookbook\templates\socialaccount\snippets\provider_list.html:119
|
||||||
#: .\cookbook\templates\socialaccount\snippets\provider_list.html:127
|
#: .\cookbook\templates\socialaccount\snippets\provider_list.html:127
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Sign In"
|
|
||||||
msgid "Sign in using"
|
msgid "Sign in using"
|
||||||
msgstr "Einloggen"
|
msgstr "Einloggen mit"
|
||||||
|
|
||||||
#: .\cookbook\templates\space.html:23
|
#: .\cookbook\templates\space.html:23
|
||||||
#, fuzzy
|
|
||||||
#| msgid "No Space"
|
|
||||||
msgid "Space:"
|
msgid "Space:"
|
||||||
msgstr "Kein Space"
|
msgstr "Instanz:"
|
||||||
|
|
||||||
#: .\cookbook\templates\space.html:24
|
#: .\cookbook\templates\space.html:24
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Description"
|
|
||||||
msgid "Manage Subscription"
|
msgid "Manage Subscription"
|
||||||
msgstr "Beschreibung"
|
msgstr "Tarif verwalten"
|
||||||
|
|
||||||
#: .\cookbook\templates\space.html:32 .\cookbook\templates\stats.html:19
|
#: .\cookbook\templates\space.html:32 .\cookbook\templates\stats.html:19
|
||||||
msgid "Number of objects"
|
msgid "Number of objects"
|
||||||
@@ -2083,28 +2065,24 @@ msgid "Groups"
|
|||||||
msgstr "Gruppen"
|
msgstr "Gruppen"
|
||||||
|
|
||||||
#: .\cookbook\templates\space.html:105
|
#: .\cookbook\templates\space.html:105
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Admin"
|
|
||||||
msgid "admin"
|
msgid "admin"
|
||||||
msgstr "Admin"
|
msgstr "Admin"
|
||||||
|
|
||||||
#: .\cookbook\templates\space.html:106
|
#: .\cookbook\templates\space.html:106
|
||||||
msgid "user"
|
msgid "user"
|
||||||
msgstr ""
|
msgstr "Benutzer"
|
||||||
|
|
||||||
#: .\cookbook\templates\space.html:107
|
#: .\cookbook\templates\space.html:107
|
||||||
msgid "guest"
|
msgid "guest"
|
||||||
msgstr ""
|
msgstr "Gast"
|
||||||
|
|
||||||
#: .\cookbook\templates\space.html:108
|
#: .\cookbook\templates\space.html:108
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Remove"
|
|
||||||
msgid "remove"
|
msgid "remove"
|
||||||
msgstr "Entfernen"
|
msgstr "Entfernen"
|
||||||
|
|
||||||
#: .\cookbook\templates\space.html:112
|
#: .\cookbook\templates\space.html:112
|
||||||
msgid "Update"
|
msgid "Update"
|
||||||
msgstr ""
|
msgstr "Aktualisierung"
|
||||||
|
|
||||||
#: .\cookbook\templates\space.html:116
|
#: .\cookbook\templates\space.html:116
|
||||||
msgid "You cannot edit yourself."
|
msgid "You cannot edit yourself."
|
||||||
@@ -2177,9 +2155,10 @@ msgid ""
|
|||||||
" "
|
" "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Das direkte ausliefern von Mediendateien mit gunicorn/python ist <b>nicht "
|
"Das direkte ausliefern von Mediendateien mit gunicorn/python ist <b>nicht "
|
||||||
"empfehlenswert</b>! Bitte folge den beschriebenen Schritten <a href=\"https"
|
"empfehlenswert</b>! Bitte folge den beschriebenen Schritten <a href=\"https\\"
|
||||||
"\\://github.com/vabene1111/recipes/releases/tag/0.8.1\">hier</a>, um Ihre "
|
"://github.com/vabene1111/recipes/releases/tag/0.8.1\">hier</a>, um Ihre "
|
||||||
"Installation zu aktualisieren."
|
"Installation zu aktualisieren.\n"
|
||||||
|
" "
|
||||||
|
|
||||||
#: .\cookbook\templates\system.html:57 .\cookbook\templates\system.html:73
|
#: .\cookbook\templates\system.html:57 .\cookbook\templates\system.html:73
|
||||||
#: .\cookbook\templates\system.html:88 .\cookbook\templates\system.html:102
|
#: .\cookbook\templates\system.html:88 .\cookbook\templates\system.html:102
|
||||||
@@ -2203,11 +2182,12 @@ msgid ""
|
|||||||
" "
|
" "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"\n"
|
"\n"
|
||||||
"Du hast keinen <code>SECRET_KEY</code> in deiner <code>.env</code>-Datei "
|
" Du hast keinen <code>SECRET_KEY</code> in deiner <code>."
|
||||||
"konfiguriert. Django verwendet standardmäßig den mit der Installation "
|
"env</code>-Datei konfiguriert. Django verwendet standardmäßig den mit der "
|
||||||
"gelieferten Standardschlüssel, der öffentlich bekannt und unsicher ist! "
|
"Installation gelieferten Standardschlüssel, der öffentlich bekannt und "
|
||||||
"Bitte setze den <code>SECRET_KEY</code> in der Konfigurationsdatei <code>."
|
"unsicher ist! Bitte setze den <code>SECRET_KEY</code> in der "
|
||||||
"env</code>."
|
"Konfigurationsdatei <code>.env</code>.\n"
|
||||||
|
" "
|
||||||
|
|
||||||
#: .\cookbook\templates\system.html:78
|
#: .\cookbook\templates\system.html:78
|
||||||
msgid "Debug Mode"
|
msgid "Debug Mode"
|
||||||
@@ -2224,10 +2204,11 @@ msgid ""
|
|||||||
" "
|
" "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"\n"
|
"\n"
|
||||||
"Diese Anwendung läuft noch im Debug-Modus. Dieser wird höchstwahrscheinlich "
|
" Diese Anwendung läuft noch im Debug-Modus. Dieser wird "
|
||||||
"nicht benötigt.\n"
|
"höchstwahrscheinlich nicht benötigt.\n"
|
||||||
"Schalte den Debug-Modus aus, indem du <code>DEBUG=0</code> in der "
|
"Schalte den Debug-Modus aus, indem du <code>DEBUG=0</code> in der "
|
||||||
"Konfigurationsdatei <code>.env</code> einstellst."
|
"Konfigurationsdatei <code>.env</code> einstellst.\n"
|
||||||
|
" "
|
||||||
|
|
||||||
#: .\cookbook\templates\system.html:93
|
#: .\cookbook\templates\system.html:93
|
||||||
msgid "Database"
|
msgid "Database"
|
||||||
@@ -2246,9 +2227,10 @@ msgid ""
|
|||||||
" "
|
" "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"\n"
|
"\n"
|
||||||
"Diese Anwendung läuft nicht mit einer Postgres Datenbank. Dies ist in "
|
" Diese Anwendung läuft nicht mit einer PostgreSQL Datenbank. Dies "
|
||||||
"Ordnung, wird aber nicht empfohlen, da einige\n"
|
"ist in Ordnung, wird aber nicht empfohlen, da einige\n"
|
||||||
"Funktionen nur mit einer Postgres-Datenbanken funktionieren."
|
"Funktionen nur mit einer PostgreSQL-Datenbanken funktionieren.\n"
|
||||||
|
" "
|
||||||
|
|
||||||
#: .\cookbook\templates\url_import.html:6
|
#: .\cookbook\templates\url_import.html:6
|
||||||
msgid "URL Import"
|
msgid "URL Import"
|
||||||
@@ -2259,8 +2241,6 @@ msgid "Drag me to your bookmarks to import recipes from anywhere"
|
|||||||
msgstr "Ziehe mich in deine Lesezeichen, um Rezepte von überall zu importieren"
|
msgstr "Ziehe mich in deine Lesezeichen, um Rezepte von überall zu importieren"
|
||||||
|
|
||||||
#: .\cookbook\templates\url_import.html:32
|
#: .\cookbook\templates\url_import.html:32
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Bookmark saved!"
|
|
||||||
msgid "Bookmark Me!"
|
msgid "Bookmark Me!"
|
||||||
msgstr "Lesezeichen speichern!"
|
msgstr "Lesezeichen speichern!"
|
||||||
|
|
||||||
@@ -2269,7 +2249,6 @@ msgid "Enter website URL"
|
|||||||
msgstr "Webseite-URL eingeben"
|
msgstr "Webseite-URL eingeben"
|
||||||
|
|
||||||
#: .\cookbook\templates\url_import.html:97
|
#: .\cookbook\templates\url_import.html:97
|
||||||
#, fuzzy
|
|
||||||
msgid "Select recipe files to import or drop them here..."
|
msgid "Select recipe files to import or drop them here..."
|
||||||
msgstr "Wähle Rezept-Dateien zum Importieren oder platziere sie hier..."
|
msgstr "Wähle Rezept-Dateien zum Importieren oder platziere sie hier..."
|
||||||
|
|
||||||
@@ -2283,7 +2262,7 @@ msgstr "Rezept-Daten ansehen"
|
|||||||
|
|
||||||
#: .\cookbook\templates\url_import.html:147
|
#: .\cookbook\templates\url_import.html:147
|
||||||
msgid "Drag recipe attributes from the right into the appropriate box below."
|
msgid "Drag recipe attributes from the right into the appropriate box below."
|
||||||
msgstr ""
|
msgstr "Ziehe Rezepteigenschaften von Rechts in die entsprechende Box unten."
|
||||||
|
|
||||||
#: .\cookbook\templates\url_import.html:156
|
#: .\cookbook\templates\url_import.html:156
|
||||||
#: .\cookbook\templates\url_import.html:173
|
#: .\cookbook\templates\url_import.html:173
|
||||||
@@ -2296,11 +2275,11 @@ msgstr ""
|
|||||||
#: .\cookbook\templates\url_import.html:300
|
#: .\cookbook\templates\url_import.html:300
|
||||||
#: .\cookbook\templates\url_import.html:351
|
#: .\cookbook\templates\url_import.html:351
|
||||||
msgid "Clear Contents"
|
msgid "Clear Contents"
|
||||||
msgstr ""
|
msgstr "Inhalte leeren"
|
||||||
|
|
||||||
#: .\cookbook\templates\url_import.html:158
|
#: .\cookbook\templates\url_import.html:158
|
||||||
msgid "Text dragged here will be appended to the name."
|
msgid "Text dragged here will be appended to the name."
|
||||||
msgstr ""
|
msgstr "Text welcher hierhin gezogen wird, wird an den Namen angehängt."
|
||||||
|
|
||||||
#: .\cookbook\templates\url_import.html:171
|
#: .\cookbook\templates\url_import.html:171
|
||||||
msgid "Description"
|
msgid "Description"
|
||||||
@@ -2308,11 +2287,13 @@ msgstr "Beschreibung"
|
|||||||
|
|
||||||
#: .\cookbook\templates\url_import.html:175
|
#: .\cookbook\templates\url_import.html:175
|
||||||
msgid "Text dragged here will be appended to the description."
|
msgid "Text dragged here will be appended to the description."
|
||||||
msgstr ""
|
msgstr "Text welcher hierhin gezogen wird, wird an die Beschreibung angehängt."
|
||||||
|
|
||||||
#: .\cookbook\templates\url_import.html:192
|
#: .\cookbook\templates\url_import.html:192
|
||||||
msgid "Keywords dragged here will be appended to current list"
|
msgid "Keywords dragged here will be appended to current list"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Stichworte welche hierhin gezogen werden, werden zur aktuellen Liste "
|
||||||
|
"hinzugefügt"
|
||||||
|
|
||||||
#: .\cookbook\templates\url_import.html:207
|
#: .\cookbook\templates\url_import.html:207
|
||||||
msgid "Image"
|
msgid "Image"
|
||||||
@@ -2329,6 +2310,8 @@ msgstr "Kochzeit"
|
|||||||
#: .\cookbook\templates\url_import.html:275
|
#: .\cookbook\templates\url_import.html:275
|
||||||
msgid "Ingredients dragged here will be appended to current list."
|
msgid "Ingredients dragged here will be appended to current list."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Zutaten welche hierhin gezogen werden, werden zur aktuellen Liste "
|
||||||
|
"hinzugefügt."
|
||||||
|
|
||||||
#: .\cookbook\templates\url_import.html:297
|
#: .\cookbook\templates\url_import.html:297
|
||||||
#: .\cookbook\templates\url_import.html:567
|
#: .\cookbook\templates\url_import.html:567
|
||||||
@@ -2410,7 +2393,7 @@ msgid ""
|
|||||||
"data feel free to post an example in the\n"
|
"data feel free to post an example in the\n"
|
||||||
" github issues."
|
" github issues."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Nur Webseiten mit ld+json oder microdata können importiert werden. Die "
|
" Nur Webseiten mit ld+json oder microdata können importiert werden. Die "
|
||||||
"meisten großen Seiten unterstützen diese Formate. Wenn eine Seite nicht "
|
"meisten großen Seiten unterstützen diese Formate. Wenn eine Seite nicht "
|
||||||
"importiert werden kann, sie aber strukturierte Daten aufweist, kann ein "
|
"importiert werden kann, sie aber strukturierte Daten aufweist, kann ein "
|
||||||
"GitHub-Issue geöffnet werden."
|
"GitHub-Issue geöffnet werden."
|
||||||
@@ -2447,20 +2430,20 @@ msgid "No {self.basename} with id {target} exists"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: .\cookbook\views\api.py:167
|
#: .\cookbook\views\api.py:167
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Cannot merge with the same object!"
|
|
||||||
msgid "Cannot merge with child object!"
|
msgid "Cannot merge with child object!"
|
||||||
msgstr "Zusammenführen mit selben Objekt nicht möglich!"
|
msgstr "Zusammenführen mit untergeordnetem Objekt nicht möglich!"
|
||||||
|
|
||||||
#: .\cookbook\views\api.py:195
|
#: .\cookbook\views\api.py:195
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{source.name} was merged successfully with {target.name}"
|
msgid "{source.name} was merged successfully with {target.name}"
|
||||||
msgstr ""
|
msgstr "{source.name} wurde erfolgreich mit {target.name} zusammengeführt"
|
||||||
|
|
||||||
#: .\cookbook\views\api.py:199
|
#: .\cookbook\views\api.py:199
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "An error occurred attempting to merge {source.name} with {target.name}"
|
msgid "An error occurred attempting to merge {source.name} with {target.name}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Beim zusammenführen von {source.name} mit {target.name} ist ein Fehler "
|
||||||
|
"aufgetreten"
|
||||||
|
|
||||||
#: .\cookbook\views\api.py:239
|
#: .\cookbook\views\api.py:239
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
@@ -2633,22 +2616,16 @@ msgid "Shopping Lists"
|
|||||||
msgstr "Einkaufslisten"
|
msgstr "Einkaufslisten"
|
||||||
|
|
||||||
#: .\cookbook\views\lists.py:129
|
#: .\cookbook\views\lists.py:129
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Food"
|
|
||||||
msgid "Foods"
|
msgid "Foods"
|
||||||
msgstr "Lebensmittel"
|
msgstr "Lebensmittel"
|
||||||
|
|
||||||
#: .\cookbook\views\lists.py:163
|
#: .\cookbook\views\lists.py:163
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Supermarket"
|
|
||||||
msgid "Supermarkets"
|
msgid "Supermarkets"
|
||||||
msgstr "Supermarkt"
|
msgstr "Supermärkte"
|
||||||
|
|
||||||
#: .\cookbook\views\lists.py:179
|
#: .\cookbook\views\lists.py:179
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Shopping Recipes"
|
|
||||||
msgid "Shopping Categories"
|
msgid "Shopping Categories"
|
||||||
msgstr "Einkaufs-Rezepte"
|
msgstr "Einkaufskategorien"
|
||||||
|
|
||||||
#: .\cookbook\views\new.py:122
|
#: .\cookbook\views\new.py:122
|
||||||
msgid "Imported new recipe!"
|
msgid "Imported new recipe!"
|
||||||
@@ -2667,9 +2644,8 @@ msgid "You have been invited by "
|
|||||||
msgstr "Du wurdest eingeladen von "
|
msgstr "Du wurdest eingeladen von "
|
||||||
|
|
||||||
#: .\cookbook\views\new.py:226
|
#: .\cookbook\views\new.py:226
|
||||||
#, fuzzy
|
|
||||||
msgid " to join their Tandoor Recipes space "
|
msgid " to join their Tandoor Recipes space "
|
||||||
msgstr " um deren Tandoor Recipes Space "
|
msgstr " um deren Tandoor Recipes Instanz beizutreten "
|
||||||
|
|
||||||
#: .\cookbook\views\new.py:227
|
#: .\cookbook\views\new.py:227
|
||||||
msgid "Click the following link to activate your account: "
|
msgid "Click the following link to activate your account: "
|
||||||
@@ -2687,15 +2663,13 @@ msgid "The invitation is valid until "
|
|||||||
msgstr "Die Einladung ist gültig bis "
|
msgstr "Die Einladung ist gültig bis "
|
||||||
|
|
||||||
#: .\cookbook\views\new.py:230
|
#: .\cookbook\views\new.py:230
|
||||||
#, fuzzy
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Tandoor Recipes is an Open Source recipe manager. Check it out on GitHub "
|
"Tandoor Recipes is an Open Source recipe manager. Check it out on GitHub "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Tandoor Recipes ist ein Open-Source Rezept-Manager. Sieh es Dir auf GitHub "
|
"Tandoor Recipes ist ein Open-Source Rezept-Manager. Mehr Informationen sind "
|
||||||
"an "
|
"auf GitHub zu finden "
|
||||||
|
|
||||||
#: .\cookbook\views\new.py:233
|
#: .\cookbook\views\new.py:233
|
||||||
#, fuzzy
|
|
||||||
msgid "Tandoor Recipes Invite"
|
msgid "Tandoor Recipes Invite"
|
||||||
msgstr "Tandoor Recipes Einladung"
|
msgstr "Tandoor Recipes Einladung"
|
||||||
|
|
||||||
@@ -2736,17 +2710,19 @@ msgstr "Kommentar gespeichert!"
|
|||||||
|
|
||||||
#: .\cookbook\views\views.py:351
|
#: .\cookbook\views\views.py:351
|
||||||
msgid "You must select at least one field to search!"
|
msgid "You must select at least one field to search!"
|
||||||
msgstr ""
|
msgstr "Es muss mindestens ein Feld ausgewählt sein!"
|
||||||
|
|
||||||
#: .\cookbook\views\views.py:354
|
#: .\cookbook\views\views.py:354
|
||||||
msgid ""
|
msgid ""
|
||||||
"To use this search method you must select at least one full text search "
|
"To use this search method you must select at least one full text search "
|
||||||
"field!"
|
"field!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Um diese Suchmethode zu verwenden muss mindestens ein Feld für die "
|
||||||
|
"Volltextsuche ausgewählt sein!"
|
||||||
|
|
||||||
#: .\cookbook\views\views.py:357
|
#: .\cookbook\views\views.py:357
|
||||||
msgid "Fuzzy search is not compatible with this search method!"
|
msgid "Fuzzy search is not compatible with this search method!"
|
||||||
msgstr ""
|
msgstr "Die \"Ungenaue\" Suche ist mit diesem Suchtyp nicht kompatibel!"
|
||||||
|
|
||||||
#: .\cookbook\views\views.py:437
|
#: .\cookbook\views\views.py:437
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -2788,12 +2764,16 @@ msgid ""
|
|||||||
"Reporting share links is not enabled for this instance. Please notify the "
|
"Reporting share links is not enabled for this instance. Please notify the "
|
||||||
"page administrator to report problems."
|
"page administrator to report problems."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Das melden von Links ist in dieser Instanz nicht aktiviert. Bitte "
|
||||||
|
"kontaktieren sie den Seitenadministrator um Probleme zu melden."
|
||||||
|
|
||||||
#: .\cookbook\views\views.py:570
|
#: .\cookbook\views\views.py:570
|
||||||
msgid ""
|
msgid ""
|
||||||
"Recipe sharing link has been disabled! For additional information please "
|
"Recipe sharing link has been disabled! For additional information please "
|
||||||
"contact the page administrator."
|
"contact the page administrator."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Dieser Link wurde deaktiviert! Bitte kontaktieren sie den "
|
||||||
|
"Seitenadministrator für weitere Informationen."
|
||||||
|
|
||||||
#~ msgid "Utensils"
|
#~ msgid "Utensils"
|
||||||
#~ msgstr "Utensilien"
|
#~ msgstr "Utensilien"
|
||||||
|
|||||||
18
cookbook/migrations/0158_userpreference_use_kj.py
Normal file
18
cookbook/migrations/0158_userpreference_use_kj.py
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 3.2.7 on 2021-10-25 05:21
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cookbook', '0157_alter_searchpreference_trigram'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='userpreference',
|
||||||
|
name='use_kj',
|
||||||
|
field=models.BooleanField(default=False),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -19,7 +19,8 @@ from treebeard.mp_tree import MP_Node, MP_NodeManager
|
|||||||
from django_scopes import ScopedManager, scopes_disabled
|
from django_scopes import ScopedManager, scopes_disabled
|
||||||
from django_prometheus.models import ExportModelOperationsMixin
|
from django_prometheus.models import ExportModelOperationsMixin
|
||||||
from recipes.settings import (COMMENT_PREF_DEFAULT, FRACTION_PREF_DEFAULT,
|
from recipes.settings import (COMMENT_PREF_DEFAULT, FRACTION_PREF_DEFAULT,
|
||||||
STICKY_NAV_PREF_DEFAULT, SORT_TREE_BY_NAME)
|
KJ_PREF_DEFAULT, STICKY_NAV_PREF_DEFAULT,
|
||||||
|
SORT_TREE_BY_NAME)
|
||||||
|
|
||||||
|
|
||||||
def get_user_name(self):
|
def get_user_name(self):
|
||||||
@@ -217,6 +218,7 @@ class UserPreference(models.Model, PermissionModelMixin):
|
|||||||
)
|
)
|
||||||
default_unit = models.CharField(max_length=32, default='g')
|
default_unit = models.CharField(max_length=32, default='g')
|
||||||
use_fractions = models.BooleanField(default=FRACTION_PREF_DEFAULT)
|
use_fractions = models.BooleanField(default=FRACTION_PREF_DEFAULT)
|
||||||
|
use_kj = models.BooleanField(default=KJ_PREF_DEFAULT)
|
||||||
default_page = models.CharField(
|
default_page = models.CharField(
|
||||||
choices=PAGES, max_length=64, default=SEARCH
|
choices=PAGES, max_length=64, default=SEARCH
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -32,6 +32,9 @@
|
|||||||
window.CUSTOM_LOCALE = '{{ request.LANGUAGE_CODE }}'
|
window.CUSTOM_LOCALE = '{{ request.LANGUAGE_CODE }}'
|
||||||
window.RECIPE_ID = {{ recipe.pk }}
|
window.RECIPE_ID = {{ recipe.pk }}
|
||||||
window.DEFAULT_UNIT = '{{request.user.userpreference.default_unit}}'
|
window.DEFAULT_UNIT = '{{request.user.userpreference.default_unit}}'
|
||||||
|
window.USER_PREF = {
|
||||||
|
'use_kj': {% if request.user.userpreference.use_kj %} true {% else %} false {% endif %},
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -69,6 +69,7 @@
|
|||||||
window.USER_PREF = {
|
window.USER_PREF = {
|
||||||
'use_fractions': {% if request.user.userpreference.use_fractions %} true {% else %} false {% endif %},
|
'use_fractions': {% if request.user.userpreference.use_fractions %} true {% else %} false {% endif %},
|
||||||
'ingredient_decimals': {% if request.user.userpreference.use_fractions %} {{ request.user.userpreference.ingredient_decimals }} {% else %} 2 {% endif %},
|
'ingredient_decimals': {% if request.user.userpreference.use_fractions %} {{ request.user.userpreference.ingredient_decimals }} {% else %} 2 {% endif %},
|
||||||
|
'use_kj': {% if request.user.userpreference.use_kj %} true {% else %} false {% endif %},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -302,6 +302,7 @@ def user_settings(request):
|
|||||||
up.ingredient_decimals = form.cleaned_data['ingredient_decimals'] # noqa: E501
|
up.ingredient_decimals = form.cleaned_data['ingredient_decimals'] # noqa: E501
|
||||||
up.comments = form.cleaned_data['comments']
|
up.comments = form.cleaned_data['comments']
|
||||||
up.use_fractions = form.cleaned_data['use_fractions']
|
up.use_fractions = form.cleaned_data['use_fractions']
|
||||||
|
up.use_kj = form.cleaned_data['use_kj']
|
||||||
up.sticky_navbar = form.cleaned_data['sticky_navbar']
|
up.sticky_navbar = form.cleaned_data['sticky_navbar']
|
||||||
|
|
||||||
up.shopping_auto_sync = form.cleaned_data['shopping_auto_sync']
|
up.shopping_auto_sync = form.cleaned_data['shopping_auto_sync']
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ REVERSE_PROXY_AUTH = bool(int(os.getenv('REVERSE_PROXY_AUTH', False)))
|
|||||||
# default value for user preference 'comment'
|
# default value for user preference 'comment'
|
||||||
COMMENT_PREF_DEFAULT = bool(int(os.getenv('COMMENT_PREF_DEFAULT', True)))
|
COMMENT_PREF_DEFAULT = bool(int(os.getenv('COMMENT_PREF_DEFAULT', True)))
|
||||||
FRACTION_PREF_DEFAULT = bool(int(os.getenv('FRACTION_PREF_DEFAULT', False)))
|
FRACTION_PREF_DEFAULT = bool(int(os.getenv('FRACTION_PREF_DEFAULT', False)))
|
||||||
|
KJ_PREF_DEFAULT = bool(int(os.getenv('KJ_PREF_DEFAULT', False)))
|
||||||
STICKY_NAV_PREF_DEFAULT = bool(int(os.getenv('STICKY_NAV_PREF_DEFAULT', True)))
|
STICKY_NAV_PREF_DEFAULT = bool(int(os.getenv('STICKY_NAV_PREF_DEFAULT', True)))
|
||||||
|
|
||||||
# minimum interval that users can set for automatic sync of shopping lists
|
# minimum interval that users can set for automatic sync of shopping lists
|
||||||
|
|||||||
@@ -113,7 +113,8 @@
|
|||||||
A <a href="https://github.com/vabene1111/recipes/issues/896" target="_blank" rel="noreferrer nofollow">big update</a> is planned to improve on this in many different areas.
|
A <a href="https://github.com/vabene1111/recipes/issues/896" target="_blank" rel="noreferrer nofollow">big update</a> is planned to improve on this in many different areas.
|
||||||
</b-alert>
|
</b-alert>
|
||||||
|
|
||||||
<label for="id_name"> {{ $t('Calories') }}</label>
|
<label for="id_name"> {{ $t(energy()) }}</label>
|
||||||
|
|
||||||
<input class="form-control" id="id_calories" v-model="recipe.nutrition.calories">
|
<input class="form-control" id="id_calories" v-model="recipe.nutrition.calories">
|
||||||
|
|
||||||
<label for="id_name"> {{ $t('Carbohydrates') }}</label>
|
<label for="id_name"> {{ $t('Carbohydrates') }}</label>
|
||||||
@@ -487,7 +488,7 @@ import {BootstrapVue} from 'bootstrap-vue'
|
|||||||
import 'bootstrap-vue/dist/bootstrap-vue.css'
|
import 'bootstrap-vue/dist/bootstrap-vue.css'
|
||||||
|
|
||||||
import draggable from 'vuedraggable'
|
import draggable from 'vuedraggable'
|
||||||
import {ApiMixin, resolveDjangoUrl, ResolveUrlMixin, StandardToasts} from "@/utils/utils";
|
import {ApiMixin, resolveDjangoUrl, ResolveUrlMixin, StandardToasts, convertEnergyToCalories, energyHeading} from "@/utils/utils";
|
||||||
import Multiselect from "vue-multiselect";
|
import Multiselect from "vue-multiselect";
|
||||||
import {ApiApiFactory} from "@/utils/openapi/api";
|
import {ApiApiFactory} from "@/utils/openapi/api";
|
||||||
import LoadingSpinner from "@/components/LoadingSpinner";
|
import LoadingSpinner from "@/components/LoadingSpinner";
|
||||||
@@ -615,11 +616,13 @@ export default {
|
|||||||
updateRecipe: function (view_after) {
|
updateRecipe: function (view_after) {
|
||||||
let apiFactory = new ApiApiFactory()
|
let apiFactory = new ApiApiFactory()
|
||||||
|
|
||||||
|
this.normalizeEnergy()
|
||||||
|
|
||||||
this.sortSteps()
|
this.sortSteps()
|
||||||
for (let s of this.recipe.steps) {
|
for (let s of this.recipe.steps) {
|
||||||
this.sortIngredients(s)
|
this.sortIngredients(s)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
apiFactory.updateRecipe(this.recipe_id, this.recipe,
|
apiFactory.updateRecipe(this.recipe_id, this.recipe,
|
||||||
{}).then((response) => {
|
{}).then((response) => {
|
||||||
console.log(response)
|
console.log(response)
|
||||||
@@ -822,6 +825,14 @@ export default {
|
|||||||
el.select();
|
el.select();
|
||||||
document.execCommand('copy');
|
document.execCommand('copy');
|
||||||
document.body.removeChild(el);
|
document.body.removeChild(el);
|
||||||
|
},
|
||||||
|
normalizeEnergy: function () {
|
||||||
|
if (this.recipe.nutrition && this.recipe.nutrition.calories) {
|
||||||
|
this.recipe.nutrition.calories = convertEnergyToCalories(this.recipe.nutrition.calories)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
energy: function () {
|
||||||
|
return energyHeading()
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,10 +12,10 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<i class="fas fa-fire fa-fw text-primary"></i> {{ $t('Calories') }}
|
<i class="fas fa-fire fa-fw text-primary"></i> {{ $t(energy()) }}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<span v-html="calculateAmount(recipe.nutrition.calories)"></span> kcal
|
<span v-html="calculateEnergy(recipe.nutrition.calories)"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
import {calculateAmount} from "@/utils/utils";
|
import {calculateAmount, calculateEnergy, energyHeading} from "@/utils/utils";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Nutrition',
|
name: 'Nutrition',
|
||||||
@@ -65,6 +65,12 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
calculateAmount: function (x) {
|
calculateAmount: function (x) {
|
||||||
return calculateAmount(x, this.ingredient_factor)
|
return calculateAmount(x, this.ingredient_factor)
|
||||||
|
},
|
||||||
|
calculateEnergy: function (x) {
|
||||||
|
return calculateEnergy(x, this.ingredient_factor)
|
||||||
|
},
|
||||||
|
energy: function (x) {
|
||||||
|
return energyHeading()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,12 +19,13 @@
|
|||||||
"Fats": "Fette",
|
"Fats": "Fette",
|
||||||
"Carbohydrates": "Kohlenhydrate",
|
"Carbohydrates": "Kohlenhydrate",
|
||||||
"Calories": "Kalorien",
|
"Calories": "Kalorien",
|
||||||
|
"Energy": "",
|
||||||
"Nutrition": "Nährwerte",
|
"Nutrition": "Nährwerte",
|
||||||
"Keywords": "Stichwörter",
|
"Keywords": "Stichwörter",
|
||||||
"Books": "Bücher",
|
"Books": "Bücher",
|
||||||
"show_only_internal": "Nur interne Rezepte anzeigen",
|
"show_only_internal": "Nur interne Rezepte anzeigen",
|
||||||
"Ingredients": "Zutaten",
|
"Ingredients": "Zutaten",
|
||||||
"min": "Min",
|
"min": "min",
|
||||||
"Servings": "Portionen",
|
"Servings": "Portionen",
|
||||||
"Waiting": "Wartezeit",
|
"Waiting": "Wartezeit",
|
||||||
"Preparation": "Zubereitung",
|
"Preparation": "Zubereitung",
|
||||||
@@ -72,7 +73,7 @@
|
|||||||
"success_deleting_resource": "Ressource erfolgreich gelöscht!",
|
"success_deleting_resource": "Ressource erfolgreich gelöscht!",
|
||||||
"Load_More": "Mehr laden",
|
"Load_More": "Mehr laden",
|
||||||
"Ok": "Öffnen",
|
"Ok": "Öffnen",
|
||||||
"Link": "Verknüpfung",
|
"Link": "Link",
|
||||||
"Key_Ctrl": "Strg",
|
"Key_Ctrl": "Strg",
|
||||||
"move_title": "Verschieben {type}",
|
"move_title": "Verschieben {type}",
|
||||||
"Food": "Essen",
|
"Food": "Essen",
|
||||||
@@ -88,7 +89,7 @@
|
|||||||
"Automation": "Automatisierung",
|
"Automation": "Automatisierung",
|
||||||
"Ignore_Shopping": "Einkauf Ignorieren",
|
"Ignore_Shopping": "Einkauf Ignorieren",
|
||||||
"Parameter": "Parameter",
|
"Parameter": "Parameter",
|
||||||
"Sort_by_new": "Sortieren nach neu",
|
"Sort_by_new": "Sortieren nach neueste",
|
||||||
"Shopping_Category": "Einkauf Kategorie",
|
"Shopping_Category": "Einkauf Kategorie",
|
||||||
"Edit_Food": "Essen bearbeiten",
|
"Edit_Food": "Essen bearbeiten",
|
||||||
"Move_Food": "Essen verschieben",
|
"Move_Food": "Essen verschieben",
|
||||||
@@ -106,8 +107,8 @@
|
|||||||
"warning_feature_beta": "Diese Funktion ist aktuell in einer BETA (Test) Phase. Fehler sind zu erwarten und Änderungen in der Zukunft können die Funktionsweise möglicherweise Verändern oder Daten die mit dieser Funktion zusammen hängen entfernen.",
|
"warning_feature_beta": "Diese Funktion ist aktuell in einer BETA (Test) Phase. Fehler sind zu erwarten und Änderungen in der Zukunft können die Funktionsweise möglicherweise Verändern oder Daten die mit dieser Funktion zusammen hängen entfernen.",
|
||||||
"Edit_Keyword": "Schlagwort bearbeiten",
|
"Edit_Keyword": "Schlagwort bearbeiten",
|
||||||
"Move_Keyword": "Schlagwort verschieben",
|
"Move_Keyword": "Schlagwort verschieben",
|
||||||
"Merge_Keyword": "Schlagwort zusammenführen",
|
"Merge_Keyword": "Schlagworte zusammenführen",
|
||||||
"Hide_Keywords": "Schlagwort verstecken",
|
"Hide_Keywords": "Schlagworte verstecken",
|
||||||
"Meal_Plan_Days": "Zukünftige Pläne",
|
"Meal_Plan_Days": "Zukünftige Pläne",
|
||||||
"Description": "Beschreibung",
|
"Description": "Beschreibung",
|
||||||
"Create_New_Shopping Category": "Erstelle neue Einkaufs Kategorie",
|
"Create_New_Shopping Category": "Erstelle neue Einkaufs Kategorie",
|
||||||
@@ -143,9 +144,9 @@
|
|||||||
"Merge": "Zusammenführen",
|
"Merge": "Zusammenführen",
|
||||||
"Parent": "Eltern",
|
"Parent": "Eltern",
|
||||||
"move_confirmation": "Verschiebe <i>{child}</i> zu Elternelement <i>{parent}</i>",
|
"move_confirmation": "Verschiebe <i>{child}</i> zu Elternelement <i>{parent}</i>",
|
||||||
"merge_confirmation": "Ersetze <i>{source}</i> mit <i>{target}</i>",
|
"merge_confirmation": "<i>{source}</i> durch <i>{target}</i> ersetzen",
|
||||||
"move_selection": "Wähle Elternelement {type} um {source} zu verschieben.",
|
"move_selection": "Wähle Elternelement {type} um {source} zu verschieben.",
|
||||||
"Root": "Ursprung",
|
"Root": "Wurzel",
|
||||||
"Recipe": "Rezept",
|
"Recipe": "Rezept",
|
||||||
"tree_root": "Ursprung des Baums",
|
"tree_root": "Ursprung des Baums",
|
||||||
"Unit": "Einheit",
|
"Unit": "Einheit",
|
||||||
@@ -160,9 +161,9 @@
|
|||||||
"Delete_Keyword": "Schlagwort löschen",
|
"Delete_Keyword": "Schlagwort löschen",
|
||||||
"show_split_screen": "Geteilte Ansicht",
|
"show_split_screen": "Geteilte Ansicht",
|
||||||
"Recipes_per_page": "Rezepte pro Seite",
|
"Recipes_per_page": "Rezepte pro Seite",
|
||||||
"Manage_Books": "Bücher Verwalten",
|
"Manage_Books": "Bücher verwalten",
|
||||||
"delete_confirmation": "Soll {source} wirklich gelöscht werden?",
|
"delete_confirmation": "Soll {source} wirklich gelöscht werden?",
|
||||||
"merge_selection": "Ersetze alle vorkommen von {source} mit dem ausgewählten {type}.",
|
"merge_selection": "Alle Vorkommnisse von {source} mit ausgewählten {type} ersetzen.",
|
||||||
"Plan_Period_To_Show": "Wochen, Monate oder Jahre anzeigen",
|
"Plan_Period_To_Show": "Wochen, Monate oder Jahre anzeigen",
|
||||||
"Title": "Titel",
|
"Title": "Titel",
|
||||||
"Week": "Woche",
|
"Week": "Woche",
|
||||||
@@ -176,5 +177,31 @@
|
|||||||
"Period": "Zeitraum",
|
"Period": "Zeitraum",
|
||||||
"Clone": "Kopieren",
|
"Clone": "Kopieren",
|
||||||
"file_upload_disabled": "Das Hochladen von Dateien ist für deinen Space nicht aktiviert.",
|
"file_upload_disabled": "Das Hochladen von Dateien ist für deinen Space nicht aktiviert.",
|
||||||
"Meal_Type_Required": "Mahlzeitentyp ist erforderlich"
|
"Meal_Type_Required": "Mahlzeitentyp ist erforderlich",
|
||||||
|
"Remove_nutrition_recipe": "Nährwerte aus Rezept löschen",
|
||||||
|
"Add_nutrition_recipe": "Nährwerte zu Rezept hinzufügen",
|
||||||
|
"Title_or_Recipe_Required": "Titel oder Rezept benötigt",
|
||||||
|
"Next_Day": "Tag vor",
|
||||||
|
"Previous_Day": "Tag zurück",
|
||||||
|
"Edit_Meal_Plan_Entry": "Eintrag bearbeiten",
|
||||||
|
"Create_New_Meal_Type": "Neue Mahlzeit",
|
||||||
|
"Create_Meal_Plan_Entry": "Neuer Eintrag",
|
||||||
|
"Make_header": "Erstelle Überschrift",
|
||||||
|
"Color": "Farbe",
|
||||||
|
"New_Meal_Type": "Neue Mahlzeit",
|
||||||
|
"Periods": "Zeiträume",
|
||||||
|
"Plan_Show_How_Many_Periods": "Wie viele Zeiträume angezeigt werden",
|
||||||
|
"Starting_Day": "Wochenbeginn am",
|
||||||
|
"Meal_Type": "Mahlzeit",
|
||||||
|
"Meal_Types": "Mahlzeiten",
|
||||||
|
"Export_As_ICal": "Aktuellen Zeitraum im iCal Format exportieren",
|
||||||
|
"Week_Numbers": "Kalenderwochen",
|
||||||
|
"Show_Week_Numbers": "Kalenderwochen anzeigen ?",
|
||||||
|
"Added_To_Shopping_List": "Zur Einkaufsliste hinzugefügt",
|
||||||
|
"Export_To_ICal": "Export als .ics",
|
||||||
|
"Cannot_Add_Notes_To_Shopping": "Notizen können nicht auf die Einkaufsliste gesetzt werden",
|
||||||
|
"Shopping_List_Empty": "Deine Einkaufsliste ist aktuell leer, Einträge können via dem Kontextmenü hinzugefügt werden (Rechtsklick auf einen Eintrag oder Klick auf das Menü-Icon)",
|
||||||
|
"Next_Period": "Zeitraum vor",
|
||||||
|
"Previous_Period": "Zeitraum zurück",
|
||||||
|
"Current_Period": "Aktueller Zeitraum"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -66,6 +66,7 @@
|
|||||||
"Fats": "Fats",
|
"Fats": "Fats",
|
||||||
"Carbohydrates": "Carbohydrates",
|
"Carbohydrates": "Carbohydrates",
|
||||||
"Calories": "Calories",
|
"Calories": "Calories",
|
||||||
|
"Energy": "Energy",
|
||||||
"Nutrition": "Nutrition",
|
"Nutrition": "Nutrition",
|
||||||
"Date": "Date",
|
"Date": "Date",
|
||||||
"Share": "Share",
|
"Share": "Share",
|
||||||
|
|||||||
@@ -36,6 +36,7 @@
|
|||||||
"Fats": "Matières grasses",
|
"Fats": "Matières grasses",
|
||||||
"Carbohydrates": "Glucides",
|
"Carbohydrates": "Glucides",
|
||||||
"Calories": "Calories",
|
"Calories": "Calories",
|
||||||
|
"Energy": "",
|
||||||
"Nutrition": "Informations nutritionnelles",
|
"Nutrition": "Informations nutritionnelles",
|
||||||
"Date": "Date",
|
"Date": "Date",
|
||||||
"Share": "Partager",
|
"Share": "Partager",
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
"Fats": "",
|
"Fats": "",
|
||||||
"Carbohydrates": "",
|
"Carbohydrates": "",
|
||||||
"Calories": "",
|
"Calories": "",
|
||||||
|
"Energy": "",
|
||||||
"Nutrition": "",
|
"Nutrition": "",
|
||||||
"Date": "",
|
"Date": "",
|
||||||
"Share": "",
|
"Share": "",
|
||||||
|
|||||||
@@ -44,6 +44,7 @@
|
|||||||
"Fats": "Grassi",
|
"Fats": "Grassi",
|
||||||
"Carbohydrates": "Carboidrati",
|
"Carbohydrates": "Carboidrati",
|
||||||
"Calories": "Calorie",
|
"Calories": "Calorie",
|
||||||
|
"Energy": "",
|
||||||
"Nutrition": "Nutrienti",
|
"Nutrition": "Nutrienti",
|
||||||
"Date": "Data",
|
"Date": "Data",
|
||||||
"Share": "Condividi",
|
"Share": "Condividi",
|
||||||
@@ -199,5 +200,7 @@
|
|||||||
"Previous_Period": "Periodo precedente",
|
"Previous_Period": "Periodo precedente",
|
||||||
"Current_Period": "Periodo attuale",
|
"Current_Period": "Periodo attuale",
|
||||||
"Next_Day": "Giorno successivo",
|
"Next_Day": "Giorno successivo",
|
||||||
"Previous_Day": "Giorno precedente"
|
"Previous_Day": "Giorno precedente",
|
||||||
|
"Add_nutrition_recipe": "Aggiungi nutrienti alla ricetta",
|
||||||
|
"Remove_nutrition_recipe": "Elimina nutrienti dalla ricetta"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
"Fats": "Vetten",
|
"Fats": "Vetten",
|
||||||
"Carbohydrates": "Koolhydraten",
|
"Carbohydrates": "Koolhydraten",
|
||||||
"Calories": "Calorieën",
|
"Calories": "Calorieën",
|
||||||
|
"Energy": "",
|
||||||
"Nutrition": "Voedingswaarde",
|
"Nutrition": "Voedingswaarde",
|
||||||
"Date": "Datum",
|
"Date": "Datum",
|
||||||
"Share": "Deel",
|
"Share": "Deel",
|
||||||
@@ -201,5 +202,7 @@
|
|||||||
"Current_Period": "Huidige periode",
|
"Current_Period": "Huidige periode",
|
||||||
"Next_Day": "Volgende dag",
|
"Next_Day": "Volgende dag",
|
||||||
"Previous_Day": "Vorige dag",
|
"Previous_Day": "Vorige dag",
|
||||||
"Cannot_Add_Notes_To_Shopping": "Notities kunnen niet aan de boodschappenlijst toegevoegd worden"
|
"Cannot_Add_Notes_To_Shopping": "Notities kunnen niet aan de boodschappenlijst toegevoegd worden",
|
||||||
|
"Remove_nutrition_recipe": "Verwijder voedingswaarde van recept",
|
||||||
|
"Add_nutrition_recipe": "Voeg voedingswaarde toe aan recept"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,6 +61,7 @@
|
|||||||
"Fats": "Tłuszcze",
|
"Fats": "Tłuszcze",
|
||||||
"Carbohydrates": "Węglowodany",
|
"Carbohydrates": "Węglowodany",
|
||||||
"Calories": "Kalorie",
|
"Calories": "Kalorie",
|
||||||
|
"Energy": "",
|
||||||
"Nutrition": "Odżywianie",
|
"Nutrition": "Odżywianie",
|
||||||
"Date": "Data",
|
"Date": "Data",
|
||||||
"Share": "Udostępnij",
|
"Share": "Udostępnij",
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
"Fats": "Жиры",
|
"Fats": "Жиры",
|
||||||
"Carbohydrates": "Углеводы",
|
"Carbohydrates": "Углеводы",
|
||||||
"Calories": "Каллории",
|
"Calories": "Каллории",
|
||||||
|
"Energy": "",
|
||||||
"Nutrition": "Питательность",
|
"Nutrition": "Питательность",
|
||||||
"Date": "Дата",
|
"Date": "Дата",
|
||||||
"Share": "Поделиться",
|
"Share": "Поделиться",
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
"Fats": "Fett",
|
"Fats": "Fett",
|
||||||
"Carbohydrates": "Kolhydrater",
|
"Carbohydrates": "Kolhydrater",
|
||||||
"Calories": "Kalorier",
|
"Calories": "Kalorier",
|
||||||
|
"Energy": "",
|
||||||
"Nutrition": "Näringsinnehåll",
|
"Nutrition": "Näringsinnehåll",
|
||||||
"Date": "Datum",
|
"Date": "Datum",
|
||||||
"Share": "Dela",
|
"Share": "Dela",
|
||||||
|
|||||||
@@ -36,6 +36,7 @@
|
|||||||
"Fats": "脂肪",
|
"Fats": "脂肪",
|
||||||
"Carbohydrates": "碳水化合物",
|
"Carbohydrates": "碳水化合物",
|
||||||
"Calories": "卡路里",
|
"Calories": "卡路里",
|
||||||
|
"Energy": "",
|
||||||
"Nutrition": "营养",
|
"Nutrition": "营养",
|
||||||
"Date": "日期",
|
"Date": "日期",
|
||||||
"Share": "分享",
|
"Share": "分享",
|
||||||
|
|||||||
@@ -36,6 +36,7 @@
|
|||||||
"Fats": "",
|
"Fats": "",
|
||||||
"Carbohydrates": "",
|
"Carbohydrates": "",
|
||||||
"Calories": "",
|
"Calories": "",
|
||||||
|
"Energy": "",
|
||||||
"Nutrition": "",
|
"Nutrition": "",
|
||||||
"Date": "",
|
"Date": "",
|
||||||
"Share": "",
|
"Share": "",
|
||||||
|
|||||||
@@ -156,6 +156,33 @@ export function roundDecimals(num) {
|
|||||||
return +(Math.round(num + `e+${decimals}`) + `e-${decimals}`);
|
return +(Math.round(num + `e+${decimals}`) + `e-${decimals}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const KILOJOULES_PER_CALORIE = 4.18
|
||||||
|
|
||||||
|
export function calculateEnergy(amount, factor) {
|
||||||
|
if (getUserPreference('use_kj')) {
|
||||||
|
let joules = amount * KILOJOULES_PER_CALORIE
|
||||||
|
return calculateAmount(joules, factor) + ' kJ'
|
||||||
|
} else {
|
||||||
|
return calculateAmount(amount, factor) + ' kcal'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export function convertEnergyToCalories(amount) {
|
||||||
|
if (getUserPreference('use_kj')) {
|
||||||
|
return amount / KILOJOULES_PER_CALORIE
|
||||||
|
} else {
|
||||||
|
return amount
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export function energyHeading() {
|
||||||
|
if (getUserPreference('use_kj')) {
|
||||||
|
return 'Energy'
|
||||||
|
} else {
|
||||||
|
return 'Calories'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Utility functions to use OpenAPIs generically
|
* Utility functions to use OpenAPIs generically
|
||||||
* */
|
* */
|
||||||
|
|||||||
Reference in New Issue
Block a user