wrongly shipping /usr/locale/da/LC_MESSAGES/unity-lens-applications.mo

Bug #1702187 reported by Simon Déziel
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
unity-lens-applications (Ubuntu)
Confirmed
Undecided
Unassigned
unity-lens-files (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

unity-lens-applications is apparently wrongly shipping /usr/locale/da/LC_MESSAGES/unity-lens-applications.mo
This is the only translation file (.mo) shipped by unity-lens-applications. It seems that the other translation files are shipped by language-pack-gnome-CC-base where CC correspond to the language. See https://packages.ubuntu.com/search?searchon=contents&keywords=unity-lens-applications.mo&mode=&suite=xenial&arch=any

Additional information:

$ lsb_release -rd
Description: Ubuntu 16.04.2 LTS
Release: 16.04

$ apt-cache policy unity-lens-applications
unity-lens-applications:
  Installed: 7.1.0+16.04.20160701-0ubuntu1
  Candidate: 7.1.0+16.04.20160701-0ubuntu1
  Version table:
 *** 7.1.0+16.04.20160701-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     7.1.0+16.04.20160217.2-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unity-lens-applications 7.1.0+16.04.20160701-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-83.106-generic 4.4.70
Uname: Linux 4.4.0-83-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.1-0ubuntu2.9
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jul 3 18:01:27 2017
InstallationDate: Installed on 2016-12-06 (209 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Beta amd64 (20161206)
SourcePackage: unity-lens-applications
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Simon Déziel (sdeziel) wrote :
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue and help making Ubuntu better.

I can confirm that this fil is still present in unity-lens-applications 7.1.0+16.10.20160927-0ubuntu2 on Ubuntu artful, based on [1]. Interestingly enough, language-pack-gnome-da-base contains a unity-lens-applications.mo file, albeit in a different directory [2].

[1] https://packages.ubuntu.com/artful/amd64/unity-lens-applications/filelist
[2] https://packages.ubuntu.com/artful/all/language-pack-gnome-da-base/filelist

Changed in unity-lens-applications (Ubuntu):
status: New → Confirmed
tags: added: artful yakkety zesty
tags: added: packaging
Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

unity-lens-files 7.1.0+17.10.20170605-0ubuntu1 also suffers from the same problem.

summary: - wrongly shipping da/LC_MESSAGES/unity-lens-applications.mo
+ wrongly shipping /usr/locale/da/LC_MESSAGES/unity-lens-applications.mo
Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

The original report only emphasizes that the relevant file(s) should be shipped by language-pack-whatever instead.

It does not emphasize enough that "/usr/locale" is the wrong place to put it anyway, it should go under "/usr/share/locale". (I've modified the bug title accordingly.)

I don't particularly care about unity-lens-foo not finding the Danish translation. I don't know what this app is and I can't speak Danish :-P

What I do care about, however, is that these misplaced files break my old habit of typing (and pressing the [TAB] key) "cd /usr/lo[TAB]sh[TAB]" to take me to "/usr/local/share". Autocompletion no longer completes to "local/" with the trailing slash since "locale" is another possibility.

Revision history for this message
Simon Déziel (sdeziel) wrote : Re: [Bug 1702187] Re: wrongly shipping /usr/locale/da/LC_MESSAGES/unity-lens-applications.mo

On 2017-09-22 04:28 PM, Egmont Koblinger wrote:
> What I do care about, however, is that these misplaced files break my
> old habit of typing (and pressing the [TAB] key) "cd
> /usr/lo[TAB]sh[TAB]" to take me to "/usr/local/share". Autocompletion no
> longer completes to "local/" with the trailing slash since "locale" is
> another possibility.

You have guessed what lead me to filling that LP ;)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-lens-files (Ubuntu):
status: New → Confirmed
Revision history for this message
Paulo Matias (paulo-matias) wrote :

Still present in bionic.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.