From 5b82b122aa37176acfd46fa55dd99230c02d08d2 Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Wed, 10 Jul 2013 11:47:17 +0200 Subject: language_code added to show view --- app/views/sip_accounts/show.html.haml | 5 +++++ config/locales/views/sip_accounts/de.yml | 1 + config/locales/views/sip_accounts/en.yml | 1 + 3 files changed, 7 insertions(+) diff --git a/app/views/sip_accounts/show.html.haml b/app/views/sip_accounts/show.html.haml index a7cd3ce..280c8d9 100644 --- a/app/views/sip_accounts/show.html.haml +++ b/app/views/sip_accounts/show.html.haml @@ -42,6 +42,11 @@ %strong= t('sip_accounts.show.voicemail_account') + ":" %td = @sip_account.voicemail_account + %tr + %td + %strong= t('sip_accounts.show.language_code') + ":" + %td + = @sip_account.language_code - if @sip_account.registration.try(:network_ip) && @sip_account.registration.try(:network_port) %tr diff --git a/config/locales/views/sip_accounts/de.yml b/config/locales/views/sip_accounts/de.yml index b80e2a5..76f0d4c 100644 --- a/config/locales/views/sip_accounts/de.yml +++ b/config/locales/views/sip_accounts/de.yml @@ -39,6 +39,7 @@ de: hotdeskable: 'Hot-Desk fähig' clip_no_screening: 'Spezifische Rufnummernanzeige (CLIP -no screening-)' callforward_rules_act_per_sip_account: 'Rufweiterleitungen gelten für das gesamte SIP-Account' + language_code: 'Sprache' registration: 'Registrierung' expires: 'Läuft ab' user_agent: 'User Agent' diff --git a/config/locales/views/sip_accounts/en.yml b/config/locales/views/sip_accounts/en.yml index 2c66962..303bef8 100644 --- a/config/locales/views/sip_accounts/en.yml +++ b/config/locales/views/sip_accounts/en.yml @@ -39,6 +39,7 @@ en: hotdeskable: 'Hotdeskable' clip_no_screening: 'CLIP -no screening-' callforward_rules_act_per_sip_account: 'Callforwards work for the whole sip account' + language_code: 'Language' registration: 'Registration' expires: 'Expires' user_agent: 'User Agent' -- cgit v1.2.3