More i18n work.

* More i18n work.
This commit is contained in:
Nuno Ferreira 1998-11-21 23:35:51 +00:00
parent 1acac6b358
commit 42d6f6c579
5 changed files with 74 additions and 17 deletions

View file

@ -1,5 +1,10 @@
1998-11-21 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
* capplets/screensaver-properties/callbacks.c: Include <config.h>.
* capplets/theme-switcher/gui.c: Include <config.h>. Mark strings
for translation.
* capplets/sound-properties/sound-properties.c: Mark strings for
translation.
(main): Initialize gettext.

View file

@ -1,3 +1,4 @@
#include <config.h>
#include "da.h"
#include "capplet-widget.h"
#include <signal.h>
@ -34,7 +35,7 @@ make_main(void)
box = gtk_vbox_new(FALSE, GNOME_PAD);
hbox = gtk_hbox_new(TRUE, GNOME_PAD);
frame = gtk_frame_new ("Available Themes");
frame = gtk_frame_new (_("Available Themes"));
vbox = gtk_hbox_new(FALSE, 0);
gtk_container_border_width (GTK_CONTAINER (vbox), GNOME_PAD_SMALL);
gtk_box_pack_start(GTK_BOX(hbox), frame, TRUE, TRUE, 0);
@ -44,7 +45,7 @@ make_main(void)
gtk_list_set_selection_mode(GTK_LIST(l2), GTK_SELECTION_SINGLE);
hbxo = gtk_vbox_new (FALSE, GNOME_PAD_SMALL);
gtk_container_border_width (GTK_CONTAINER (hbxo), GNOME_PAD_SMALL);
label = gtk_label_new ("Auto\nPreview");
label = gtk_label_new (_("Auto\nPreview"));
gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_LEFT);
auto_preview = gtk_check_button_new ();
@ -52,10 +53,10 @@ make_main(void)
gtk_signal_connect (GTK_OBJECT (auto_preview), "toggled", GTK_SIGNAL_FUNC (auto_callback), NULL);
gtk_container_add (GTK_CONTAINER (auto_preview), label);
gtk_box_pack_start (GTK_BOX (hbxo), auto_preview, FALSE, FALSE, 0);
button = gtk_button_new_with_label ("Preview");
button = gtk_button_new_with_label (_("Preview"));
gtk_signal_connect (GTK_OBJECT (button), "clicked", GTK_SIGNAL_FUNC (click_preview), NULL);
gtk_box_pack_start (GTK_BOX (hbxo), button, FALSE, FALSE, 0);
button = gtk_button_new_with_label ("Install");
button = gtk_button_new_with_label (_("Install"));
/* FIXME: this needs ot actually do something. */
gtk_box_pack_start (GTK_BOX (hbxo), button, FALSE, FALSE, 0);
@ -69,7 +70,7 @@ make_main(void)
gtk_box_pack_start(GTK_BOX(vbox), sw, TRUE, TRUE, 0);
gtk_box_pack_start(GTK_BOX(vbox), hbxo, FALSE, FALSE, 0);
frame = gtk_frame_new ("Theme Information");
frame = gtk_frame_new (_("Theme Information"));
evbox = gtk_viewport_new(NULL, NULL);
gtk_container_add (GTK_CONTAINER (frame), evbox);
gtk_container_border_width (GTK_CONTAINER (evbox), GNOME_PAD_SMALL);
@ -81,7 +82,7 @@ make_main(void)
hbox = gtk_hbox_new (FALSE, GNOME_PAD_SMALL);
gtk_container_border_width (GTK_CONTAINER (hbox), GNOME_PAD_SMALL);
frame = gtk_frame_new ("Preview");
frame = gtk_frame_new (_("Preview"));
gtk_box_pack_start(GTK_BOX(box), frame, TRUE, TRUE, 0);
gtk_container_add (GTK_CONTAINER (frame), hbox);
/* in a gratuituous reuse of variable names... */

View file

@ -1,3 +1,4 @@
#include <config.h>
#include "da.h"
#include "capplet-widget.h"
#include <signal.h>
@ -34,7 +35,7 @@ make_main(void)
box = gtk_vbox_new(FALSE, GNOME_PAD);
hbox = gtk_hbox_new(TRUE, GNOME_PAD);
frame = gtk_frame_new ("Available Themes");
frame = gtk_frame_new (_("Available Themes"));
vbox = gtk_hbox_new(FALSE, 0);
gtk_container_border_width (GTK_CONTAINER (vbox), GNOME_PAD_SMALL);
gtk_box_pack_start(GTK_BOX(hbox), frame, TRUE, TRUE, 0);
@ -44,7 +45,7 @@ make_main(void)
gtk_list_set_selection_mode(GTK_LIST(l2), GTK_SELECTION_SINGLE);
hbxo = gtk_vbox_new (FALSE, GNOME_PAD_SMALL);
gtk_container_border_width (GTK_CONTAINER (hbxo), GNOME_PAD_SMALL);
label = gtk_label_new ("Auto\nPreview");
label = gtk_label_new (_("Auto\nPreview"));
gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_LEFT);
auto_preview = gtk_check_button_new ();
@ -52,10 +53,10 @@ make_main(void)
gtk_signal_connect (GTK_OBJECT (auto_preview), "toggled", GTK_SIGNAL_FUNC (auto_callback), NULL);
gtk_container_add (GTK_CONTAINER (auto_preview), label);
gtk_box_pack_start (GTK_BOX (hbxo), auto_preview, FALSE, FALSE, 0);
button = gtk_button_new_with_label ("Preview");
button = gtk_button_new_with_label (_("Preview"));
gtk_signal_connect (GTK_OBJECT (button), "clicked", GTK_SIGNAL_FUNC (click_preview), NULL);
gtk_box_pack_start (GTK_BOX (hbxo), button, FALSE, FALSE, 0);
button = gtk_button_new_with_label ("Install");
button = gtk_button_new_with_label (_("Install"));
/* FIXME: this needs ot actually do something. */
gtk_box_pack_start (GTK_BOX (hbxo), button, FALSE, FALSE, 0);
@ -69,7 +70,7 @@ make_main(void)
gtk_box_pack_start(GTK_BOX(vbox), sw, TRUE, TRUE, 0);
gtk_box_pack_start(GTK_BOX(vbox), hbxo, FALSE, FALSE, 0);
frame = gtk_frame_new ("Theme Information");
frame = gtk_frame_new (_("Theme Information"));
evbox = gtk_viewport_new(NULL, NULL);
gtk_container_add (GTK_CONTAINER (frame), evbox);
gtk_container_border_width (GTK_CONTAINER (evbox), GNOME_PAD_SMALL);
@ -81,7 +82,7 @@ make_main(void)
hbox = gtk_hbox_new (FALSE, GNOME_PAD_SMALL);
gtk_container_border_width (GTK_CONTAINER (hbox), GNOME_PAD_SMALL);
frame = gtk_frame_new ("Preview");
frame = gtk_frame_new (_("Preview"));
gtk_box_pack_start(GTK_BOX(box), frame, TRUE, TRUE, 0);
gtk_container_add (GTK_CONTAINER (frame), hbox);
/* in a gratuituous reuse of variable names... */

View file

@ -100,3 +100,7 @@ control-center/capplet-widget-libs.c
capplets/mouse-properties/mouse-properties.c
capplets/keyboard-properties/keyboard-properties.c
capplets/sound-properties/sound-properties.c
capplets/theme-switcher/gui.c
capplets/screensaver-properties/callbacks.c
capplets/screensaver-properties/screensaver-dialog.c
capplets/screensaver-properties/screensaver-properties-capplet.c

View file

@ -1,8 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: gnome-core 0.30\n"
"POT-Creation-Date: 1998-11-21 22:27+0000\n"
"PO-Revision-Date: 1998-11-21 22:30+00:00\n"
"POT-Creation-Date: 1998-11-21 23:17+0000\n"
"PO-Revision-Date: 1998-11-21 23:29+00:00\n"
"Last-Translator: Nuno Ferreira <nmrf@rnl.ist.utl.pt>\n"
"Language-Team: Portuguese <pt@li.org>\n"
"MIME-Version: 1.0\n"
@ -1278,15 +1278,24 @@ msgstr "Grande"
msgid "Small"
msgstr "Pequena"
#: capplets/screensaver-properties/screensaver-dialog.c:50
#: capplets/screensaver-properties/screensaver-dialog.c:25
#: capplets/theme-switcher/gui.c:56 capplets/theme-switcher/gui.c:85
msgid "Preview"
msgstr "Prever"
#: capplets/screensaver-properties/screensaver-dialog.c:46
msgid "About:"
msgstr "Acerca:"
#: capplets/screensaver-properties/screensaver-dialog.c:51
msgid "Author:"
msgstr "Autor:"
#: capplets/screensaver-properties/screensaver-dialog.c:60
#: capplets/screensaver-properties/screensaver-dialog.c:61
msgid "Author: UNKNOWN"
msgstr "Autor: DESCONHECIDO"
#: capplets/screensaver-properties/screensaver-dialog.c:76
#: capplets/screensaver-properties/screensaver-dialog.c:77
#: desktop-properties/property-screensaver.cc:146
msgid "Settings"
msgstr "Parâmetros"
@ -1295,6 +1304,7 @@ msgstr "Par
msgid "Screen Saver"
msgstr "Protecção de ecrã"
#: capplets/screensaver-properties/callbacks.c:382
#: capplets/screensaver-properties/screensaver-properties-capplet.c:59
msgid "Settings..."
msgstr "Parâmetros..."
@ -1340,6 +1350,10 @@ msgstr "Desligar monitor"
msgid " minutes after screen saver has started."
msgstr " minutos depois da protecção de ecrã ter arrancado."
#: capplets/screensaver-properties/screensaver-properties-capplet.c:151
msgid "Screen Saver Demo"
msgstr "Demo da Protecção de ecrã"
#: control-center/callbacks.c:69
msgid "Desktop Manager"
msgstr "Gestor ambiente de trabalho"
@ -3171,3 +3185,35 @@ msgstr "Seleccione ficheiro de som"
#: capplets/sound-properties/sound-properties.c:189
msgid "Sound Events"
msgstr "Eventos de Som"
#: capplets/theme-switcher/gui.c:38
msgid "Available Themes"
msgstr "Temas disponíveis"
#: capplets/theme-switcher/gui.c:48
msgid ""
"Auto\n"
"Preview"
msgstr ""
"Auto\n"
"Prever"
#: capplets/theme-switcher/gui.c:59
msgid "Install"
msgstr "Instalar"
#: capplets/theme-switcher/gui.c:73
msgid "Theme Information"
msgstr "Informação do Tema"
#: capplets/screensaver-properties/callbacks.c:86
msgid "Require Password"
msgstr "Pedir palavra-passe"
#: capplets/screensaver-properties/callbacks.c:138
msgid "Use power management."
msgstr "Usar gestão de energia."
#: capplets/screensaver-properties/callbacks.c:394
msgid " Settings"
msgstr " Parâmetros"