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

1725525: Better translation of syspurpose; ENT-1680 #2270

Merged
merged 1 commit into from Jun 2, 2020

Commits on Jun 1, 2020

  1. 1725525: Mark one string for translation; ENT-1680

    * BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1725525
    * One string was not marked for localization
    * Many strings had bad ending of function _("string").
      - When the string contains something like this:
        "{attr}".format(attr=some_variable), then the _()
        has to be used like this:
        _("{attr}").format(attr=some_variable)
        and not like this:
        _("{attr}".format(attr=some_variable))
        The second case is wrong, because gettext will try to find
        translation for string that is included in some_variable.
    jirihnidek committed Jun 1, 2020
    Copy the full SHA
    f0f7611 View commit details
    Browse the repository at this point in the history