]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix format errors in Swedish localization.
authorMichael R Sweet <msweet@msweet.org>
Thu, 13 Nov 2025 16:52:28 +0000 (11:52 -0500)
committerMichael R Sweet <msweet@msweet.org>
Thu, 13 Nov 2025 16:52:28 +0000 (11:52 -0500)
Report WARNING when we don't have a complete localization.

locale/checkpo.c
locale/cups_sv.po

index 4dee78e02acf3b4fabdf28d72299757fc605a260..4616e86cab994b4bd78bbadd5a15b8241e0bb2cd 100644 (file)
@@ -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)
index 314a97523daf3ac8ecf008b190cc8482ab8f2ae6..cf1894d73e7d07e31cf4c6613be872386cee6503 100644 (file)
@@ -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"