We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AspNetCoreLocalization/src/Localization.SqlLocalizer/DbStringLocalizer/SqlStringLocalizer.cs
Line 41 in a362dc7
parameters work as follows
using System.Linq; public LocalizedString this[string name, params object[] arguments] { get { var localizedString = this[name]; return new LocalizedString(name, String.Format(localizedString.Value, arguments.Select(x => x.ToString()).ToArray()), localizedString.ResourceNotFound); } }
new LocalizationRecord(){ Key="RequiredError", ResourceKey="global", Text="The {0} field is required.", LocalizationCulture="en-GB" }, new LocalizationRecord(){ Key="Name", ResourceKey="global", Text="Name", LocalizationCulture="en-GB" }, [Required(ErrorMessage = "RequiredError")] [Display(Name = "Name")] public string Name { get; set; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
AspNetCoreLocalization/src/Localization.SqlLocalizer/DbStringLocalizer/SqlStringLocalizer.cs
Line 41 in a362dc7
parameters work as follows
The text was updated successfully, but these errors were encountered: