translate status messages too

This commit is contained in:
Yann Leboulanger 2005-05-21 16:01:52 +00:00
parent 6655267d65
commit d94941015d
2 changed files with 13 additions and 10 deletions

View File

@ -20,6 +20,8 @@
import sre
import copy
from common import i18n
_ = i18n._
OPT_TYPE = 0
OPT_VAL = 1
@ -192,12 +194,12 @@ class Config:
}
statusmsg_default = {
'Nap': 'I\'m taking a nap.',
'Brb': 'Back in some minutes.',
'Eating': 'I\'m eating, so leave me a message.',
'Movie' : 'I\'m watching a movie.' ,
'Working': 'I\'m working.',
'Phone': 'I\'m on the phone.',
_('Nap'): _('I\'m taking a nap.'),
_('Brb'): _('Back in some minutes.'),
_('Eating'): _('I\'m eating, so leave me a message.'),
_('Movie'): _('I\'m watching a movie.'),
_('Working'): _('I\'m working.'),
_('Phone'): _('I\'m on the phone.'),
}
soundevents_default = {

View File

@ -30,13 +30,9 @@ import gobject
import os
import sre
import signal
import common.sleepy
import check_for_new_version
import sys
import getopt
from common import gajim
from common import connection
from common import i18n
i18n.init()
_ = i18n._
@ -44,6 +40,11 @@ APP = i18n.APP
gtk.glade.bindtextdomain(APP, i18n.DIR)
gtk.glade.textdomain(APP)
import common.sleepy
import check_for_new_version
from common import gajim
from common import connection
from common import optparser
profile = ''