From dc1d98b7a287de1075fd0686ef3ae2f0c43a752a Mon Sep 17 00:00:00 2001 From: max/sooulix Date: Thu, 15 Aug 2024 00:58:08 +0200 Subject: [PATCH] [i18n] the titles for the resume template are in the .po files --- messages.pot | 41 ++++++++++++++++++++++++++-- templates/partials/awards.html | 2 +- templates/partials/education.html | 2 +- templates/partials/interests.html | 2 +- templates/partials/languages.html | 2 +- templates/partials/projects.html | 2 +- templates/partials/publications.html | 2 +- templates/partials/references.html | 2 +- templates/partials/skills.html | 2 +- templates/resume.html | 1 - 10 files changed, 46 insertions(+), 12 deletions(-) diff --git a/messages.pot b/messages.pot index 4058bb6..2cb42a2 100644 --- a/messages.pot +++ b/messages.pot @@ -3,11 +3,12 @@ # This file is distributed under the same license as the PROJECT project. # FIRST AUTHOR , 2024. # +#, fuzzy 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 00:56+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -16,8 +17,42 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.16.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 "" + +#: 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 "" +#: templates/partials/education.html:5 +msgid "resume education title" +msgstr "" + +#: templates/partials/interests.html:5 +msgid "resume interest title" +msgstr "" + +#: templates/partials/languages.html:5 +msgid "resume language title" +msgstr "" + +#: templates/partials/projects.html:5 +msgid "resume project title" +msgstr "" + +#: templates/partials/publications.html:5 +msgid "resume publication title" +msgstr "" + +#: templates/partials/references.html:5 +msgid "resume reference title" +msgstr "" + +#: templates/partials/skills.html:5 +msgid "resume skill title" +msgstr "" + diff --git a/templates/partials/awards.html b/templates/partials/awards.html index 0dd7936..75a432c 100644 --- a/templates/partials/awards.html +++ b/templates/partials/awards.html @@ -2,7 +2,7 @@ {% if awards %}
-

{{ language.titles.awards }}

+

{% trans %}resume award title{% endtrans %}

{% for award in awards %} diff --git a/templates/partials/education.html b/templates/partials/education.html index b2766f0..7e6e772 100644 --- a/templates/partials/education.html +++ b/templates/partials/education.html @@ -2,7 +2,7 @@ {% if education %}
-

{{ language.titles.education }} ({{ education | length }})

+

{% trans %}resume education title{% endtrans %} ({{ education | length }})

diff --git a/templates/partials/interests.html b/templates/partials/interests.html index d29f5c6..590b0e2 100644 --- a/templates/partials/interests.html +++ b/templates/partials/interests.html @@ -2,7 +2,7 @@ {% if interests %}
-

{{ language.titles.interests }}

+

{% trans %}resume interest title{% endtrans %}

{% for interest in interests %} diff --git a/templates/partials/languages.html b/templates/partials/languages.html index 06926e0..892684b 100644 --- a/templates/partials/languages.html +++ b/templates/partials/languages.html @@ -2,7 +2,7 @@ {% if languages %}
-

{{ language.titles.languages }}

+

{% trans %}resume language title{% endtrans %}

{% for language in languages %} diff --git a/templates/partials/projects.html b/templates/partials/projects.html index d9094d6..208241e 100644 --- a/templates/partials/projects.html +++ b/templates/partials/projects.html @@ -2,7 +2,7 @@ {% if projects %}
-

{{ language.titles.projects }} ({{ projects | length }})

+

{% trans %}resume project title{% endtrans %} ({{ projects | length }})

{% for project in projects %} diff --git a/templates/partials/publications.html b/templates/partials/publications.html index f458f71..3d0cfbf 100644 --- a/templates/partials/publications.html +++ b/templates/partials/publications.html @@ -2,7 +2,7 @@ {% if publications %}
-

{{ language.titles.publications }}

+

{% trans %}resume publication title{% endtrans %}

{% for publication in publications %} diff --git a/templates/partials/references.html b/templates/partials/references.html index c81f3ea..d78dad3 100644 --- a/templates/partials/references.html +++ b/templates/partials/references.html @@ -2,7 +2,7 @@ {% if references %}
-

{{ language.titles.references }}

+

{% trans %}resume reference title{% endtrans %}

{% for reference in references %} diff --git a/templates/partials/skills.html b/templates/partials/skills.html index 5c519c7..55d6a01 100644 --- a/templates/partials/skills.html +++ b/templates/partials/skills.html @@ -2,7 +2,7 @@ {% if skills %}
-

{{ language.titles.skills }}

+

{% trans %}resume skill title{% endtrans %}

{% for skill in skills %} diff --git a/templates/resume.html b/templates/resume.html index 92a8acb..c79e610 100644 --- a/templates/resume.html +++ b/templates/resume.html @@ -24,7 +24,6 @@ prose-img:rounded-md "> - {% set language = page.language %} {% set utils = page.utils %} {% trans %}Home{% endtrans %}