Bug 26578

Summary: Localisation (Swedish) urpme asks to press j or N but do not accept j but J
Product: Mageia Reporter: Morgan Leijström <fri>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED INVALID QA Contact:
Severity: minor    
Priority: Normal Keywords: NEEDINFO
Version: 7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: urpmi-8.118.2-1.mga7.src.rpm CVE:
Status comment:

Description Morgan Leijström 2020-05-01 11:38:31 CEST
Description of problem:
When it asks to press j or N, when i press j it say illegal choice.
"J" is accepted.

Version-Release number of selected component (if applicable):
# urpme --version
urpme v8.118.2


Example:

# urpme dkms-nvidia-current-430.64-8.mga7.nonfree.x86_64
För att tillfredsställa beroenden kommer följande 2 paket att tas bort (235MB):
  dkms-nvidia-current-430.64-8.mga7.nonfree.x86_64
  nvidia-current-cuda-opencl-430.64-8.mga7.nonfree.x86_64
   (på grund av otillräckliga kmod(nvidia-current.ko) == 430.64)
Ta bort 2 paket? (j/N) j             <<<<<<<<<<<<<<< HERE <<<<<<<<<<<<<<<
Felaktigt val, försök igen.
Ta bort 2 paket? (j/N) J
tar bort dkms-nvidia-current-430.64-8.mga7.nonfree.x86_64 nvidia-current-cuda-opencl-430.64-8.mga7.nonfree.x86_64
tar bort paket nvidia-current-cuda-opencl-430.64-8.mga7.nonfree.x86_64
Comment 1 Lewis Smith 2020-05-01 19:17:42 CEST
This looks for you, Thierry.

Assignee: bugsquad => thierry.vignaud

Comment 2 Morgan Leijström 2020-05-21 21:00:48 CEST
I guess the capitalisation is to show what is the default that get chosen by pressing enter?

Suggested fix: accept all: jJnN
Comment 3 Thierry Vignaud 2020-05-22 15:15:20 CEST
That's already the case (and for years):

msgid "Nn"
msgstr "Nn"

msgid "Yy"
msgstr "JjYy"

And both works fine for me:

# (. ~tv/.i18n.sv ; urpme kernel-desktop-5.6.11-1.mga8-1-1.mga8)
För att tillfredsställa beroenden kommer följande 2 paket att tas bort (70MB):
  kernel-desktop-5.6.11-1.mga8-1-1.mga8.x86_64
  virtualbox-kernel-5.6.11-desktop-1.mga8-6.1.6-15.mga8.x86_64
   (för att kernel-desktop-5.6.11-1.mga8 saknas,
    för att kernel-desktop-5.6.11-1.mga8[*] saknas)
Ta bort 2 paket? (j/N) J
tar bort kernel-desktop-5.6.11-1.mga8-1-1.mga8.x86_64 virtualbox-kernel-5.6.11-desktop-1.mga8-6.1.6-15.mga8.x86_64
(…)

# (. ~tv/.i18n.sv ; urpme kernel-desktop-5.6.14-1.mga8-1-1.mga8)
För att tillfredsställa beroenden kommer följande 2 paket att tas bort (71MB):
  kernel-desktop-5.6.14-1.mga8-1-1.mga8.x86_64
  virtualbox-kernel-5.6.14-desktop-1.mga8-6.1.8-4.mga8.x86_64
   (för att kernel-desktop-5.6.14-1.mga8[*] saknas,
    för att kernel-desktop-5.6.14-1.mga8 saknas)
Ta bort 2 paket? (j/N) j
tar bort kernel-desktop-5.6.14-1.mga8-1-1.mga8.x86_64 virtualbox-kernel-5.6.14-desktop-1.mga8-6.1.8-4.mga8.x86_64

(…)

Keywords: (none) => NEEDINFO

Comment 4 Morgan Leijström 2020-05-22 18:08:53 CEST
Heh. I too can not repeat today...
Must have a rouge keyboard on that machine.
Sorry
Thanks for investigating!

Resolution: (none) => INVALID
Status: NEW => RESOLVED