Skip to content

Commit

Permalink
fix: offline locale [WTEL-4031]
Browse files Browse the repository at this point in the history
  • Loading branch information
dlohvinov committed Nov 10, 2023
1 parent bda25f7 commit 4044e1a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
10 changes: 7 additions & 3 deletions src/app/locale/en/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ export default {
placeholder: 'Enter your name',
},
email: {
label: 'Email',
placeholder: 'Enter your email',
},
label: 'Email',
placeholder: 'Enter your email',
},
destination: {
label: 'Phone number',
placeholder: 'Enter phone number',
Expand Down Expand Up @@ -66,6 +66,10 @@ export default {
},
errors: {
fileTooLarge: 'File "{file}" is too large! Maximum size is {maxSize} Mb',
offline: {
title: 'Ohh... You\'re offline',
description: 'Please check your Internet connection and try again',
},
},
emojiPicker: {
categoriesLabel: 'Categories',
Expand Down
4 changes: 4 additions & 0 deletions src/app/locale/ru/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ export default {
},
errors: {
fileTooLarge: 'Файл "{file}" слишком большой! Максимальный размер файла: {maxSize} Мб',
offline: {
title: 'Ох... Вы офлайн',
description: 'Пожалуйста, проверьте ваше Интернет-соединение и попробуйте снова',
},
},
emojiPicker: {
categoriesLabel: 'Категории',
Expand Down
4 changes: 4 additions & 0 deletions src/app/locale/ua/ua.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ export default {
},
errors: {
fileTooLarge: 'Файл "{file}" завеликий! Максимальний розмір файлу: {maxSize} Мб',
offline: {
title: 'Ох... Ви офлайн',
description: 'Будь ласка, перевірте ваше Інтернет-з\'єднання і спробуйте знову',
},
},
emojiPicker: {
categoriesLabel: 'Категорії',
Expand Down
4 changes: 2 additions & 2 deletions src/modules/call/components/wt-omni-widget-call-offline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
icon-prefix="wt-omni-widget"
></wt-icon>
<call-title-wrapper>
unlucky
{{ $t('errors.offline.title') }}
<template #description>
unlucky x2
{{ $t('errors.offline.description') }}
</template>
</call-title-wrapper>
</section>
Expand Down

0 comments on commit 4044e1a

Please sign in to comment.