Merge lp:~dpm/gui-ufw/improve-i18n into lp:gui-ufw/gufw-10.10

Proposed by David Planella
Status: Superseded
Proposed branch: lp:~dpm/gui-ufw/improve-i18n
Merge into: lp:gui-ufw/gufw-10.10
Diff against target: 1148 lines (+275/-497)
12 files modified
bin/gufw (+2/-2)
data/ui/gufw.glade (+8/-7)
gufw.desktop.in (+4/-53)
gufw/__init__.py (+1/-0)
gufw/gufwconfig.py (+58/-0)
gufw/model/__init__.py (+1/-0)
gufw/view/__init__.py (+1/-0)
gufw/view/guiGufw.py (+16/-13)
locale-langpack/template/messages.pot (+0/-363)
man/gufw.8 (+96/-0)
po/POTFILES.in (+3/-0)
setup.py (+85/-59)
To merge this branch: bzr merge lp:~dpm/gui-ufw/improve-i18n
Reviewer Review Type Date Requested Status
costales Approve
Review via email: mp+33303@code.launchpad.net

This proposal has been superseded by a proposal from 2010-10-04.

Description of the change

= Improve i18n handling and use a more standard build system layout =

This branch provides some improvements to the build system and to the handling of translations. Here are some of them:

* Use more standard locations for data and code. Using python-distutils-extra helps simplifying the setup.py file
* Instead of using the binary mo files, translations should be built from the PO files before each release. Now there is a command to build and test translations: 'python setup.py build_i18n' will build the PO file translations into MO binary files inside the build/ directory. 'python setup.py sdist' will properly include the translations when preparing a tarball for release. Finally, the debian package will also do the right thing, and include the PO files in the source package and install mo files.
* Now there are no hardcoded paths in the code, meaning that the upstream code is not Ubuntu specific and can be built for every distribution.

If you accept these suggestions, we can then go on to enable automatic imports and exports of translations in Launchpad, which would make your life as a maintainer a lot easier while managing translations. It shouldn't take more than five minutes, and we can do it over IRC.

I hope you find this branch useful, and good work with gufw!

To post a comment you must log in.
Revision history for this message
costales (costales) :
review: Approve

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== removed directory 'Alacarte_menu'
2=== renamed directory 'global_command' => 'bin'
3=== modified file 'bin/gufw'
4--- global_command/gufw 2010-06-13 09:22:18 +0000
5+++ bin/gufw 2010-08-21 19:24:44 +0000
6@@ -1,4 +1,4 @@
7 #!/bin/bash
8 # This script starts Gufw from the console
9-su-to-root -X -c /usr/share/gufw/gufw.py
10-
11+# FIXME: This is a hack. The executable path should not be hardcoded
12+su-to-root -X -c 'python /usr/share/pyshared/gufw/gufw.py'
13
14=== added directory 'data'
15=== renamed directory 'icon' => 'data/media'
16=== renamed file 'pixmaps/allow_allow.png' => 'data/media/allow_allow.png'
17=== renamed file 'pixmaps/allow_deny.png' => 'data/media/allow_deny.png'
18=== renamed file 'pixmaps/allow_disable.png' => 'data/media/allow_disable.png'
19=== renamed file 'pixmaps/allow_reject.png' => 'data/media/allow_reject.png'
20=== renamed file 'pixmaps/deny_allow.png' => 'data/media/deny_allow.png'
21=== renamed file 'pixmaps/deny_deny.png' => 'data/media/deny_deny.png'
22=== renamed file 'pixmaps/deny_disable.png' => 'data/media/deny_disable.png'
23=== renamed file 'pixmaps/deny_reject.png' => 'data/media/deny_reject.png'
24=== renamed file 'src/glade/disable.png' => 'data/media/disable.png'
25=== renamed file 'pixmaps/disable_allow.png' => 'data/media/disable_allow.png'
26=== renamed file 'pixmaps/disable_deny.png' => 'data/media/disable_deny.png'
27=== renamed file 'pixmaps/disable_disable.png' => 'data/media/disable_disable.png'
28=== renamed file 'pixmaps/disable_reject.png' => 'data/media/disable_reject.png'
29=== renamed file 'src/glade/gufw.png' => 'data/media/gufw.png'
30=== renamed file 'src/glade/gufw_menu.png' => 'data/media/gufw_menu.png'
31=== renamed file 'icon/gufw_menu.png' => 'data/media/icon.png'
32=== renamed file 'pixmaps/reject_allow.png' => 'data/media/reject_allow.png'
33=== renamed file 'pixmaps/reject_deny.png' => 'data/media/reject_deny.png'
34=== renamed file 'pixmaps/reject_disable.png' => 'data/media/reject_disable.png'
35=== renamed file 'pixmaps/reject_reject.png' => 'data/media/reject_reject.png'
36=== renamed file 'pixmaps/source.xcf' => 'data/media/source.xcf'
37=== renamed directory 'src/glade' => 'data/ui'
38=== modified file 'data/ui/gufw.glade'
39--- src/glade/gufw.glade 2010-08-18 15:04:41 +0000
40+++ data/ui/gufw.glade 2010-08-21 19:24:44 +0000
41@@ -2,9 +2,10 @@
42 <glade-interface>
43 <!-- interface-requires gtk+ 2.16 -->
44 <!-- interface-naming-policy toplevel-contextual -->
45+ <!-- interface-local-resource-path ../media -->
46 <widget class="GtkWindow" id="winMain">
47 <property name="title" translatable="yes">Firewall</property>
48- <property name="icon">gufw_menu.png</property>
49+ <property name="icon">../media/gufw_menu.png</property>
50 <signal name="delete_event" handler="winMain_delete_event_cb"/>
51 <child>
52 <widget class="GtkVBox" id="vbox1">
53@@ -482,7 +483,7 @@
54 <child>
55 <widget class="GtkImage" id="imgShield">
56 <property name="visible">True</property>
57- <property name="pixbuf">disable.png</property>
58+ <property name="pixbuf">../media/gufw.png</property>
59 </widget>
60 <packing>
61 <property name="position">1</property>
62@@ -1009,7 +1010,7 @@
63 <property name="resizable">False</property>
64 <property name="window_position">center-on-parent</property>
65 <property name="destroy_with_parent">True</property>
66- <property name="icon">gufw_menu.png</property>
67+ <property name="icon">../media/gufw_menu.png</property>
68 <property name="type_hint">dialog</property>
69 <property name="transient_for">winMain</property>
70 <signal name="key_press_event" handler="winAdd_key_press_event_cb"/>
71@@ -3058,7 +3059,7 @@
72 <property name="resizable">False</property>
73 <property name="window_position">center-on-parent</property>
74 <property name="destroy_with_parent">True</property>
75- <property name="icon">gufw_menu.png</property>
76+ <property name="icon">../media/gufw_menu.png</property>
77 <property name="type_hint">dialog</property>
78 <property name="transient_for">winMain</property>
79 <property name="has_separator">False</property>
80@@ -3103,7 +3104,7 @@
81 http://creativecommons.org/licenses/by/3.0/at/
82 All modified pictures are licenced by the same
83 creative commons as original.</property>
84- <property name="logo">gufw.png</property>
85+ <property name="logo">../media/gufw.png</property>
86 <signal name="delete_event" handler="winAbout_delete_event_cb"/>
87 <child internal-child="vbox">
88 <widget class="GtkVBox" id="dialog-vbox1">
89@@ -3132,7 +3133,7 @@
90 <property name="modal">True</property>
91 <property name="window_position">center-on-parent</property>
92 <property name="destroy_with_parent">True</property>
93- <property name="icon">gufw_menu.png</property>
94+ <property name="icon">../media/gufw_menu.png</property>
95 <property name="type_hint">dialog</property>
96 <property name="transient_for">winMain</property>
97 <signal name="key_press_event" handler="winPreferences_key_press_event_cb"/>
98@@ -3605,7 +3606,7 @@
99 <property name="modal">True</property>
100 <property name="window_position">center-on-parent</property>
101 <property name="destroy_with_parent">True</property>
102- <property name="icon">gufw_menu.png</property>
103+ <property name="icon">../media/gufw_menu.png</property>
104 <property name="type_hint">dialog</property>
105 <property name="transient_for">winMain</property>
106 <signal name="key_press_event" handler="winLog_key_press_event_cb"/>
107
108=== renamed directory 'src' => 'gufw'
109=== renamed file 'Alacarte_menu/gufw.desktop' => 'gufw.desktop.in'
110--- Alacarte_menu/gufw.desktop 2010-06-13 09:22:18 +0000
111+++ gufw.desktop.in 2010-08-21 19:24:44 +0000
112@@ -1,57 +1,8 @@
113 [Desktop Entry]
114-Version=1.0
115+_Name=Firewall configuration
116+_Comment=Allows you to configure ufw firewall
117 Type=Application
118 Terminal=false
119-Exec=su-to-root -X -c /usr/share/gufw/gufw.py
120-Name=Firewall configuration
121-Name[zh_CN]=防火墙配置
122-Name[uk]=Налаштування фаєрволу
123-Name[sk]=Nastavenia firewall
124-Name[ru]=Брандмауэр
125-Name[pt_BR]=Configuração do firewall
126-Name[pt]=Configuração de Firewall
127-Name[nl]=Firewall-instellingen
128-Name[mk]=конфигурирација на огнениот ѕид
129-Name[ko]=방화벽 설정
130-Name[ja]=ファイアウォールの設定
131-Name[it]=Configurazione firewall
132-Name[id]=Konfigurasi firewall
133-Name[hu]=Tűzfalbeállítás
134-Name[gl]=Configuración da devasa
135-Name[fr]=Configuration du pare-feu
136-Name[fi]=Palomuurin asetukset
137-Name[es]=Configuración cortafuegos
138-Name[en_AU]=Firewall configuration
139-Name[da]=Konfiguration af brandmur
140-Name[cs]=Nastavení firewallu
141-Name[ca]=Configuració del tallafocs
142-Name[bg]=Конфигуриране на защитната стена
143-Name[ast]=Configuración del tornafuéu
144-Name[ar]=إعدادات الجدار الناري
145-Comment=Allows you to configure ufw firewall
146-Comment[zh_CN]=允许您配置 ufw 防火墙
147-Comment[uk]=Дозволяє настроїти фаєрвол ufw
148-Comment[sk]=Umožní vám nastaviť ufw firewall
149-Comment[ru]=Настроить брандмауэр ufw
150-Comment[pt_BR]=Permite a você configurar o firewall ufw
151-Comment[pt]=Permite-lhe configurar ufw firewall
152-Comment[nl]=Hiermee kunt u de ufw-firewall instellen
153-Comment[mk]=Овозможува да го конфигурирате ufw огнениот ѕид
154-Comment[ko]=ufw 방화벽을 설정합니다
155-Comment[ja]=ufw ファイアウォールの設定を行えます
156-Comment[it]=Configura il firewall ufw
157-Comment[id]=Memudahkan anda untuk mengkonfigurasi firewall ufw
158-Comment[hu]=Az ufw tűzfal beállítása
159-Comment[gl]=Permítelle configurar a súa devasa ufw
160-Comment[fr]=Vous autorise à configurer le pare-feu ufw
161-Comment[fi]=Graafinen käyttöliittymä ufw-palomuurin hallintaan
162-Comment[es]=Permite configurar el cortafuegos ufw
163-Comment[en_AU]=Configure the ufw firewall
164-Comment[da]=Giver dig mulighed for at konfigurere ufw-brandmur
165-Comment[cs]=Umožňuje nastavení firewallu ufw
166-Comment[ca]=Us permet configurar el tallafocs ufw
167-Comment[bg]=ГПИ за контрол и настройка на ufw
168-Comment[ast]=Permite configurar el tornafuéu ufw
169-Comment[ar]=يسٌمح لك بإعداد الجدار الناري UFW
170-Icon=/usr/share/icons/hicolor/48x48/apps/gufw_menu.png
171+Exec=gufw
172+Icon=/usr/share/gufw/media/icon.png
173 Categories=System;Settings;
174
175=== added file 'gufw/__init__.py'
176--- gufw/__init__.py 1970-01-01 00:00:00 +0000
177+++ gufw/__init__.py 2010-08-21 19:24:44 +0000
178@@ -0,0 +1,1 @@
179+# -*- coding: utf-8 -*-
180
181=== added file 'gufw/gufwconfig.py'
182--- gufw/gufwconfig.py 1970-01-01 00:00:00 +0000
183+++ gufw/gufwconfig.py 2010-08-21 19:24:44 +0000
184@@ -0,0 +1,58 @@
185+# -*- coding: utf-8 -*-
186+### BEGIN LICENSE
187+# This file is in the public domain
188+### END LICENSE
189+
190+# THIS IS Gufw CONFIGURATION FILE
191+# YOU CAN PUT THERE SOME GLOBAL VALUE
192+# Do not touch unless you know what you're doing.
193+# you're warned :)
194+
195+__all__ = [
196+ 'project_path_not_found',
197+ 'get_data_file',
198+ 'get_data_path',
199+ ]
200+
201+# Where your project will look for your data (for instance, images and ui
202+# files). By default, this is ../data, relative your trunk layout
203+__gufw_data_directory__ = '../data/'
204+__license__ = ''
205+
206+import os
207+
208+import gettext
209+from gettext import gettext as _
210+gettext.textdomain('gufw')
211+
212+class project_path_not_found(Exception):
213+ """Raised when we can't find the project directory."""
214+
215+
216+def get_data_file(*path_segments):
217+ """Get the full path to a data file.
218+
219+ Returns the path to a file underneath the data directory (as defined by
220+ `get_data_path`). Equivalent to os.path.join(get_data_path(),
221+ *path_segments).
222+ """
223+ return os.path.join(get_data_path(), *path_segments)
224+
225+
226+def get_data_path():
227+ """Retrieve gufw data path
228+
229+ This path is by default <gufw_lib_path>/../data/ in trunk
230+ and /usr/share/gufw in an installed version but this path
231+ is specified at installation time.
232+ """
233+
234+ # Get pathname absolute or relative.
235+ path = os.path.join(
236+ os.path.dirname(__file__), __gufw_data_directory__)
237+
238+ abs_data_path = os.path.abspath(path)
239+ if not os.path.exists(abs_data_path):
240+ raise project_path_not_found
241+
242+ return abs_data_path
243
244=== modified file 'gufw/model/__init__.py'
245--- src/model/__init__.py 2010-06-13 09:22:18 +0000
246+++ gufw/model/__init__.py 2010-08-21 19:24:44 +0000
247@@ -0,0 +1,1 @@
248+# -*- coding: utf-8 -*-
249
250=== modified file 'gufw/view/__init__.py'
251--- src/view/__init__.py 2010-06-13 09:22:18 +0000
252+++ gufw/view/__init__.py 2010-08-21 19:24:44 +0000
253@@ -0,0 +1,1 @@
254+# -*- coding: utf-8 -*-
255
256=== modified file 'gufw/view/guiGufw.py'
257--- src/view/guiGufw.py 2010-08-16 13:50:22 +0000
258+++ gufw/view/guiGufw.py 2010-08-21 19:24:44 +0000
259@@ -21,15 +21,14 @@
260 import sys
261 import locale
262 import gettext
263+from gettext import gettext as _
264 import commands
265 import threading
266+import os
267+from gufwconfig import get_data_file, get_data_path
268
269 # Locale translations
270-DIR = "/usr/share/locale-langpack"
271-_ = gettext.gettext
272-gettext.bindtextdomain("gufw", DIR)
273 gettext.textdomain("gufw")
274-gtk.glade.bindtextdomain("gufw", DIR)
275 gtk.glade.textdomain("gufw")
276
277
278@@ -39,7 +38,11 @@
279 self.firewall = firewall
280
281 # Set GUI objects
282- self.glade = gtk.glade.XML(sys.path[0] + "/glade/gufw.glade")
283+ ui_filename = get_data_file('ui', 'gufw.glade')
284+ if not os.path.exists(ui_filename):
285+ ui_filename = None
286+ self.glade = gtk.glade.XML(ui_filename)
287+
288 self.model_rules = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.TYPE_STRING,
289 gobject.TYPE_STRING, gobject.TYPE_STRING)
290 self.model_report = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.TYPE_STRING,
291@@ -253,7 +256,8 @@
292 self.add_btn_add.set_sensitive(0)
293 self.btn_remove_rule.set_sensitive(0)
294 self.menu_remove.set_sensitive(0)
295- self.shield.set_from_file("/usr/share/pixmaps/gufw/disable_disable.png")
296+ shield_filename = os.path.join(get_data_path(), 'media/disable_disable.png')
297+ self.shield.set_from_file(shield_filename)
298 else:
299 self.cb_policy_incoming.set_sensitive(1)
300 self.cb_policy_outgoing.set_sensitive(1)
301@@ -264,14 +268,13 @@
302 else:
303 self.btn_remove_rule.set_sensitive(1)
304 self.menu_remove.set_sensitive(1)
305-
306- shield = "/usr/share/pixmaps/gufw/" + \
307- self.firewall.get_default_policy("incoming") + \
308+
309+ shield_name = self.firewall.get_default_policy("incoming") + \
310 "_" + \
311- self.firewall.get_default_policy("outgoing") + \
312- ".png"
313- self.shield.set_from_file(shield)
314-
315+ self.firewall.get_default_policy("outgoing")
316+ shield_filename = os.path.join(get_data_path(), 'media/%s.png' % shield_name)
317+ self.shield.set_from_file(shield_filename)
318+
319 # Menu
320 self.menu_pref.set_sensitive(1)
321 if self.firewall.get_gufw_logging() == "enable":
322
323=== removed directory 'locale-langpack'
324=== removed directory 'locale-langpack/ar'
325=== removed directory 'locale-langpack/ar/LC_MESSAGES'
326=== removed file 'locale-langpack/ar/LC_MESSAGES/gufw.mo'
327Binary files locale-langpack/ar/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/ar/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
328=== removed directory 'locale-langpack/ast'
329=== removed directory 'locale-langpack/ast/LC_MESSAGES'
330=== removed file 'locale-langpack/ast/LC_MESSAGES/gufw.mo'
331Binary files locale-langpack/ast/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/ast/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
332=== removed directory 'locale-langpack/be'
333=== removed directory 'locale-langpack/be/LC_MESSAGES'
334=== removed file 'locale-langpack/be/LC_MESSAGES/gufw.mo'
335Binary files locale-langpack/be/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/be/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
336=== removed directory 'locale-langpack/bg'
337=== removed directory 'locale-langpack/bg/LC_MESSAGES'
338=== removed file 'locale-langpack/bg/LC_MESSAGES/gufw.mo'
339Binary files locale-langpack/bg/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/bg/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
340=== removed directory 'locale-langpack/ca'
341=== removed directory 'locale-langpack/ca/LC_MESSAGES'
342=== removed file 'locale-langpack/ca/LC_MESSAGES/gufw.mo'
343Binary files locale-langpack/ca/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/ca/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
344=== removed directory 'locale-langpack/cs'
345=== removed directory 'locale-langpack/cs/LC_MESSAGES'
346=== removed file 'locale-langpack/cs/LC_MESSAGES/gufw.mo'
347Binary files locale-langpack/cs/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/cs/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
348=== removed directory 'locale-langpack/da'
349=== removed directory 'locale-langpack/da/LC_MESSAGES'
350=== removed file 'locale-langpack/da/LC_MESSAGES/gufw.mo'
351Binary files locale-langpack/da/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/da/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
352=== removed directory 'locale-langpack/de'
353=== removed directory 'locale-langpack/de/LC_MESSAGES'
354=== removed file 'locale-langpack/de/LC_MESSAGES/gufw.mo'
355Binary files locale-langpack/de/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/de/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
356=== removed directory 'locale-langpack/el'
357=== removed directory 'locale-langpack/el/LC_MESSAGES'
358=== removed file 'locale-langpack/el/LC_MESSAGES/gufw.mo'
359Binary files locale-langpack/el/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/el/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
360=== removed directory 'locale-langpack/en_AU'
361=== removed directory 'locale-langpack/en_AU/LC_MESSAGES'
362=== removed file 'locale-langpack/en_AU/LC_MESSAGES/gufw.mo'
363Binary files locale-langpack/en_AU/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/en_AU/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
364=== removed directory 'locale-langpack/en_CA'
365=== removed directory 'locale-langpack/en_CA/LC_MESSAGES'
366=== removed file 'locale-langpack/en_CA/LC_MESSAGES/gufw.mo'
367Binary files locale-langpack/en_CA/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/en_CA/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
368=== removed directory 'locale-langpack/en_GB'
369=== removed directory 'locale-langpack/en_GB/LC_MESSAGES'
370=== removed file 'locale-langpack/en_GB/LC_MESSAGES/gufw.mo'
371Binary files locale-langpack/en_GB/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/en_GB/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
372=== removed directory 'locale-langpack/es'
373=== removed directory 'locale-langpack/es/LC_MESSAGES'
374=== removed file 'locale-langpack/es/LC_MESSAGES/gufw.mo'
375Binary files locale-langpack/es/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/es/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
376=== removed directory 'locale-langpack/eu'
377=== removed directory 'locale-langpack/eu/LC_MESSAGES'
378=== removed file 'locale-langpack/eu/LC_MESSAGES/gufw.mo'
379Binary files locale-langpack/eu/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/eu/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
380=== removed directory 'locale-langpack/fi'
381=== removed directory 'locale-langpack/fi/LC_MESSAGES'
382=== removed file 'locale-langpack/fi/LC_MESSAGES/gufw.mo'
383Binary files locale-langpack/fi/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/fi/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
384=== removed directory 'locale-langpack/fo'
385=== removed directory 'locale-langpack/fo/LC_MESSAGES'
386=== removed file 'locale-langpack/fo/LC_MESSAGES/gufw.mo'
387Binary files locale-langpack/fo/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/fo/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
388=== removed directory 'locale-langpack/fr'
389=== removed directory 'locale-langpack/fr/LC_MESSAGES'
390=== removed file 'locale-langpack/fr/LC_MESSAGES/gufw.mo'
391Binary files locale-langpack/fr/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/fr/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
392=== removed directory 'locale-langpack/gl'
393=== removed directory 'locale-langpack/gl/LC_MESSAGES'
394=== removed file 'locale-langpack/gl/LC_MESSAGES/gufw.mo'
395Binary files locale-langpack/gl/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/gl/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
396=== removed directory 'locale-langpack/he'
397=== removed directory 'locale-langpack/he/LC_MESSAGES'
398=== removed file 'locale-langpack/he/LC_MESSAGES/gufw.mo'
399Binary files locale-langpack/he/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/he/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
400=== removed directory 'locale-langpack/hr'
401=== removed directory 'locale-langpack/hr/LC_MESSAGES'
402=== removed file 'locale-langpack/hr/LC_MESSAGES/gufw.mo'
403Binary files locale-langpack/hr/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/hr/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
404=== removed directory 'locale-langpack/hu'
405=== removed directory 'locale-langpack/hu/LC_MESSAGES'
406=== removed file 'locale-langpack/hu/LC_MESSAGES/gufw.mo'
407Binary files locale-langpack/hu/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/hu/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
408=== removed directory 'locale-langpack/id'
409=== removed directory 'locale-langpack/id/LC_MESSAGES'
410=== removed file 'locale-langpack/id/LC_MESSAGES/gufw.mo'
411Binary files locale-langpack/id/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/id/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
412=== removed directory 'locale-langpack/is'
413=== removed directory 'locale-langpack/is/LC_MESSAGES'
414=== removed file 'locale-langpack/is/LC_MESSAGES/gufw.mo'
415Binary files locale-langpack/is/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/is/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
416=== removed directory 'locale-langpack/it'
417=== removed directory 'locale-langpack/it/LC_MESSAGES'
418=== removed file 'locale-langpack/it/LC_MESSAGES/gufw.mo'
419Binary files locale-langpack/it/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/it/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
420=== removed directory 'locale-langpack/ja'
421=== removed directory 'locale-langpack/ja/LC_MESSAGES'
422=== removed file 'locale-langpack/ja/LC_MESSAGES/gufw.mo'
423Binary files locale-langpack/ja/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/ja/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
424=== removed directory 'locale-langpack/ko'
425=== removed directory 'locale-langpack/ko/LC_MESSAGES'
426=== removed file 'locale-langpack/ko/LC_MESSAGES/gufw.mo'
427Binary files locale-langpack/ko/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/ko/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
428=== removed directory 'locale-langpack/lv'
429=== removed directory 'locale-langpack/lv/LC_MESSAGES'
430=== removed file 'locale-langpack/lv/LC_MESSAGES/gufw.mo'
431Binary files locale-langpack/lv/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/lv/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
432=== removed directory 'locale-langpack/mk'
433=== removed directory 'locale-langpack/mk/LC_MESSAGES'
434=== removed file 'locale-langpack/mk/LC_MESSAGES/gufw.mo'
435Binary files locale-langpack/mk/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/mk/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
436=== removed directory 'locale-langpack/ms'
437=== removed directory 'locale-langpack/ms/LC_MESSAGES'
438=== removed file 'locale-langpack/ms/LC_MESSAGES/gufw.mo'
439Binary files locale-langpack/ms/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/ms/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
440=== removed directory 'locale-langpack/nb'
441=== removed directory 'locale-langpack/nb/LC_MESSAGES'
442=== removed file 'locale-langpack/nb/LC_MESSAGES/gufw.mo'
443Binary files locale-langpack/nb/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/nb/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
444=== removed directory 'locale-langpack/nl'
445=== removed directory 'locale-langpack/nl/LC_MESSAGES'
446=== removed file 'locale-langpack/nl/LC_MESSAGES/gufw.mo'
447Binary files locale-langpack/nl/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/nl/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
448=== removed directory 'locale-langpack/pl'
449=== removed directory 'locale-langpack/pl/LC_MESSAGES'
450=== removed file 'locale-langpack/pl/LC_MESSAGES/gufw.mo'
451Binary files locale-langpack/pl/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/pl/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
452=== removed directory 'locale-langpack/pt'
453=== removed directory 'locale-langpack/pt/LC_MESSAGES'
454=== removed file 'locale-langpack/pt/LC_MESSAGES/gufw.mo'
455Binary files locale-langpack/pt/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/pt/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
456=== removed directory 'locale-langpack/pt_BR'
457=== removed directory 'locale-langpack/pt_BR/LC_MESSAGES'
458=== removed file 'locale-langpack/pt_BR/LC_MESSAGES/gufw.mo'
459Binary files locale-langpack/pt_BR/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/pt_BR/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
460=== removed directory 'locale-langpack/ro'
461=== removed directory 'locale-langpack/ro/LC_MESSAGES'
462=== removed file 'locale-langpack/ro/LC_MESSAGES/gufw.mo'
463Binary files locale-langpack/ro/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/ro/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
464=== removed directory 'locale-langpack/ru'
465=== removed directory 'locale-langpack/ru/LC_MESSAGES'
466=== removed file 'locale-langpack/ru/LC_MESSAGES/gufw.mo'
467Binary files locale-langpack/ru/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/ru/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
468=== removed directory 'locale-langpack/sk'
469=== removed directory 'locale-langpack/sk/LC_MESSAGES'
470=== removed file 'locale-langpack/sk/LC_MESSAGES/gufw.mo'
471Binary files locale-langpack/sk/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/sk/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
472=== removed directory 'locale-langpack/sl'
473=== removed directory 'locale-langpack/sl/LC_MESSAGES'
474=== removed file 'locale-langpack/sl/LC_MESSAGES/gufw.mo'
475Binary files locale-langpack/sl/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/sl/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
476=== removed directory 'locale-langpack/sq'
477=== removed directory 'locale-langpack/sq/LC_MESSAGES'
478=== removed file 'locale-langpack/sq/LC_MESSAGES/gufw.mo'
479Binary files locale-langpack/sq/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/sq/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
480=== removed directory 'locale-langpack/sr'
481=== removed directory 'locale-langpack/sr/LC_MESSAGES'
482=== removed file 'locale-langpack/sr/LC_MESSAGES/gufw.mo'
483Binary files locale-langpack/sr/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/sr/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
484=== removed directory 'locale-langpack/sv'
485=== removed directory 'locale-langpack/sv/LC_MESSAGES'
486=== removed file 'locale-langpack/sv/LC_MESSAGES/gufw.mo'
487Binary files locale-langpack/sv/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/sv/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
488=== removed directory 'locale-langpack/template'
489=== removed file 'locale-langpack/template/messages.pot'
490--- locale-langpack/template/messages.pot 2010-08-14 19:41:02 +0000
491+++ locale-langpack/template/messages.pot 1970-01-01 00:00:00 +0000
492@@ -1,363 +0,0 @@
493-# SOME DESCRIPTIVE TITLE.
494-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
495-# This file is distributed under the same license as the PACKAGE package.
496-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
497-#
498-#, fuzzy
499-msgid ""
500-msgstr ""
501-"Project-Id-Version: PACKAGE VERSION\n"
502-"Report-Msgid-Bugs-To: \n"
503-"POT-Creation-Date: 2010-08-13 16:14+0200\n"
504-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
505-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
506-"Language-Team: LANGUAGE <LL@li.org>\n"
507-"MIME-Version: 1.0\n"
508-"Content-Type: text/plain; charset=UTF-8\n"
509-"Content-Transfer-Encoding: 8bit\n"
510-
511-#: src/glade/gufw.glade:6
512-msgid "Firewall"
513-msgstr ""
514-
515-#: src/glade/gufw.glade:18
516-msgid "_File"
517-msgstr ""
518-
519-#: src/glade/gufw.glade:25 src/glade/gufw.glade:3604
520-msgid "Log"
521-msgstr ""
522-
523-#: src/glade/gufw.glade:59
524-msgid "_Edit"
525-msgstr ""
526-
527-#: src/glade/gufw.glade:66 src/glade/gufw.glade:1008
528-msgid "Add Rule"
529-msgstr ""
530-
531-#: src/glade/gufw.glade:80
532-msgid "Remove Rule"
533-msgstr ""
534-
535-#: src/glade/gufw.glade:94
536-msgid "Reset Configuration..."
537-msgstr ""
538-
539-#: src/glade/gufw.glade:128
540-msgid "_Help"
541-msgstr ""
542-
543-#: src/glade/gufw.glade:221
544-msgid "<b>Actual Status</b>"
545-msgstr ""
546-
547-#: src/glade/gufw.glade:253
548-msgid "Enabled"
549-msgstr ""
550-
551-#: src/glade/gufw.glade:313
552-msgid "Incoming:"
553-msgstr ""
554-
555-#: src/glade/gufw.glade:320
556-msgid "Outgoing:"
557-msgstr ""
558-
559-#: src/glade/gufw.glade:362 src/glade/gufw.glade:375
560-msgid ""
561-"Deny\n"
562-"Reject\n"
563-"Allow"
564-msgstr ""
565-
566-#: src/glade/gufw.glade:587
567-msgid "<b>Rules</b>"
568-msgstr ""
569-
570-#: src/glade/gufw.glade:703
571-msgid "Open a window for add rules"
572-msgstr ""
573-
574-#: src/glade/gufw.glade:719
575-msgid "Remove the selected rule(s)"
576-msgstr ""
577-
578-#: src/glade/gufw.glade:805
579-msgid "<b>Listening Report</b>"
580-msgstr ""
581-
582-#: src/glade/gufw.glade:1130 src/glade/gufw.glade:1713
583-#: src/glade/gufw.glade:2221
584-msgid "Insert the rule in a row specified"
585-msgstr ""
586-
587-#: src/glade/gufw.glade:1213 src/glade/gufw.glade:1794
588-#: src/glade/gufw.glade:2302
589-msgid ""
590-"Allow\n"
591-"Deny\n"
592-"Reject\n"
593-"Limit"
594-msgstr ""
595-
596-#: src/glade/gufw.glade:1284 src/glade/gufw.glade:1865
597-#: src/glade/gufw.glade:2373
598-msgid ""
599-"In\n"
600-"Out"
601-msgstr ""
602-
603-#: src/glade/gufw.glade:1360 src/glade/gufw.glade:1941
604-#: src/glade/gufw.glade:2452
605-msgid "Log will log all new connections. Log all will log all packets"
606-msgstr ""
607-
608-#: src/glade/gufw.glade:1361 src/glade/gufw.glade:1942
609-#: src/glade/gufw.glade:2453
610-msgid ""
611-"No log\n"
612-"Log\n"
613-"Log all"
614-msgstr ""
615-
616-#: src/glade/gufw.glade:1433
617-msgid ""
618-"Program\n"
619-"Service"
620-msgstr ""
621-
622-#: src/glade/gufw.glade:1635
623-msgid "Preconfigured"
624-msgstr ""
625-
626-#: src/glade/gufw.glade:2021 src/glade/gufw.glade:2532
627-msgid ""
628-"TCP\n"
629-"UDP\n"
630-"Both"
631-msgstr ""
632-
633-#: src/glade/gufw.glade:2088
634-msgid "Service or port (range ports \"port1:port2\")"
635-msgstr ""
636-
637-#: src/glade/gufw.glade:2145
638-msgid "Simple"
639-msgstr ""
640-
641-#: src/glade/gufw.glade:2584 src/view/guiGufw.py:86
642-msgid "From"
643-msgstr ""
644-
645-#: src/glade/gufw.glade:2606 src/view/guiGufw.py:80
646-msgid "To"
647-msgstr ""
648-
649-#: src/glade/gufw.glade:2643 src/glade/gufw.glade:2670
650-msgid "IP Address"
651-msgstr ""
652-
653-#: src/glade/gufw.glade:2710 src/glade/gufw.glade:2737
654-msgid "Port number (range ports \"port1:port2\")"
655-msgstr ""
656-
657-#: src/glade/gufw.glade:2790
658-msgid "Reset to the default values"
659-msgstr ""
660-
661-#: src/glade/gufw.glade:2870
662-msgid "Advanced"
663-msgstr ""
664-
665-#: src/glade/gufw.glade:2947
666-msgid "Show extended actions"
667-msgstr ""
668-
669-#: src/glade/gufw.glade:2986
670-msgid "Add this rule to the firewall"
671-msgstr ""
672-
673-#: src/glade/gufw.glade:3057
674-msgid "About Gufw"
675-msgstr ""
676-
677-#: src/glade/gufw.glade:3067
678-msgid "© 2008-2010 The Gufw project"
679-msgstr ""
680-
681-#: src/glade/gufw.glade:3068
682-msgid "Graphic user interface for ufw"
683-msgstr ""
684-
685-#: src/glade/gufw.glade:3130
686-msgid "Preferences"
687-msgstr ""
688-
689-#: src/glade/gufw.glade:3195
690-msgid "Enable listening report"
691-msgstr ""
692-
693-#: src/glade/gufw.glade:3199
694-msgid ""
695-"Listening state for TCP and the open state for UDP\n"
696-"Enabled: Gufw will consume more CPU resources"
697-msgstr ""
698-
699-#: src/glade/gufw.glade:3240
700-msgid "<b>Listening Option</b>"
701-msgstr ""
702-
703-#: src/glade/gufw.glade:3311
704-msgid "Enable Gufw logging"
705-msgstr ""
706-
707-#: src/glade/gufw.glade:3352
708-msgid "Enable ufw logging."
709-msgstr ""
710-
711-#: src/glade/gufw.glade:3420
712-msgid "Set level:"
713-msgstr ""
714-
715-#: src/glade/gufw.glade:3447
716-msgid ""
717-"Low\n"
718-"Medium\n"
719-"High\n"
720-"Full"
721-msgstr ""
722-
723-#: src/glade/gufw.glade:3489
724-msgid "<b>Log Options</b>"
725-msgstr ""
726-
727-#: src/glade/gufw.glade:3686
728-msgid "<b>Firewall Actions Log</b>"
729-msgstr ""
730-
731-#: src/glade/gufw.glade:3764
732-msgid "Show for server script"
733-msgstr ""
734-
735-#: src/glade/gufw.glade:3768
736-msgid "Tool for create a script in another computer"
737-msgstr ""
738-
739-#: src/glade/gufw.glade:3794
740-msgid "Remove all Gufw log"
741-msgstr ""
742-
743-#: src/view/guiGufw.py:83
744-msgid "Action"
745-msgstr ""
746-
747-#: src/view/guiGufw.py:94
748-msgid "Protocol"
749-msgstr ""
750-
751-#: src/view/guiGufw.py:97
752-msgid "Port"
753-msgstr ""
754-
755-#: src/view/guiGufw.py:100
756-msgid "Address"
757-msgstr ""
758-
759-#: src/view/guiGufw.py:103
760-msgid "Application"
761-msgstr ""
762-
763-#: src/view/guiGufw.py:166
764-msgid "translator-credits"
765-msgstr ""
766-
767-#: src/view/guiGufw.py:589
768-msgid "You will remove all rules and reset the firewall!"
769-msgstr ""
770-
771-#: src/view/guiGufw.py:590
772-msgid "Do you want to continue?"
773-msgstr ""
774-
775-#: src/view/guiGufw.py:591
776-msgid "Reset to initial configuration"
777-msgstr ""
778-
779-#: src/view/guiGufw.py:599
780-msgid "Removed rules and reset firewall!"
781-msgstr ""
782-
783-#: src/view/guiGufw.py:684
784-msgid "Disabled firewall"
785-msgstr ""
786-
787-#: src/view/guiGufw.py:688
788-msgid "Enabled firewall"
789-msgstr ""
790-
791-#: src/view/guiGufw.py:702
792-msgid "Deny all INCOMING traffic"
793-msgstr ""
794-
795-#: src/view/guiGufw.py:706
796-msgid "Reject all INCOMING traffic"
797-msgstr ""
798-
799-#: src/view/guiGufw.py:710
800-msgid "Allow all INCOMING traffic"
801-msgstr ""
802-
803-#: src/view/guiGufw.py:725
804-msgid "Deny all OUTGOING traffic"
805-msgstr ""
806-
807-#: src/view/guiGufw.py:729
808-msgid "Reject all OUTGOING traffic"
809-msgstr ""
810-
811-#: src/view/guiGufw.py:733
812-msgid "Allow all OUTGOING traffic"
813-msgstr ""
814-
815-#: src/view/guiGufw.py:769
816-msgid "Select rule(s)"
817-msgstr ""
818-
819-#: src/view/guiGufw.py:775
820-msgid "Removing rules..."
821-msgstr ""
822-
823-#: src/view/guiGufw.py:812
824-msgid "Rule removed"
825-msgstr ""
826-
827-#: src/view/guiGufw.py:814
828-msgid "Rules removed"
829-msgstr ""
830-
831-#: src/view/guiGufw.py:816 src/view/guiGufw.py:923 src/view/guiGufw.py:952
832-#: src/view/guiGufw.py:1024 src/view/guiGufw.py:1096
833-msgid "Error performing operation"
834-msgstr ""
835-
836-#: src/view/guiGufw.py:921 src/view/guiGufw.py:948 src/view/guiGufw.py:1022
837-#: src/view/guiGufw.py:1094
838-msgid "Rule added"
839-msgstr ""
840-
841-#: src/view/guiGufw.py:950
842-msgid "Rules added"
843-msgstr ""
844-
845-#: src/view/guiGufw.py:1011
846-msgid "Error: Insert a port number"
847-msgstr ""
848-
849-#: src/view/guiGufw.py:1016 src/view/guiGufw.py:1084 src/view/guiGufw.py:1088
850-msgid "Error: Range ports only with tcp or udp protocol"
851-msgstr ""
852-
853-#: src/view/guiGufw.py:1079
854-msgid "Error: Fields filled out incorrectly"
855-msgstr ""
856
857=== removed directory 'locale-langpack/th'
858=== removed directory 'locale-langpack/th/LC_MESSAGES'
859=== removed file 'locale-langpack/th/LC_MESSAGES/gufw.mo'
860Binary files locale-langpack/th/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/th/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
861=== removed directory 'locale-langpack/tl'
862=== removed directory 'locale-langpack/tl/LC_MESSAGES'
863=== removed file 'locale-langpack/tl/LC_MESSAGES/gufw.mo'
864Binary files locale-langpack/tl/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/tl/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
865=== removed directory 'locale-langpack/tr'
866=== removed directory 'locale-langpack/tr/LC_MESSAGES'
867=== removed file 'locale-langpack/tr/LC_MESSAGES/gufw.mo'
868Binary files locale-langpack/tr/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/tr/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
869=== removed directory 'locale-langpack/uk'
870=== removed directory 'locale-langpack/uk/LC_MESSAGES'
871=== removed file 'locale-langpack/uk/LC_MESSAGES/gufw.mo'
872Binary files locale-langpack/uk/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/uk/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
873=== removed directory 'locale-langpack/vi'
874=== removed directory 'locale-langpack/vi/LC_MESSAGES'
875=== removed file 'locale-langpack/vi/LC_MESSAGES/gufw.mo'
876Binary files locale-langpack/vi/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/vi/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
877=== removed directory 'locale-langpack/zh_CN'
878=== removed directory 'locale-langpack/zh_CN/LC_MESSAGES'
879=== removed file 'locale-langpack/zh_CN/LC_MESSAGES/gufw.mo'
880Binary files locale-langpack/zh_CN/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/zh_CN/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
881=== removed directory 'locale-langpack/zh_TW'
882=== removed directory 'locale-langpack/zh_TW/LC_MESSAGES'
883=== removed file 'locale-langpack/zh_TW/LC_MESSAGES/gufw.mo'
884Binary files locale-langpack/zh_TW/LC_MESSAGES/gufw.mo 2010-08-14 19:03:20 +0000 and locale-langpack/zh_TW/LC_MESSAGES/gufw.mo 1970-01-01 00:00:00 +0000 differ
885=== renamed directory 'man_page' => 'man'
886=== added file 'man/gufw.8'
887--- man/gufw.8 1970-01-01 00:00:00 +0000
888+++ man/gufw.8 2010-08-21 19:24:44 +0000
889@@ -0,0 +1,96 @@
890+.TH gufw 8 "10 Oct 2010"
891+
892+.SH NAME
893+Gufw \- Graphic user interface for managing ufw
894+.PP
895+.SH DESCRIPTION
896+Gufw is an easy to use Ubuntu / Linux firewall, powered by ufw.
897+
898+Gufw is an easy, intuitive, way to manage your Linux firewall. It supports common tasks such as allowing or blocking pre-configured, common p2p, or individual ports port(s), and many others! Gufw is powered by ufw , runs on Ubuntu, and anywhere else Python, GTK, and Ufw are available.
899+Introduction
900+iptables is already a very powerful tool by itself, but it's syntax can get awkward at times and hard to figure out, so Ubuntu developers decided to make ufw ("The reason ufw was developed is that we wanted to create a server-level firewalling utility that was a little bit more for `human beings`"), which was to be simpler. Now, on the graphical side of things, Firestarer already existed. But why not make an even easier to use GUI for desktop `human beings`, powered by ufw? This is where Gufw comes in.
901+
902+.SH RUN
903+.TP
904+You can run Gufw in GNOME menu: /System/Administration/Firewall configuration
905+
906+.SH "USAGE"
907+.SH BASIC SETTINGS
908+.PP
909+Gufw has two states: Enabled and disabled.
910+When Gufw is enabled, you can allow/reject/deny all incoming and outgoing connections.
911+
912+.SH ADD PRECONFIGURED RULE(S)
913+.PP
914+You can select between more Programs and Services preconfigured.
915+Once Program/Service can have multiples rules.
916+
917+.SH ADD SIMPLE RULE(S)
918+.PP
919+You can specify the port or service, and protocol to be allowed (allow traffic), reject (reject traffic without reply), denied (deny traffic with reply), limit (limit traffic) on the host, or limit an IP or Port (Protecting against brute-force login attacks).
920+The port can be a number of 5 digits, from 1 to 65535.
921+The service can be any of /etc/services file (By example tcpmux, echo, discard, systat...).
922+The protocol can be:
923+ 1. tcp: Apply rule for all traffic in protocol tcp.
924+ 2. udp: Apply rule for all traffic in protocol udp.
925+ 3. both: Apply rule for all traffic in protocol tcp and udp.
926+
927+.SH ADD ADVANCED RULE(S)
928+.PP
929+You can add an advanced rule.
930+You can specify:
931+ 1. Protocol: tcp, udp or both.
932+ 2. From IP Addres: You can allow/deny/reject/limit traffic from IP address. This parameter is optional or you can use "Any". Example for a range: 192.168.1.0/9
933+ 3. From Port: You can allow/deny/reject/limit traffic from a port. This parameter is optional. The port can be a number of 5 digits, from 1 to 65535. You can use a range ports with this format port1:port2 (by example 3234:3237), or add multiple ports with port1,port2 (by example 3234,3254).
934+ 4. To IP Addres: You can allow/deny/limit traffic to an IP address. This parameter is optional or you can use "Any". Example for a range: 192.168.1.0/9
935+ 5. To Port: You can allow/deny/reject/limit traffic to a Port. This parameter is optional. The port can be a number of 5 digits, from 1 to 65535. You can use a range ports with this format port1:port2 (by example 3234:3237).
936+
937+.SH GENERAL TO PRECONFIGURED / SIMPLE / ADVANCED
938+.PP
939+With the extended parameters you can:
940+Insert a rule in a specific row
941+Set the log level for ufw.
942+
943+.SH REMOVE ONE RULE
944+.PP
945+Steps:
946+ 1. Select a rule in the list.
947+ 2. Click in Remove button.
948+You can delete more rules if you select it.
949+
950+.SH RESET CONFIGURATION
951+.PP
952+You will remove all rules and reset the ufw configuration to intial status!
953+
954+.SH EDIT PREFERENCES
955+.PP
956+You can edit your preferences in /Edit/Preferences menu.
957+Preferences:
958+ 1. Register Gufw log: You will have got a log of all operations of Gufw.
959+ 2. ufw log enabled: You will enable/disable and set the level of the ufw log.
960+
961+.SH LISTENING REPORT
962+.PP
963+You can enable the Listening Report in the Preferences window.
964+The listening report will display the ports on the live system in the listening
965+state for TCP and the open state for UDP. It's the same report that the
966+listening report in ufw.
967+
968+.SH "NOTES"
969+.SH HOW TO AUTOSTART GUFW WITH THE SYSTEM?
970+.PP
971+A short answer is, you really don't need to autostart Gufw. Gufw is just a settings tool for ufw (the real firewall), and they are split separate.
972+Think of Gufw as a settings dialog. After you do all of the changes and close it, the settings are still in effect (for example, when you setup a new printer - after you close the setup window, your printer setup still stays!).
973+So there is no need to add Gufw to auto-start, unless you're going to change your firewall settings very frequently. If you enable the firewall and close Gufw, the firewall will still be enabled, even after a reboot.
974+REMEMBER: Once configured it will stay that way, so you don't need to be running Gufw on your desktop all the time!
975+
976+.SH SEE ALSO
977+.PP
978+\fBufw\fR(8)
979+
980+.SH AUTHOR
981+.PP
982+Gufw is (C) 2008-2010, Marcos Alvarez Costales.
983+
984+.PP
985+This manual page was originally written by Marcos Alvarez Costales <marcos@ubuntu-ast.org>
986
987=== removed file 'man_page/gufw.8.gz'
988Binary files man_page/gufw.8.gz 2010-08-16 13:50:22 +0000 and man_page/gufw.8.gz 1970-01-01 00:00:00 +0000 differ
989=== removed directory 'pixmaps'
990=== added directory 'po'
991=== added file 'po/POTFILES.in'
992--- po/POTFILES.in 1970-01-01 00:00:00 +0000
993+++ po/POTFILES.in 2010-08-21 19:24:44 +0000
994@@ -0,0 +1,3 @@
995+gufw/view/guiGufw.py
996+[type: gettext/glade] data/ui/gufw.glade
997+gufw.desktop.in
998
999=== modified file 'setup.py' (properties changed: +x to -x)
1000--- setup.py 2010-08-16 13:50:22 +0000
1001+++ setup.py 2010-08-21 19:24:44 +0000
1002@@ -1,62 +1,88 @@
1003 #!/usr/bin/env python
1004-
1005-# Gufw 10.10.1 - http://gufw.tuxfamily.org
1006-# Copyright (C) 2008-2010 Marcos Alvarez Costales <marcos@ubuntu-ast.org>
1007-#
1008-# Gufw is free software; you can redistribute it and/or modify
1009-# it under the terms of the GNU General Public License as published by
1010-# the Free Software Foundation; either version 3 of the License, or
1011-# (at your option) any later version.
1012-#
1013-# Gufw is distributed in the hope that it will be useful,
1014-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1015-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1016-# GNU General Public License for more details.
1017-#
1018-# You should have received a copy of the GNU General Public License
1019-# along with Gufw; if not, see http://www.gnu.org/licenses for more
1020-# information.
1021-
1022-import sys, os
1023-assert sys.version >= '2', "Install Python 2.0 or greater"
1024-from distutils.core import setup, Extension
1025-import glob
1026-
1027-
1028-# Create data files
1029-data = [ ('/usr/share/applications', ['Alacarte_menu/gufw.desktop']),
1030- ('/usr/share/gufw/glade', glob.glob("src/glade/*.*")),
1031- ('/usr/bin', ['global_command/gufw']),
1032- ('/usr/share/icons/hicolor/48x48/apps', glob.glob("icon/*.*")),
1033- ('/usr/share/man/man8', ['man_page/gufw.8.gz']),
1034- ('/usr/share/gufw/model', glob.glob("src/model/*.*")),
1035- ('/usr/share/pixmaps/gufw', glob.glob("pixmaps/*.png")),
1036- ('/usr/share/gufw/view', glob.glob("src/view/*.*")),
1037- ('/usr/share/gufw', glob.glob("src/*.py")) ]
1038-
1039-
1040-
1041-# Create locale list
1042-locales = []
1043-for i in os.listdir("./locale-langpack/"):
1044- locales.append(i)
1045-# Adding locales to data files:
1046-for i in locales:
1047- locale = ("/usr/share/locale-langpack/%s/LC_MESSAGES/"%i,["locale-langpack/%s/LC_MESSAGES/gufw.mo"%i])
1048- data.append(locale)
1049-
1050-
1051-
1052-# Setup stage
1053-setup(
1054- name = "Gufw",
1055- version = "10.10.1",
1056- description = "An easy, intuitive, way to manage your Linux firewall. It supports common tasks such as allowing or blocking pre-configured, common p2p, or individual ports port(s), and many others!",
1057- author = "Marcos Alvarez Costales <marcos@ubuntu-ast.org>",
1058- author_email = "<marcos@ubuntu-ast.org>",
1059- url = "http://gufw.tuxfamily.org",
1060- license = "GPL3",
1061- packages = ["doc"],
1062- data_files = data
1063+# -*- coding: utf-8 -*-
1064+### BEGIN LICENSE
1065+# This file is in the public domain
1066+### END LICENSE
1067+
1068+###################### DO NOT TOUCH THIS (HEAD TO THE SECOND PART) ######################
1069+
1070+import os
1071+import sys
1072+
1073+try:
1074+ import DistUtilsExtra.auto
1075+except ImportError:
1076+ print >> sys.stderr, 'To build gufw you need https://launchpad.net/python-distutils-extra'
1077+ sys.exit(1)
1078+assert DistUtilsExtra.auto.__version__ >= '2.18', 'needs DistUtilsExtra.auto >= 2.18'
1079+
1080+def update_data_path(prefix, oldvalue=None):
1081+
1082+ try:
1083+ fin = file('gufw/gufwconfig.py', 'r')
1084+ fout = file(fin.name + '.new', 'w')
1085+
1086+ for line in fin:
1087+ fields = line.split(' = ') # Separate variable from value
1088+ if fields[0] == '__gufw_data_directory__':
1089+ # update to prefix, store oldvalue
1090+ if not oldvalue:
1091+ oldvalue = fields[1]
1092+ line = "%s = '%s'\n" % (fields[0], prefix)
1093+ else: # restore oldvalue
1094+ line = "%s = %s" % (fields[0], oldvalue)
1095+ fout.write(line)
1096+
1097+ fout.flush()
1098+ fout.close()
1099+ fin.close()
1100+ os.rename(fout.name, fin.name)
1101+ except (OSError, IOError), e:
1102+ print ("ERROR: Can't find gufw/gufwconfig.py")
1103+ sys.exit(1)
1104+ return oldvalue
1105+
1106+
1107+def update_desktop_file(datadir):
1108+
1109+ try:
1110+ fin = file('gufw.desktop.in', 'r')
1111+ fout = file(fin.name + '.new', 'w')
1112+
1113+ for line in fin:
1114+ if 'Icon=' in line:
1115+ line = "Icon=%s\n" % (datadir + 'media/icon.png')
1116+ fout.write(line)
1117+ fout.flush()
1118+ fout.close()
1119+ fin.close()
1120+ os.rename(fout.name, fin.name)
1121+ except (OSError, IOError), e:
1122+ print ("ERROR: Can't find gufw.desktop.in")
1123+ sys.exit(1)
1124+
1125+
1126+class InstallAndUpdateDataDirectory(DistUtilsExtra.auto.install_auto):
1127+ def run(self):
1128+ previous_value = update_data_path(self.prefix + '/share/gufw/')
1129+ update_desktop_file(self.prefix + '/share/gufw/')
1130+ DistUtilsExtra.auto.install_auto.run(self)
1131+ update_data_path(self.prefix, previous_value)
1132+
1133+
1134+
1135+##################################################################################
1136+###################### YOU SHOULD MODIFY ONLY WHAT IS BELOW ######################
1137+##################################################################################
1138+
1139+DistUtilsExtra.auto.setup(
1140+ name='gufw',
1141+ version='10.10.1',
1142+ license='GPL-3',
1143+ author='Marcos Alvarez Costales',
1144+ author_email='marcos@ubuntu-ast.org',
1145+ description='An easy, intuitive, way to manage your Linux firewall. It supports common tasks such as allowing or blocking pre-configured, common p2p, or individual ports port(s), and many others!',
1146+ url='http://gufw.tuxfamily.org',
1147+ cmdclass={'install': InstallAndUpdateDataDirectory}
1148 )
1149

Subscribers

People subscribed via source and target branches

to all changes: