Skip to content

Commit

Permalink
reverse folder path for dictionary files. KevinJump#251
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJump committed Jul 28, 2021
1 parent 7d590d0 commit de00586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uSync8.ContentEdition/Handlers/DictionaryHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private string GetDictionaryPath(IDictionaryItem item)
{
var parent = localizationService.GetDictionaryItemById(item.ParentId.Value);
if (parent != null)
return item.ItemKey.ToSafeFileName() + Path.DirectorySeparatorChar + GetDictionaryPath(parent);
return GetDictionaryPath(parent) + Path.DirectorySeparatorChar + item.ItemKey.ToSafeFileName();
}

return item.ItemKey.ToSafeFileName();
Expand Down

0 comments on commit de00586

Please sign in to comment.