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); console.error(err);
} }
exit();
// Write the news file // Write the news file
try { try {
let files = fs.readdirSync(newsDir); 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()} {this.header()}
<br /> <br />
<br /> <br />
{this.render_list("Recommended", instance_stats.recommended)} {this.render_list(
{this.render_list("Popular", instance_stats.remaining)} i18n.t("recommended_instances"),
instance_stats.recommended
)}
{this.render_list(
i18n.t("popular_instances"),
instance_stats.remaining
)}
</div> </div>
); );
} }