]> git.ipfire.org Git - collecty.git/blobdiff - src/collecty/plugins/conntrack.py
locales: Drop our custom module
[collecty.git] / src / collecty / plugins / conntrack.py
index 443c53fe6512f686b6c2261832e50fddfc2dec12..3191b551417e630b191af86b16ca22289bdc0602 100644 (file)
@@ -23,6 +23,7 @@ from . import base
 
 from ..colours import *
 from ..constants import *
+from ..i18n import _
 
 class ConntrackGraphTemplate(base.GraphTemplate):
        name = "conntrack"
@@ -31,8 +32,6 @@ class ConntrackGraphTemplate(base.GraphTemplate):
 
        @property
        def rrd_graph(self):
-               _ = self.locale.translate
-
                return [
                        "COMMENT:%s" % EMPTY_LABEL,
                        "COMMENT:%s" % (COLUMN % _("Current")),
@@ -58,14 +57,10 @@ class ConntrackGraphTemplate(base.GraphTemplate):
 
        @property
        def graph_title(self):
-               _ = self.locale.translate
-
                return _("Connection Tracking Table")
 
        @property
        def graph_vertical_label(self):
-               _ = self.locale.translate
-
                return _("Entries")