Пример #1
0
    def test_missing(self):
        try:
            gettextutil.check_version()
        except gettextutil.GettextError:
            return

        results = gettextutil.get_missing(PODIR, "quodlibet")
        if results:
            raise MissingTranslationsException(results)
Пример #2
0
    def test_missing(self):
        try:
            gettextutil.check_version()
        except gettextutil.GettextError:
            return

        result = gettextutil.get_missing(PODIR, "quodlibet")
        if result:
            raise Exception("\n".join(result))
Пример #3
0
    def test_missing(self):
        try:
            gettextutil.check_version()
        except gettextutil.GettextError:
            return

        results = gettextutil.get_missing(PODIR, "quodlibet")
        if results:
            raise MissingTranslationsException(results)
Пример #4
0
    def test_missing(self):
        try:
            gettextutil.check_version()
        except gettextutil.GettextError:
            return

        result = gettextutil.get_missing(PODIR, "quodlibet")
        if result:
            raise Exception("\n".join(result))
Пример #5
0
 def test_missing(self):
     results = gettextutil.get_missing(PODIR)
     if results:
         raise MissingTranslationsException(results)