translations are not loaded if hook contains line breaks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Translations |
New
|
Undecided
|
Unassigned | ||
update-notifier (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This issue rises on bug #982924.
if update-notifier hook contains line breaks(.), translations are not loaded.
How to reproduce:
1. place "ecryptfs-
2. place "ecryptfs-utils.mo" file in /usr/share/
3. remove ~/.config/
4. restart update-notifier
Expected result:
All messages in the dialogue are translated.
Actual result:
The description is not translated, but only the title is translated.
with removing line breaks(.) and re-generating .pot and .mo, the issue is not reproducible.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: update-notifier 0.126
ProcVersionSign
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
Date: Tue Nov 6 04:35:23 2012
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-10-03 (33 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20120926)
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=ja_JP.UTF-8
SHELL=/bin/bash
SourcePackage: update-notifier
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- translations are not loarded if hook contains line breaks + translations are not loaded if hook contains line breaks |
I generated ecryptfs-utils.mo from the file ja.po.