From 3cfd62b9e1795e1abdeeb12ef031dc5b004a7c78 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Wed, 29 May 2013 18:06:44 +0400 Subject: [PATCH] locals: add locales for youtube feeds playback --- data/locale/english.locale | 20 +++++++++++++++++++- src/system/locals.h | 18 ++++++++++++++++++ src/system/locals_intern.h | 18 ++++++++++++++++++ 3 files changed, 55 insertions(+), 1 deletion(-) diff --git a/data/locale/english.locale b/data/locale/english.locale index de3d717df..56642a043 100644 --- a/data/locale/english.locale +++ b/data/locale/english.locale @@ -321,7 +321,7 @@ eventfinder.search Search eventfinder.search_within_epg Search within eventfinder.search_within_list Search within eventfinder.searching Search for keyword in EPG... -eventfinder.start_search Start Search +eventfinder.start_search Start Search eventlistbar.channelswitch schedule eventlistbar.eventsort sorting eventlistbar.recordevent record @@ -1107,6 +1107,7 @@ menu.hint_video_saturation Change picture saturation menu.hint_video_scart_mode Select analog output mode for SCART connectors menu.hint_volume_digits Numeric display of the volumebar on/off menu.hint_volume_pos Select volume indicator position +menu.hint_ytplay Play selected youtube feeds menu.hint_zap_cycle When swithing channels, stay in current bouquet menu.next Next (press Menu to quit) messagebox.back Back @@ -1339,6 +1340,22 @@ moviebrowser.update_if_dest_empty_only Copy if destination is empty only moviebrowser.use_dir Use directory moviebrowser.use_movie_dir Use movie directory moviebrowser.use_rec_dir Use record directory +moviebrowser.yt_error Failed to load youtube feed +moviebrowser.yt_max_results Max results to fetch +moviebrowser.yt_most_discussed Most discussed +moviebrowser.yt_most_popular Most popular +moviebrowser.yt_most_resent Most resent +moviebrowser.yt_most_responded Most responded +moviebrowser.yt_most_shared Most shared +moviebrowser.yt_next_results Next results +moviebrowser.yt_on_the_web Trending videos +moviebrowser.yt_prev_results Previous results +moviebrowser.yt_recently_featured Recently featured +moviebrowser.yt_region Region +moviebrowser.yt_related Related videos +moviebrowser.yt_search Search keyword +moviebrowser.yt_top_favorites Top favorites +moviebrowser.yt_top_rated Top rated movieplayer.bookmark Bookmarks movieplayer.bookmarkname Bookmarkname movieplayer.bookmarkname_hint1 Enter a name for your new bookmark @@ -1360,6 +1377,7 @@ movieplayer.tshelp7 skip approx. 1 minute movieplayer.tshelp8 approx. 5 minutes back movieplayer.tshelp9 skip approx. 5 minutes movieplayer.tsplayback Play TS +movieplayer.ytplayback Youtube feeds playback mpkey.audio Audio track mpkey.bookmark save bookmark mpkey.forward Forward diff --git a/src/system/locals.h b/src/system/locals.h index 82fd5576d..ff46c39aa 100644 --- a/src/system/locals.h +++ b/src/system/locals.h @@ -1134,6 +1134,7 @@ typedef enum LOCALE_MENU_HINT_VIDEO_SCART_MODE, LOCALE_MENU_HINT_VOLUME_DIGITS, LOCALE_MENU_HINT_VOLUME_POS, + LOCALE_MENU_HINT_YTPLAY, LOCALE_MENU_HINT_ZAP_CYCLE, LOCALE_MENU_NEXT, LOCALE_MESSAGEBOX_BACK, @@ -1366,6 +1367,22 @@ typedef enum LOCALE_MOVIEBROWSER_USE_DIR, LOCALE_MOVIEBROWSER_USE_MOVIE_DIR, LOCALE_MOVIEBROWSER_USE_REC_DIR, + LOCALE_MOVIEBROWSER_YT_ERROR, + LOCALE_MOVIEBROWSER_YT_MAX_RESULTS, + LOCALE_MOVIEBROWSER_YT_MOST_DISCUSSED, + LOCALE_MOVIEBROWSER_YT_MOST_POPULAR, + LOCALE_MOVIEBROWSER_YT_MOST_RESENT, + LOCALE_MOVIEBROWSER_YT_MOST_RESPONDED, + LOCALE_MOVIEBROWSER_YT_MOST_SHARED, + LOCALE_MOVIEBROWSER_YT_NEXT_RESULTS, + LOCALE_MOVIEBROWSER_YT_ON_THE_WEB, + LOCALE_MOVIEBROWSER_YT_PREV_RESULTS, + LOCALE_MOVIEBROWSER_YT_RECENTLY_FEATURED, + LOCALE_MOVIEBROWSER_YT_REGION, + LOCALE_MOVIEBROWSER_YT_RELATED, + LOCALE_MOVIEBROWSER_YT_SEARCH, + LOCALE_MOVIEBROWSER_YT_TOP_FAVORITES, + LOCALE_MOVIEBROWSER_YT_TOP_RATED, LOCALE_MOVIEPLAYER_BOOKMARK, LOCALE_MOVIEPLAYER_BOOKMARKNAME, LOCALE_MOVIEPLAYER_BOOKMARKNAME_HINT1, @@ -1387,6 +1404,7 @@ typedef enum LOCALE_MOVIEPLAYER_TSHELP8, LOCALE_MOVIEPLAYER_TSHELP9, LOCALE_MOVIEPLAYER_TSPLAYBACK, + LOCALE_MOVIEPLAYER_YTPLAYBACK, LOCALE_MPKEY_AUDIO, LOCALE_MPKEY_BOOKMARK, LOCALE_MPKEY_FORWARD, diff --git a/src/system/locals_intern.h b/src/system/locals_intern.h index 0363b31bd..9266736d0 100644 --- a/src/system/locals_intern.h +++ b/src/system/locals_intern.h @@ -1134,6 +1134,7 @@ const char * locale_real_names[] = "menu.hint_video_scart_mode", "menu.hint_volume_digits", "menu.hint_volume_pos", + "menu.hint_ytplay", "menu.hint_zap_cycle", "menu.next", "messagebox.back", @@ -1366,6 +1367,22 @@ const char * locale_real_names[] = "moviebrowser.use_dir", "moviebrowser.use_movie_dir", "moviebrowser.use_rec_dir", + "moviebrowser.yt_error", + "moviebrowser.yt_max_results", + "moviebrowser.yt_most_discussed", + "moviebrowser.yt_most_popular", + "moviebrowser.yt_most_resent", + "moviebrowser.yt_most_responded", + "moviebrowser.yt_most_shared", + "moviebrowser.yt_next_results", + "moviebrowser.yt_on_the_web", + "moviebrowser.yt_prev_results", + "moviebrowser.yt_recently_featured", + "moviebrowser.yt_region", + "moviebrowser.yt_related", + "moviebrowser.yt_search", + "moviebrowser.yt_top_favorites", + "moviebrowser.yt_top_rated", "movieplayer.bookmark", "movieplayer.bookmarkname", "movieplayer.bookmarkname_hint1", @@ -1387,6 +1404,7 @@ const char * locale_real_names[] = "movieplayer.tshelp8", "movieplayer.tshelp9", "movieplayer.tsplayback", + "movieplayer.ytplayback", "mpkey.audio", "mpkey.bookmark", "mpkey.forward",