Hi!

On Sat, 2026-05-23 at 18:19:14 +0000, Нестор wrote:
> Package: dpkg
> Severity: wishlist
> Tags: l10n patch

> Please find attached a patch with several fixes to the Ukrainian translation
> of dselect. These corrections were found after the initial translation was
> merged upstream.

> From 2da4da8ebb53420215ac35ac59fa486752aa8b2c Mon Sep 17 00:00:00 2001
> From: Andriy Pysyk <[email protected]>
> Date: Sat, 23 May 2026 18:13:31 +0000
> Subject: [PATCH] dselect: Fix several Ukrainian translation issues
> 
> ---
>  dselect/po/uk.po | 30 ++++++++++++++----------------
>  1 file changed, 14 insertions(+), 16 deletions(-)
> 
> diff --git a/dselect/po/uk.po b/dselect/po/uk.po
> index 6117134d6..b351cf47f 100644
> --- a/dselect/po/uk.po
> +++ b/dselect/po/uk.po
> @@ -1,23 +1,21 @@
> -# Translation of dselect to Ukrainian.
> -# Copyright © 1994-2026 Dpkg Developers
> +# SOME DESCRIPTIVE TITLE.
> +# Copyright (C) YEAR Dpkg Developers
>  # This file is distributed under the same license as the dpkg package.
> +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
>  #
> -# Andriy Pysyk <[email protected]>, 2026.
> -#
> +#, fuzzy
>  msgid ""
>  msgstr ""
> -"Project-Id-Version: dselect 1.23.8\n"
> +"Project-Id-Version: dpkg 1.23.7\n"
>  "Report-Msgid-Bugs-To: [email protected]\n"
>  "POT-Creation-Date: 2025-12-20 02:18+0100\n"
> -"PO-Revision-Date: 2026-05-13 04:59+0200\n"
> +"PO-Revision-Date: 2026-03-19 15:54+0000\n"
>  "Last-Translator: Andriy Pysyk <[email protected]>\n"
> -"Language-Team: Ukrainian <[email protected]>\n"
> +"Language-Team: \n"
>  "Language: uk\n"
>  "MIME-Version: 1.0\n"
>  "Content-Type: text/plain; charset=UTF-8\n"
>  "Content-Transfer-Encoding: 8bit\n"
> -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
> -"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
>  "X-Generator: Poedit 3.6\n"

Please try to preserve the file comment header and the first msgid
with the appropriate metadata. Otherwise I need to do that manually
every time. Also please send updates as the entire .po files, so that
possible any changes to the local files do not create merge conflicts.

>  #: dselect/basecmds.cc
> @@ -673,7 +671,7 @@ msgstr "a"
>  
>  #: dselect/main.cc
>  msgid "[A]ccess"
> -msgstr "[A] - доступ"
> +msgstr "[A]ccess"
>  
>  #: dselect/main.cc
>  msgid "Choose the access method to use."
> @@ -685,7 +683,7 @@ msgstr "u"
>  
>  #: dselect/main.cc
>  msgid "[U]pdate"
> -msgstr "[U] - оновити"
> +msgstr "[U]pdate"
>  
>  #: dselect/main.cc
>  msgid "Update list of available packages, if possible."
> @@ -697,7 +695,7 @@ msgstr "s"
>  
>  #: dselect/main.cc
>  msgid "[S]elect"
> -msgstr "[S] - вибрати"
> +msgstr "[S]elect"
>  
>  #: dselect/main.cc
>  msgid "Request which packages you want on your system."
> @@ -709,7 +707,7 @@ msgstr "i"
>  
>  #: dselect/main.cc
>  msgid "[I]nstall"
> -msgstr "[I] - встановити"
> +msgstr "[I]nstall"
>  
>  #: dselect/main.cc
>  msgid "Install and upgrade wanted packages."
> @@ -721,7 +719,7 @@ msgstr "c"
>  
>  #: dselect/main.cc
>  msgid "[C]onfig"
> -msgstr "[C] - налаштувати"
> +msgstr "[C]onfig"
>  
>  #: dselect/main.cc
>  msgid "Configure any packages that are unconfigured."
> @@ -733,7 +731,7 @@ msgstr "r"
>  
>  #: dselect/main.cc
>  msgid "[R]emove"
> -msgstr "[R] - видалити"
> +msgstr "[R]emove"
>  
>  #: dselect/main.cc
>  msgid "Remove unwanted software."
> @@ -745,7 +743,7 @@ msgstr "q"
>  
>  #: dselect/main.cc
>  msgid "[Q]uit"
> -msgstr "[Q] - вийти"
> +msgstr "[Q]uit"
>  
>  #: dselect/main.cc
>  msgid "Quit dselect."

These changes do not seem correct, as they are reverting to an
untranslated string.

The correct way to translate these is to change the shortcut key to
something that makes sense for your language. For example for Catalan
we have the following strings:

  #: dselect/main.cc
  msgid "a"
  msgstr "m"

  #: dselect/main.cc
  msgid "[A]ccess"
  msgstr "[M]ètode"

Thanks,
Guillem

Reply via email to