[telegnome] Add Italian teletext channel
- From: Colin Watson <cjwatson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [telegnome] Add Italian teletext channel
- Date: Mon, 15 Feb 2016 11:45:00 +0000 (UTC)
commit b9d7c1dd33c7215629a927101395bea6b6a33e11
Author: Guido Trentalancia <guido trentalancia net>
Date: Sun Feb 7 15:51:29 2016 +0100
Add Italian teletext channel
* po/it.po: Update some translations.
* src/gui.c (tg_gui_reload_channels): Add the main Italian teletext
channel.
po/it.po | 10 +++++-----
src/gui.c | 12 +++++++++++-
2 files changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/po/it.po b/po/it.po
index 94d8d5a..c4fb246 100644
--- a/po/it.po
+++ b/po/it.po
@@ -90,7 +90,7 @@ msgstr "Specifica l'intervallo di paginazione, in millisecondi"
#: ../src/prefs.c:174
msgid "Proxy server"
-msgstr "Server proxy"
+msgstr "Servente proxy"
#: ../src/prefs.c:183
msgid "Miscellaneous"
@@ -107,12 +107,12 @@ msgstr "Nome"
#. move up button
#: ../src/prefs.c:226
msgid "Move up"
-msgstr ""
+msgstr "Su"
#. move down button
#: ../src/prefs.c:231
msgid "Move down"
-msgstr ""
+msgstr "GiĆ¹"
#. add button
#: ../src/prefs.c:236
@@ -151,7 +151,7 @@ msgstr "Informazioni sul canale"
#: ../src/view.c:115
msgid "Web server error: Wrong page number?"
-msgstr "Errore del servere web: numero di pagina errato?"
+msgstr "Errore del servente web: numero di pagina errato?"
#: ../src/view.c:134
msgid "Error making HTTP connection"
@@ -168,7 +168,7 @@ msgstr "TeleGNOME: %s (%s)"
#: ../telegnome.desktop.in.h:2
msgid "Viewer for Teletext pages"
-msgstr ""
+msgstr "Visualizzatore di pagine Televideo"
#~ msgid ""
#~ "Teletext for GNOME\n"
diff --git a/src/gui.c b/src/gui.c
index b8100ca..ce3e6ef 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -225,7 +225,7 @@ tg_gui_reload_channels(void)
if (!gui->channels) {
/* nothing set up yet, fill in some defaults */
/* TODO: This is terrible; move into a separate file. */
- gchar **children = g_new0(gchar *, 6);
+ gchar **children = g_new0(gchar *, 7);
int i = 0;
channel = tg_channel_new(
@@ -269,6 +269,16 @@ tg_gui_reload_channels(void)
g_object_get(channel, "uuid", &children[i++], NULL);
channel = tg_channel_new(
NULL,
+ "name", "Televideo RAI, Italia",
+ "description", "Televideo (RAI)",
+ "page-url",
"http://www.servizitelevideo.rai.it/televideo/pub/tt4web/Nazionale/16_9_page-%03d.png",
+ "subpage-url",
"http://www.servizitelevideo.rai.it/televideo/pub/tt4web/Nazionale/16_9_page-%03d.%d.png",
+ "country", "it",
+ NULL);
+ gui->channels = g_slist_append(gui->channels, (gpointer)channel);
+ g_object_get(channel, "uuid", &children[i++], NULL);
+ channel = tg_channel_new(
+ NULL,
"name", "Ceefax, United Kingdom",
"description", "UK teletext (BBC)",
"page-url", "http://www.ceefax.tv/cgi-bin/gfx.cgi?page=%03d_0&font=big&channel=bbc1",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]