11 Commits (main)

Author SHA1 Message Date
welpo be7628aeaa
feat: allow HTML tags in multilingual quote author 8 months ago
welpo 01d5322ef3
🐛 fix(multilingual-quote): open <p> regardless of attribution 1 year ago
welpo 5458b1c533
🎨 style: fix whitespace issues 1 year ago
Óscar 32a2d5094b
🌐 feat(i18n): overhaul translation system & add languages (#145)
Revamp the existing translation system, simplifying
management and adding several new languages. The new system reads from
TOML files in the `/i18n` directory and improves template structures.
It also enhances customisation options and robustness by providing
fallbacks and modularity.

- Implement a new, streamlined translation macro.
- Load translations from `/i18n` TOML files.
- Remove redundant configuration requirements.
- Refactor templates to align with new i18n system.
- Add support for Hindi, Japanese, Russian, Portuguese, Chinese,
  Italian, German, Ukranian, Korean, and French languages.
- Credit Thomas Weitzel (@thomasweitzel) for inspiration.
1 year ago
welpo 3cf9e3ad8d
feat(multilingual-quote): allow missing author 1 year ago
Óscar 78f97e17b4
♻️ refactor(translation): introduce translation macro (#129) 2 years ago
welpo 5250576744
💡 chore: add comments explaining use of `get_random` 2 years ago
welpo c47198facf
🎨 style: add dash to toggle identifier 2 years ago
welpo 0e1a5143c0
🐛 fix: generate random id for multilingual quotes
Fix #82
2 years ago
welpo dd73e52729
feat: add custom quotation marks for multilingual quotes
Allows users to specify custom opening and closing quotation marks for
the multilingual quote shortcode.
The quotation marks can be configured per language in config.toml.
If not specified, default quotation marks will be used.
2 years ago
welpo ab29511d5e
feat: add multilingual quote shortcode 2 years ago