Created
June 14, 2022 05:46
-
-
Save sukhikh18/17723b8200559e86d2e260cb84da222e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Fancybox} from "@fancyapps/ui"; | |
Fancybox.defaults = { | |
...Fancybox.defaults, | |
// more: 'share', 'download', 'thumbs', | |
buttons: ["zoom", "slideShow", "fullScreen", "close"], | |
lang: "ru", | |
i18n: { | |
...(Fancybox.defaults?.i18n || {}), | |
"ru": { | |
"CLOSE": "Закрыть", | |
"NEXT": "Следующий", | |
"PREV": "Предыдущий", | |
"ERROR": "Контент по запросу не найден. <br/> Пожалуйста, попробуйте позже.", | |
"PLAY_START": "Запустить слайдшоу", | |
"PLAY_STOP": "Остановить слайдшоу", | |
"FULL_SCREEN": "На весь экран", | |
"THUMBS": "Эскизы", | |
"DOWNLOAD": "Скачать", | |
"SHARE": "Поделиться", | |
"ZOOM": "Приблизить" | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment