Start converting _() to _t()

This commit is contained in:
blitzmann
2020-06-20 15:07:14 -04:00
parent eb657e804c
commit 68f7e6c709
6 changed files with 33 additions and 33 deletions

View File

@@ -25,7 +25,7 @@ from gui.utils.numberFormatter import formatAmount, roundToPrec
from eos.utils.spoolSupport import SpoolType, SpoolOptions
import eos.config
_ = wx.GetTranslation
_t = wx.GetTranslation
stats = [
(
@@ -63,7 +63,7 @@ class OutgoingViewFull(StatsView):
self._cachedValues = []
def getHeaderText(self, fit):
return _("Remote Reps")
return _t("Remote Reps")
def getTextExtentW(self, text):
width, height = self.parent.GetTextExtent(text)

View File

@@ -24,7 +24,7 @@ from gui.utils.numberFormatter import formatAmount, roundToPrec
from eos.utils.spoolSupport import SpoolType, SpoolOptions
import eos.config
_ = wx.GetTranslation
_t = wx.GetTranslation
stats = [
(
@@ -62,7 +62,7 @@ class OutgoingViewMinimal(StatsView):
self._cachedValues = []
def getHeaderText(self, fit):
return _("Remote Reps")
return _t("Remote Reps")
def getTextExtentW(self, text):
width, height = self.parent.GetTextExtent(text)