5 |
5 |
6 """ |
6 """ |
7 Module implementing the project support for flask-babel. |
7 Module implementing the project support for flask-babel. |
8 """ |
8 """ |
9 |
9 |
|
10 import contextlib |
10 import os |
11 import os |
11 import re |
12 import re |
12 import contextlib |
|
13 |
13 |
14 from PyQt6.QtCore import pyqtSlot, QObject, QProcess |
14 from PyQt6.QtCore import pyqtSlot, QObject, QProcess |
15 from PyQt6.QtWidgets import QDialog, QMenu |
15 from PyQt6.QtWidgets import QDialog, QMenu |
16 |
16 |
17 from EricWidgets import EricMessageBox |
17 from eric7 import Utilities |
18 from EricWidgets.EricApplication import ericApp |
18 from eric7.EricGui.EricAction import EricAction |
19 from EricGui.EricAction import EricAction |
19 from eric7.EricWidgets import EricMessageBox |
|
20 from eric7.EricWidgets.EricApplication import ericApp |
20 |
21 |
21 from .PyBabelCommandDialog import PyBabelCommandDialog |
22 from .PyBabelCommandDialog import PyBabelCommandDialog |
22 |
|
23 import Utilities |
|
24 |
23 |
25 |
24 |
26 class PyBabelProject(QObject): |
25 class PyBabelProject(QObject): |
27 """ |
26 """ |
28 Class implementing the flask-babel project support. |
27 Class implementing the flask-babel project support. |