diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/locales/views/voicemail_accounts/de.yml | 65 | ||||
-rw-r--r-- | config/locales/views/voicemail_accounts/en.yml | 65 | ||||
-rw-r--r-- | config/locales/views/voicemail_settings/de.yml | 83 | ||||
-rw-r--r-- | config/locales/views/voicemail_settings/en.yml | 91 | ||||
-rw-r--r-- | config/routes.rb | 6 |
5 files changed, 240 insertions, 70 deletions
diff --git a/config/locales/views/voicemail_accounts/de.yml b/config/locales/views/voicemail_accounts/de.yml new file mode 100644 index 0000000..989848b --- /dev/null +++ b/config/locales/views/voicemail_accounts/de.yml @@ -0,0 +1,65 @@ +de: + voicemail_accounts: + name: 'Voicemailaccount' + controller: + successfuly_created: 'Voicemailaccount wurde angelegt.' + successfuly_updated: 'Voicemailaccount wurde aktualisiert.' + successfuly_destroyed: 'Voicemailaccount wurde gelöscht.' + index: + page_title: 'Übersicht von Voicemailaccount' + uuid: 'Uuid' + name: 'Name' + active: 'Active' + gs_node_id: 'Gs node' + voicemail_accountable_type: 'Voicemail accountable type' + voicemail_accountable_id: 'Voicemail accountable' + actions: + confirm_destroy: 'Sind Sie sicher, dass Sie folgendes löschen möchten: Voicemailaccount' + destroy: 'Löschen' + edit: 'Bearbeiten' + show: 'Anzeigen' + create: 'Neu anlegen' + create_for: 'Voicemailaccount neu anlegen für %{resource}' + show: + page_title: 'Voicemailaccount bearbeiten' + uuid: 'Uuid' + name: 'Name' + active: 'Active' + gs_node_id: 'Gs node' + voicemail_accountable_type: 'Voicemail accountable type' + voicemail_accountable_id: 'Voicemail accountable' + 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: 'Voicemailaccount neu anlegen' + actions: + back_to_list: 'Zurück zur Übersicht' + edit: + page_title: 'Voicemailaccount bearbeiten' + actions: + back_to_list: 'Zurück zur Übersicht' + edit: 'Bearbeiten' + view_all: 'Alle anzeigen' + form: + uuid: + label: 'Uuid' + hint: '' + name: + label: 'Name' + hint: '' + active: + label: 'Active' + hint: '' + gs_node_id: + label: 'Gs node' + hint: '' + voicemail_accountable_type: + label: 'Voicemail accountable type' + hint: '' + voicemail_accountable_id: + label: 'Voicemail accountable' + hint: '' + submit: 'Absenden'
\ No newline at end of file diff --git a/config/locales/views/voicemail_accounts/en.yml b/config/locales/views/voicemail_accounts/en.yml new file mode 100644 index 0000000..58491cd --- /dev/null +++ b/config/locales/views/voicemail_accounts/en.yml @@ -0,0 +1,65 @@ +en: + voicemail_accounts: + name: 'Voicemailaccount' + controller: + successfuly_created: 'Successfully created Voicemailaccount.' + successfuly_updated: 'Successfully updated Voicemailaccount.' + successfuly_destroyed: 'Successfully destroyed Voicemailaccount.' + index: + page_title: 'Listing Voicemailaccount' + uuid: 'Uuid' + name: 'Name' + active: 'Active' + gs_node_id: 'Gs node' + voicemail_accountable_type: 'Voicemail accountable type' + voicemail_accountable_id: 'Voicemail accountable' + actions: + confirm_destroy: 'Are you sure you want to delete this Voicemailaccount?' + destroy: 'Delete' + edit: 'Edit' + show: 'View' + create: 'New' + create_for: 'New Voicemailaccount for %{resource}' + show: + page_title: 'Show Voicemailaccount' + uuid: 'Uuid' + name: 'Name' + active: 'Active' + gs_node_id: 'Gs node' + voicemail_accountable_type: 'Voicemail accountable type' + voicemail_accountable_id: 'Voicemail accountable' + actions: + confirm_destroy: 'Are you sure you want to delete this element?' + destroy: 'Delete' + edit: 'Edit' + view_all: 'View All' + new: + page_title: 'New Voicemailaccount' + actions: + back_to_list: 'Back to Index' + edit: + page_title: 'Editing Voicemailaccount' + actions: + back_to_list: 'Back to Index' + edit: 'Edit' + view_all: 'View All' + form: + uuid: + label: 'Uuid' + hint: '' + name: + label: 'Name' + hint: '' + active: + label: 'Active' + hint: '' + gs_node_id: + label: 'Gs node' + hint: '' + voicemail_accountable_type: + label: 'Voicemail accountable type' + hint: '' + voicemail_accountable_id: + label: 'Voicemail accountable' + hint: '' + submit: 'Submit'
\ No newline at end of file diff --git a/config/locales/views/voicemail_settings/de.yml b/config/locales/views/voicemail_settings/de.yml index 52edd4b..bb48720 100644 --- a/config/locales/views/voicemail_settings/de.yml +++ b/config/locales/views/voicemail_settings/de.yml @@ -1,52 +1,69 @@ de: voicemail_settings: - name: 'Anrufbeantworter Einstellungen' + name: 'Voicemail Einstellungen' + settigs: + password: 'PIN' + notify: 'Notify' + attachment: 'Attachment' + mark_read: 'Mark read' + purge: 'Purge' + record_length_max: 'Record max.' + record_length_min: 'Record min.' + records_max: 'Records max.' controller: - successfuly_destroyed: 'Einstellungen wurden gelöscht.' - successfuly_created: 'Einstellungen wurden erstellt.' - successfuly_updated: 'Einstellungen wurden aktuallisiert.' + successfuly_created: 'Voicemail Einstellung wurde angelegt.' + successfuly_updated: 'Voicemail Einstellung wurde aktualisiert.' + successfuly_destroyed: 'Voicemail Einstellung wurde gelöscht.' index: - page_title: 'Anrufbeantworter Einstellungen' + page_title: 'Voicemail Einstellungen' + voicemail_account_id: 'Voicemail' + name: 'Name' + value: 'Value' + class_type: 'Class type' + description: 'Beschreibung' actions: - confirm_destroy: 'Sind Sie sicher, dass Sie die Einstellungen löschen möchten?' + confirm_destroy: 'Sind Sie sicher, dass Sie folgendes löschen möchten: Voicemail Einstellungen' destroy: 'Löschen' + edit: 'Bearbeiten' + show: 'Anzeigen' + create: 'Neu anlegen' + create_for: 'Voicemail Einstellungen neu anlegen für %{resource}' show: - page_title: 'Anrufbeantworter Einstellungen' - greeting_path: 'Begrüßung' - name_path: 'Name' - flags: 'Flags' - notify: 'Benachrichtigung' - attachment: 'Datei anfügen' - mark_read: 'Als gelesen markieren' - purge: 'Löschen' + page_title: 'Voicemail Einstellungen bearbeiten' + voicemail_account_id: 'Voicemail' + name: 'Name' + value: 'Value' + class_type: 'Class type' + description: 'Beschreibung' actions: - confirm_destroy: 'Sind Sie sicher, dass Sie die Einstellungen löschen möchten?' + 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: 'Anrufbeantworter Einstellungen' + page_title: 'Voicemail Einstellungen neu anlegen' + actions: + back_to_list: 'Zurück zur Übersicht' edit: - page_title: 'Anrufbeantworter Einstellungen' + page_title: 'Voicemail Einstellungen bearbeiten' + actions: + back_to_list: 'Zurück zur Übersicht' + edit: 'Bearbeiten' + view_all: 'Alle anzeigen' form: - greeting: - label: 'Begrüßung' + voicemail_account_id: + label: 'Voicemail' hint: '' name: label: 'Name' hint: '' - pin: - label: 'Anrufbeantworter PIN' + value: + label: 'Value' + hint: '' + class_type: + label: 'Class type' + hint: '' + description: + label: 'Beschreibung' hint: '' - notify: - label: 'Benachrichtigung' - hint: 'Benachrichtigung per E-Mail' - attachment: - label: 'Datei anfügen' - hint: 'Datei an E-Mail anfügen' - mark_read: - label: 'Als gelesen markieren' - hint: 'Markieren als gelesen' - purge: - label: 'Löschen' - hint: 'Nachricht löschen' submit: 'Absenden'
\ No newline at end of file diff --git a/config/locales/views/voicemail_settings/en.yml b/config/locales/views/voicemail_settings/en.yml index 5995544..1c8cad4 100644 --- a/config/locales/views/voicemail_settings/en.yml +++ b/config/locales/views/voicemail_settings/en.yml @@ -1,52 +1,69 @@ en: voicemail_settings: - name: 'Voicemail Settings' + name: 'Voicemailsetting' + settigs: + password: 'PIN' + notify: 'Notify' + attachment: 'Attachment' + mark_read: 'Mark read' + purge: 'Purge' + record_length_max: 'Record max.' + record_length_min: 'Record min.' + records_max: 'Records max.' controller: - successfuly_destroyed: 'Successfully destroyed voicemail settings.' - successfuly_created: 'Successfully created voicemail settings.' - successfuly_updated: 'Successfully updated voicemail settings.' + successfuly_created: 'Successfully created entry.' + successfuly_updated: 'Successfully updated entry.' + successfuly_destroyed: 'Successfully destroyed entry.' index: - page_title: 'Voicemail Settings' + page_title: 'Voicemail settings' + voicemail_account_id: 'Voicemail' + name: 'Name' + value: 'Value' + class_type: 'Class type' + description: 'Description' actions: - confirm_destroy: 'Are you sure you want to delete voicemail settings?' + confirm_destroy: 'Are you sure you want to delete this entry?' destroy: 'Delete' + edit: 'Edit' + show: 'View' + create: 'New' + create_for: 'New settings entry for %{resource}' show: - page_title: 'Voicemail Settings' - greeting_path: 'Greeting' - name_path: 'Name' - flags: 'Flags' - notify: 'Notify by email' - attachment: 'Attach file' - mark_read: 'Mark read' - purge: 'Delete' + page_title: 'Show Voicemailsetting' + voicemail_account_id: 'Voicemail' + name: 'Name' + value: 'Value' + class_type: 'Class type' + description: 'Description' actions: - confirm_destroy: 'Are you sure you want to delete voicemail settings?' + confirm_destroy: 'Are you sure you want to delete this element?' destroy: 'Delete' edit: 'Edit' + view_all: 'View All' new: - page_title: 'Voicemail Settings' + page_title: 'New Voicemail settings entry' + actions: + back_to_list: 'Back to Index' edit: - page_title: 'Voicemail Settings' + page_title: 'Editing Voicemail settings' + actions: + back_to_list: 'Back to Index' + edit: 'Edit' + view_all: 'View All' form: - greeting: - label: 'Greeting' - hint: 'Voicemail greeting' + voicemail_account_id: + label: 'Voicemail' + hint: '' name: label: 'Name' - hint: 'Voicemail name' - pin: - label: 'Voicemail PIN' - hint: 'Voicemail PIN' - notify: - label: 'Notify by email' - hint: 'Notify user by email' - attachment: - label: 'Attach file' - hint: 'Attach file to notification email' - mark_read: - label: 'Mark read' - hint: 'Mark message read after notification is sent' - purge: - label: 'Delete' - hint: 'Delete message after notification is sent' - submit: 'Submit' + hint: '' + value: + label: 'Value' + hint: '' + class_type: + label: 'Class type' + hint: '' + description: + label: 'Description' + hint: '' + submit: 'Submit'
\ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index 69caf95..b123de4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,5 +1,9 @@ Gemeinschaft42c::Application.routes.draw do + resources :voicemail_accounts do + resources :voicemail_settings + end + resources :switchboards do resources :switchboard_entries do collection { post :sort } @@ -226,6 +230,7 @@ Gemeinschaft42c::Application.routes.draw do resources :switchboards do get :display end + resources :voicemail_accounts end resources :user_groups do @@ -295,6 +300,7 @@ Gemeinschaft42c::Application.routes.draw do end end resources :voicemail_settings + resources :voicemail_accounts end resources :phones, :only => [] do |