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

New pot_extrator method to i18n module #13900

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Nov 12, 2024

  1. fixes for mypy

    bruchar1 committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    e1308dd View commit details
    Browse the repository at this point in the history
  2. New pot_extrator method to i18n module

    This method return a PotExtractor object used to extract translatable
    string from source files into a .pot translation template.
    
    It differs from a plain CustomTarget in three ways:
    - It accepts build targets as sources, and automatically resolves source
      files from those build targets;
    - It detects command lines that are too long, and writes, at config
      time, the list of source files into a text file to be consumed by the
      xgettext command;
    - It detects dependencies between pot extraction targets, based on the
      dependencies between source targets.
    bruchar1 committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    4f5283b View commit details
    Browse the repository at this point in the history