1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-24 13:19:29 -05:00
なぜか .ts という拡張子で来るのかは不明
This commit is contained in:
syuilo 2018-08-23 02:28:58 +09:00
parent 1b9c69f793
commit d129151fdf

View file

@ -27,6 +27,8 @@ export default class Replacer {
let text = texts;
if (path) {
path = path.replace('.ts', '');
if (text.hasOwnProperty(path)) {
text = text[path];
} else {