1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-16 01:07:03 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
3b360d2eef
Use haven for GDPR popup instead of cookieconsent
Haven is newer and more well maintained (and also it is actually
open source instead of open core with an upsell to a paid subscrip-
tion). Haven is configured to be 100% *opt-in* for Google Analytics,
which means it does not load or send a hit until the user agrees.

This is mostly a drop-in replacement, but translations need to make
sure the following strings are updated:

- cookieAccept
- cookieDecline
2020-05-13 13:19:41 +03:00
b862745a0d
Localize "by" and "in" strings in post meta
This became a problem when I added right-to-left language support.
When you mix RTL languages like Arabic with English (even for just
dates and small strings) everything becomes jumbled. For now I have
only added translations for English (default), Arabic, and Bulgarian.
2019-04-22 18:51:33 +03:00
e4876d98cf
i18n/ar.yaml: Put arrow on the right side
This works. The way I understand it is that it needs to be "wrong"
before we run rtlcss so that it gets flipped to be correct when in
right-to-left mode.
2019-04-18 22:21:25 +03:00
90d1a79e01
i18n/ar.yaml: Improved Arabic translation
Credit: Bayan Abid
2019-04-18 16:08:03 +03:00
f71886b04f
Add Arabic translation
Very poorly done using Google Translate, just so I can see how the
strings look and have a place to start fixing them.
2019-04-17 18:29:33 +03:00