always use english for fallback text
Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
parent
bcf20c358c
commit
a8e4363e6b
|
@ -174,7 +174,7 @@
|
||||||
{:chat-id chat-id
|
{:chat-id chat-id
|
||||||
:content-type constants/content-type-image
|
:content-type constants/content-type-image
|
||||||
:image-path (utils/safe-replace uri #"file://" "")
|
: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)))
|
images)))
|
||||||
|
|
||||||
(fx/defn clean-input [{:keys [db] :as cofx} current-chat-id]
|
(fx/defn clean-input [{:keys [db] :as cofx} current-chat-id]
|
||||||
|
@ -227,7 +227,7 @@
|
||||||
:content-type constants/content-type-audio
|
:content-type constants/content-type-audio
|
||||||
:audio-path audio-path
|
:audio-path audio-path
|
||||||
:audio-duration-ms duration
|
: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
|
(fx/defn send-sticker-message
|
||||||
[cofx {:keys [hash pack]} current-chat-id]
|
[cofx {:keys [hash pack]} current-chat-id]
|
||||||
|
@ -236,7 +236,7 @@
|
||||||
:content-type constants/content-type-sticker
|
:content-type constants/content-type-sticker
|
||||||
:sticker {:hash hash
|
:sticker {:hash hash
|
||||||
:pack pack}
|
: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/defn send-edited-message [{:keys [db] :as cofx} text {:keys [message-id]}]
|
||||||
(fx/merge
|
(fx/merge
|
||||||
|
|
Loading…
Reference in New Issue