core.config.style_map

File:

EuljiroWorship/core/config/style_map.py

Author:

Benjamin Jaedon Choi - https://github.com/saintbenjamin

Affiliated Church:

The Eulji-ro Presbyterian Church [대한예수교장로회(통합) 을지로교회]

Address:

The Eulji-ro Presbyterian Church, 24-10, Eulji-ro 20-gil, Jung-gu, Seoul 04549, South Korea

Telephone:

+82-2-2266-3070

E-mail:

euljirochurch [at] G.M.A.I.L. (replace [at] with @ and G.M.A.I.L as you understood.)

License:

MIT License with Attribution Requirement (see LICENSE file for details); Copyright (c) 2025 The Eulji-ro Presbyterian Church.

Defines mappings between internal slide style identifiers and their Korean display names used in the generator UI.

This module serves as the single source of truth for slide style naming across the system. It provides:

  • STYLE_ALIASES: Mapping from internal style keys (used in JSON/export) to Korean labels displayed in the UI.

  • REVERSE_ALIASES: Reverse lookup mapping from Korean labels back to internal style keys.

  • STYLE_LIST: Ordered list of Korean display names, primarily used to populate dropdown menus in the slide generator table.

By centralizing these mappings, the generator UI, data manager, and exporter remain consistent and resilient to future style additions or renaming.

core.config.style_map.STYLE_ALIASES = {'anthem': '찬양제목', 'blank': '공백화면', 'corner': '코너자막', 'greet': '메세지란', 'hymn': '새찬송가', 'image': '그림화면', 'intro': '시작화면', 'lyrics': '찬양가사', 'prayer': '대표기도', 'respo': '성시교독', 'verse': '성경봉독', 'video': '영상재생'}

Mapping from internal style keys (used in JSON/export) to Korean display names shown in the generator UI.

This is the primary source of truth for style naming across the system.

core.config.style_map.REVERSE_ALIASES = {'공백화면': 'blank', '그림화면': 'image', '대표기도': 'prayer', '메세지란': 'greet', '새찬송가': 'hymn', '성경봉독': 'verse', '성시교독': 'respo', '시작화면': 'intro', '영상재생': 'video', '찬양가사': 'lyrics', '찬양제목': 'anthem', '코너자막': 'corner'}

Reverse lookup mapping from Korean display names back to internal style keys.

This mapping is derived from STYLE_ALIASES.

core.config.style_map.STYLE_LIST = ['코너자막', '새찬송가', '찬양가사', '성시교독', '대표기도', '성경봉독', '찬양제목', '메세지란', '시작화면', '공백화면', '그림화면', '영상재생']

Ordered list of Korean display names used to populate UI dropdown menus.

This list is derived from STYLE_ALIASES and preserves the insertion order of that dictionary.