--HG--
branch : dev
This commit is contained in:
Renaud Paquay
2010-10-18 16:32:17 -07:00
parent 958dafa4ef
commit be86c89eb2

View File

@@ -75,7 +75,7 @@ namespace Orchard.Themes.Services {
while (!string.IsNullOrWhiteSpace(baseThemeName)) {
//todo: (heskew) need a better way to protect from recursive references
if (themesSeen.Contains(baseThemeName))
throw new InvalidOperationException(T("The theme \"{0}\" was already seen - looks like we're going aruond in circles.", baseThemeName).Text);
throw new InvalidOperationException(T("The theme \"{0}\" was already seen - looks like we're going around in circles.", baseThemeName).Text);
themesSeen.Add(baseThemeName);
var baseTheme = GetThemeByName(baseThemeName);