Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove .pot Files from the Repository and Always Generate Them #1764

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Oct 8, 2024

  1. Do not depend on the repository's pot file when generating translations

    Currently, dnf5 stores the pot (translation template) file in the dnf5
    repository, as well as in the dnf5-l10n repository. The dnf5-l10n
    repository's pot files are regularly updated by a command from the dnf5
    repository. However, the dnf5 repository's pot file is not updated
    automatically.
    
    While recent commits have updated the pot file in the dnf5 repository
    during the release process, it seems keeping the pot file in
    the repository isn't necessary. We can generate the pot file using
    gettext's xgettext command, and we already have a CMake target
    to generate the pot file.
    
    This commit changes the destination of the pot file generated by the
    xgettext command to the build directory. Removing the pot file from
    the repository will be done in the next commit.
    bc-lee committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    4e0d81a View commit details
    Browse the repository at this point in the history
  2. Remove obsolete .pot files

    bc-lee committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    1f7ed88 View commit details
    Browse the repository at this point in the history
  3. [ci] Do not copy .pot files from the dnf5-l10n repository

    .pot files are no longer stored in the repository.
    bc-lee committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    e65b634 View commit details
    Browse the repository at this point in the history
  4. [ci] Adjust .pot file paths in Weblate sync workflow

    .pot files are now generated in the build directory, not in the
    repository.
    bc-lee committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    fdf37ec View commit details
    Browse the repository at this point in the history