Fixed applying plurals from JSON
This commit is contained in:
parent
b9aaca7706
commit
3fdeb092b8
1 changed files with 1 additions and 1 deletions
|
|
@ -646,7 +646,7 @@ void Instance::loadFromJson(const QString &filename) {
|
|||
const auto keyPlurals = (*value).toObject();
|
||||
const auto pluralList = keyPlurals.keys();
|
||||
|
||||
for (auto pli = keyList.constBegin(), ple = keyList.constEnd(); pli != ple; ++pli) {
|
||||
for (auto pli = pluralList.constBegin(), ple = pluralList.constEnd(); pli != ple; ++pli) {
|
||||
const auto plural = *pli;
|
||||
const auto pluralValue = keyPlurals.constFind(plural);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue