Skip to content

Commit

Permalink
Updated reference format function to use the interface
Browse files Browse the repository at this point in the history
  • Loading branch information
danae committed Sep 2, 2024
1 parent 4e0f8a2 commit a33abc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Runtime/ILocalizationSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public string Format(string message, IReadOnlyDictionary<string, object> argumen
}

// Format a localized string using the selected locale
public string Format(LocalizedString reference)
public string Format(ILocalizedString reference)
{
if (selectedLocale == null)
throw new LocalizationException("No locale has ben selected");
Expand Down

0 comments on commit a33abc5

Please sign in to comment.