2626 ),
2727 init = sn (
2828 args = ['-i' , '--init' ],
29- action = 'store_true' , help = 'Create .translate-msgs.config.jsonc file to store default options'
29+ action = 'store_true' , help = 'Create .translate-msgs.config.jsojson5nc file to store default options'
3030 ),
3131 force = sn (
3232 args = ['-f' , '--force' , '--overwrite' ],
@@ -49,12 +49,12 @@ def load(cli, caller_file):
4949 cli .project_root = path .join (path .dirname (caller_file ),
5050 f"../../{ '' if 'src' in path .dirname (caller_file ) else '../../' } " )
5151 possible_config_filenames = [
52- f'.{ cli .short_name } .config.jsonc' , f'{ cli .short_name } .config.jsonc' ,
53- f'.{ cli .short_name } .config.json' , f'{ cli .short_name } .config.json' ,
5452 f'.{ cli .short_name } .config.json5' , f'{ cli .short_name } .config.json5' ,
55- f'.{ cli .name } .config.jsonc ' , f'{ cli .name } .config.jsonc ' ,
56- f'.{ cli .name } .config.json ' , f'{ cli .name } .config.json ' ,
53+ f'.{ cli .short_name } .config.json ' , f'{ cli .short_name } .config.json ' ,
54+ f'.{ cli .short_name } .config.jsonc ' , f'{ cli .short_name } .config.jsonc ' ,
5755 f'.{ cli .name } .config.json5' , f'{ cli .name } .config.json5' ,
56+ f'.{ cli .name } .config.json' , f'{ cli .name } .config.json' ,
57+ f'.{ cli .name } .config.jsonc' , f'{ cli .name } .config.jsonc' ,
5858 ]
5959 for filename in possible_config_filenames :
6060 cli .config_filepath = path .join (cli .project_root , filename )
0 commit comments