fixes #2915: Translated Tags should be smarter (split by delimiters)
This commit is contained in:
@@ -45,6 +45,7 @@ module Sources
|
|||||||
def translated_tags
|
def translated_tags
|
||||||
untranslated_tags = tags
|
untranslated_tags = tags
|
||||||
untranslated_tags = untranslated_tags.map(&:first)
|
untranslated_tags = untranslated_tags.map(&:first)
|
||||||
|
untranslated_tags += untranslated_tags.grep(/\//).map {|x| x.split(/\//)}.flatten
|
||||||
untranslated_tags = untranslated_tags.map do |tag|
|
untranslated_tags = untranslated_tags.map do |tag|
|
||||||
if tag =~ /\A(\S+?)_?\d+users入り\Z/
|
if tag =~ /\A(\S+?)_?\d+users入り\Z/
|
||||||
$1
|
$1
|
||||||
|
|||||||
Reference in New Issue
Block a user