projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add python tap runner to the tree
[babeltrace.git]
/
tests
/
utils
/
python
/
tap
/
i18n.py
diff --git a/tests/utils/python/tap/i18n.py
b/tests/utils/python/tap/i18n.py
new file mode 100644
(file)
index 0000000..
65aac98
--- /dev/null
+++ b/
tests/utils/python/tap/i18n.py
@@ -0,0
+1,8
@@
+# Copyright (c) 2016, Matt Layman
+
+import gettext
+import os
+
+localedir = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'locale')
+translate = gettext.translation('tappy', localedir, fallback=True)
+_ = translate.gettext
This page took
0.024474 seconds
and
4
git commands to generate.