~ubuntu-branches/ubuntu/maverick/gui-ufw/maverick

« back to all changes in this revision

Viewing changes to model/Variable.py

  • Committer: Bazaar Package Importer
  • Author(s): Devid Antonio Filoni
  • Date: 2010-02-28 19:01:09 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20100228190109-pkwf80x0l35uczl9
Tags: 10.04.1-0ubuntu1
* New upstream release (LP: #529091).
* Install /etc/gufw/*.cfg files only when they aren't already installed,
  (LP: #521787).
* Fix unused-override lintian info.

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
                       "021" : _("Deny all OUTGOING traffic"),
68
68
                       "022" : _("Allow all OUTGOING traffic"),
69
69
                       "023" : _("Reject all OUTGOING traffic"),
70
 
                       "024" : _("Removed all rules"),
71
 
                       "025" : _("You will remove all rules!"),
 
70
                       "024" : _("Removed rules and reset firewall!"),
 
71
                       "025" : _("You will remove all rules and reset the firewall!"),
72
72
                       "026" : _("Do you want to continue?"),
73
73
                       "027" : _("Remove all rules"),
74
74
                       "028" : _("Deny In"),
83
83
                       "037" : _("Allow"),
84
84
                       "038" : _("Limit"),
85
85
                       "039" : _("Reject"),
86
 
                       "040" : _("Anywhere") }
 
86
                       "040" : _("Anywhere"),
 
87
                       "041" : _("log-all"),
 
88
                       "042" : _("log") }
87
89
        
88
90
        # Define constants
89
91
        self.constants = {"disabled"            : "disabled",
124
126
                          "color_red"           : "#e31818",
125
127
                          "color_orange"        : "#e57f1b",
126
128
                          "color_blue"          : "#19308b",
127
 
                          "window_width"        : 327,
128
 
                          "window_height"       : 366,
 
129
                          "window_width"        : 336,
 
130
                          "window_height"       : 404,
129
131
                          "translators_credits" : _("translator-credits"),
130
132
                          "rule_added"          : "Rule added",
131
133
                          "rule_updated"        : "Rule updated",
203
205
                          "ufw_log_medium"         : "LANGUAGE=C ufw logging medium",
204
206
                          "ufw_log_high"           : "LANGUAGE=C ufw logging high",
205
207
                          "ufw_log_full"           : "LANGUAGE=C ufw logging full",
206
 
                          "reset_all_rules"        : "LANGUAGE=C ufw ......",
 
208
                          "reset_all_rules"        : "LANGUAGE=C ufw --force reset",
207
209
                          "remove_rule"            : "LANGUAGE=C ufw --force delete &number",
 
210
                          "add_complete_rule"      : "LANGUAGE=C ufw insert &insert &action &direction &log proto &protocol from &fromIP port &fromPort to &toIP port &toPort",
 
211
                          "add_short_rule"         : "LANGUAGE=C ufw insert &insert &action &direction &log &toPort",
208
212
                          
209
213
                          "refresh_log_files"      : "LANGUAGE=C rm /var/log/gufw_log.txt && rm /var/log/gufw_log_server.txt" ,
210
214
                          "append_log_file"        : "LANGUAGE=C echo '&' >> /var/log/gufw_log.txt",