mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-28 03:01:03 -04:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6298d06f40 | ||
|
|
7b88125445 | ||
|
|
f9f6b2fcfa | ||
|
|
31130f724d |
@@ -1,3 +1,8 @@
|
||||
## 3.7.3 / 2018-02-25
|
||||
|
||||
### Bug Fixes
|
||||
* Do not hardcode locale unless certainly necessary (#6791)
|
||||
|
||||
## 3.7.2 / 2018-01-25
|
||||
|
||||
### Development Fixes
|
||||
|
||||
@@ -35,7 +35,6 @@ require "colorator"
|
||||
require "i18n"
|
||||
|
||||
SafeYAML::OPTIONS[:suppress_warnings] = true
|
||||
I18n.config.available_locales = :en
|
||||
|
||||
module Jekyll
|
||||
# internal requires
|
||||
|
||||
@@ -203,7 +203,10 @@ module Jekyll
|
||||
end
|
||||
|
||||
# Drop accent marks from latin characters. Everything else turns to ?
|
||||
string = ::I18n.transliterate(string) if mode == "latin"
|
||||
if mode == "latin"
|
||||
I18n.config.available_locales = :en if I18n.config.available_locales.empty?
|
||||
string = I18n.transliterate(string)
|
||||
end
|
||||
|
||||
slug = replace_character_sequence_with_hyphen(string, :mode => mode)
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Jekyll
|
||||
VERSION = "3.7.2".freeze
|
||||
VERSION = "3.7.3".freeze
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user