Localize validation messages with user lang files (#15820)

* Localize validation messages with user lang files

* Fixed unit tests
This commit is contained in:
Kenn Jacobsen
2024-03-04 12:50:24 +01:00
committed by GitHub
parent f17f5522c0
commit 21126b7ba6
5 changed files with 27 additions and 5 deletions

View File

@@ -5,6 +5,7 @@ using Moq;
using NUnit.Framework;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Cache;
using Umbraco.Cms.Core.Dictionary;
using Umbraco.Cms.Core.IO;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.PropertyEditors;
@@ -615,6 +616,7 @@ public class VariationTests
propertyEditorCollection,
dataTypeService,
localizedTextService,
new ValueEditorCache());
new ValueEditorCache(),
Mock.Of<ICultureDictionary>());
}
}