Add Hebrew locale support
This commit is contained in:
parent
0a10126d1d
commit
92711fa35d
|
@ -75,6 +75,7 @@ To get the latest version please head over the [releases page](https://github.co
|
|||
* Brazilian portuguese by [pedrinholula](https://github.com/pedrinholula)
|
||||
* Russian by [stereohorse](https://github.com/stereohorse)
|
||||
* Kyrgyz by [januchaos](https://github.com/januchaos)
|
||||
* Hebrew by [cohen604](https://github.com/cohen604)
|
||||
|
||||
## Theme tested
|
||||
|
||||
|
|
|
@ -54,5 +54,5 @@
|
|||
"desktop": "assets/screenshot-desktop.jpg",
|
||||
"mobile": "assets/screenshot-mobile.jpg"
|
||||
},
|
||||
"version": "0.4.0"
|
||||
"version": "0.4.1"
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ import GhostContentAPI from '@tryghost/content-api'
|
|||
import Fuse from 'fuse.js'
|
||||
|
||||
$(document).ready(() => {
|
||||
const isRTL = $('html').attr('lang') === 'ar'
|
||||
const isRTL = $('html').attr('lang') === 'ar' || $('html').attr('lang') === 'he'
|
||||
|
||||
if (isRTL) {
|
||||
$('html').attr('dir', 'rtl').addClass('rtl')
|
||||
|
|
|
@ -2,7 +2,7 @@ import $ from 'jquery'
|
|||
import slick from 'slick-carousel'
|
||||
|
||||
$(document).ready(() => {
|
||||
const isRTL = $('html').attr('lang') === 'ar'
|
||||
const isRTL = $('html').attr('lang') === 'ar' || $('html').attr('lang') === 'he'
|
||||
const $featuredArticles = $('.js-featured-articles')
|
||||
|
||||
if ($featuredArticles.length > 0) {
|
||||
|
|
|
@ -102,7 +102,7 @@ function prepareProgressCircle() {
|
|||
}
|
||||
|
||||
$(document).ready(() => {
|
||||
const isRTL = $('html').attr('lang') === 'ar'
|
||||
const isRTL = $('html').attr('lang') === 'ar' || $('html').attr('lang') === 'he'
|
||||
|
||||
$aosWrapper = $('.js-aos-wrapper')
|
||||
const $scrollButton = $('.js-scrolltop')
|
||||
|
|
Loading…
Reference in a new issue