-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[public] Add translations to the jinja templates
- Loading branch information
Showing
21 changed files
with
213 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ RUN npm install -g [email protected] | |
|
||
RUN npm i -g npm sass | ||
|
||
RUN pip3 install flask gunicorn | ||
RUN pip3 install flask flask_babel gunicorn | ||
|
||
RUN mkdir -p /work/src && mkdir -p /work/dist/js | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Extraction from Python files | ||
[python: **.py] | ||
|
||
# Extraction from Jinja2 template files | ||
[jinja2: templates/**.jinja2] | ||
encoding = utf-8 | ||
|
||
[jinja2: src/templates/**.html] | ||
encoding = utf-8 | ||
|
||
# [javascript: **.tsx] | ||
# extract_messages = t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# Translations template for PROJECT. | ||
# Copyright (C) 2024 ORGANIZATION | ||
# This file is distributed under the same license as the PROJECT project. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PROJECT VERSION\n" | ||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" | ||
"POT-Creation-Date: 2024-04-28 23:17+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Generated-By: Babel 2.12.1\n" | ||
|
||
#: src/templates/cart.html:4 src/templates/product.html:24 | ||
msgid "Shopping Cart" | ||
msgstr "" | ||
|
||
#: src/templates/cart.html:4 src/templates/history.html:4 | ||
#: src/templates/licenses.html:4 src/templates/login.html:4 | ||
#: src/templates/member.html:4 src/templates/product.html:4 | ||
#: src/templates/receipt.html:4 src/templates/shop.html:4 | ||
msgid "Webshop" | ||
msgstr "" | ||
|
||
#: src/templates/courses.html:4 | ||
msgid "Courses" | ||
msgstr "" | ||
|
||
#: src/templates/history.html:4 | ||
msgid "Purchase History" | ||
msgstr "" | ||
|
||
#: src/templates/licenses.html:4 | ||
msgid "Licenses and discounts" | ||
msgstr "" | ||
|
||
#: src/templates/member.html:4 | ||
msgid "Members Page" | ||
msgstr "" | ||
|
||
#: src/templates/payment_form.html:2 | ||
msgid "Pay with bank card via Stripe" | ||
msgstr "" | ||
|
||
#: src/templates/payment_form.html:21 | ||
msgid "Pay" | ||
msgstr "" | ||
|
||
#: src/templates/product.html:21 | ||
msgid "Back" | ||
msgstr "" | ||
|
||
#: src/templates/register.html:4 | ||
msgid "Become a Member" | ||
msgstr "" | ||
|
||
#: src/templates/reset_password.html:4 | ||
msgid "Recover Password" | ||
msgstr "" | ||
|
||
#: src/templates/statistics.html:4 | ||
msgid "Statistics" | ||
msgstr "" | ||
|
||
#: src/templates/statistics.html:22 | ||
msgid "Statistics for the makerspace" | ||
msgstr "" | ||
|
||
#: src/templates/quiz/questions.html:4 src/templates/quiz/quiz.html:4 | ||
msgid "Quiz" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# Translations template for PROJECT. | ||
# Copyright (C) 2024 ORGANIZATION | ||
# This file is distributed under the same license as the PROJECT project. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024. | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PROJECT VERSION\n" | ||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" | ||
"POT-Creation-Date: 2024-04-28 23:15+0200\n" | ||
"PO-Revision-Date: 2024-04-28 23:17+0200\n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"Language: sv\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Generated-By: Babel 2.12.1\n" | ||
"X-Generator: Poedit 3.4\n" | ||
|
||
#: src/templates/cart.html:4 src/templates/product.html:24 | ||
msgid "Shopping Cart" | ||
msgstr "Kundvagn" | ||
|
||
#: src/templates/cart.html:4 src/templates/history.html:4 | ||
#: src/templates/licenses.html:4 src/templates/login.html:4 | ||
#: src/templates/member.html:4 src/templates/product.html:4 | ||
#: src/templates/receipt.html:4 src/templates/shop.html:4 | ||
msgid "Webshop" | ||
msgstr "Webshop" | ||
|
||
#: src/templates/courses.html:4 | ||
msgid "Courses" | ||
msgstr "Kurser" | ||
|
||
#: src/templates/history.html:4 | ||
msgid "Purchase History" | ||
msgstr "Köphistorik" | ||
|
||
#: src/templates/licenses.html:4 | ||
msgid "Licenses and discounts" | ||
msgstr "Licenser och Rabatter" | ||
|
||
#: src/templates/member.html:4 | ||
msgid "Members Page" | ||
msgstr "Medlemssidor" | ||
|
||
#: src/templates/payment_form.html:2 | ||
msgid "Pay with bank card via Stripe" | ||
msgstr "Betala med kort via Stripe" | ||
|
||
#: src/templates/payment_form.html:21 | ||
msgid "Pay" | ||
msgstr "Betala" | ||
|
||
#: src/templates/product.html:21 | ||
msgid "Back" | ||
msgstr "Tillbaka" | ||
|
||
#: src/templates/register.html:4 | ||
msgid "Become a member" | ||
msgstr "Bli Medlem" | ||
|
||
#: src/templates/reset_password.html:4 | ||
msgid "Recover Password" | ||
msgstr "Återställ Lösenord" | ||
|
||
#: src/templates/statistics.html:4 | ||
msgid "Statistics" | ||
msgstr "Statistik" | ||
|
||
#: src/templates/statistics.html:22 | ||
msgid "Statistics for the makerspace" | ||
msgstr "Statistik för Stockholm Makerspace" | ||
|
||
#: src/templates/quiz/questions.html:4 src/templates/quiz/quiz.html:4 | ||
msgid "Quiz" | ||
msgstr "Quiz" |