summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/locales/views/intruders/de.yml110
-rw-r--r--config/locales/views/intruders/en.yml110
-rw-r--r--config/routes.rb2
3 files changed, 222 insertions, 0 deletions
diff --git a/config/locales/views/intruders/de.yml b/config/locales/views/intruders/de.yml
new file mode 100644
index 0000000..42ece4b
--- /dev/null
+++ b/config/locales/views/intruders/de.yml
@@ -0,0 +1,110 @@
+de:
+ intruders:
+ name: 'Intruder'
+ controller:
+ successfuly_created: 'Intruder wurde angelegt.'
+ successfuly_updated: 'Intruder wurde aktualisiert.'
+ successfuly_destroyed: 'Intruder wurde gelöscht.'
+ index:
+ page_title: 'Übersicht von Intruder'
+ list_type: 'List type'
+ key: 'Key'
+ points: 'Points'
+ bans: 'Bans'
+ ban_last: 'Ban last'
+ ban_end: 'Ban end'
+ contact_ip: 'Contact ip'
+ contact_port: 'Contact port'
+ contact_count: 'Contact count'
+ contact_last: 'Contact last'
+ contacts_per_second: 'Contacts per second'
+ contacts_per_second_max: 'Contacts per second max'
+ user_agent: 'User agent'
+ to_user: 'To user'
+ comment: 'Comment'
+ actions:
+ confirm_destroy: 'Sind Sie sicher, dass Sie folgendes löschen möchten: Intruder'
+ destroy: 'Löschen'
+ edit: 'Bearbeiten'
+ show: 'Anzeigen'
+ create: 'Neu anlegen'
+ create_for: 'Intruder neu anlegen für %{resource}'
+ show:
+ page_title: 'Intruder bearbeiten'
+ list_type: 'List type'
+ key: 'Key'
+ points: 'Points'
+ bans: 'Bans'
+ ban_last: 'Ban last'
+ ban_end: 'Ban end'
+ contact_ip: 'Contact ip'
+ contact_port: 'Contact port'
+ contact_count: 'Contact count'
+ contact_last: 'Contact last'
+ contacts_per_second: 'Contacts per second'
+ contacts_per_second_max: 'Contacts per second max'
+ user_agent: 'User agent'
+ to_user: 'To user'
+ comment: 'Comment'
+ actions:
+ confirm_destroy: 'Sind Sie sicher, dass die dieses Element löschen möchten?'
+ destroy: 'Löschen'
+ edit: 'Bearbeiten'
+ view_all: 'Alle anzeigen'
+ new:
+ page_title: 'Intruder neu anlegen'
+ actions:
+ back_to_list: 'Zurück zur Übersicht'
+ edit:
+ page_title: 'Intruder bearbeiten'
+ actions:
+ back_to_list: 'Zurück zur Übersicht'
+ edit: 'Bearbeiten'
+ view_all: 'Alle anzeigen'
+ form:
+ list_type:
+ label: 'List type'
+ hint: ''
+ key:
+ label: 'Key'
+ hint: ''
+ points:
+ label: 'Points'
+ hint: ''
+ bans:
+ label: 'Bans'
+ hint: ''
+ ban_last:
+ label: 'Ban last'
+ hint: ''
+ ban_end:
+ label: 'Ban end'
+ hint: ''
+ contact_ip:
+ label: 'Contact ip'
+ hint: ''
+ contact_port:
+ label: 'Contact port'
+ hint: ''
+ contact_count:
+ label: 'Contact count'
+ hint: ''
+ contact_last:
+ label: 'Contact last'
+ hint: ''
+ contacts_per_second:
+ label: 'Contacts per second'
+ hint: ''
+ contacts_per_second_max:
+ label: 'Contacts per second max'
+ hint: ''
+ user_agent:
+ label: 'User agent'
+ hint: ''
+ to_user:
+ label: 'To user'
+ hint: ''
+ comment:
+ label: 'Comment'
+ hint: ''
+ submit: 'Absenden' \ No newline at end of file
diff --git a/config/locales/views/intruders/en.yml b/config/locales/views/intruders/en.yml
new file mode 100644
index 0000000..99c2dcb
--- /dev/null
+++ b/config/locales/views/intruders/en.yml
@@ -0,0 +1,110 @@
+en:
+ intruders:
+ name: 'Intruder'
+ controller:
+ successfuly_created: 'Successfully created Intruder.'
+ successfuly_updated: 'Successfully updated Intruder.'
+ successfuly_destroyed: 'Successfully destroyed Intruder.'
+ index:
+ page_title: 'Listing Intruder'
+ list_type: 'List type'
+ key: 'Key'
+ points: 'Points'
+ bans: 'Bans'
+ ban_last: 'Ban last'
+ ban_end: 'Ban end'
+ contact_ip: 'Contact ip'
+ contact_port: 'Contact port'
+ contact_count: 'Contact count'
+ contact_last: 'Contact last'
+ contacts_per_second: 'Contacts per second'
+ contacts_per_second_max: 'Contacts per second max'
+ user_agent: 'User agent'
+ to_user: 'To user'
+ comment: 'Comment'
+ actions:
+ confirm_destroy: 'Are you sure you want to delete this Intruder?'
+ destroy: 'Delete'
+ edit: 'Edit'
+ show: 'View'
+ create: 'New'
+ create_for: 'New Intruder for %{resource}'
+ show:
+ page_title: 'Show Intruder'
+ list_type: 'List type'
+ key: 'Key'
+ points: 'Points'
+ bans: 'Bans'
+ ban_last: 'Ban last'
+ ban_end: 'Ban end'
+ contact_ip: 'Contact ip'
+ contact_port: 'Contact port'
+ contact_count: 'Contact count'
+ contact_last: 'Contact last'
+ contacts_per_second: 'Contacts per second'
+ contacts_per_second_max: 'Contacts per second max'
+ user_agent: 'User agent'
+ to_user: 'To user'
+ comment: 'Comment'
+ actions:
+ confirm_destroy: 'Are you sure you want to delete this element?'
+ destroy: 'Delete'
+ edit: 'Edit'
+ view_all: 'View All'
+ new:
+ page_title: 'New Intruder'
+ actions:
+ back_to_list: 'Back to Index'
+ edit:
+ page_title: 'Editing Intruder'
+ actions:
+ back_to_list: 'Back to Index'
+ edit: 'Edit'
+ view_all: 'View All'
+ form:
+ list_type:
+ label: 'List type'
+ hint: ''
+ key:
+ label: 'Key'
+ hint: ''
+ points:
+ label: 'Points'
+ hint: ''
+ bans:
+ label: 'Bans'
+ hint: ''
+ ban_last:
+ label: 'Ban last'
+ hint: ''
+ ban_end:
+ label: 'Ban end'
+ hint: ''
+ contact_ip:
+ label: 'Contact ip'
+ hint: ''
+ contact_port:
+ label: 'Contact port'
+ hint: ''
+ contact_count:
+ label: 'Contact count'
+ hint: ''
+ contact_last:
+ label: 'Contact last'
+ hint: ''
+ contacts_per_second:
+ label: 'Contacts per second'
+ hint: ''
+ contacts_per_second_max:
+ label: 'Contacts per second max'
+ hint: ''
+ user_agent:
+ label: 'User agent'
+ hint: ''
+ to_user:
+ label: 'To user'
+ hint: ''
+ comment:
+ label: 'Comment'
+ hint: ''
+ submit: 'Submit' \ No newline at end of file
diff --git a/config/routes.rb b/config/routes.rb
index 653b811..05d09dc 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,5 +1,7 @@
Gemeinschaft42c::Application.routes.draw do
+ resources :intruders
+
resources :backup_jobs, :except => [:edit, :update]
scope :constraints => lambda{|req|%w(127.0.0.1).include? req.remote_addr} do