[i18n] New extractor for I18N testing
This commit is contained in:
parent
3242f7edd2
commit
a2aae628a0
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: 1.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-12-13 03:32+0800\n"
|
||||
"POT-Creation-Date: 2016-01-17 16:08+0800\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -46,6 +46,10 @@ msgstr ""
|
||||
msgid "%s: Downloading webpage"
|
||||
msgstr ""
|
||||
|
||||
#: youtube_dl/extractor/i18ntest.py:13
|
||||
msgid "I18N test message"
|
||||
msgstr ""
|
||||
|
||||
#: youtube_dl/extractor/testurl.py:65
|
||||
#, python-format
|
||||
msgid "Test URL: %s"
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-12-13 00:33+0800\n"
|
||||
"POT-Creation-Date: 2016-01-17 16:08+0800\n"
|
||||
"PO-Revision-Date: 2015-12-13 01:04+0800\n"
|
||||
"Last-Translator: yan12125@gmail.com\n"
|
||||
"Language-Team: Chinese (traditional)\n"
|
||||
@ -47,6 +47,10 @@ msgstr "[下載] "
|
||||
msgid "%s: Downloading webpage"
|
||||
msgstr "%s: 下載網頁"
|
||||
|
||||
#: youtube_dl/extractor/i18ntest.py:13
|
||||
msgid "I18N test message"
|
||||
msgstr "I18N測試訊息"
|
||||
|
||||
#: youtube_dl/extractor/testurl.py:65
|
||||
#, python-format
|
||||
msgid "Test URL: %s"
|
||||
|
@ -251,6 +251,7 @@ from .howcast import HowcastIE
|
||||
from .howstuffworks import HowStuffWorksIE
|
||||
from .huffpost import HuffPostIE
|
||||
from .hypem import HypemIE
|
||||
from .i18ntest import I18NTestIE
|
||||
from .iconosquare import IconosquareIE
|
||||
from .ign import IGNIE, OneUPIE
|
||||
from .imdb import (
|
||||
|
13
youtube_dl/extractor/i18ntest.py
Normal file
13
youtube_dl/extractor/i18ntest.py
Normal file
@ -0,0 +1,13 @@
|
||||
# coding: utf-8
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from .common import InfoExtractor
|
||||
from ..utils import tr
|
||||
|
||||
|
||||
class I18NTestIE(InfoExtractor):
|
||||
_VALID_URL = 'i18n:test'
|
||||
|
||||
def _real_extract(self, url):
|
||||
self._downloader.to_screen(tr('I18N test message'))
|
Loading…
x
Reference in New Issue
Block a user