Skip to content

Commit

Permalink
[plugin.video.ted.talks] correction of foldername
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnKaijser committed Jan 20, 2017
1 parent ab91dbd commit c473107
Show file tree
Hide file tree
Showing 49 changed files with 2,710 additions and 10 deletions.
3 changes: 0 additions & 3 deletions plugin.video.ted-talks/.gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions plugin.video.ted-talks/.travis.yml

This file was deleted.

File renamed without changes.
File renamed without changes.
Binary file added plugin.video.ted.talks/README/settings.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
1 change: 1 addition & 0 deletions plugin.video.ted.talks/resources/__init__.py
@@ -0,0 +1 @@
# Dummy file to make this directory a package.
@@ -0,0 +1,74 @@
msgid ""
msgstr ""
"Project-Id-Version: plugin.video.ted.talks\n"
"Report-Msgid-Bugs-To: https://github.com/moreginger/xbmc-plugin.video.ted.talks\n"
"POT-Creation-Date: 2017-01-13 21:33+000\n"
"PO-Revision-Date: 2017-01-13 21:33+000\n"
"Last-Translator: Kodi Translation Team\n"
"Language-Team: English (United Kingdom) (http://www.transifex.com/projects/p/xbmc-addons/language/en_GB/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: en_GB\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "#30000"
msgid "TED Talks"
msgstr ""

msgctxt "#30001"
msgid "Newest Talks"
msgstr ""

msgctxt "#30031"
msgid "TED is a small nonprofit devoted to Ideas Worth Spreading. It started out (in 1984) as a conference bringing together people from three worlds: Technology, Entertainment, Design. Since then its scope has become ever broader. Along with the annual TED Conference in Long Beach, California, and the TEDGlobal conference in Oxford UK, TED includes the award-winning TEDTalks video site, the Open Translation Program, the new TEDx community program, this year's TEDIndia Conference and the annual TED Prize."
msgstr ""

msgctxt "#30002"
msgid "Speakers"
msgstr ""

msgctxt "#30032"
msgid "The roster of presenters at TED has broadened to include scientists, philosophers, musicians, religious leaders, philanthropists and many others. Over the years, TED speakers have included Bill Gates, Frank Gehry, Jane Goodall, Al Gore, Billy Graham, Peter Gabriel, Quincy Jones, Bono. Yet often the real stars have been the unexpected: Li Lu, a key organizer of the Tiananmen Square student protest; Aimee Mullins, a Paralympics competitor who tried out a new pair of artificial legs onstage; or Jennifer Lin, a 14-year-old pianist whose 6-minute improvisation moved the audience to tears."
msgstr ""

msgctxt "#30004"
msgid "Search"
msgstr ""

msgctxt "#30034"
msgid "Search for Talks on TED.com"
msgstr ""

msgctxt "#30007"
msgid "Topics"
msgstr ""

msgctxt "#30020"
msgid "Next"
msgstr ""

msgctxt "#30021"
msgid "Previous"
msgstr ""

msgctxt "#30022"
msgid "More..."
msgstr ""

msgctxt "#30097"
msgid "Queue"
msgstr ""

msgctxt "#30111"
msgid "Enable subtitles"
msgstr ""

msgctxt "#30113"
msgid "Custom language codes (optional)"
msgstr ""

msgctxt "#30114"
msgid "Video quality"
msgstr ""

@@ -0,0 +1,45 @@
msgid ""
msgstr ""
"Project-Id-Version: plugin.video.ted.talks\n"
"Report-Msgid-Bugs-To: https://github.com/moreginger/xbmc-plugin.video.ted.talks\n"
"POT-Creation-Date: 2017-01-13 22:42+000\n"
"PO-Revision-Date: 2017-01-13 22:42+000\n"
"Last-Translator: Kodi Translation Team\n"
"Language-Team: Finnish (http://www.transifex.com/projects/p/xbmc-addons/language/fi_FI/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fi_FI\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "#30000"
msgid "TED Talks"
msgstr "TED Talks"

msgctxt "#30001"
msgid "Newest Talks"
msgstr "Uusimmat keskustelut"

msgctxt "#30002"
msgid "Speakers"
msgstr "Puhujat"

msgctxt "#30004"
msgid "Search"
msgstr "Haku"

msgctxt "#30034"
msgid "Search for Talks on TED.com"
msgstr "Etsi keskusteluja TED.com:sta"

msgctxt "#30007"
msgid "Topics"
msgstr "Aiheet"

msgctxt "#30020"
msgid "Next"
msgstr "Seuraava"

msgctxt "#30021"
msgid "Previous"
msgstr "Aiempi"
@@ -0,0 +1,55 @@
msgid ""
msgstr ""
"Project-Id-Version: plugin.video.ted.talks\n"
"Report-Msgid-Bugs-To: https://github.com/moreginger/xbmc-plugin.video.ted.talks\n"
"POT-Creation-Date: 2017-01-13 22:42+000\n"
"PO-Revision-Date: 2017-01-13 22:42+000\n"
"Last-Translator: Kodi Translation Team\n"
"Language-Team: Hungarian (http://www.transifex.com/projects/p/xbmc-addons/language/hu_HU/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: hu_HU\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "#30000"
msgid "TED Talks"
msgstr "TED Talks"

msgctxt "#30001"
msgid "Newest Talks"
msgstr "Legújabb Beszélgetések"

msgctxt "#30031"
msgid "TED is a small nonprofit devoted to Ideas Worth Spreading. It started out (in 1984) as a conference bringing together people from three worlds: Technology, Entertainment, Design. Since then its scope has become ever broader. Along with the annual TED Conference in Long Beach, California, and the TEDGlobal conference in Oxford UK, TED includes the award-winning TEDTalks video site, the Open Translation Program, the new TEDx community program, this year's TEDIndia Conference and the annual TED Prize."
msgstr "TED egy kicsi non-profit szervezet aminek célpontjában az Ötlet áll amit érdemes megosztani. A webhely kezdete 1984-re nyúlik vissza egy konferenciára ami 3 külön világot hozott össze: Technológia, Szórakozás, Tervezés. Azóta a kör csak bővült. Az éves TED konferenciával együtt Long Beach, Californiában és a globális konferenciával Oxfordban, a TED magába foglalja a díjnyertes TEDTalks videóoldalt is, valamint a nyílt fordítási programot, az új TEDx közösségi programot, az ezévi TEDIndia konferenciát és az éves TED díjat."

msgctxt "#30002"
msgid "Speakers"
msgstr "Felszólalók"

msgctxt "#30032"
msgid "The roster of presenters at TED has broadened to include scientists, philosophers, musicians, religious leaders, philanthropists and many others. Over the years, TED speakers have included Bill Gates, Frank Gehry, Jane Goodall, Al Gore, Billy Graham, Peter Gabriel, Quincy Jones, Bono. Yet often the real stars have been the unexpected: Li Lu, a key organizer of the Tiananmen Square student protest; Aimee Mullins, a Paralympics competitor who tried out a new pair of artificial legs onstage; or Jennifer Lin, a 14-year-old pianist whose 6-minute improvisation moved the audience to tears."
msgstr "Az előadók választéka a TED-nél kibővült tudósokkal, filozófusokkal, zenészekkel, vallási vezetőkkel, filantrópokkal és még sokan másokkal. Az évek folyamán a TED felszólalók között volt Bill Gates, Frank Gehry, Jane Goodall, Al Gore, Billy Graham, Peter Gabriel, Quincy Jones, Bono."

msgctxt "#30004"
msgid "Search"
msgstr "Keresés"

msgctxt "#30034"
msgid "Search for Talks on TED.com"
msgstr "Beszédek keresése a TED.com-on"

msgctxt "#30007"
msgid "Topics"
msgstr "Téma"

msgctxt "#30020"
msgid "Next"
msgstr "Következő"

msgctxt "#30021"
msgid "Previous"
msgstr "Előző"


@@ -0,0 +1,53 @@
msgid ""
msgstr ""
"Project-Id-Version: plugin.video.ted.talks\n"
"Report-Msgid-Bugs-To: https://github.com/moreginger/xbmc-plugin.video.ted.talks\n"
"POT-Creation-Date: 2017-01-13 22:42+000\n"
"PO-Revision-Date: 2017-01-13 22:42+000\n"
"Last-Translator: Kodi Translation Team\n"
"Language-Team: Portuguese (http://www.transifex.com/projects/p/xbmc-addons/language/pt_PT/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pt_PT\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "#30000"
msgid "TED Talks"
msgstr "Conversas do TED"

msgctxt "#30001"
msgid "Newest Talks"
msgstr "Novas conversas"

msgctxt "#30031"
msgid "TED is a small nonprofit devoted to Ideas Worth Spreading. It started out (in 1984) as a conference bringing together people from three worlds: Technology, Entertainment, Design. Since then its scope has become ever broader. Along with the annual TED Conference in Long Beach, California, and the TEDGlobal conference in Oxford UK, TED includes the award-winning TEDTalks video site, the Open Translation Program, the new TEDx community program, this year's TEDIndia Conference and the annual TED Prize."
msgstr "TED é uma organização sem fins lucrativos dedicada a 'Ideias com Valor'. Foi iniciada em 1984 como uma conferência que pretendia juntar pessoas de três mundos: Tecnologia, Entretenimento e Design. Desde ai, tornou-se muito mais abrangente. Juntamente com a conferência TED anual em Long Beach, California, e a conferência TEDGlobal em Oxford, UK, TED inclui o premiado site de vídeos TEDTalks, o Open Translation Program, o novo programa de comunidade TEDx, a conferência TEDIndia deste ano e o prémio anual TED Prize."

msgctxt "#30002"
msgid "Speakers"
msgstr "Oradores"

msgctxt "#30032"
msgid "The roster of presenters at TED has broadened to include scientists, philosophers, musicians, religious leaders, philanthropists and many others. Over the years, TED speakers have included Bill Gates, Frank Gehry, Jane Goodall, Al Gore, Billy Graham, Peter Gabriel, Quincy Jones, Bono. Yet often the real stars have been the unexpected: Li Lu, a key organizer of the Tiananmen Square student protest; Aimee Mullins, a Paralympics competitor who tried out a new pair of artificial legs onstage; or Jennifer Lin, a 14-year-old pianist whose 6-minute improvisation moved the audience to tears."
msgstr "O painel de apresentadores cresceu para incluir cientistas, filósofos, músicos, líderes religiosos, filantropos e muitos outros. Ao longo dos anos, os oradores do TED incluiram Bill Gates, Frank Gehry, Jane Goodall, Al Gore, Billy Graham, Peter Gabriel, Quincy Jones, Bono e outros. Ainda assim, muitas vezes, as verdadeiras estrelas são inesperadas: Li Lu, um organizador dos protestos estudantis na Praça Tiananmen; Aimee Mullins, uma atleta paraolímpica que experimentou novas próteses no palco ou Jennifer Lin, uma pianista de 14 anos, cuja improvisação de 6 minutos levou a audiência às lágrimas."

msgctxt "#30004"
msgid "Search"
msgstr "procura"

msgctxt "#30034"
msgid "Search for Talks on TED.com"
msgstr "Procurar conversas em TED.com"

msgctxt "#30007"
msgid "Topics"
msgstr "Tópicos"

msgctxt "#30020"
msgid "Next"
msgstr "Seguinte"

msgctxt "#30021"
msgid "Previous"
msgstr "Anterior"
@@ -0,0 +1,47 @@
msgid ""
msgstr ""
"Project-Id-Version: plugin.video.ted.talks\n"
"Report-Msgid-Bugs-To: https://github.com/moreginger/xbmc-plugin.video.ted.talks\n"
"POT-Creation-Date: 2017-01-13 21:44+000\n"
"PO-Revision-Date: 2017-01-13 21:44+000\n"
"Last-Translator: Kodi Translation Team\n"
"Language-Team: Swedish (http://www.transifex.com/projects/p/xbmc-addons/language/sv_SE/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: sv_SE\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "#30000"
msgid "TED Talks"
msgstr "TED Talks"

msgctxt "#30001"
msgid "Newest Talks"
msgstr "Nyaste föredragen"

msgctxt "#30002"
msgid "Speakers"
msgstr "Talare"

msgctxt "#30004"
msgid "Search"
msgstr "Sök"

msgctxt "#30034"
msgid "Search for Talks on TED.com"
msgstr "Sök föredrag på TED.com"

msgctxt "#30007"
msgid "Topics"
msgstr "Ämnen"

msgctxt "#30020"
msgid "Next"
msgstr "Nästa"

msgctxt "#30021"
msgid "Previous"
msgstr "Föregående"


1 change: 1 addition & 0 deletions plugin.video.ted.talks/resources/lib/__init__.py
@@ -0,0 +1 @@
# Dummy file to make this directory a package.
5 changes: 5 additions & 0 deletions plugin.video.ted.talks/resources/lib/menu_util.py
@@ -0,0 +1,5 @@
def create_context_menu(getLS):
context_menu = []
context_menu += [(getLS(30097), 'Action(queue)')]
context_menu += [('Toggle watched', 'Action(ToggleWatched)')]
return context_menu
13 changes: 13 additions & 0 deletions plugin.video.ted.talks/resources/lib/menu_util_test.py
@@ -0,0 +1,13 @@
import unittest
import menu_util

getLS = lambda x: x

class TestNewTalksRss(unittest.TestCase):

def test_create_context_menu(self):
context_menu = menu_util.create_context_menu(getLS)
self.assertEquals([
(30097, 'Action(queue)'),
('Toggle watched', 'Action(ToggleWatched)'),
], context_menu)

1 comment on commit c473107

@moreginger
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @MartijnKaijser.

I convinced myself that this was a better naming strategy (based on what was already in the repo) but didn't realize that it had to match the addon.id :|

Please sign in to comment.