summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-02-27 06:04:50 -0500
committerPeter Kozak <spag@golwen.net>2013-02-27 06:04:50 -0500
commited0117210837dd1d0d2dbf403799b70225caf0cd (patch)
treec7f27eba275bbedf0505e9078592f562f37e2bbe /config
parent22eb173c74893114350e4b5351a58b48673f63b3 (diff)
calls views added
Diffstat (limited to 'config')
-rw-r--r--config/locales/views/calls/de.yml37
-rw-r--r--config/locales/views/calls/en.yml37
-rw-r--r--config/routes.rb1
3 files changed, 75 insertions, 0 deletions
diff --git a/config/locales/views/calls/de.yml b/config/locales/views/calls/de.yml
new file mode 100644
index 0000000..1410e34
--- /dev/null
+++ b/config/locales/views/calls/de.yml
@@ -0,0 +1,37 @@
+de:
+ calls:
+ name: 'Anruf'
+ controller:
+ successfuly_created: 'Einen neue Anruf wurde erstellt.'
+ successfuly_updated: 'Der Anruf wurde aktualisiert.'
+ successfuly_destroyed: 'Der Anruf wurde aufgelegt.'
+ index:
+ page_title: 'Anrufe'
+ uuid: 'UUID'
+ actions:
+ confirm_destroy: 'Sind Sie sicher, dass Sie diese Anruf auflegen möchten?'
+ destroy: 'Löschen'
+ edit: 'Bearbeiten'
+ show: 'Anzeigen'
+ create: 'Neuer Anruf'
+ create_for: 'Neuer Anruf für %{resource}'
+ show:
+ page_title: 'Anruf'
+ uuid: 'UUID'
+ actions:
+ confirm_destroy: 'Sind Sie sicher, dass Sie diese Anruf auflegen möchten?'
+ destroy: 'Auflegen'
+ edit: 'Bearbeiten'
+ view_all: 'Alle Anrufe anzeigen'
+ new:
+ page_title: 'Neuer Anruf'
+ edit:
+ page_title: 'Anruf bearbeiten'
+ form:
+ uuid:
+ label: 'UUID'
+ hint: ''
+ destination:
+ label: 'Ziel'
+ hint: ''
+ submit: 'Absenden'
diff --git a/config/locales/views/calls/en.yml b/config/locales/views/calls/en.yml
new file mode 100644
index 0000000..9161d03
--- /dev/null
+++ b/config/locales/views/calls/en.yml
@@ -0,0 +1,37 @@
+en:
+ calls:
+ name: 'Call'
+ controller:
+ successfuly_created: 'Successfully created call.'
+ successfuly_updated: 'Successfully updated call.'
+ successfuly_destroyed: 'Successfully hung up call.'
+ index:
+ page_title: 'Calls'
+ uuid: 'UUID'
+ actions:
+ confirm_destroy: 'Are you sure you want to drop this call?'
+ destroy: 'Hang up'
+ edit: 'Edit'
+ show: 'View'
+ create: 'New'
+ create_for: 'New call for sip account %{resource}'
+ show:
+ page_title: 'Call'
+ uuid: 'UUID'
+ actions:
+ confirm_destroy: 'Are you sure you want to drop this call?'
+ destroy: 'Delete'
+ edit: 'Edit'
+ view_all: 'View all calls'
+ new:
+ page_title: 'New call'
+ edit:
+ page_title: 'Editing call'
+ form:
+ uuid:
+ label: 'UUID'
+ hint: ''
+ destination:
+ label: 'Destination'
+ hint: ''
+ submit: 'Submit'
diff --git a/config/routes.rb b/config/routes.rb
index adff556..2fe1682 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -257,6 +257,7 @@ Gemeinschaft42c::Application.routes.draw do
resources :softkeys
resources :call_forwards
resources :ringtones
+ resources :calls
resources :call_histories do
collection do
delete 'destroy_multiple'