diff --git a/lib/layers/data/storage/l10n/oblivion.dart b/lib/layers/data/storage/l10n/oblivion.dart index 2435b9f..1724771 100644 --- a/lib/layers/data/storage/l10n/oblivion.dart +++ b/lib/layers/data/storage/l10n/oblivion.dart @@ -127,7 +127,7 @@ class OblivionL10nData { }, "Fortify Magicka": { /*"de": "",*/ - "ru": " Повышение магии", /*"fr": "", "es": "", "it": "", "pl": "", "jp": "", "zh": ""*/ + "ru": "Повышение магии", /*"fr": "", "es": "", "it": "", "pl": "", "jp": "", "zh": ""*/ }, "Fortify Personality": { /*"de": "",*/ diff --git a/lib/layers/data/storage/l10n/search_indices.dart b/lib/layers/data/storage/l10n/search_indices.dart index 9a08de5..8f0a3d5 100644 --- a/lib/layers/data/storage/l10n/search_indices.dart +++ b/lib/layers/data/storage/l10n/search_indices.dart @@ -208,7 +208,7 @@ class SearchLocalizedNameIndex { "Повышение здоровья": "Fortify Health", "Повышение интеллекта": "Fortify Intelligence", "Повышение удачи": "Fortify Luck", - " Повышение магии": "Fortify Magicka", + "Повышение магии": "Fortify Magicka", "Повышение обаяния": "Fortify Personality", "Повышение скорости": "Fortify Speed", "Повышение силы": "Fortify Strength", diff --git a/test/layers/data/resource/effect_resource_test.dart b/test/layers/data/resource/effect_resource_test.dart index 064a9b6..2cd5eaf 100644 --- a/test/layers/data/resource/effect_resource_test.dart +++ b/test/layers/data/resource/effect_resource_test.dart @@ -50,6 +50,13 @@ void main() { List effects = EffectResource(gameName: Constant.gameNameOblivion).searchEffectsByName("восс", "ru"); expect(effects.length, 11); }); + + test("oblivion Повышение магии is not sorted uppermost", () { + List effects = EffectResource(gameName: Constant.gameNameOblivion).searchEffectsByName("", "ru"); + expect(effects.length, 68); + expect(effects[0].name, "Silence"); + expect(effects[1].name, "Water Breathing"); + }); }); }