File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ def cli(caller_file):
66
77 cli = sns (
88 name = 'translate-messages' ,
9- version = '2026.2.10.56 ' ,
9+ version = '2026.2.10.57 ' ,
1010 author = sns (name = 'Adam Lui' , email = 'adam@kudoa.com' , url = 'https://github.com/adamlui' ),
1111 description = 'Translate en/messages.json to other locales' ,
1212 urls = sns (
@@ -77,9 +77,8 @@ def locales_dir(locales_dir):
7777 for root , dirs , _ in os .walk (lib_dir ): # search lib dir recursively
7878 if locales_dir in dirs :
7979 locales_dir = os .path .join (root , locales_dir ) ; break
80- else : # search lib parent dirs recursively
8180 parent_dir = os .path .dirname (lib_dir )
82- while parent_dir and parent_dir != lib_dir :
81+ while parent_dir and parent_dir != lib_dir : # search recursively
8382 for root , dirs , _ in os .walk (parent_dir ):
8483 if locales_dir in dirs :
8584 locales_dir = os .path .join (root , locales_dir ) ; break
You can’t perform that action at this time.
0 commit comments