From: Michael R Sweet Date: Thu, 13 Nov 2025 16:52:28 +0000 (-0500) Subject: Fix format errors in Swedish localization. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc3bda1acd999732641a15f1b22d1f5d3551c2b0;p=thirdparty%2Fcups.git Fix format errors in Swedish localization. Report WARNING when we don't have a complete localization. --- diff --git a/locale/checkpo.c b/locale/checkpo.c index 4dee78e02a..4616e86cab 100644 --- a/locale/checkpo.c +++ b/locale/checkpo.c @@ -2,11 +2,12 @@ * Verify that translations in the .po file have the same number and type of * printf-style format strings. * - * Copyright © 2020-2024 by OpenPrinting. + * Copyright © 2020-2025 by OpenPrinting. * Copyright © 2007-2017 by Apple Inc. * Copyright © 1997-2007 by Easy Software Products, all rights reserved. * - * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. * * Usage: * @@ -270,9 +271,13 @@ main(int argc, /* I - Number of command-line args */ printf(" Too many untranslated messages (%d of %d or %.1f%% are translated)\n", count - untranslated, count, 100.0 - 100.0 * untranslated / count); } else if (untranslated > 0) - printf("PASS (%d of %d or %.1f%% are translated)\n", count - untranslated, count, 100.0 - 100.0 * untranslated / count); + { + printf("WARNING (%d of %d or %.1f%% are translated)\n", count - untranslated, count, 100.0 - 100.0 * untranslated / count); + } else + { puts("PASS"); + } } if (!pass) diff --git a/locale/cups_sv.po b/locale/cups_sv.po index 314a97523d..cf1894d73e 100644 --- a/locale/cups_sv.po +++ b/locale/cups_sv.po @@ -1489,7 +1489,7 @@ msgstr "%s: Åtgärd misslyckades: %s" #, fuzzy, c-format msgid "%s: Scheduler is not running." -msgstr "schemaläggare körs inte" +msgstr "%s: schemaläggare körs inte" #, c-format msgid "%s: Unable to connect to server." @@ -5218,7 +5218,7 @@ msgstr "Kam inte konfigurera skrivaralternativ." #, fuzzy, c-format msgid "Unable to connect to %s:%d: %s" -msgstr "%s: Kan inte ansluta till \"%s:%d\": %s" +msgstr "Kan inte ansluta till %s:%d: %s" msgid "Unable to connect to host." msgstr "Kan inte ansluta till värd." @@ -5232,11 +5232,11 @@ msgstr "Kan inte kopiera PPD-fil - %s" #, fuzzy, c-format msgid "Unable to create PPD for printer: %s" -msgstr "%s: Kan inte skapa PPD-fil: %s" +msgstr "Kan inte skapa PPD-fil: %s" #, fuzzy, c-format msgid "Unable to create PPD: %s" -msgstr "%s: Kan inte skapa PPD-fil: %s" +msgstr "Kan inte skapa PPD-fil: %s" #, fuzzy msgid "Unable to create X.509 certificate signing request." @@ -5389,7 +5389,7 @@ msgstr "" #, fuzzy, c-format msgid "Unable to read generated PPD: %s" -msgstr "%s: Kan inte skapa PPD-fil: %s" +msgstr "Kan inte skapa PPD-fil: %s" msgid "Unable to read print data." msgstr "Kan inte läsa utskriftsdata." @@ -5409,15 +5409,15 @@ msgstr "Kan inte slå upp skrivar-uri." #, fuzzy, c-format msgid "Unable to run cups-driverd: %s" -msgstr "%s: Kan inte kommunicera med skrivare: %s" +msgstr "Kan inte kommunicera med skrivare: %s" #, fuzzy, c-format msgid "Unable to save PPD file: %s" -msgstr "%s: Kan inte skapa PPD-fil: %s" +msgstr "Kan inte skapa PPD-fil: %s" #, fuzzy, c-format msgid "Unable to save value for \"%s\" with a temporary printer." -msgstr "Kan inte skicka data till skrivare." +msgstr "Kan inte skicka data \"%s\" till skrivare." msgid "Unable to see in file" msgstr "Kan inte se i fil" @@ -7791,7 +7791,7 @@ msgstr "ipptool: URI krävs innan testfil." #, fuzzy, c-format msgid "ipptool: Unable to allocate memory: %s" -msgstr "Kan inte allokera minne för skrivare" +msgstr "ipptool: Kan inte allokera minne för skrivare: %s" #. TRANSLATORS: Job Account ID msgid "job-account-id"