From 936b3f839d69eec866a7563808efc5d144e9e54e Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Thu, 3 Dec 2020 21:02:27 +0900 Subject: [PATCH] Put translations to sub directories --- Rakefile | 3 ++- crowdin.yml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index c685d1b..be6e656 100644 --- a/Rakefile +++ b/Rakefile @@ -5,11 +5,12 @@ TRANS_DIR = "trans" desc "Build site" multitask :build_site => [:build_base, "crowdin:download"] do - Pathname.glob("#{TRANS_DIR}/**/*.html.*").select(&:file?).each do |path| + Pathname.glob("#{TRANS_DIR}/**/*.html").select(&:file?).each do |path| content = path.read content.sub! /