Skip to content

Commit 4cda3eb

Browse files
committed
api_loader to bc_loader
1 parent 7e123e2 commit 4cda3eb

16 files changed

Lines changed: 26 additions & 89 deletions

File tree

Core/MainWindow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1317,8 +1317,8 @@ def set_controls_enabled(self, enabled):
13171317
pass
13181318
# API Loader button (BCASL)
13191319
try:
1320-
if hasattr(self, "btn_api_loader") and self.btn_api_loader:
1321-
self.btn_api_loader.setEnabled(enabled)
1320+
if hasattr(self, "btn_bc_loader") and self.btn_bc_loader:
1321+
self.btn_bc_loader.setEnabled(enabled)
13221322
except Exception:
13231323
pass
13241324
# Désactiver aussi options de langue/thème et stats (sensibles en cours de build)
@@ -1347,7 +1347,7 @@ def set_controls_enabled(self, enabled):
13471347
getattr(self, "btn_remove_file", None),
13481348
getattr(self, "btn_export_config", None),
13491349
getattr(self, "btn_import_config", None),
1350-
getattr(self, "btn_api_loader", None),
1350+
getattr(self, "btn_bc_loader", None),
13511351
getattr(self, "btn_suggest_deps", None),
13521352
getattr(self, "select_lang", None),
13531353
getattr(self, "select_theme", None),

Core/init_ui.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def init_ui(self):
255255
self.btn_cancel_all = self.ui.findChild(QPushButton, "btn_cancel_all")
256256
self.btn_help = self.ui.findChild(QPushButton, "btn_help")
257257
self.btn_suggest_deps = self.ui.findChild(QPushButton, "btn_suggest_deps")
258-
self.btn_api_loader = self.ui.findChild(QPushButton, "btn_api_loader")
258+
self.btn_bc_loader = self.ui.findChild(QPushButton, "btn_bc_loader")
259259
self.btn_acasl_loader = self.ui.findChild(QPushButton, "btn_acasl_loader")
260260
if self.btn_acasl_loader:
261261
try:
@@ -333,7 +333,7 @@ def init_ui(self):
333333

334334
from bcasl import open_bc_loader_dialog
335335

336-
self.btn_api_loader.clicked.connect(lambda: open_bc_loader_dialog(self))
336+
self.btn_bc_loader.clicked.connect(lambda: open_bc_loader_dialog(self))
337337
# ACASL removed: do not import or connect ACASL loader
338338

339339
if self.btn_help:
@@ -855,9 +855,9 @@ def _tt(key: str, current: str) -> str:
855855
)
856856
if getattr(self, "btn_help", None):
857857
self.btn_help.setToolTip(_tt("tt_help", self.btn_help.toolTip()))
858-
if getattr(self, "btn_api_loader", None):
859-
self.btn_api_loader.setToolTip(
860-
_tt("tt_api_loader", self.btn_api_loader.toolTip())
858+
if getattr(self, "btn_bc_loader", None):
859+
self.btn_bc_loader.setToolTip(
860+
_tt("tt_bc_loader", self.btn_bc_loader.toolTip())
861861
)
862862
# ACASL removed: no tooltip
863863
if getattr(self, "venv_button", None):

languages/af.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"tt_remove_file": "Verwyder die geselekteerde lêer(s) uit die lys.",
5959
"tt_select_icon": "Kies 'n .ico-lêer vir die gegenereerde uitvoerbare (slegs Windows).",
6060
"tt_help": "Open hulp en inligting oor die sagteware.",
61-
"tt_api_loader": "Stel API (BCASL) inproppe op om voor kompilasie te loop.",
61+
"tt_bc_loader": "Stel API (BCASL) inproppe op om voor kompilasie te loop.",
6262
"tt_venv_button": "Kies handmatig 'n venv-lêergids om vir kompilasie te gebruik.",
6363
"tt_suggest_deps": "Ontleed die projek vir ontbrekende Python-afhanklikhede.",
6464
"tt_show_stats": "Wys boustatistieke (tyd, aantal lêers, geheue).",

languages/de.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"tt_remove_file": "Die ausgewählten Datei(en) aus der Liste entfernen.",
5959
"tt_select_icon": "Eine .ico-Datei für die erzeugte ausführbare Datei wählen (nur Windows).",
6060
"tt_help": "Hilfe und Informationen zur Software öffnen.",
61-
"tt_api_loader": "API-(BCASL)-Plugins konfigurieren, die vor der Kompilierung ausgeführt werden.",
61+
"tt_bc_loader": "API-(BCASL)-Plugins konfigurieren, die vor der Kompilierung ausgeführt werden.",
6262
"tt_venv_button": "Venv-Verzeichnis manuell für die Kompilierung auswählen.",
6363
"tt_suggest_deps": "Projekt auf fehlende Python-Abhängigkeiten analysieren.",
6464
"tt_show_stats": "Build-Statistiken anzeigen (Zeit, Anzahl der Dateien, Speicher).",

languages/en.json

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,6 @@
2424

2525
"label_logs_section": "Build logs",
2626

27-
"tab_pyinstaller": "PyInstaller",
28-
"opt_onefile": "Onefile",
29-
"opt_windowed": "Windowed",
30-
"opt_noconfirm": "Noconfirm",
31-
"opt_clean": "Clean",
32-
"opt_noupx": "No UPX",
33-
"opt_main_only": "Build only main.py or app.py",
34-
"btn_select_icon": "🎨 Choose icon (.ico)",
35-
"opt_debug": "Debug mode (--debug)",
36-
"opt_auto_install": "Auto-install missing modules",
37-
"opt_silent_errors": "Do not show error box (silent mode)",
38-
39-
"tab_nuitka": "Nuitka",
40-
"nuitka_onefile": "Onefile (--onefile)",
41-
"nuitka_standalone": "Standalone (--standalone)",
42-
"nuitka_disable_console": "Disable Windows console (--windows-disable-console)",
43-
"nuitka_show_progress": "Show progress (--show-progress)",
44-
"nuitka_output_dir": "Output folder (--output-dir)",
45-
"btn_nuitka_icon": "🎨 Choose Nuitka icon (.ico)",
46-
4727
"tt_select_folder": "Select the workspace directory containing your Python files.",
4828
"tt_select_files": "Add Python files manually to the build list.",
4929
"tt_build_all": "Start building all selected files.",
@@ -53,22 +33,9 @@
5333
"tt_remove_file": "Remove the selected file(s) from the list.",
5434
"tt_select_icon": "Choose an .ico file for the generated executable (Windows only).",
5535
"tt_help": "Open help and information about the software.",
56-
"tt_api_loader": "Configure API (BCASL) plugins to run before compilation.",
36+
"tt_bc_loader": "Configure API (BCASL) plugins to run before compilation.",
5737
"tt_venv_button": "Manually select a venv directory to use for compilation.",
5838
"tt_suggest_deps": "Analyze the project for missing Python dependencies.",
5939
"tt_show_stats": "Show build statistics (time, number of files, memory).",
60-
"tt_output_dir": "Output directory for generated executables (PyInstaller --distpath). Leave empty to use 'dist'.",
61-
62-
"tt_nuitka_disable_console": "Disable the Windows console for the built app (--windows-disable-console).",
63-
"tt_nuitka_icon": "Choose an .ico icon for the Nuitka executable (Windows only).",
64-
65-
"tt_opt_onefile": "Generate a single-file executable.",
66-
"tt_opt_windowed": "Run without a console window (windowed mode, --windowed). Windows only.",
67-
"tt_opt_noconfirm": "Do not ask for confirmation when overwriting existing files (--noconfirm).",
68-
"tt_opt_clean": "Clean temporary files before building (--clean).",
69-
"tt_opt_noupx": "Do not compress the executable with UPX (--noupx).",
70-
"tt_opt_main_only": "Build only main.py or app.py in the project.",
71-
"tt_opt_debug": "Enable debug mode (--debug) for more logs.",
72-
"tt_opt_auto_install": "Automatically install missing Python modules.",
73-
"tt_opt_silent_errors": "Do not show graphical error boxes (silent mode)."
40+
"tt_output_dir": "Output directory for generated executables (PyInstaller --distpath). Leave empty to use 'dist'."
7441
}

languages/es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"tt_remove_file": "Eliminar de la lista el/los archivo(s) seleccionado(s).",
5959
"tt_select_icon": "Elegir un archivo .ico para el ejecutable generado (solo Windows).",
6060
"tt_help": "Abrir la ayuda e información del software.",
61-
"tt_api_loader": "Configurar plugins de API (BCASL) para ejecutar antes de la compilación.",
61+
"tt_bc_loader": "Configurar plugins de API (BCASL) para ejecutar antes de la compilación.",
6262
"tt_venv_button": "Seleccionar manualmente un directorio venv para usar en la compilación.",
6363
"tt_suggest_deps": "Analizar el proyecto en busca de dependencias de Python faltantes.",
6464
"tt_show_stats": "Mostrar estadísticas de compilación (tiempo, número de archivos, memoria).",

languages/fr.json

Lines changed: 4 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,7 @@
2222
"label_files_section": "2. Fichiers à compiler",
2323
"btn_remove_file": "🗑️ Supprimer le fichier sélectionné",
2424
"label_logs_section": "Logs de compilation",
25-
"tab_pyinstaller": "PyInstaller",
26-
"opt_onefile": "Onefile",
27-
"opt_windowed": "Mode fenêtré",
28-
"opt_noconfirm": "Noconfirm",
29-
"opt_clean": "Nettoyer",
30-
"opt_noupx": "No UPX",
31-
"opt_main_only": "Compiler uniquement main.py ou app.py",
32-
"btn_select_icon": "🎨 Choisir une icône (.ico)",
33-
"opt_debug": "Mode debug (--debug)",
34-
"opt_auto_install": "Auto-installer les modules manquants",
35-
"opt_silent_errors": "Ne pas afficher de boîte d'erreur (mode silencieux)",
36-
"tab_nuitka": "Nuitka",
37-
"nuitka_onefile": "Onefile (--onefile)",
38-
"nuitka_standalone": "Standalone (--standalone)",
39-
"nuitka_disable_console": "Désactiver la console Windows (--windows-disable-console)",
40-
"nuitka_show_progress": "Afficher la progression (--show-progress)",
41-
"nuitka_plugins": "Plugins (ex: qt-plugins, séparés par des virgules)",
42-
"nuitka_output_dir": "Dossier de sortie (--output-dir)",
43-
"btn_nuitka_icon": "🎨 Choisir une icône (.ico) Nuitka",
25+
4426
"choose_language_title": "Choisir la langue",
4527
"choose_language_label": "Langue :",
4628
"choose_language_system": "Système",
@@ -58,20 +40,8 @@
5840
"tt_remove_file": "Supprimer le(s) fichier(s) sélectionné(s) de la liste.",
5941
"tt_select_icon": "Choisir un fichier .ico pour l’exécutable généré (Windows uniquement).",
6042
"tt_help": "Ouvrir l’aide et les informations sur le logiciel.",
61-
"tt_api_loader": "Configurer les plugins API (BCASL) à exécuter avant la compilation.",
43+
"tt_bc_loader": "Configurer les plugins API (BCASL) à exécuter avant la compilation.",
6244
"tt_venv_button": "Sélectionner manuellement un dossier venv à utiliser pour la compilation.",
6345
"tt_suggest_deps": "Analyser le projet pour détecter les dépendances Python manquantes.",
64-
"tt_show_stats": "Afficher les statistiques de compilation (temps, nombre de fichiers, mémoire).",
65-
"tt_output_dir": "Dossier de sortie des exécutables générés (PyInstaller --distpath). Laisser vide pour utiliser « dist ».",
66-
"tt_nuitka_disable_console": "Désactiver la console Windows pour l’application compilée (--windows-disable-console).",
67-
"tt_nuitka_icon": "Choisir une icône .ico pour l’exécutable Nuitka (Windows uniquement).",
68-
"tt_opt_onefile": "Générer un exécutable monofichier.",
69-
"tt_opt_windowed": "Exécuter sans fenêtre de console (mode fenêtré, --windowed). Windows uniquement.",
70-
"tt_opt_noconfirm": "Ne pas demander de confirmation lors de l’écrasement des fichiers existants (--noconfirm).",
71-
"tt_opt_clean": "Nettoyer les fichiers temporaires avant la compilation (--clean).",
72-
"tt_opt_noupx": "Ne pas compresser l’exécutable avec UPX (--noupx).",
73-
"tt_opt_main_only": "Compiler uniquement main.py ou app.py du projet.",
74-
"tt_opt_debug": "Activer le mode debug (--debug) pour plus de journaux.",
75-
"tt_opt_auto_install": "Installer automatiquement les modules Python manquants.",
76-
"tt_opt_silent_errors": "Ne pas afficher de boîtes d’erreur graphiques (mode silencieux)."
77-
}
46+
"tt_show_stats": "Afficher les statistiques de compilation (temps, nombre de fichiers, mémoire)."
47+
}

languages/it.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"tt_remove_file": "Rimuovere dall'elenco il/i file selezionato/i.",
5959
"tt_select_icon": "Scegliere un file .ico per l'eseguibile generato (solo Windows).",
6060
"tt_help": "Aprire la guida e le informazioni sul software.",
61-
"tt_api_loader": "Configurare i plugin API (BCASL) da eseguire prima della compilazione.",
61+
"tt_bc_loader": "Configurare i plugin API (BCASL) da eseguire prima della compilazione.",
6262
"tt_venv_button": "Selezionare manualmente una cartella venv da usare per la compilazione.",
6363
"tt_suggest_deps": "Analizzare il progetto per le dipendenze Python mancanti.",
6464
"tt_show_stats": "Mostrare le statistiche di compilazione (tempo, numero di file, memoria).",

languages/ja.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"tt_remove_file": "リストから選択したファイルを削除します。",
5151
"tt_select_icon": "生成される実行ファイル用の .ico ファイルを選択します(Windows のみ)。",
5252
"tt_help": "ソフトウェアのヘルプと情報を開きます。",
53-
"tt_api_loader": "コンパイル前に実行する API(BCASL)プラグインを設定します。",
53+
"tt_bc_loader": "コンパイル前に実行する API(BCASL)プラグインを設定します。",
5454
"tt_venv_button": "コンパイルに使用する venv ディレクトリを手動で選択します。",
5555
"tt_suggest_deps": "プロジェクトを解析して不足している Python 依存関係を検出します。",
5656
"tt_show_stats": "ビルドの統計情報(時間、ファイル数、メモリ)を表示します。",

languages/ko.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"tt_remove_file": "목록에서 선택한 파일을 제거합니다.",
5959
"tt_select_icon": "생성된 실행 파일의 .ico 파일을 선택합니다(Windows 전용).",
6060
"tt_help": "소프트웨어의 도움말과 정보를 엽니다.",
61-
"tt_api_loader": "컴파일 전에 실행할 API(BCASL) 플러그인을 구성합니다.",
61+
"tt_bc_loader": "컴파일 전에 실행할 API(BCASL) 플러그인을 구성합니다.",
6262
"tt_venv_button": "컴파일에 사용할 venv 디렉터리를 수동으로 선택합니다.",
6363
"tt_suggest_deps": "프로젝트를 분석하여 누락된 Python 의존성을 찾습니다.",
6464
"tt_show_stats": "빌드 통계(시간, 파일 수, 메모리)를 표시합니다.",

0 commit comments

Comments
 (0)