From 0442cd19bc9383669b506185356227361a16e442 Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Mon, 25 Feb 2013 09:29:40 -0500 Subject: call_forwards - polymorphism added --- config/locales/views/call_forwards/de.yml | 14 +++++++------- config/locales/views/call_forwards/en.yml | 14 +++++++------- config/routes.rb | 1 + 3 files changed, 15 insertions(+), 14 deletions(-) (limited to 'config') diff --git a/config/locales/views/call_forwards/de.yml b/config/locales/views/call_forwards/de.yml index 3930938..4f6ee86 100644 --- a/config/locales/views/call_forwards/de.yml +++ b/config/locales/views/call_forwards/de.yml @@ -7,8 +7,8 @@ de: successfuly_destroyed: 'Die Rufumleitung wurde gelöscht.' index: page_title: 'Rufumleitungen' - phone_number_id: 'Telefonnummer' - call_forward_case_id: 'Art der Rufumleitung' + call_forwardable: 'Umleitendes Objekt' + call_forward_case: 'Art der Rufumleitung' timeout: 'Zeitüberschreitung' destination: 'Ziel' hunt_group: 'Rufgruppen-Verknüpfung' @@ -25,8 +25,8 @@ de: create_for: 'Neue Rufumleitung für die %{resource} anlegen' show: page_title: 'Rufumleitung anzeigen' - phone_number_id: 'Telefonnummer' - call_forward_case_id: 'Art der Rufumleitung' + call_forwardable: 'Umleitendes Objekt' + call_forward_case: 'Art der Rufumleitung' timeout: 'Zeitüberschreitung' destination: 'Ziel' hunt_group: 'Rufgruppen-Verknüpfung' @@ -44,10 +44,10 @@ de: edit: page_title: 'Rufumleitung bearbeiten' form: - phone_number_id: - label: 'Telefonnummer' + call_forwardable: + label: 'Umleitendes Objekt' hint: '' - call_forward_case_id: + call_forward_case: label: 'Art der Rufumleitung' hint: '' timeout: diff --git a/config/locales/views/call_forwards/en.yml b/config/locales/views/call_forwards/en.yml index 20fb834..65ae6b0 100644 --- a/config/locales/views/call_forwards/en.yml +++ b/config/locales/views/call_forwards/en.yml @@ -7,8 +7,8 @@ en: successfuly_destroyed: 'Successfully destroyed call forward.' index: page_title: 'Call forwards' - phone_number_id: 'Phone number' - call_forward_case_id: 'Call forward case' + call_forwardable: 'Forwarding entity' + call_forward_case: 'Call forward case' timeout: 'Timeout' destination: 'Destination' to_voicemail: 'Voicemail' @@ -25,8 +25,8 @@ en: create_for: 'New call forward for phone number %{resource}' show: page_title: 'Show call forward' - phone_number_id: 'Phone number' - call_forward_case_id: 'Call forward case' + call_forwardable: 'Forwarding entity' + call_forward_case: 'Call forward case' timeout: 'Timeout' destination: 'Destination' hunt_group: 'Hunt group connection' @@ -44,10 +44,10 @@ en: edit: page_title: 'Editing call forward' form: - phone_number_id: - label: 'Phone number' + call_forwardable: + label: 'Forwarding entity' hint: '' - call_forward_case_id: + call_forward_case: label: 'Call forward case' hint: '' timeout: diff --git a/config/routes.rb b/config/routes.rb index ce0566c..03fd4cf 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -253,6 +253,7 @@ Gemeinschaft42c::Application.routes.draw do resources :phones_sip_accounts resources :phone_numbers resources :softkeys + resources :call_forwards resources :call_histories do collection do delete 'destroy_multiple' -- cgit v1.2.3