Przeglądaj źródła

[minor] [fix] module imported in translate

version-14
Nabin Hait 12 lat temu
rodzic
commit
46df0c62e7
1 zmienionych plików z 1 dodań i 0 usunięć
  1. +1
    -0
      webnotes/translate.py

+ 1
- 0
webnotes/translate.py Wyświetl plik

@@ -113,6 +113,7 @@ def build_message_files():
def build_for_pages(path): def build_for_pages(path):
"""make locale files for framework py and js (all)""" """make locale files for framework py and js (all)"""
from webnotes.modules import get_doc_path
messages = [] messages = []
for (basepath, folders, files) in os.walk(path): for (basepath, folders, files) in os.walk(path):
if os.path.basename(os.path.dirname(basepath))=="page": if os.path.basename(os.path.dirname(basepath))=="page":


Ładowanie…
Anuluj
Zapisz