removes some fixmes, mark some strings for transatlion

This commit is contained in:
Nikos Kouremenos 2005-08-24 12:47:09 +00:00
parent c522dcedbb
commit 2e26d5ee28
3 changed files with 8 additions and 10 deletions

View File

@ -159,10 +159,8 @@ class FileTransfersWindow:
file_props['tt_account'], jid).name
recipient = gtkgui_helpers.escape_for_pango_markup(receiver_name)
else:
if float(gajim.version) > 0.8:
recipient = 'You' # FIXME _(gettext this)
else:
recipient = file_props['tt_account']
#You is a reply of who received a file
recipient = ('You')
sectext += recipient
if file_props['type'] == 'r':
(path, file) = os.path.split(file_props['file-name'])

View File

@ -957,7 +957,7 @@ class RosterWindow:
model = self.tree.get_model()
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
# using self.jabber_status_images is poopoo

View File

@ -286,15 +286,15 @@ class SystrayWin32(systray.Systray):
nb += self.plugin.windows[acct][kind][jid].nb_unread[jid]
#FIXME: prepare me for transltaion (ngeetext() and all) for 0.9
if nb > 1:
text = 'Gajim - %s unread messages' % nb
elif nb == 1:
text = 'Gajim - 1 unread message'
if nb > 0:
text = i18n.ngettext(
'Gajim - one unread message',
'Gajim - %d unread messages',
nb, None, nb)
else:
text = 'Gajim'
self.systray_winapi.notify_icon.set_tooltip(text)
def set_img(self):
self.systray_winapi.remove_notify_icon()
if len(self.jids) > 0: