Rewrap self.tr and fix a few bugs
This commit is contained in:
+4
-3
@@ -24,14 +24,14 @@ You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
from functools import partial
|
||||
import nw
|
||||
import logging
|
||||
import os
|
||||
|
||||
from time import time
|
||||
from lxml import etree
|
||||
from hashlib import sha256
|
||||
from time import time
|
||||
from functools import partial
|
||||
|
||||
from PyQt5.QtCore import QCoreApplication
|
||||
|
||||
@@ -82,7 +82,8 @@ class NWTree():
|
||||
|
||||
self._handleSeed = None # Used for generating handles for testing
|
||||
|
||||
self.tr = partial(QCoreApplication.translate, self.__class__.__name__)
|
||||
# Internal Mappings
|
||||
self.tr = partial(QCoreApplication.translate, "NWTree")
|
||||
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user