Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

hgqt: use unicode-aware gettext, hgqt.i18n

Changeset 5d0220a04875

Parent 59ce7791b628

by Yuya Nishihara

Changes to 12 files · Browse files at 5d0220a04875 Showing diff from parent 59ce7791b628 Diff from another changeset...

 
16
17
18
19
 
20
21
22
 
16
17
18
 
19
20
21
22
@@ -16,7 +16,7 @@
 from PyQt4.QtCore import PYQT_VERSION_STR, QT_VERSION_STR  from PyQt4.QtGui import QIcon, QPixmap, QDialog   -from tortoisehg.util.i18n import _ +from tortoisehg.hgqt.i18n import _  from tortoisehg.util import version, hglib, shlib    def make_version(tuple):
 
13
14
15
16
 
17
18
19
 
13
14
15
 
16
17
18
19
@@ -13,7 +13,7 @@
   from mercurial import extensions  from tortoisehg.util import hglib, version -from tortoisehg.util.i18n import _ +from tortoisehg.hgqt.i18n import _  from tortoisehg.hgqt import qtlib    class BugReport(QtGui.QDialog):
 
14
15
16
17
 
18
19
20
 
14
15
16
 
17
18
19
20
@@ -14,7 +14,7 @@
 from mercurial import hg, commands, util, cmdutil, mdiff, error, patch    from tortoisehg.util import hgshelve, hglib -from tortoisehg.util.i18n import _ +from tortoisehg.hgqt.i18n import _  from tortoisehg.hgqt.htmllistview import HtmlListView  from tortoisehg.hgqt import htmlui  
 
12
13
14
15
 
16
17
18
 
12
13
14
 
15
16
17
18
@@ -12,7 +12,7 @@
   from tortoisehg.hgqt import htmlui, visdiff, qtlib  from tortoisehg.util import paths, hglib -from tortoisehg.util.i18n import _ +from tortoisehg.hgqt.i18n import _    from PyQt4.QtCore import *  from PyQt4.QtGui import *
 
13
14
15
16
 
17
18
19
 
13
14
15
 
16
17
18
19
@@ -13,7 +13,7 @@
   from PyQt4.QtGui import QDialog, QIcon, QPixmap   -from tortoisehg.util.i18n import _ +from tortoisehg.hgqt.i18n import _    try:   from tortoisehg.hgqt.license_ui import Ui_LicenseDialog
 
11
12
13
14
 
15
16
17
 
11
12
13
 
14
15
16
17
@@ -11,7 +11,7 @@
   from PyQt4 import QtCore, QtGui   -from tortoisehg.util.i18n import _ +from tortoisehg.hgqt.i18n import _  from tortoisehg.util import hglib, shlib, paths    from tortoisehg.hgqt import qtlib, status, cmdui
 
23
24
25
26
 
27
28
29
 
23
24
25
 
26
27
28
29
@@ -23,7 +23,7 @@
 import mercurial.ui as _ui  from mercurial import hg, util, fancyopts, cmdutil, extensions, error   -from tortoisehg.util.i18n import agettext as _ +from tortoisehg.hgqt.i18n import agettext as _  from tortoisehg.util import hglib, paths, shlib  from tortoisehg.util import version as thgversion  from tortoisehg.hgqt import qtlib
 
11
12
13
14
 
15
16
17
 
11
12
13
 
14
15
16
17
@@ -11,7 +11,7 @@
 from PyQt4 import QtCore, QtGui  from PyQt4.QtCore import SIGNAL, SLOT   -from tortoisehg.util.i18n import _ +from tortoisehg.hgqt.i18n import _  from tortoisehg.util import menuthg    from _winreg import (HKEY_CURRENT_USER, REG_SZ, REG_DWORD,
 
10
11
12
13
 
14
15
16
 
10
11
12
 
13
14
15
16
@@ -10,7 +10,7 @@
 from mercurial import ui, hg, util, patch, cmdutil, error, mdiff, context, merge  from tortoisehg.hgqt import qtlib, htmlui, chunkselect, wctxactions, visdiff  from tortoisehg.util import paths, hglib -from tortoisehg.util.i18n import _ +from tortoisehg.hgqt.i18n import _    from PyQt4.QtCore import Qt, QVariant, SIGNAL, SLOT, QAbstractTableModel  from PyQt4.QtCore import QObject, QEvent, QMimeData, QUrl, QString, QSettings
 
15
16
17
18
 
19
20
21
 
15
16
17
 
18
19
20
21
@@ -15,7 +15,7 @@
   from mercurial import hg, cmdutil, util, error, match, copies   -from tortoisehg.util.i18n import _ +from tortoisehg.hgqt.i18n import _  from tortoisehg.util import hglib, paths  from tortoisehg.hgqt import qtlib  
 
11
12
13
14
 
15
16
17
 
11
12
13
 
14
15
16
17
@@ -11,7 +11,7 @@
 from mercurial import util, error, merge, commands  from tortoisehg.hgqt import qtlib, htmlui, visdiff  from tortoisehg.util import hglib, shlib -from tortoisehg.util.i18n import _ +from tortoisehg.hgqt.i18n import _    from PyQt4.QtCore import Qt, SIGNAL  from PyQt4.QtGui import QAction, QMenu, QMessageBox, QFileDialog
 
20
21
22
23
 
24
25
26
 
20
21
22
 
23
24
25
26
@@ -20,7 +20,7 @@
 from tortoisehg.util.util import tounicode  from tortoisehg.util.util import rootpath, find_repository   -from tortoisehg.util.i18n import _ +from tortoisehg.hgqt.i18n import _    from tortoisehg.hgqt.decorators import timeit