diff --git a/src/app/locale/en/en.js b/src/app/locale/en/en.js index 6ed391734..adc52695e 100644 --- a/src/app/locale/en/en.js +++ b/src/app/locale/en/en.js @@ -70,6 +70,9 @@ export default { ringtone: 'Ringtone', customRingtone: 'Use the custom ringtone', }, + ringtoneVolume: { + title: 'Ringtone volume', + }, callEnd: 'Call end sound', }, diff --git a/src/app/locale/ru/ru.js b/src/app/locale/ru/ru.js index 96ea3343b..fae81a5c2 100644 --- a/src/app/locale/ru/ru.js +++ b/src/app/locale/ru/ru.js @@ -70,6 +70,9 @@ export default { ringtone: 'Рингтон', customRingtone: 'Использовать кастомный рингтон', }, + ringtoneVolume: { + title: 'Громкость рингтона', + }, callEnd: 'Звук завершения вызова', }, diff --git a/src/app/locale/ua/ua.js b/src/app/locale/ua/ua.js index a96a8eacc..4e8a11543 100644 --- a/src/app/locale/ua/ua.js +++ b/src/app/locale/ua/ua.js @@ -70,6 +70,9 @@ export default { ringtone: 'Рінгтон', customRingtone: 'Використовувати кастомний рінгтон', }, + ringtoneVolume: { + title: 'Гучність рінгтону', + }, callEnd: 'Звук завершення дзвінка', }, diff --git a/src/modules/settings/components/ringtone-volume-control.vue b/src/modules/settings/components/ringtone-volume-control.vue new file mode 100644 index 000000000..91ffcc153 --- /dev/null +++ b/src/modules/settings/components/ringtone-volume-control.vue @@ -0,0 +1,113 @@ + + + + + {{ $t('settings.ringtoneVolume.title') }} + + + + + + + {{ $t('objects.save') }} + + + + + + + + + diff --git a/src/modules/settings/components/the-settings.vue b/src/modules/settings/components/the-settings.vue index 184d2ec63..e1e0eb47c 100644 --- a/src/modules/settings/components/the-settings.vue +++ b/src/modules/settings/components/the-settings.vue @@ -71,6 +71,7 @@ + @@ -83,12 +84,14 @@ import { mapState } from 'vuex'; import { changeWebPhone, getWebPhone } from '../api/settings'; import ChangePassword from './change-password.vue'; import CustomRingtone from './custom-ringtone.vue'; +import RingtoneVolumeControl from './ringtone-volume-control.vue'; export default { name: 'TheSettings', components: { CustomRingtone, ChangePassword, + RingtoneVolumeControl, }, inject: ['$eventBus'], data: () => ({