FS#22575 - pacman -Qi has bad output format in portuguese locales
Attached to Project:
Pacman
Opened by M Carreira Silva (mcsilva) - Sunday, 23 January 2011, 23:17 GMT
Last edited by Allan McRae (Allan) - Thursday, 27 November 2014, 05:49 GMT
Opened by M Carreira Silva (mcsilva) - Sunday, 23 January 2011, 23:17 GMT
Last edited by Allan McRae (Allan) - Thursday, 27 November 2014, 05:49 GMT
|
Details
Summary and Info:
When using portuguese language (LOCALE=pt_PT.UTF-8), pacman -Qi package has an output with an ugly format, like this example: # pacman -Qi dbus Nome : dbus Versão : 1.4.1-1 Endereço : http://www.freedesktop.org/Software/dbus Licenças : GPL custom Grupos : Nenhum Fornece : Nenhum Depende de : dbus-core>=1.4.1 libx11 Dep. Opcionais : Nenhum Exigido por : avahi perl-net-dbus qt system-tools-backends Conflitos com : Nenhum Substitui : Nenhum Tamanho Instalado : 112,00 K Empacotador : Jan de Groot <jgc@archlinux.org> Arquitectura : i686 Data da Compilação : Qua 22 Dez 2010 14:39:28 WET Data da Instalação : Dom 02 Jan 2011 16:05:50 WET Motivo da instalação : Instalado como dependência de outro pacote Script de Instalação : Não Descrição : Freedesktop.org message bus system Steps to Reproduce: Not having portuguese locales we have to generate them. Edit /etc/locale.gen, uncomment #pt_PT.UTF-8, #pt_PT ISO-8859-1, #pt_PT@euro ISO-8859-15. Then run locale-gen After locales are created, if we try: # export LANG=pt_PT.UTF-8; pacman -Qi dbus # export LANG=pt_PT; pacman -Qi dbus # export LANG=pt_PT@euro; pacman -Qi dbus # export LANG=C; pacman -Qi dbus all "pt" locales have incorrect tabs between fields like the example above. LANG=C has this output: # export LANG=C; pacman -Qi dbus Name : dbus Version : 1.4.1-1 URL : http://www.freedesktop.org/Software/dbus Licenses : GPL custom Groups : None Provides : None Depends On : dbus-core>=1.4.1 libx11 Optional Deps : None Required By : avahi perl-net-dbus qt system-tools-backends Conflicts With : None Replaces : None Installed Size : 112.00 K Packager : Jan de Groot <jgc@archlinux.org> Architecture : i686 Build Date : Wed Dec 22 14:39:28 2010 Install Date : Sun Jan 2 16:05:50 2011 Install Reason : Installed as a dependency for another package Install Script : No Description : Freedesktop.org message bus system I tested locales fr_FR.UTF-8, es_ES-UTF-8, de_DE.UTF-8, and the output had a proper format like the C locale. |
This task depends upon
Closed by Allan McRae (Allan)
Thursday, 27 November 2014, 05:49 GMT
Reason for closing: Fixed
Additional comments about closing: In transifex
Thursday, 27 November 2014, 05:49 GMT
Reason for closing: Fixed
Additional comments about closing: In transifex
You have to reproduce in your computer to see the real output.
Really, we just need someone to update the translation strings and address spacing issues. Not sure why in updating other things this commit (http://projects.archlinux.org/pacman.git/commit/?id=c2993) broke these.