always use english for fallback text

Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
Marco Süß 2022-01-17 22:16:44 +01:00 committed by andrey
parent bcf20c358c
commit a8e4363e6b
No known key found for this signature in database
GPG Key ID: 89B67245FD2F0272
1 changed files with 3 additions and 3 deletions

View File

@ -174,7 +174,7 @@
{:chat-id chat-id
:content-type constants/content-type-image
:image-path (utils/safe-replace uri #"file://" "")
:text (i18n/label :t/update-to-see-image)})
:text (i18n/label :t/update-to-see-image {"locale" "en"})})
images)))
(fx/defn clean-input [{:keys [db] :as cofx} current-chat-id]
@ -227,7 +227,7 @@
:content-type constants/content-type-audio
:audio-path audio-path
:audio-duration-ms duration
:text (i18n/label :t/update-to-listen-audio)})))
:text (i18n/label :t/update-to-listen-audio {"locale" "en"})})))
(fx/defn send-sticker-message
[cofx {:keys [hash pack]} current-chat-id]
@ -236,7 +236,7 @@
:content-type constants/content-type-sticker
:sticker {:hash hash
:pack pack}
:text (i18n/label :t/update-to-see-sticker)})))
:text (i18n/label :t/update-to-see-sticker {"locale" "en"})})))
(fx/defn send-edited-message [{:keys [db] :as cofx} text {:keys [message-id]}]
(fx/merge