the theme reads "Europass layout" #23

Open
opened 2026-10-28 15:08:02 +00:00 by tiagoagueda · 0 comments
Owner

Decision (maintainer, 2026-10-28): labels only. The theme's name stays europass, so stored
documents keep their theme; no alias, no data migration. Core's importer is now labelled
"Europass import" (#911); this is the theme's half. Checked against postulo-templates 5c55d4d.

Code

src/postulo_templates/plugin.py

  • line 21, comment:
    • old: #: Who provides these themes, as the picker says it: "Europass, from Postulo Templates".
    • new: #: Who provides these themes, as the picker says it: "Europass layout, from Postulo Templates".
  • line 27, the label (the one string that changes in the catalogue):
    • old: label=_("Europass"),
    • new: label=_("Europass layout"),
    • Suggested comment above it: `# "Europass layout", not plain "Europass": core ships an importer that reads Europass files,

      labelled "Europass import", and the same word for both left people unable to tell them

      apart. The name stays "europass", because stored documents record it (postulo/postulo#911).`

tests/test_europass.py

  • line 116:
    • old: assert ("europass", "Europass, from Postulo Templates") in themes.choices_for(themes.Kind.CV)
    • new: assert ("europass", "Europass layout, from Postulo Templates") in themes.choices_for(themes.Kind.CV)
    • (101 characters at that indentation: wrap it, e.g. bind wanted = ("europass", "Europass layout, from Postulo Templates") first.)

README.md

  • lines 5–6:
    • old: own *Plain* and *Classic*, each named with this plugin as its provider ("Europass, from / Postulo Templates").
    • new: own *Plain* and *Classic*, each named with this plugin as its provider ("Europass layout, from / Postulo Templates").
  • line 32, heading:
    • old: ### Europass
    • new: ### Europass layout
  • The table row at line 30 keeps the code name `europass` (it is the theme's name, which does not change).

Catalogues

New msgid Europass layout replaces Europass in the repository's catalogue; translations through
Weblate only (#706), as in core. The old Europass msgid then goes unused in this repository.

Changelog line (if the repository keeps one)

The Europass theme is labelled Europass layout in the theme picker, so it is no longer mistaken for core's Europass import; its name stays europass, so existing CVs keep their theme. (postulo/postulo#911)

Decision (maintainer, 2026-10-28): labels only. The theme's `name` stays `europass`, so stored documents keep their theme; no alias, no data migration. Core's importer is now labelled "Europass import" (#911); this is the theme's half. Checked against postulo-templates `5c55d4d`. ## Code **`src/postulo_templates/plugin.py`** - line 21, comment: - old: `#: Who provides these themes, as the picker says it: "Europass, from Postulo Templates".` - new: `#: Who provides these themes, as the picker says it: "Europass layout, from Postulo Templates".` - line 27, the label (the one string that changes in the catalogue): - old: ` label=_("Europass"),` - new: ` label=_("Europass layout"),` - Suggested comment above it: `# "Europass layout", not plain "Europass": core ships an importer that reads Europass files, # labelled "Europass import", and the same word for both left people unable to tell them # apart. The name stays "europass", because stored documents record it (postulo/postulo#911).` **`tests/test_europass.py`** - line 116: - old: ` assert ("europass", "Europass, from Postulo Templates") in themes.choices_for(themes.Kind.CV)` - new: ` assert ("europass", "Europass layout, from Postulo Templates") in themes.choices_for(themes.Kind.CV)` - (101 characters at that indentation: wrap it, e.g. bind `wanted = ("europass", "Europass layout, from Postulo Templates")` first.) ## README.md - lines 5–6: - old: `own *Plain* and *Classic*, each named with this plugin as its provider ("Europass, from` / `Postulo Templates").` - new: `own *Plain* and *Classic*, each named with this plugin as its provider ("Europass layout, from` / `Postulo Templates").` - line 32, heading: - old: `### Europass` - new: `### Europass layout` - The table row at line 30 keeps the code name `` `europass` `` (it is the theme's `name`, which does not change). ## Catalogues New msgid `Europass layout` replaces `Europass` in the repository's catalogue; translations through Weblate only (#706), as in core. The old `Europass` msgid then goes unused in this repository. ## Changelog line (if the repository keeps one) `The Europass theme is labelled Europass layout in the theme picker, so it is no longer mistaken for core's Europass import; its name stays europass, so existing CVs keep their theme. (postulo/postulo#911)`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Postulo/postulo-templates#23
No description provided.