Skip to content

Commit

Permalink
Fix cammel case transormation (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Belfort committed Sep 25, 2021
1 parent ec8753a commit f437f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/generate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ String _resolve(Map<String, dynamic> translations, bool? skipUnnecessaryKeys,

if (!_preservedKeywords.contains(key)) {
if (accKey != null && !ignoreKey) {
final formattedAccKey = '$accKey.$key'.toCamelCase;
final formattedAccKey = '${accKey.toCamelCase}.$key'.toCamelCase;

fileContent += ' static const $formattedAccKey = \'$accKey.$key\';\n';
} else if (!ignoreKey) {
Expand Down

0 comments on commit f437f81

Please sign in to comment.