summaryrefslogtreecommitdiffstats
path: root/share/extensions/replace_font.py
diff options
context:
space:
mode:
Diffstat (limited to 'share/extensions/replace_font.py')
-rwxr-xr-xshare/extensions/replace_font.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/share/extensions/replace_font.py b/share/extensions/replace_font.py
index f0f25ab8e..090920ced 100755
--- a/share/extensions/replace_font.py
+++ b/share/extensions/replace_font.py
@@ -27,13 +27,14 @@ font.
It can also replace all fonts indiscriminately, and list all fonts
currently being used.
'''
-
+# standard library
import os
import sys
+# local library
import inkex
import simplestyle
-import gettext
-_ = gettext.gettext
+
+inkex.localize()
text_tags = ['{http://www.w3.org/2000/svg}tspan',
'{http://www.w3.org/2000/svg}text',