diff --git a/messages.pot b/messages.pot index e99e58b..0c8e561 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 05:37+0200\n" +"POT-Creation-Date: 2024-08-15 05:58+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -100,6 +100,10 @@ msgstr "" msgid "resume volunteer title" msgstr "" +#: templates/partials/volunteer.html:39 templates/partials/work.html:34 +msgid "resume present phrase" +msgstr "" + #: templates/partials/work.html:5 msgid "resume work title" msgstr "" diff --git a/templates/partials/basics.html b/templates/partials/basics.html index 20e63c5..292f369 100644 --- a/templates/partials/basics.html +++ b/templates/partials/basics.html @@ -16,12 +16,6 @@ {% if basics.location %} - {% if basics.location.address %} - {{ basics.location.address }}, - {% endif %} - {% if basics.location.postalCode %} - {{ basics.location.postalCode }}, - {% endif %} {% if basics.location.city %} {{ basics.location.city }}, {% endif %} diff --git a/templates/partials/volunteer.html b/templates/partials/volunteer.html index 330e1ac..32cca46 100644 --- a/templates/partials/volunteer.html +++ b/templates/partials/volunteer.html @@ -19,74 +19,73 @@ {% endif %}
-
+
{% if volunteer_item.position %} -
- {{ volunteer_item.position }} -
+
+ {{ volunteer_item.position }} +
{% endif %} -
- {{ volunteer_item.organization }} +
+ {% if volunteer_item.startDate %} + {{ utils.format_date_short(volunteer_item.startDate) }} + {% endif %} + {% if not utils.isinfinite(volunteer_item.endDate) %} + - {{ utils.format_date_short(volunteer_item.endDate) }} + {% else %} + - {% trans %}resume present phrase{% endtrans %} + {% endif %}
-
- {% if volunteer_item.startDate %} - - {{ volunteer_item.startDate }} - - {% endif %} - {% if volunteer_item.endDate %} - - - {{ volunteer_item.endDate }} - - {% else %} - - - {{ language.phrases.present }} - +
+ + {{ volunteer_item.organization }} + {% if volunteer_item.url %} + + + (website) + + {% endif %}
+
{% endif %} - {% if volunteer_item.url %} - - {% endif %} + {% if volunteer_item.location %} - - - {% if volunteer_item.city %} - - {{ volunteer_item.city }}, - - {% endif %} - {% if volunteer_item.countryCode %} - - ({{ volunteer_item.countryCode }}) - - {% endif %} - {% if volunteer_item.region %} - - {{ volunteer_item.region }} - - {% endif %} - + + + {% if volunteer_item.city %} + + {{ volunteer_item.city }}, + + {% endif %} + {% if volunteer_item.countryCode %} + + ({{ volunteer_item.countryCode }}) + + {% endif %} + {% if volunteer_item.region %} + + {{ volunteer_item.region }} + + {% endif %} + {% endif %} {% if volunteer_item.keywords %} -
    - {% for keyword in volunteer_item.keywords %} -
  • {{ keyword }}
  • - {% endfor %} -
+
    + {% for keyword in volunteer_item.keywords %} +
  • {{ keyword }}
  • + {% endfor %} +
{% endif %}
{% if volunteer_item.summary %}
{{ volunteer_item.summary | replace("\r\n", "
") | replace("\n", "
") | replace("\r", "
") }}
{% endif %} {% if volunteer_item.highlights %} -
    +
      {% for highlight in volunteer_item.highlights %} -
    • {{ highlight | replace("\r\n", "
      ") | replace("\n", "
      ") | replace("\r", "
      ") }}
    • +
    • {{ highlight | replace("\r\n", "
      ") | replace("\n", "
      ") | replace("\r", "
      ") }}
    • {% endfor %}
    {% endif %} diff --git a/templates/partials/work.html b/templates/partials/work.html index f509aa5..9ca5f05 100644 --- a/templates/partials/work.html +++ b/templates/partials/work.html @@ -26,18 +26,18 @@ {% endif %}
    {% if work_item.startDate %} - {{ utils.format_date_short(work_item.startDate) }} + {{ utils.format_date_short(work_item.startDate) }} {% endif %} {% if not utils.isinfinite(work_item.endDate) %} - - {{ utils.format_date_short(work_item.endDate) }} + - {{ utils.format_date_short(work_item.endDate) }} {% else %} - - {{ language.phrases.present }} + - {% trans %}resume present phrase{% endtrans %} {% endif %}
- + {{ work_item.name }} {% if work_item.url %} diff --git a/translations/en/LC_MESSAGES/messages.mo b/translations/en/LC_MESSAGES/messages.mo index 0f96f81..acff6f1 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 b2d6acd..7ccbd75 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-15 05:37+0200\n" +"POT-Creation-Date: 2024-08-15 05:58+0200\n" "PO-Revision-Date: 2024-08-14 18:17+0200\n" "Last-Translator: FULL NAME \n" "Language: en\n" @@ -101,6 +101,10 @@ msgstr "Beginner" msgid "resume volunteer title" msgstr "Volunteer" +#: templates/partials/volunteer.html:39 templates/partials/work.html:34 +msgid "resume present phrase" +msgstr "Now" + #: templates/partials/work.html:5 msgid "resume work title" msgstr "Professional experience" diff --git a/translations/fr/LC_MESSAGES/messages.mo b/translations/fr/LC_MESSAGES/messages.mo index f35c4f5..833a7ab 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 fd6268d..40c849e 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-15 05:37+0200\n" +"POT-Creation-Date: 2024-08-15 05:58+0200\n" "PO-Revision-Date: 2024-08-14 18:17+0200\n" "Last-Translator: FULL NAME \n" "Language: fr\n" @@ -101,6 +101,10 @@ msgstr "Débutant" msgid "resume volunteer title" msgstr "Bénévolat" +#: templates/partials/volunteer.html:39 templates/partials/work.html:34 +msgid "resume present phrase" +msgstr "Présent" + #: templates/partials/work.html:5 msgid "resume work title" msgstr "Expérience Professionnelle"