diff options
author | crupest <crupest@outlook.com> | 2021-04-27 19:29:20 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-04-27 19:29:20 +0800 |
commit | a6150c487e7a0eb3fb1d9874d2fa7de61cdbfd30 (patch) | |
tree | 65ad2e897051d36ca49896e0df66841df4bffd6f /BackEnd/Timeline/Services/Imaging/ImageException.cs | |
parent | cb3d8d0997679d2b9a961ec92b6555af4c4ef53f (diff) | |
download | timeline-a6150c487e7a0eb3fb1d9874d2fa7de61cdbfd30.tar.gz timeline-a6150c487e7a0eb3fb1d9874d2fa7de61cdbfd30.tar.bz2 timeline-a6150c487e7a0eb3fb1d9874d2fa7de61cdbfd30.zip |
refactor: ...
Diffstat (limited to 'BackEnd/Timeline/Services/Imaging/ImageException.cs')
-rw-r--r-- | BackEnd/Timeline/Services/Imaging/ImageException.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Services/Imaging/ImageException.cs b/BackEnd/Timeline/Services/Imaging/ImageException.cs index 12aefa0a..18c8a4d3 100644 --- a/BackEnd/Timeline/Services/Imaging/ImageException.cs +++ b/BackEnd/Timeline/Services/Imaging/ImageException.cs @@ -38,7 +38,7 @@ namespace Timeline.Services.Imaging System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
private static string MakeMessage(ErrorReason? reason) =>
- string.Format(CultureInfo.InvariantCulture, Resource.ExceptionImage, reason switch
+ string.Format(CultureInfo.CurrentCulture, Resource.ExceptionImage, reason switch
{
ErrorReason.CantDecode => Resource.ExceptionImageReasonCantDecode,
ErrorReason.UnmatchedFormat => Resource.ExceptionImageReasonUnmatchedFormat,
|