Kaynağa Gözat

fix: ignore built assets in translation

(cherry picked from commit 0cb4da1195)
version-14
Ankush Menat 2 yıl önce
committed by Mergify
ebeveyn
işleme
53357e214f
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. +3
    -0
      frappe/translate.py

+ 3
- 0
frappe/translate.py Dosyayı Görüntüle

@@ -637,6 +637,9 @@ def get_server_messages(app):
for basepath, folders, files in app_walk:
folders[:] = [folder for folder in folders if folder not in {".git", "__pycache__"}]

if "public/dist" in basepath:
continue

for f in files:
f = frappe.as_unicode(f)
if f.endswith(file_extensions):


Yükleniyor…
İptal
Kaydet