Skip to content

Expose the :report_warning and :ignore_fuzzy options #51

@DavidS

Description

@DavidS

While gettext's warnings about fuzzy, and obsolete messages are very useful in development, in production they are annoying at best, and outright harmful at worst, when they unexpectedly interfere with output piping (see last sentence in puppetlabs/pdk@283f021 commit message).

It would be preferable to have GettextSetup have the defaults be quiet, allow the caller to set those two options, or provide a way to have them setup dependent on environment.

See

FastGettext.add_text_domain('master_domain', type: :chain, chain: @translation_repositories.values)
and https://lingohub.com/blog/2013/08/ruby-gettext-internationalization-tutorial-fest-gettext-gem/ for reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions