From 21995072fb0e57c8209460936c0e5b322a1547c3 Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Mon, 3 Jun 2013 17:09:57 +0200 Subject: PagerGroup stuff --- .../locales/views/pager_group_destinations/de.yml | 45 ++++++++++++++++++++++ .../locales/views/pager_group_destinations/en.yml | 45 ++++++++++++++++++++++ config/locales/views/pager_groups/de.yml | 45 ++++++++++++++++++++++ config/locales/views/pager_groups/en.yml | 45 ++++++++++++++++++++++ config/routes.rb | 5 +++ 5 files changed, 185 insertions(+) create mode 100644 config/locales/views/pager_group_destinations/de.yml create mode 100644 config/locales/views/pager_group_destinations/en.yml create mode 100644 config/locales/views/pager_groups/de.yml create mode 100644 config/locales/views/pager_groups/en.yml (limited to 'config') diff --git a/config/locales/views/pager_group_destinations/de.yml b/config/locales/views/pager_group_destinations/de.yml new file mode 100644 index 0000000..7f0d56a --- /dev/null +++ b/config/locales/views/pager_group_destinations/de.yml @@ -0,0 +1,45 @@ +de: + pager_group_destinations: + name: 'Pagergroupdestination' + controller: + successfuly_created: 'Pagergroupdestination wurde angelegt.' + successfuly_updated: 'Pagergroupdestination wurde aktualisiert.' + successfuly_destroyed: 'Pagergroupdestination wurde gelöscht.' + index: + page_title: 'Übersicht von Pagergroupdestination' + pager_group_id: 'Pager group' + sip_account_id: 'Sip account' + actions: + confirm_destroy: 'Sind Sie sicher, dass Sie folgendes löschen möchten: Pagergroupdestination' + destroy: 'Löschen' + edit: 'Bearbeiten' + show: 'Anzeigen' + create: 'Neu anlegen' + create_for: 'Pagergroupdestination neu anlegen für %{resource}' + show: + page_title: 'Pagergroupdestination bearbeiten' + pager_group_id: 'Pager group' + sip_account_id: 'Sip account' + 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: 'Pagergroupdestination neu anlegen' + actions: + back_to_list: 'Zurück zur Übersicht' + edit: + page_title: 'Pagergroupdestination bearbeiten' + actions: + back_to_list: 'Zurück zur Übersicht' + edit: 'Bearbeiten' + view_all: 'Alle anzeigen' + form: + pager_group_id: + label: 'Pager group' + hint: '' + sip_account_id: + label: 'Sip account' + hint: '' + submit: 'Absenden' \ No newline at end of file diff --git a/config/locales/views/pager_group_destinations/en.yml b/config/locales/views/pager_group_destinations/en.yml new file mode 100644 index 0000000..9bf459d --- /dev/null +++ b/config/locales/views/pager_group_destinations/en.yml @@ -0,0 +1,45 @@ +en: + pager_group_destinations: + name: 'Pagergroupdestination' + controller: + successfuly_created: 'Successfully created Pagergroupdestination.' + successfuly_updated: 'Successfully updated Pagergroupdestination.' + successfuly_destroyed: 'Successfully destroyed Pagergroupdestination.' + index: + page_title: 'Listing Pagergroupdestination' + pager_group_id: 'Pager group' + sip_account_id: 'Sip account' + actions: + confirm_destroy: 'Are you sure you want to delete this Pagergroupdestination?' + destroy: 'Delete' + edit: 'Edit' + show: 'View' + create: 'New' + create_for: 'New Pagergroupdestination for %{resource}' + show: + page_title: 'Show Pagergroupdestination' + pager_group_id: 'Pager group' + sip_account_id: 'Sip account' + actions: + confirm_destroy: 'Are you sure you want to delete this element?' + destroy: 'Delete' + edit: 'Edit' + view_all: 'View All' + new: + page_title: 'New Pagergroupdestination' + actions: + back_to_list: 'Back to Index' + edit: + page_title: 'Editing Pagergroupdestination' + actions: + back_to_list: 'Back to Index' + edit: 'Edit' + view_all: 'View All' + form: + pager_group_id: + label: 'Pager group' + hint: '' + sip_account_id: + label: 'Sip account' + hint: '' + submit: 'Submit' \ No newline at end of file diff --git a/config/locales/views/pager_groups/de.yml b/config/locales/views/pager_groups/de.yml new file mode 100644 index 0000000..9865958 --- /dev/null +++ b/config/locales/views/pager_groups/de.yml @@ -0,0 +1,45 @@ +de: + pager_groups: + name: 'Pagergroup' + controller: + successfuly_created: 'Pagergroup wurde angelegt.' + successfuly_updated: 'Pagergroup wurde aktualisiert.' + successfuly_destroyed: 'Pagergroup wurde gelöscht.' + index: + page_title: 'Übersicht von Pagergroup' + sip_account_id: 'Sip account' + callback_url: 'Callback url' + actions: + confirm_destroy: 'Sind Sie sicher, dass Sie folgendes löschen möchten: Pagergroup' + destroy: 'Löschen' + edit: 'Bearbeiten' + show: 'Anzeigen' + create: 'Neu anlegen' + create_for: 'Pagergroup neu anlegen für %{resource}' + show: + page_title: 'Pagergroup bearbeiten' + sip_account_id: 'Sip account' + callback_url: 'Callback url' + 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: 'Pagergroup neu anlegen' + actions: + back_to_list: 'Zurück zur Übersicht' + edit: + page_title: 'Pagergroup bearbeiten' + actions: + back_to_list: 'Zurück zur Übersicht' + edit: 'Bearbeiten' + view_all: 'Alle anzeigen' + form: + sip_account_id: + label: 'Sip account' + hint: '' + callback_url: + label: 'Callback url' + hint: '' + submit: 'Absenden' \ No newline at end of file diff --git a/config/locales/views/pager_groups/en.yml b/config/locales/views/pager_groups/en.yml new file mode 100644 index 0000000..f7ce727 --- /dev/null +++ b/config/locales/views/pager_groups/en.yml @@ -0,0 +1,45 @@ +en: + pager_groups: + name: 'Pagergroup' + controller: + successfuly_created: 'Successfully created Pagergroup.' + successfuly_updated: 'Successfully updated Pagergroup.' + successfuly_destroyed: 'Successfully destroyed Pagergroup.' + index: + page_title: 'Listing Pagergroup' + sip_account_id: 'Sip account' + callback_url: 'Callback url' + actions: + confirm_destroy: 'Are you sure you want to delete this Pagergroup?' + destroy: 'Delete' + edit: 'Edit' + show: 'View' + create: 'New' + create_for: 'New Pagergroup for %{resource}' + show: + page_title: 'Show Pagergroup' + sip_account_id: 'Sip account' + callback_url: 'Callback url' + actions: + confirm_destroy: 'Are you sure you want to delete this element?' + destroy: 'Delete' + edit: 'Edit' + view_all: 'View All' + new: + page_title: 'New Pagergroup' + actions: + back_to_list: 'Back to Index' + edit: + page_title: 'Editing Pagergroup' + actions: + back_to_list: 'Back to Index' + edit: 'Edit' + view_all: 'View All' + form: + sip_account_id: + label: 'Sip account' + hint: '' + callback_url: + label: 'Callback url' + hint: '' + submit: 'Submit' \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index 8120e6c..6145765 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,5 +1,9 @@ Gemeinschaft42c::Application.routes.draw do + resources :pager_group_destinations + + resources :pager_groups + namespace :api, defaults: {format: 'json'} do namespace :v1 do resources :switchboards, :only => [:show, :index] @@ -315,6 +319,7 @@ Gemeinschaft42c::Application.routes.draw do end end resources :voicemail_accounts + resources :pager_groups end resources :phones, :only => [] do -- cgit v1.2.3