-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #12904 UmbracoHelper.GetDictionaryValue defaults to en-US when …
…used in non-front end code (#12942) * adding new overload/rename a method * remove this keyword * fix comment * remove space * commit * revert * replace param name * public backward compatibility * Minor style tweaks * Don't change default culture in UmbracoCultureDictionary --------- Co-authored-by: Nikolaj <nikolajlauridsen@protonmail.ch>
- Loading branch information
1 parent
41805af
commit 0da33d0
Showing
4 changed files
with
62 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
using System.Globalization; | ||
|
||
namespace Umbraco.Cms.Core.Dictionary; | ||
|
||
public interface ICultureDictionaryFactory | ||
{ | ||
ICultureDictionary CreateDictionary(); | ||
|
||
ICultureDictionary CreateDictionary(CultureInfo specificCulture) => throw new NotImplementedException(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters