#17313: Localized translations with " are not found

Work Item: 17313

--HG--
branch : 1.x
This commit is contained in:
agriffard
2013-07-08 13:30:22 +02:00
parent 3f27ec9ef4
commit 33bfa79207

View File

@@ -25,6 +25,7 @@ namespace Orchard.Localization {
var workContext = _workContextAccessor.GetContext();
var currentCulture = workContext.CurrentCulture;
textHint = textHint.Replace(@"""", @"""""");
var localizedFormat = _localizedStringManager.GetLocalizedString(_scope, textHint, currentCulture);
return args.Length == 0