• Ell's avatar
    app: split sanity check into early/late stages, to fix gegl translation · d37fb8aa
    Ell authored
    The GEGL ops sanity check causes all ops to be initialized.  The
    strings used by their properties will pick the translation selected
    at the time of the check.  It must therefore run after language
    intiailization, otherwise the selected translation would correspond
    to the system locale, even if the user selected a different language
    in the preferences.
    
    Split the sanity check into early and late stages.  The early stage
    is run before the call to app_run(), as it did before, while the
    late stage is run during app_run(), after the configuration has been
    loaded.  Currently, the GEGL ops check is the only late-stage check;
    all other checks are performed during the early stage.
    d37fb8aa
app.c 10.7 KB