* various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
svn: r6155
This commit is contained in:
@@ -30,7 +30,7 @@ except:
|
||||
from gnome.vfs import mime_get_short_list_applications, \
|
||||
mime_get_description, get_mime_type
|
||||
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
def get_application(type):
|
||||
"""Returns the application command and application name of the
|
||||
|
@@ -21,7 +21,7 @@
|
||||
import mimetypes
|
||||
import const
|
||||
import gtk
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
_type_map = {
|
||||
'application/x-gramps' : 'GRAMPS database',
|
||||
|
Reference in New Issue
Block a user