mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-23 01:44:10 +02:00
@@ -27,6 +27,8 @@ export default class Replacer {
|
|||||||
let text = texts;
|
let text = texts;
|
||||||
|
|
||||||
if (path) {
|
if (path) {
|
||||||
|
path = path.replace('.ts', '');
|
||||||
|
|
||||||
if (text.hasOwnProperty(path)) {
|
if (text.hasOwnProperty(path)) {
|
||||||
text = text[path];
|
text = text[path];
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user