-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconstants.py
More file actions
50 lines (40 loc) · 1.34 KB
/
constants.py
File metadata and controls
50 lines (40 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
"""
Constants for the GUI
"""
class UI_STRINGS:
TITLE = "AI Commit by RyuCode"
GEOMETRY = "950x750"
# Header
HEADER_TITLE = "AI Commit V1"
SETTINGS_BUTTON = "⚙️ Settings"
THEME_LABEL = "🌙"
THEME_BUTTON = "Dark Mode"
# Settings Frame
SETTINGS_FRAME_TITLE = "⚙️ Settings"
AI_PROVIDER_LABEL = "AI Provider:"
GEMINI_RADIO = "Gemini (Free)"
CHATGPT_RADIO = "ChatGPT"
AUTO_PUSH_CHECKBOX = "Auto Push to Origin"
# Repo Frame
REPO_FRAME_TITLE = "📂 Select Repository"
SCAN_BUTTON = "🔍 Scan"
BROWSE_BUTTON = "📁 Browse"
REFRESH_BUTTON = "🔄 Refresh"
# Files Frame
FILES_FRAME_TITLE = "📝 Changed Files"
SELECT_ALL_BUTTON = "✅ Select All"
CLEAR_SELECTION_BUTTON = "❌ Clear Selection"
ADD_TO_STAGE_BUTTON = "➕ Add to Stage"
INFO_LABEL = "ℹ️ Select files and click 'Add to Stage' before generating commit message"
# Commit Message Frame
COMMIT_FRAME_TITLE = "💬 Commit Message"
GENERATE_BUTTON = "🤖 Generate with AI"
CLEAR_BUTTON = "🗑️ Clear"
# Action Buttons
COMMIT_PUSH_BUTTON = "✅ Commit & Push"
COMMIT_ONLY_BUTTON = "💾 Commit Only"
CANCEL_BUTTON = "❌ Cancel"
# Log Frame
LOG_FRAME_TITLE = "📋 Activity Log"
# Status Bar
STATUS_READY = "Ready"