1""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """
2
3import gettext
4
5
6TRANSLATION = gettext.translation('arandr', fallback=True)
7
8
9def _(msg: str) -> str:
10    return TRANSLATION.gettext(msg)
11
12
13def _n(singular: str, plural: str, count: int) -> str:
14    return TRANSLATION.ngettext(singular, plural, count)
15