** Changed in: update-manager (Ubuntu)
Sourcepackagename: update-manager => language-pack-pl

** Summary changed:

- update-manager cannot start
+ [update-manager] wrong translation crashes application

** Summary changed:

- [update-manager] wrong translation crashes application
+ [python2.4] wrong translation crashes application

** Description changed:

+ The translation of the string "%prog [options]" is incorrect.
+ 
  Binary package hint: update-manager
  
  after recent update of edgy, the update-manager is unable to start, in 
console after "sudo update-manager" there is such output:
  Traceback (most recent call last):
    File "/usr/bin/update-manager", line 50, in ?
      parser = OptionParser()
    File "/usr/lib/python2.4/optparse.py", line 1111, in __init__
      self.set_usage(usage)
    File "/usr/lib/python2.4/optparse.py", line 1169, in set_usage
      self.usage = _("%prog [options]")
    File "/usr/lib/python2.4/gettext.py", line 568, in gettext
      return dgettext(_current_domain, message)
    File "/usr/lib/python2.4/gettext.py", line 532, in dgettext
      codeset=_localecodesets.get(domain))
    File "/usr/lib/python2.4/gettext.py", line 480, in translation
      t = _translations.setdefault(key, class_(open(mofile, 'rb')))
    File "/usr/lib/python2.4/gettext.py", line 177, in __init__
      self._parse(fp)
    File "/usr/lib/python2.4/gettext.py", line 302, in _parse
      self.plural = c2py(plural)
    File "/usr/lib/python2.4/gettext.py", line 86, in c2py
      raise ValueError, \
  ValueError: plural forms expression error, maybe unbalanced parenthesis

** Summary changed:

- [python2.4] wrong translation crashes application
+ [update-manager] wrong translation crashes application

** Description changed:

- The translation of the string "%prog [options]" is incorrect.
+ It seems that the translation of one of the command line switches
+ results in an application crash.
  
  Binary package hint: update-manager
  
  after recent update of edgy, the update-manager is unable to start, in 
console after "sudo update-manager" there is such output:
  Traceback (most recent call last):
    File "/usr/bin/update-manager", line 50, in ?
      parser = OptionParser()
    File "/usr/lib/python2.4/optparse.py", line 1111, in __init__
      self.set_usage(usage)
    File "/usr/lib/python2.4/optparse.py", line 1169, in set_usage
      self.usage = _("%prog [options]")
    File "/usr/lib/python2.4/gettext.py", line 568, in gettext
      return dgettext(_current_domain, message)
    File "/usr/lib/python2.4/gettext.py", line 532, in dgettext
      codeset=_localecodesets.get(domain))
    File "/usr/lib/python2.4/gettext.py", line 480, in translation
      t = _translations.setdefault(key, class_(open(mofile, 'rb')))
    File "/usr/lib/python2.4/gettext.py", line 177, in __init__
      self._parse(fp)
    File "/usr/lib/python2.4/gettext.py", line 302, in _parse
      self.plural = c2py(plural)
    File "/usr/lib/python2.4/gettext.py", line 86, in c2py
      raise ValueError, \
  ValueError: plural forms expression error, maybe unbalanced parenthesis

** Description changed:

- It seems that the translation of one of the command line switches
- results in an application crash.
+ It seems that the translation of a plural form is wrong.
+ 
+ Used plural forms in update-manager:
+ 
+ msgid_plural "%d packages are going to be removed."
+ msgid_plural "%d new packages are going to be installed."
+ msgid_plural "%d packages are going to be upgraded."
+ msgid_plural "You can install %s updates"
  
  Binary package hint: update-manager
  
  after recent update of edgy, the update-manager is unable to start, in 
console after "sudo update-manager" there is such output:
  Traceback (most recent call last):
    File "/usr/bin/update-manager", line 50, in ?
      parser = OptionParser()
    File "/usr/lib/python2.4/optparse.py", line 1111, in __init__
      self.set_usage(usage)
    File "/usr/lib/python2.4/optparse.py", line 1169, in set_usage
      self.usage = _("%prog [options]")
    File "/usr/lib/python2.4/gettext.py", line 568, in gettext
      return dgettext(_current_domain, message)
    File "/usr/lib/python2.4/gettext.py", line 532, in dgettext
      codeset=_localecodesets.get(domain))
    File "/usr/lib/python2.4/gettext.py", line 480, in translation
      t = _translations.setdefault(key, class_(open(mofile, 'rb')))
    File "/usr/lib/python2.4/gettext.py", line 177, in __init__
      self._parse(fp)
    File "/usr/lib/python2.4/gettext.py", line 302, in _parse
      self.plural = c2py(plural)
    File "/usr/lib/python2.4/gettext.py", line 86, in c2py
      raise ValueError, \
  ValueError: plural forms expression error, maybe unbalanced parenthesis

-- 
[update-manager] wrong translation crashes application
https://launchpad.net/bugs/63344

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to