using comments and Q_() for make disctioning of None and Unknown strings. this breaks strings freeze but I hope it is for the good and I hope it is the last time [sorry ppl]

This commit is contained in:
Nikos Kouremenos 2005-08-12 22:32:35 +00:00
parent fb2053ecd9
commit e641745500
14 changed files with 3365 additions and 3131 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -24,6 +24,7 @@ import gajim
from common import i18n
_ = i18n._
Q_ = i18n.Q_
def convert_bytes(string):
suffix = ''
@ -91,7 +92,7 @@ def get_uf_show(show):
def get_uf_sub(sub):
if sub == 'none':
uf_sub = _('None')
uf_sub = Q_('?Subscription we already have:None')
elif sub == 'to':
uf_sub = _('To')
elif sub == 'from':
@ -105,7 +106,7 @@ def get_uf_sub(sub):
def get_uf_ask(ask):
if ask is None:
uf_ask = _('None')
uf_ask = Q_('?Ask (for Subscription):None')
elif ask == 'subscribe':
uf_ask = _('Subscribe')
else:

View File

@ -35,6 +35,7 @@ from gettext import ngettext
from common import i18n
_ = i18n._
Q_ = i18n.Q_
APP = i18n.APP
gtk.glade.bindtextdomain(APP, i18n.DIR)
gtk.glade.textdomain(APP)
@ -274,7 +275,7 @@ class GroupchatWindow(chat.Chat):
image = self.plugin.roster.jabber_state_images[show]
resource = ''
if role == 'none':
role_name = _('None')
role_name = Q_('?Group Chat Contact Role:None')
elif role == 'moderator':
role_name = _('Moderators')
elif role == 'participant':

View File

@ -1291,7 +1291,7 @@
<child>
<widget class="GtkComboBox" id="proxies_combobox">
<property name="visible">True</property>
<property name="items" translatable="yes">None</property>
<property name="items" translatable="yes" comments="None means no proxy profile selected">None</property>
</widget>
<packing>
<property name="padding">0</property>
@ -17677,7 +17677,6 @@ Maybe I'll refactor later</property>
<widget class="GtkImageMenuItem" id="continue_menuitem">
<property name="label" translatable="yes">_Continue</property>
<property name="use_underline">True</property>
<property name="visible">False</property>
<signal name="activate" handler="on_continue_menuitem_activate" last_modification_time="Fri, 09 Sep 2005 22:48:03 GMT"/>
<child internal-child="image">

View File

@ -29,6 +29,7 @@ from common import helpers
from common import gajim
from common import i18n
_ = i18n._
Q_ = i18n.Q_
APP = i18n.APP
gtk.glade.bindtextdomain (APP, i18n.DIR)
gtk.glade.textdomain (APP)
@ -246,9 +247,9 @@ class VcardWindow:
i += 1
if client == '':
client = _('Unknown')
client = Q_('?Client:Unknown')
if os == '':
os = _('Unknown')
os = Q_('?OS:Unknown')
self.xml.get_widget('client_name_version_label').set_text(client)
self.xml.get_widget('os_label').set_text(os)