Skip to content

Commit

Permalink
[JS] Fix génération commentaires en translateProperties = true
Browse files Browse the repository at this point in the history
  • Loading branch information
JabX committed Apr 23, 2024
1 parent d45ab79 commit 80dee2f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,11 @@ protected override void HandleClass(string fileName, Class classe, string tag)
{
if (Config.TranslateProperties == true)
{
fw.WriteLine($" comment: \"{field.Comment}\"");
fw.WriteLine($" comment: \"{field.CommentResourceKey}\"");
}
else
{
fw.WriteLine($" comment: \"{field.CommentResourceKey}\"");
fw.WriteLine($" comment: \"{field.Comment}\"");
}
}
}
Expand Down

0 comments on commit 80dee2f

Please sign in to comment.