Skip to content

Commit f2a533c

Browse files
committed
fix(core): update internal translations
1 parent 7ed2aaa commit f2a533c

File tree

4 files changed

+24
-26
lines changed

4 files changed

+24
-26
lines changed

package-lock.json

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"ts-morph": "^22.0.0",
5151
"ts-node": "^10.9.2",
5252
"tsc-alias": "^1.8.10",
53-
"typedoc": "^0.26.0",
53+
"typedoc": "^0.26.1",
5454
"typescript": "^5.5.2",
5555
"unified-prettier": "^2.0.1"
5656
}

packages/typedoc-plugin-markdown/src/renderer/overrides.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ export async function generateDocs(project: ProjectReflection, out: string) {
1717
const start = Date.now();
1818
await this.renderer.render(project, out);
1919
if (this.logger.hasErrors()) {
20-
this.logger.error(
21-
'Documentation could not be generated due to the errors above.',
22-
);
20+
this.logger.error(this.i18n.docs_could_not_be_generated());
2321
} else {
24-
this.logger.info(`Documentation generated at ${nicePath(out)}`);
22+
this.logger.info(this.i18n.docs_generated_at_0(nicePath(out)));
2523
this.logger.verbose(`Markdown rendering took ${Date.now() - start}ms`);
2624
}
2725
}

packages/typedoc-plugin-markdown/src/theme/context/partials/comments.comment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export function comment(
7676
[],
7777
);
7878

79-
const filteredBlockTags = ['@returns', '@module'];
79+
const filteredBlockTags = ['@returns'];
8080

8181
const tags = blockTags
8282
.filter((tag) => !filteredBlockTags.includes(tag.tag))

0 commit comments

Comments
 (0)