diff --git a/messages.pot b/messages.pot index 2cb42a2..bf2bce9 100644 --- a/messages.pot +++ b/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2024-08-15 00:56+0200\n" +"POT-Creation-Date: 2024-08-15 02:08+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -40,6 +40,22 @@ msgstr "" msgid "resume language title" msgstr "" +#: templates/partials/languages.html:20 +msgid "language level native" +msgstr "" + +#: templates/partials/languages.html:22 +msgid "language level fluent" +msgstr "" + +#: templates/partials/languages.html:24 +msgid "language level elementary" +msgstr "" + +#: templates/partials/languages.html:26 +msgid "language level notions" +msgstr "" + #: templates/partials/projects.html:5 msgid "resume project title" msgstr "" @@ -56,3 +72,7 @@ msgstr "" msgid "resume skill title" msgstr "" +#: templates/partials/work.html:5 +msgid "resume work title" +msgstr "" + diff --git a/static/css/resume.css b/static/css/resume.css index 2d5f0a1..9735364 100644 --- a/static/css/resume.css +++ b/static/css/resume.css @@ -232,7 +232,12 @@ section .location { height: 5px; } -.level.beginner .bar::after { +.level.notions .bar::after { + background: #eb5f51; + width: 2.5em; +} + +.level.elementary .bar::after { background: #eb5f51; width: 2.5em; } @@ -249,7 +254,7 @@ section .location { } .level.master .bar::after, -.level.native.speaker .bar::after { +.level.native .bar::after { background: #59c596; width: 10em; } diff --git a/templates/partials/languages.html b/templates/partials/languages.html index 892684b..7e17917 100644 --- a/templates/partials/languages.html +++ b/templates/partials/languages.html @@ -14,14 +14,20 @@ {% endif %}
{% if language.fluency %} -
- {% if language.fluencyDisplay %} - {{ language.fluencyDisplay }} - {% else %} - {{ language.fluency }} - {% endif %} -
-
+
+ + {% if language.fluency == "native" %} + {% trans %}language level native{% endtrans %} + {% elif language.fluency == "fluent" %} + {% trans %}language level fluent{% endtrans %} + {% elif language.fluency == "elementary" %} + {% trans %}language level elementary{% endtrans %} + {% elif language.fluency == "notions" %} + {% trans %}language level notions{% endtrans %} + {% endif %} + +
+
{% endif %}
diff --git a/templates/resume.html b/templates/resume.html index c79e610..5697c98 100644 --- a/templates/resume.html +++ b/templates/resume.html @@ -25,7 +25,6 @@ "> {% set utils = page.utils %} - {% trans %}Home{% endtrans %} {% include 'partials/basics.html' %} {% include 'partials/skills.html' %} diff --git a/translations/en/LC_MESSAGES/messages.mo b/translations/en/LC_MESSAGES/messages.mo index e02ff4c..40b7c69 100644 Binary files a/translations/en/LC_MESSAGES/messages.mo and b/translations/en/LC_MESSAGES/messages.mo differ diff --git a/translations/en/LC_MESSAGES/messages.po b/translations/en/LC_MESSAGES/messages.po index 6a5d30d..ef3ea22 100644 --- a/translations/en/LC_MESSAGES/messages.po +++ b/translations/en/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2024-08-14 18:16+0200\n" +"POT-Creation-Date: 2024-08-15 02:08+0200\n" "PO-Revision-Date: 2024-08-14 18:17+0200\n" "Last-Translator: FULL NAME \n" "Language: en\n" @@ -18,8 +18,68 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.15.0\n" -#: templates/base.html:91 templates/base.html:127 templates/base.html:159 -#: templates/base.html:183 -msgid "Home" -msgstr "coucou" +#: templates/partials/awards.html:5 +msgid "resume award title" +msgstr "Awards" + +#: templates/partials/breadcrumbs.html:12 +#: templates/partials/breadcrumbs.html:48 +#: templates/partials/breadcrumbs.html:80 +#: templates/partials/breadcrumbs.html:104 templates/resume.html:28 +msgid "Home" +msgstr "Home" + +#: templates/partials/education.html:5 +msgid "resume education title" +msgstr "Education" + +#: templates/partials/interests.html:5 +msgid "resume interest title" +msgstr "Interests" + +#: templates/partials/languages.html:5 +msgid "resume language title" +msgstr "Languages" + +#: templates/partials/languages.html:20 +msgid "language level native" +msgstr "Native speaker" + +#: templates/partials/languages.html:22 +msgid "language level fluent" +msgstr "Fluent" + +#: templates/partials/languages.html:24 +msgid "language level elementary" +msgstr "Elementary" + +#: templates/partials/languages.html:26 +msgid "language level notions" +msgstr "Beginner" + +#: templates/partials/projects.html:5 +msgid "resume project title" +msgstr "Projects" + +#: templates/partials/publications.html:5 +msgid "resume publication title" +msgstr "Publications" + +#: templates/partials/references.html:5 +msgid "resume reference title" +msgstr "References" + +#: templates/partials/skills.html:5 +msgid "resume skill title" +msgstr "Skills" + +#: templates/partials/work.html:5 +msgid "resume work title" +msgstr "Professional experience" + +#~ msgid "language elementary" +#~ msgstr "Elementary" + +#~ msgid "language level can speak and understand" +#~ msgstr "Native speaker" diff --git a/translations/fr/LC_MESSAGES/messages.mo b/translations/fr/LC_MESSAGES/messages.mo index 4cfcdbc..fafc197 100644 Binary files a/translations/fr/LC_MESSAGES/messages.mo and b/translations/fr/LC_MESSAGES/messages.mo differ diff --git a/translations/fr/LC_MESSAGES/messages.po b/translations/fr/LC_MESSAGES/messages.po index 2d2d564..7997bd5 100644 --- a/translations/fr/LC_MESSAGES/messages.po +++ b/translations/fr/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2024-08-14 18:16+0200\n" +"POT-Creation-Date: 2024-08-15 02:08+0200\n" "PO-Revision-Date: 2024-08-14 18:17+0200\n" "Last-Translator: FULL NAME \n" "Language: fr\n" @@ -18,8 +18,69 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.15.0\n" -#: templates/base.html:91 templates/base.html:127 templates/base.html:159 -#: templates/base.html:183 +#: templates/partials/awards.html:5 +msgid "resume award title" +msgstr "Prix" + +#: templates/partials/breadcrumbs.html:12 +#: templates/partials/breadcrumbs.html:48 +#: templates/partials/breadcrumbs.html:80 +#: templates/partials/breadcrumbs.html:104 templates/resume.html:28 msgid "Home" msgstr "Accueil" +#: templates/partials/education.html:5 +msgid "resume education title" +msgstr "Cursus" + +#: templates/partials/interests.html:5 +msgid "resume interest title" +msgstr "Intérêts" + +#: templates/partials/languages.html:5 +msgid "resume language title" +msgstr "Langues" + +#: templates/partials/languages.html:20 +msgid "language level native" +msgstr "Langue maternelle" + +#: templates/partials/languages.html:22 +msgid "language level fluent" +msgstr "Courant" + +#: templates/partials/languages.html:24 +#, fuzzy +msgid "language level elementary" +msgstr "Courant" + +#: templates/partials/languages.html:26 +msgid "language level notions" +msgstr "Débutant" + +#: templates/partials/projects.html:5 +msgid "resume project title" +msgstr "Projets" + +#: templates/partials/publications.html:5 +msgid "resume publication title" +msgstr "Publications" + +#: templates/partials/references.html:5 +msgid "resume reference title" +msgstr "Références" + +#: templates/partials/skills.html:5 +msgid "resume skill title" +msgstr "Compétences" + +#: templates/partials/work.html:5 +msgid "resume work title" +msgstr "Expérience Professionnelle" + +#~ msgid "language level elementary" +#~ msgstr "Élémentaire" + +#~ msgid "language level can speak and understand" +#~ msgstr "Langue maternelle" +