add translations

This commit is contained in:
Felix Ableitner 2022-04-04 17:29:27 +02:00
parent 7427bd6f51
commit 72a25f2726
3 changed files with 9 additions and 5 deletions

View file

@ -39,8 +39,6 @@ try {
console.error(err);
}
exit();
// Write the news file
try {
let files = fs.readdirSync(newsDir);

@ -1 +1 @@
Subproject commit 178c575193bf45cbf3d220f6a760961e95b09259
Subproject commit f6afc3af86a5818abeaab07472d008f6bd2b237f

View file

@ -21,8 +21,14 @@ export class Instances extends Component<any, any> {
{this.header()}
<br />
<br />
{this.render_list("Recommended", instance_stats.recommended)}
{this.render_list("Popular", instance_stats.remaining)}
{this.render_list(
i18n.t("recommended_instances"),
instance_stats.recommended
)}
{this.render_list(
i18n.t("popular_instances"),
instance_stats.remaining
)}
</div>
);
}