feat(translations): support for new strings

This commit is contained in:
David Ralph
2022-08-23 10:59:20 +01:00
parent 5ddd26d492
commit 8c6e62e1b4
13 changed files with 218 additions and 35 deletions

View File

@@ -149,7 +149,13 @@ export default class Stats extends PureComponent {
</span>
<br />
<span className="subtitle">
{this.getUnlockedCount()}/{this.state.achievements.length} Unlocked
{variables.language.getMessage(
variables.languagecode,
'modals.main.settings.sections.stats.unlocked',
{
count: this.getUnlockedCount() + '/' + this.state.achievements.length,
},
)}
</span>
<div className="achievements">
{this.state.achievements.map((achievement, index) => {