diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2018-04-15 06:21:45 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-15 06:21:45 +0900 |
| commit | 369977189cbd6df3caf462e29b680cd44c7112e6 (patch) | |
| tree | 94fcf0ba7c5a15b86f118e8e93138e98e97c7944 /src/client/docs/gulpfile.ts | |
| parent | :v: (diff) | |
| parent | :pizza: (diff) | |
| download | misskey-369977189cbd6df3caf462e29b680cd44c7112e6.tar.gz misskey-369977189cbd6df3caf462e29b680cd44c7112e6.tar.bz2 misskey-369977189cbd6df3caf462e29b680cd44c7112e6.zip | |
Merge pull request #1470 from syuilo/i18n
i18n
Diffstat (limited to 'src/client/docs/gulpfile.ts')
| -rw-r--r-- | src/client/docs/gulpfile.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/docs/gulpfile.ts b/src/client/docs/gulpfile.ts index 56bf6188c8..5e81d6d3b5 100644 --- a/src/client/docs/gulpfile.ts +++ b/src/client/docs/gulpfile.ts @@ -53,7 +53,7 @@ gulp.task('doc:docs', async () => { return; } const i18n = new I18nReplacer(lang); - html = html.replace(i18n.pattern, i18n.replacement); + html = html.replace(i18n.pattern, i18n.replacement.bind(null, null)); html = fa(html); const htmlPath = `./built/client/docs/${lang}/${name}.html`; mkdirp(path.dirname(htmlPath), (mkdirErr) => { |