webinterface: drop plugin-local translations, bump version to 1.8.0
[enigma2-plugins.git] / webinterface / src / WebComponents / Sources / Strings.py
1 from Components.Sources.Source import Source
2
3 class Strings(Source):
4         def __init__(self):
5                 Source.__init__(self)
6
7         """
8         This returns all string the webinterface requires, currently translated into the language that's configured in e2
9         With a small hack it should be possible to actually return the strings in the browser's/requester's language
10         """
11         def getList(self):
12                 return [
13                         ["television" , _("TeleVision")],
14                         ["tv", _("TV")],
15                         ["radio" , _("Radio")],
16                         ["movies" , _("Movies")],
17                         ["timer" , _("Timer")],
18                         ["timers" , _("Timers")],
19                         ["boxcontrol" , _("BoxControl")],
20                         ["extras" , _("Extras")],
21                         ["webtv" , _("WebTV")],
22                         ["volume" , _("Volume")],
23                         ["epgsearch" , _("EPG-Search")],
24                         ["epgsearch_hint" , _("Search EPG")],
25                         ["clear_serach" , _("Clear search")],
26                         ["bouquets" , _("Bouquets")],
27                         ["no_bouquets", _("No Bouquets to Display")],
28                         ["select_bouquet", _("Please select any bouquet")],
29                         ["providers", _("Providers")],
30                         ["satellites", _("Satellites")],
31                         ["all" , _("All")],
32                         ["tagfilter" , _("Tag Filter")],
33                         ["all_timers" , _("All Timers")],
34                         ["create_timer" , _("Create Timer")],
35                         ["cleanup" , _("Cleanup")],
36                         ["note_timerlist_cleanup", _("Cleans up the list of timers by removing e.g. finished timers")],
37                         ["no_timer", _("No Timer Available!")],
38                         ["edit_timer", _("Edit Timer")],
39                         ["enable", _("Enable")],
40                         ["activate", _("Activate")],
41                         ["deactivate", _("Deactivate")],
42                         ["disable", _("Disable")],
43                         ["delete", _("Delete")],
44                         ["delete_timer" , _("Delete Timer")],
45                         ["legend", _("Legend")],
46                         ["waiting", _("Waiting")],
47                         ["error", _("Error")],
48                         ["running", _("Running")],
49                         ["finished", _("Finished")],
50                         ["action" , _("Action")],
51                         ["record" , _("Record")],
52                         ["zap" , _("Zap")],
53                         ["note_recurring_events", _("Note: For recurring events dates are not mandatory.")],
54                         ["note_onetime_events", _("Note: For one-time events the days don't have to be specified.")],
55                         ["begins" , _("Begins")],
56                         ["ends" , _("Ends")],
57                         ["days" , _("Days")],
58                         ["channel" , _("Channel")],
59                         ["name" , _("Name")],
60                         ["description" , _("Description")],
61                         ["location" , _("Location")],
62                         ["tags" , _("Tags")],
63                         ["afterevent" , _("After event")],
64                         ["do_nothing" , _("Do Nothing")],
65                         ["of", _("of")],
66                         ["standby" , _("Idle Mode")],
67                         ["shutdown" , _("Shutdown")],
68                         ["auto" , _("Auto")],
69                         ["save" , _("Save")],
70                         ["powercontrol" , _("Power Control")],
71                         ["send_message" , _("Send Message")],
72                         ["webremote" , _("WebRemote")],
73                         ["screenshot_all" , _("Screenshot (All)")],
74                         ["screenshot_video" , _("Screenshot (Video)")],
75                         ["screenshot_osd" , _("Screenshot (OSD)")],
76                         ["screenshot_display", _("Screenshot (Display)")],
77                         ["toggle_standby" , _("Toggle Idle Mode")],
78                         ["deepstanby" , _("Standby")],
79                         ["reboot" , _("Reboot")],
80                         ["restart_enigma2" , _("Restart GUI")],
81                         ["message" , _("Message")],
82                         ["timeout" , _("Timeout")],
83                         ["type" , _("Type")],
84                         ["info" , _("Info")],
85                         ["warning" , _("Warning")],
86                         ["error" , _("Error")],
87                         ["send" , _("Send")],
88                         ["send_message" , _("Send Message")],
89                         ["mediaplayer" , _("Mediaplayer")],
90                         ["deviceinfo" , _("Device Info")],
91                         ["settings" , _("Settings")],
92                         ["tools" , _("Tools")],
93                         ["about" , _("About")],
94                         ["show_hide_extended_desc" , _("Click to show/hide extended description")],
95                         ["show_epg_for" , _("Show EPG for %s")],
96                         ["stream_channel" , _("Stream %s")],
97                         ["do_stream", _("Stream")],
98                         ["instant_record" , _("Instant Record")],
99                         ["record_current_event" , _("Record current event")],
100                         ["start_record_infinite" , _("Start infinite recording")],
101                         ["open_signal_panel" , _("Open Signal Panel")],
102                         ["zap_to_channel" , _("Zap to %s")],
103                         ["open_multi_epg_for" , _("Open Multi-EPG for %s")],
104                         ["load_bouquet", _("Load Bouquet")],
105                         ["playlist_for", _("Playlist for %s")],
106                         ["imdb_lookup", _("Lookup on IMDb.com")],
107                         ["add_timer", _("Add Timer")],
108                         ["add_zap_timer", _("Add Zap Timer")],
109                         ["edit_timer", _("Edit Timer")],
110                         ["no_service", _("No Service to show")],
111                         ["select_submenu", _("please select a submenu on the left...")],
112                         ["filter_services", _("Filter Services")],
113                         ["authors", _("Authors")],
114                         ["many_contributors", _("and many contributors")],
115                         ["javscript_libraries", _("JavaScript Libraries")],
116                         ["license", _("License")],
117                         ["device_and_versions", _("Device & Versions")],
118                         ["device_name", _("Device Name")],
119                         ["engima2_version", _("Dreambox OS Version")],
120                         ["image_version", _("Image Version")],
121                         ["frontprocessor_version", _("Frontprocessor Version")],
122                         ["webinterface_version", _("Webinterface Version")],
123                         ["tuners", _("Tuners")],
124                         ["harrdisk", _("Harddisk")],
125                         ["capacity", _("Capacity")],
126                         ["free_space", _("Free Space")],
127                         ["network_interface", _("Network Interface")],
128                         ["mac_address", _("Mac Address")],
129                         ["dhcp_enabled", _("DHCP enabled")],
130                         ["ip_address", _("IP Address")],
131                         ["netmask", _("Netmask")],
132                         ["gateway", _("Gateway")],
133                         ["videosize", _("Video Size")],
134                         ["widescreen", _("Widescreen")],
135                         ["apid", _("Audio PID")],
136                         ["vpid", _("Video PID")],
137                         ["pcrpid", _("PCR PID")],
138                         ["pmtpid", _("PMT PID")],
139                         ["txtpid", _("Text PID")],
140                         ["tsid", _("TSID")],
141                         ["onid", _("ONID")],
142                         ["sid", _("SID")],
143                         ["nothing_running", _("Nothing running...")],
144                         ["technical_information", _("Technical Information")],
145                         ["nothing_found", _("Nothing found...")],
146                         ["no_movies", _("No movies to show...")],
147                         ["download", _("Download")],
148                         ["volume_down", _("Volume Down")],
149                         ["down", _("Down")],
150                         ["mute", _("Mute")],
151                         ["unmute", _("Unmute")],
152                         ["volume_up", _("Volume Up")],
153                         ["up", _("Up")],
154                         ["get_screenshot", _("Get a Screenshot")],
155                         ["grab_video_and_osd", _("Grab Video & OSD")],
156                         ["send_long_keypress", _("Send \\\"long\\\" keypress")],
157                         ["refresh_screenshot", _("Refresh Screenshot")],
158                         ["settings_cookies_required", _("WARNING: Cookies are required to store the settings!")],
159                         ["enable_debug", _("Enable Debug")],
160                         ["update_interval_current_service", _("Update interval for current service (min. 10 sec)")],
161                         ["update_interval_current_bouquet_epg", _("Update-Interval for EPG of the current bouquets (min. 60 sec)")],
162                         ["seconds_short", _("sec")],
163                         ["previous", _("Previous")],
164                         ["play", _("Play")],
165                         ["play_item", _("Play %s")],
166                         ["add_item_to_playlist", _("Add %s to playlist")],
167                         ["remove_item_from_playlist", _("Remove %s from playlist")],
168                         ["download_item", _("Downlad %s")],
169                         ["delete_item", _("Delete %s")],
170                         ["change_to_item", _("Change to %s")],
171                         ["next", _("Next")],
172                         ["stop", _("Stop")],
173                         ["filebrowser", _("Filebrowser")],
174                         ["playlist", _("Playlist")],
175                         ["save_playlist", _("Save Playlist")],
176                         ["close_mediaplayer", _("Close MediaPlayer")],
177                         ["no_items", _("No items to show...")],
178                         ["remaining_minutes", _("%s of %s min")],
179                         ["enable_encoder", _("Enable encoder")],
180                         ["rtsp_port", _("RTSP Port")],
181                         ["rtsp_path", _("RTSP Path")],
182                         ["video_bitrate", _("Video Bitrate")],
183                         ["audio_bitrate", _("Audio Bitrate")],
184                         ["encoder_settings_hint", _("You have to set your encoder into TV-Services Mode for things to work as expected!")],
185                 ]
186
187         list = property(getList)
188         lut = { "id": 0, "value": 1 }