← Back to team overview

ubuntu-translations-coordinators team mailing list archive

[Bug 1075304] Re: translations are not loarded if hook contains line breaks

 

I generated ecryptfs-utils.mo from the file ja.po.

** Attachment added: "ja.po"
   https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1075304/+attachment/3424946/+files/ja.po

** Also affects: ubuntu-translations
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Translations Coordinators, which is subscribed to Ubuntu Translations.
Matching subscriptions: Ubuntu Translations bug mail
https://bugs.launchpad.net/bugs/1075304

Title:
  translations are not loarded if hook contains line breaks

Status in Ubuntu Translations:
  New
Status in “update-notifier” package in Ubuntu:
  New

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-record-passphrase" file in /var/lib/update-notifier/user.d/
   2. place "ecryptfs-utils.mo" file in /usr/share/locale-langpack/"YOUR_LOCALE"/LC_MESSAGES/
   3. remove ~/.config/update-notifier/hooks_seen and ~/.ecryptfs/.wrapped-passphrase.recorded (with care)
   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
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  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_DIR=<set>
   LANG=ja_JP.UTF-8
   SHELL=/bin/bash
  SourcePackage: update-notifier
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/1075304/+subscriptions