Comment 7 for bug 554861

Revision history for this message
Bojan Bogdanović (bojce) wrote :

It`s affects on Serbian language:

quickshot@quickshot-computer:~$ quickshot
** (quickshot:6308): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'
** (quickshot:6308): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'
** (quickshot:6308): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
  File "/usr/bin/quickshot", line 673, in <module>
    window = NewQuickshotWindow()
  File "/usr/bin/quickshot", line 636, in NewQuickshotWindow
    window.finish_initializing(builder)
  File "/usr/bin/quickshot", line 140, in finish_initializing
    get("languagelabel").set_text(self.get_active_language()[1])
  File "/usr/bin/quickshot", line 326, in get_active_language
    short_code = locale.getdefaultlocale()[0]
  File "/usr/lib/python2.6/locale.py", line 478, in getdefaultlocale
    return _parse_localename(localename)
  File "/usr/lib/python2.6/locale.py", line 410, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: sr_RS