Add handling of build settings and build name
This commit is contained in:
@@ -75,7 +75,7 @@ SETTINGS_LABELS = {
|
||||
"headings": QT_TRANSLATE_NOOP("Builds", "Headings"),
|
||||
"headings.fmtTitle": QT_TRANSLATE_NOOP("Builds", "Title Heading"),
|
||||
"headings.fmtChapter": QT_TRANSLATE_NOOP("Builds", "Chapter Heading"),
|
||||
"headings.fmtUnnumbered": QT_TRANSLATE_NOOP("Builds", "Alt. Chapter Heading"),
|
||||
"headings.fmtUnnumbered": QT_TRANSLATE_NOOP("Builds", "Unnumbered Heading"),
|
||||
"headings.fmtScene": QT_TRANSLATE_NOOP("Builds", "Scene Heading"),
|
||||
"headings.fmtSection": QT_TRANSLATE_NOOP("Builds", "Section Heading"),
|
||||
"headings.hideScene": QT_TRANSLATE_NOOP("Builds", "Hide Scene"),
|
||||
@@ -296,6 +296,7 @@ class BuildSettings:
|
||||
def pack(self):
|
||||
"""Pack all content into a JSON compatible dictionary.
|
||||
"""
|
||||
logger.debug("Collecting build setting for '%s'", self._name)
|
||||
return {
|
||||
"name": self._name,
|
||||
"uuid": self._uuid,
|
||||
|
||||
@@ -22,7 +22,6 @@ General Public License for more details.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import uuid
|
||||
|
||||
Reference in New Issue
Block a user