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

Translate few error messages #23

Merged
merged 2 commits into from
May 27, 2022
Merged

Translate few error messages #23

merged 2 commits into from
May 27, 2022

Commits on May 18, 2022

  1. Switch away from 'throw'

    'throw' will raise a synchronous exception which bypasses all the error
    handling based on defer/promises, triggering an "Ooops!" error window of
    cockpit, and leaving an in-progress register dialog.
    
    Instead, use the standard defer/promise error handling done in other
    parts of the registerSystem() function already, so the error message
    will be properly shown as inline error in the register dialog.
    ptoscano committed May 18, 2022
    Configuration menu
    Copy the full SHA
    a6b5fd6 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2022

  1. Reword & translate some error messages

    Reword the text of some untranslated error messages to be more
    "elegant", for example with the proper spelling of "IPv6" & "URL",
    and by removing the ellipsis (which fit "in progress" messages).
    
    Also, use the gettext function to properly translate them.
    
    This fixes the cockpit parts of
    https://bugzilla.redhat.com/show_bug.cgi?id=2076914
    ptoscano committed May 26, 2022
    Configuration menu
    Copy the full SHA
    d3b0b56 View commit details
    Browse the repository at this point in the history