Compare commits

...

4 Commits

Author SHA1 Message Date
olivia
6298d06f40 Release 💎 3.7.3 2018-02-25 17:41:51 +01:00
olivia
7b88125445 Prepare for 3.7.3 release 2018-02-25 17:41:23 +01:00
olivia
f9f6b2fcfa Update history to reflect backport of #6791 2018-02-25 12:26:53 +01:00
olivia
31130f724d Backport #6791 from master to 3.7-stable 2018-02-25 12:24:03 +01:00
4 changed files with 10 additions and 3 deletions

View File

@@ -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

View File

@@ -35,7 +35,6 @@ require "colorator"
require "i18n"
SafeYAML::OPTIONS[:suppress_warnings] = true
I18n.config.available_locales = :en
module Jekyll
# internal requires

View File

@@ -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)

View File

@@ -1,5 +1,5 @@
# frozen_string_literal: true
module Jekyll
VERSION = "3.7.2".freeze
VERSION = "3.7.3".freeze
end