]> git.pld-linux.org Git - packages/Gforecast.git/blob - Gforecast-gettexize.patch
- patch with full gettextize for Gforecast and startup pl translation (now
[packages/Gforecast.git] / Gforecast-gettexize.patch
1 diff -Nru Gforecast-0.3/AUTHORS Gforecast-0.3.new/AUTHORS
2 --- Gforecast-0.3/AUTHORS       Mon Jul 31 13:38:17 2000
3 +++ Gforecast-0.3.new/AUTHORS   Mon Jul 31 13:37:25 2000
4 @@ -6,7 +6,7 @@
5  
6  - David P. Thomas <dthomas@outlook.net>
7  - Fernando Parra <duva@ciberlinux.net>
8 -- Tomasz Kloczko <kloczek@wun.zie.pg.gda.pl>
9 +- Tomasz K³oczko <kloczek@pld.org.pl>
10  - Jamie O'Shaughnessy <jamie@thanatar.demon.co.uk>
11  
12  Many thanks go to those people that wrote in with suggestions and cheers!
13 diff -Nru Gforecast-0.3/ChangeLog Gforecast-0.3.new/ChangeLog
14 --- Gforecast-0.3/ChangeLog     Mon Jul 31 13:38:17 2000
15 +++ Gforecast-0.3.new/ChangeLog Mon Jul 31 13:37:25 2000
16 @@ -12,8 +12,8 @@
17  - Rolled version number to 0.2
18  - Fixed spec file configure option (sysconfdir) thnx to David Thomas
19         <dthomas@outlook.net>
20 -- Fixed icon install for the GNOME panel menu thnx to Tomasz Kloczko
21 -       <kloczek@wun.zie.pg.gda.pl>
22 +- Fixed icon install for the GNOME panel menu thnx to Tomasz K³oczko
23 +       <kloczek@pld.org.pl>
24  
25  Mon Jun 26 17:42:45 PDT 2000
26  
27 diff -Nru Gforecast-0.3/Gforecast.c Gforecast-0.3.new/Gforecast.c
28 --- Gforecast-0.3/Gforecast.c   Mon Jul 31 13:38:17 2000
29 +++ Gforecast-0.3.new/Gforecast.c       Mon Jul 31 13:37:25 2000
30 @@ -129,7 +129,7 @@
31                 fetch_forecast_image_url(img_url);
32                 show_info_msg("Got image URL.");
33                 if (strlen(img_url) < 2) {
34 -                       show_error_msg("Could not get forecast, wrong file maybe?");
35 +                       show_error_msg(_("Could not get forecast, wrong file maybe?"));
36                 } else {
37                         if (tmp_file_name == NULL) {
38                                 tmp_file_name = tempnam("/tmp", ".Gf-");
39 @@ -145,7 +145,7 @@
40                                                         timer_callback, NULL);
41                 }
42         } else {
43 -               show_info_msg("Showing question mark.");
44 +               show_info_msg(_("Showing question mark."));
45                 post_update = TRUE;
46                 load_image(NULL);
47                 timer_id = gtk_timeout_add(1000, timer_callback, NULL);
48 @@ -177,12 +177,12 @@
49         GtkWidget *dlg;
50         gchar *buffer;
51  
52 -       dlg = gnome_dialog_new("Configuration", GNOME_STOCK_BUTTON_OK,
53 +       dlg = gnome_dialog_new(_("Configuration"), GNOME_STOCK_BUTTON_OK,
54                                         GNOME_STOCK_BUTTON_CANCEL, NULL);
55         gnome_dialog_set_default(GNOME_DIALOG(dlg), 0);
56  
57         refresh_holder = gtk_hbox_new(FALSE, 0);
58 -       label = gtk_label_new("Refresh (mins.):");
59 +       label = gtk_label_new(_("Refresh (mins.):"));
60         gtk_box_pack_start(GTK_BOX(refresh_holder), label, TRUE, FALSE, 0);
61         gtk_widget_show(label);
62         refresh = gtk_entry_new();
63 @@ -194,7 +194,7 @@
64         gtk_widget_show(refresh_holder);
65  
66         file_holder = gtk_hbox_new(FALSE, 0);
67 -       label = gtk_label_new("City HTML file:");
68 +       label = gtk_label_new(_("City HTML file:"));
69         gtk_box_pack_start(GTK_BOX(file_holder), label, TRUE, FALSE, 0);
70         gtk_widget_show(label);
71         city_file = gtk_entry_new();
72 @@ -257,9 +257,9 @@
73         gnome_config_pop_prefix();
74         if (weather_city_file == NULL) {
75                 first_instance = TRUE;
76 -               show_info_msg("Default city is Ensenada, Mexico.");
77 +               show_info_msg(_("Default city is Ensenada, Mexico."));
78                 refresh_time = 60.0;
79 -               weather_city_file = "mx__ensenada.html";
80 +               weather_city_file = _("mx__ensenada.html");
81         }
82  
83         applet_size = applet_widget_get_panel_pixel_size(APPLET_WIDGET(applet));
84 diff -Nru Gforecast-0.3/Gforecast.desktop Gforecast-0.3.new/Gforecast.desktop
85 --- Gforecast-0.3/Gforecast.desktop     Mon Jul 31 13:38:17 2000
86 +++ Gforecast-0.3.new/Gforecast.desktop Mon Jul 31 13:37:25 2000
87 @@ -3,6 +3,7 @@
88  Name[es]=Gpronostico
89  Comment=A weather forecast providing GNOME applet
90  Comment[es]=Un applet GNOME para ver el clima
91 +Comment[pl]=Aplet udostêpniajacy informacje o pogodzie
92  #Exec=Gforecast --activate-goad-server=Gforecast
93  Exec=Gforecast
94  Icon=Gforecast.png
95 diff -Nru Gforecast-0.3/Makefile.am Gforecast-0.3.new/Makefile.am
96 --- Gforecast-0.3/Makefile.am   Mon Jul 31 13:38:17 2000
97 +++ Gforecast-0.3.new/Makefile.am       Mon Jul 31 13:37:25 2000
98 @@ -1,6 +1,6 @@
99  INCLUDES = -I. -I$(srcdir) -I$(includedir) $(GNOME_INCLUDEDIR)
100  
101 -SUBDIRS = macros
102 +SUBDIRS = macros po intl
103  
104  bin_PROGRAMS = Gforecast
105  
106 diff -Nru Gforecast-0.3/configure.in Gforecast-0.3.new/configure.in
107 --- Gforecast-0.3/configure.in  Mon Jul 31 13:38:17 2000
108 +++ Gforecast-0.3.new/configure.in      Mon Jul 31 13:38:43 2000
109 @@ -37,6 +37,9 @@
110  dnl utility conditional
111  AM_CONDITIONAL(FALSE, test "x" = "y")
112  
113 +ALL_LINGUAS="pl"
114 +AM_GNU_GETTEXT
115 +
116  dnl possibly have something like this
117  dnl AM_ARG_ENABLE(old-applets,
118  dnl[  --enable-old-applets            Build old applets],
119 @@ -101,8 +104,10 @@
120  dnl AC_DEFINE_UNQUOTED(GNOME_ICONDIR, "${prefix}/share/pixmaps")
121  
122  AC_OUTPUT([
123 -Makefile
124 -macros/Makefile
125 -Gforecast.spec
126 +       Makefile
127 +       intl/Makefile
128 +       po/Makefile.in
129 +       macros/Makefile
130 +       Gforecast.spec
131  ])
132  
133 diff -Nru Gforecast-0.3/po/POTFILES.in Gforecast-0.3.new/po/POTFILES.in
134 --- Gforecast-0.3/po/POTFILES.in        Thu Jan  1 01:00:00 1970
135 +++ Gforecast-0.3.new/po/POTFILES.in    Mon Jul 31 13:37:25 2000
136 @@ -0,0 +1 @@
137 +Gforecast.c
138 \ No newline at end of file
139 diff -Nru Gforecast-0.3/po/pl.po Gforecast-0.3.new/po/pl.po
140 --- Gforecast-0.3/po/pl.po      Thu Jan  1 01:00:00 1970
141 +++ Gforecast-0.3.new/po/pl.po  Mon Jul 31 13:37:25 2000
142 @@ -0,0 +1,71 @@
143 +# SOME DESCRIPTIVE TITLE.
144 +# Copyright (C) YEAR Free Software Foundation, Inc.
145 +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
146 +#
147 +#, fuzzy
148 +msgid ""
149 +msgstr ""
150 +"Project-Id-Version: Gforecast 0.3\n"
151 +"POT-Creation-Date: 2000-07-31 13:03+0200\n"
152 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
153 +"Last-Translator: Tomasz K³oczko <kloczek@pld.org.pl>\n"
154 +"Language-Team: Polish <pl@li.org>\n"
155 +"MIME-Version: 1.0\n"
156 +"Content-Type: text/plain; charset=iso-8859-2\n"
157 +"Content-Transfer-Encoding: 8bit\n"
158 +
159 +#: Gforecast.c:132
160 +msgid "Could not get forecast, wrong file maybe?"
161 +msgstr ""
162 +
163 +#: Gforecast.c:148
164 +msgid "Showing question mark."
165 +msgstr ""
166 +
167 +#: Gforecast.c:180
168 +msgid "Configuration"
169 +msgstr "Konfiguracja"
170 +
171 +#: Gforecast.c:185
172 +msgid "Refresh (mins.):"
173 +msgstr "Od¶wie¿ane co (minut):"
174 +
175 +#: Gforecast.c:197
176 +msgid "City HTML file:"
177 +msgstr "Plik HTML miasta:"
178 +
179 +#: Gforecast.c:224
180 +msgid "Failed to launch browser"
181 +msgstr ""
182 +
183 +#: Gforecast.c:235
184 +msgid "Gforecast"
185 +msgstr ""
186 +
187 +#: Gforecast.c:236
188 +msgid "Copyright (C) 2000 Roberto Machorro"
189 +msgstr "Copyright (C) 2000 Roberto Machorro"
190 +
191 +#: Gforecast.c:260
192 +msgid "Default city is Ensenada, Mexico."
193 +msgstr "Domy¶lnym miastem jest Warszawa, Polska."
194 +
195 +#: Gforecast.c:262
196 +msgid "mx__ensenada.html"
197 +msgstr "pl_warszawa.html"
198 +
199 +#: Gforecast.c:284
200 +msgid "Properties"
201 +msgstr "Ustawienia"
202 +
203 +#: Gforecast.c:291
204 +msgid "View Website"
205 +msgstr ""
206 +
207 +#: Gforecast.c:298
208 +msgid "Update"
209 +msgstr "Od¶wie¿"
210 +
211 +#: Gforecast.c:305
212 +msgid "About"
213 +msgstr "O programie"
214 diff -Nru Gforecast-0.3/po/stamp-cat-id Gforecast-0.3.new/po/stamp-cat-id
215 --- Gforecast-0.3/po/stamp-cat-id       Thu Jan  1 01:00:00 1970
216 +++ Gforecast-0.3.new/po/stamp-cat-id   Mon Jul 31 13:37:25 2000
217 @@ -0,0 +1 @@
218 +timestamp
This page took 0.061021 seconds and 3 git commands to generate.