Commit | Line | Data |
---|---|---|
0235b0db MJ |
1 | # SPDX-License-Identifier: BSD-2-Clause |
2 | # | |
b85894a3 MJ |
3 | # Copyright (c) 2016, Matt Layman |
4 | ||
5 | import gettext | |
6 | import os | |
7 | ||
8 | localedir = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'locale') | |
9 | translate = gettext.translation('tappy', localedir, fallback=True) | |
10 | _ = translate.gettext |