Skip to content

Commit

Permalink
Test a couple of German translations
Browse files Browse the repository at this point in the history
Just to be sure it isn't / doesn't get broken, really.

See #58.
  • Loading branch information
declension committed Jun 24, 2018
1 parent bbe2ea6 commit d6024d9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_gettext.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ def test_binding_uses_settings_locale():
assert _("favorites") == "favourites"


def test_some_german_works():
_ = set_up_gettext("de_DE.UTF-8")
assert _("favorites") == "Favoriten"
assert _("Playing mix of {genres}") == "Spiele eine Mischung aus {genres}"


class NewLocale(object):

def __init__(self, loc):
Expand Down

0 comments on commit d6024d9

Please sign in to comment.