mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-20 18:45:29 +02: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