A classical music player and organizer. https://musicus.org
Find a file
2025-02-09 10:07:14 +01:00
data Add welcome page and improve generated code 2025-02-09 10:06:39 +01:00
po Add welcome page and improve generated code 2025-02-09 10:06:39 +01:00
src Add welcome page and improve generated code 2025-02-09 10:06:39 +01:00
.gitignore Add /target/ to .gitignore 2025-02-09 10:07:14 +01:00
Cargo.lock Update libadwaita to 1.4 2025-02-09 10:06:39 +01:00
Cargo.toml Update libadwaita to 1.4 2025-02-09 10:06:39 +01:00
COPYING Initial commit 2025-02-09 10:05:00 +01:00
de.johrpan.musicus.json Update flatpak manifest 2025-02-09 10:06:39 +01:00
meson.build Initial commit 2025-02-09 10:05:00 +01:00
README.md Merge hacking into readme 2025-02-09 10:06:39 +01:00

Musicus

The classical music player and organizer.

Hacking

Blueprint files

When adding a new Blueprint file in data/res/, remember to add it to the following file lists:

  • list of bluprint sources in data/res/meson.build
  • list of resources in data/res/musicus.gresource.xml (.blp replaced with .ui)
  • list of translatable files in po/POTFILES

Internationalization

Execute the following commands from the project root directory to update translation files whenever translatable strings have been changed.

  1. Update template.pot

    xgettext \
        --from-code=UTF-8 \
        --add-comments \
        --keyword=_ \
        --keyword=C_:1c,2 \
        --files-from=po/POTFILES \
        --output=po/template.pot
    
  2. Update translation files

    msgmerge \
        --update \
        --backup=off \
        --no-fuzzy-matching \
        po/de.po \
        po/template.pot