Skip to content

Missing translations for the string "<software> wants permission to update" in SPUInstallerDriver.m #2607

Open
@luc-guyot-infomaniak

Description

@luc-guyot-infomaniak

Summary

The translations of the authorizationPrompt string found in Sparkle/SPUInstallerDriver.m are missing:

    // Changing this authorization prompt is a little complicated because the
    // Auth database retains and caches the right we use, and there isn't a good way
    // of updating the prompt. See code in SUInstallerLauncher.m
    // For this reason, we don't provide localized strings for this prompt yet
    // (and I believe, the authorization framework has a different way of specifying localizations..)
    NSString *authorizationPrompt;
    if ([mainBundleName isEqualToString:hostName]) {
        authorizationPrompt = [NSString stringWithFormat:@"%1$@ wants permission to update.", hostName];
    } else {
        authorizationPrompt = [NSString stringWithFormat:@"%1$@ wants permission to update %2$@.", mainBundleName, hostName];
    }

Example. Missing french translation.

image

Possible Fix

Re-instate former translations or translate the strings with missing translations.

Version

This issue impacts at least 2.6.2 and 2.6.4.

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