File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
commands/impl/generate/locales Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import 'dart:convert';
22import 'dart:io' ;
33
44import 'package:path/path.dart' ;
5- import 'package:recase/recase.dart' ;
65
76import '../../../../common/utils/logger/LogUtils.dart' ;
87import '../../../../core/internationalization.dart' ;
@@ -79,7 +78,6 @@ class GenerateLocalesCommand extends Command with ArgsMixin {
7978 parsedLocales.writeln ('\t static const $key = {' );
8079 translationsKeys.writeln ('\t\t\' $key \' : Locales.$key ,' );
8180 value.forEach ((key, value) {
82- key = key.snakeCase;
8381 value = _replaceValue (value);
8482 if (RegExp (r'^[0-9]|[!@#<>?":`~;[\]\\|=+)(*&^%-\s]' ).hasMatch (key)) {
8583 throw CliException (
Original file line number Diff line number Diff line change @@ -230,10 +230,10 @@ abstract class Locales {
230230 'sucess_clean_pattern_generated' : 'Estrutura CLEAN gerada com sucesso.' ,
231231 'sucess_file_formatted' : ' \' %s\' foi formatado com sucesso' ,
232232 'sucess_package_removed' : 'Pacote: %s removido!' ,
233- 'sucess_package_installed' : '\' Pacote: %s instalado!' ,
233+ 'sucess_package_installed' : 'Pacote: %s instalado!' ,
234234 'sucess_update_cli' : 'Upgrade concluído' ,
235235 'sucess_add_controller_in_bindings' :
236- 'O %s foi adicionado ao binging no path: %s \' ' ,
236+ 'O %s foi adicionado ao binging no path: %s ' ,
237237 'sucess_navigation_added' : '%s navigation adicionada com sucesso.' ,
238238 'sucess_file_created' : 'Arquivo: %s criado com sucesso no path: %s' ,
239239 'sucess_route_created' : 'Rota %s criada com sucesso.' ,
You can’t perform that action at this time.
0 commit comments