removes some fixmes, mark some strings for transatlion
This commit is contained in:
parent
c522dcedbb
commit
2e26d5ee28
|
@ -159,10 +159,8 @@ class FileTransfersWindow:
|
||||||
file_props['tt_account'], jid).name
|
file_props['tt_account'], jid).name
|
||||||
recipient = gtkgui_helpers.escape_for_pango_markup(receiver_name)
|
recipient = gtkgui_helpers.escape_for_pango_markup(receiver_name)
|
||||||
else:
|
else:
|
||||||
if float(gajim.version) > 0.8:
|
#You is a reply of who received a file
|
||||||
recipient = 'You' # FIXME _(gettext this)
|
recipient = ('You')
|
||||||
else:
|
|
||||||
recipient = file_props['tt_account']
|
|
||||||
sectext += recipient
|
sectext += recipient
|
||||||
if file_props['type'] == 'r':
|
if file_props['type'] == 'r':
|
||||||
(path, file) = os.path.split(file_props['file-name'])
|
(path, file) = os.path.split(file_props['file-name'])
|
||||||
|
|
|
@ -957,7 +957,7 @@ class RosterWindow:
|
||||||
model = self.tree.get_model()
|
model = self.tree.get_model()
|
||||||
account = model[iter][3]
|
account = model[iter][3]
|
||||||
|
|
||||||
#FIXME: made this menu insensitive if we're offline
|
#FIXME: make most menuitems of this menu insensitive if account is offline
|
||||||
|
|
||||||
# we have to create our own set of icons for the menu
|
# we have to create our own set of icons for the menu
|
||||||
# using self.jabber_status_images is poopoo
|
# using self.jabber_status_images is poopoo
|
||||||
|
|
|
@ -286,15 +286,15 @@ class SystrayWin32(systray.Systray):
|
||||||
nb += self.plugin.windows[acct][kind][jid].nb_unread[jid]
|
nb += self.plugin.windows[acct][kind][jid].nb_unread[jid]
|
||||||
|
|
||||||
#FIXME: prepare me for transltaion (ngeetext() and all) for 0.9
|
#FIXME: prepare me for transltaion (ngeetext() and all) for 0.9
|
||||||
if nb > 1:
|
if nb > 0:
|
||||||
text = 'Gajim - %s unread messages' % nb
|
text = i18n.ngettext(
|
||||||
elif nb == 1:
|
'Gajim - one unread message',
|
||||||
text = 'Gajim - 1 unread message'
|
'Gajim - %d unread messages',
|
||||||
|
nb, None, nb)
|
||||||
else:
|
else:
|
||||||
text = 'Gajim'
|
text = 'Gajim'
|
||||||
self.systray_winapi.notify_icon.set_tooltip(text)
|
self.systray_winapi.notify_icon.set_tooltip(text)
|
||||||
|
|
||||||
|
|
||||||
def set_img(self):
|
def set_img(self):
|
||||||
self.systray_winapi.remove_notify_icon()
|
self.systray_winapi.remove_notify_icon()
|
||||||
if len(self.jids) > 0:
|
if len(self.jids) > 0:
|
||||||
|
|
Loading…
Reference in New Issue