mirror of
https://github.com/mue/mue.git
synced 2026-07-14 12:34:03 +02:00
fix(translations): fix issues caused by refactor
This commit is contained in:
@@ -44,13 +44,9 @@ export default class Changelog extends PureComponent {
|
||||
title: data.title,
|
||||
date,
|
||||
image: data.featured_image || null,
|
||||
author: variables.getMessage(
|
||||
variables.languagecode,
|
||||
'modals.main.settings.sections.changelog.by',
|
||||
{
|
||||
author: data.authors.join(', '),
|
||||
},
|
||||
),
|
||||
author: variables.getMessage('modals.main.settings.sections.changelog.by', {
|
||||
author: data.authors.join(', '),
|
||||
}),
|
||||
content: data.markdown,
|
||||
});
|
||||
|
||||
|
||||
@@ -147,13 +147,9 @@ export default class Stats extends PureComponent {
|
||||
</span>
|
||||
<br />
|
||||
<span className="subtitle">
|
||||
{variables.getMessage(
|
||||
variables.languagecode,
|
||||
'modals.main.settings.sections.stats.unlocked',
|
||||
{
|
||||
count: this.getUnlockedCount() + '/' + this.state.achievements.length,
|
||||
},
|
||||
)}
|
||||
{variables.getMessage('modals.main.settings.sections.stats.unlocked', {
|
||||
count: this.getUnlockedCount() + '/' + this.state.achievements.length,
|
||||
})}
|
||||
</span>
|
||||
<div className="achievements">
|
||||
{this.state.achievements.map((achievement, index) => {
|
||||
|
||||
Reference in New Issue
Block a user