Browse Source

Handle with case issues in json.

Resolve #5618
pull/5620/head
maliming 6 years ago
committed by GitHub
parent
commit
31b24319be
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/TranslateCommand.cs

4
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/TranslateCommand.cs

@ -255,8 +255,8 @@ namespace Volo.Abp.Cli.Commands
return null;
}
var culture = jObject.GetValue("culture");
var texts = jObject.GetValue("texts");
var culture = jObject.GetValue("culture") ?? jObject.GetValue("Culture") ;
var texts = jObject.GetValue("texts") ?? jObject.GetValue("Texts") ;
if (culture == null || texts == null)
{
return null;

Loading…
Cancel
Save