mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-22 12:03:39 +00:00
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user