fix (dashboard): Clean up names.
This commit is contained in:
@@ -82,5 +82,9 @@ class LocaleDashboard(DashboardSection):
|
||||
'dash:locale|title',
|
||||
"Server Language Configuration ({commands[configure language]})"
|
||||
)
|
||||
_option_name = _p(
|
||||
"dash:locale|dropdown|placeholder",
|
||||
"Server Language Panel"
|
||||
)
|
||||
configui = LocaleSettingUI
|
||||
setting_classes = LocaleSettingUI.setting_classes
|
||||
|
||||
@@ -67,5 +67,9 @@ class EconomyDashboard(DashboardSection):
|
||||
'dash:economy|title',
|
||||
"Economy Configuration ({commands[configure economy]})"
|
||||
)
|
||||
_option_name = _p(
|
||||
"dash:economy|dropdown|placeholder",
|
||||
"Economy Panel"
|
||||
)
|
||||
configui = EconomyConfigUI
|
||||
setting_classes = EconomyConfigUI.setting_classes
|
||||
|
||||
@@ -84,10 +84,12 @@ class TimerOptions(SettingGroup):
|
||||
'timerset:inactivity_threshold|desc',
|
||||
"How many timer cycles before kicking inactive members."
|
||||
)
|
||||
|
||||
_model = TimerData.Timer
|
||||
_column = TimerData.Timer.inactivity_threshold.name
|
||||
|
||||
_min = 0
|
||||
_max = 64
|
||||
|
||||
@property
|
||||
def input_formatted(self):
|
||||
return str(self._data) if self._data is not None else ''
|
||||
|
||||
@@ -80,5 +80,9 @@ class TimerDashboard(DashboardSection):
|
||||
'dash:pomodoro|title',
|
||||
"Pomodoro Configuration ({commands[configure pomodoro]})"
|
||||
)
|
||||
_option_name = _p(
|
||||
"dash:stats|dropdown|placeholder",
|
||||
"Pomodoro Timer Panel"
|
||||
)
|
||||
configui = TimerConfigUI
|
||||
setting_classes = TimerConfigUI.setting_classes
|
||||
|
||||
@@ -170,5 +170,9 @@ class RankDashboard(DashboardSection):
|
||||
'dash:rank|title',
|
||||
"Rank Configuration ({commands[configure ranks]})",
|
||||
)
|
||||
_option_name = _p(
|
||||
"dash:rank|dropdown|placeholder",
|
||||
"Activity Rank Panel"
|
||||
)
|
||||
configui = RankConfigUI
|
||||
setting_classes = RankConfigUI.setting_classes
|
||||
|
||||
@@ -97,5 +97,9 @@ class RoomDashboard(DashboardSection):
|
||||
'dash:rooms|title',
|
||||
"Private Room Configuration ({commands[configure rooms]})"
|
||||
)
|
||||
_option_name = _p(
|
||||
"dash:economy|dropdown|placeholder",
|
||||
"Private Room Panel"
|
||||
)
|
||||
configui = RoomSettingUI
|
||||
setting_classes = RoomSettingUI.setting_classes
|
||||
|
||||
@@ -229,6 +229,10 @@ class ScheduleDashboard(DashboardSection):
|
||||
'dash:schedule|title',
|
||||
"Scheduled Session Configuration ({commands[configure schedule]})"
|
||||
)
|
||||
_option_name = _p(
|
||||
"dash:schedule|dropdown|placeholder",
|
||||
"Scheduled Sessions Panel"
|
||||
)
|
||||
configui = ScheduleSettingUI
|
||||
setting_classes = ScheduleSettingUI.setting_classes
|
||||
|
||||
|
||||
@@ -396,5 +396,9 @@ class StatisticsDashboard(DashboardSection):
|
||||
'dash:stats|title',
|
||||
"Activity Statistics Configuration ({commands[configure statistics]})"
|
||||
)
|
||||
_option_name = _p(
|
||||
"dash:stats|dropdown|placeholder",
|
||||
"Activity Statistics Panel"
|
||||
)
|
||||
configui = StatisticsConfigUI
|
||||
setting_classes = StatisticsConfigUI.setting_classes
|
||||
|
||||
@@ -318,5 +318,9 @@ class TasklistConfigUI(LeoUI):
|
||||
|
||||
class TasklistDashboard(DashboardSection):
|
||||
section_name = _p('dash:tasklist|name', "Tasklist Configuration ({commands[configure tasklist]})")
|
||||
_option_name = _p(
|
||||
"dash:tasklist|dropdown|placeholder",
|
||||
"Tasklist Options Panel"
|
||||
)
|
||||
configui = TasklistConfigUI
|
||||
setting_classes = configui.setting_classes
|
||||
|
||||
@@ -88,5 +88,9 @@ class TextTrackerDashboard(DashboardSection):
|
||||
'dash:text_tracking|title',
|
||||
"Message XP configuration ({commands[configure message_exp]})",
|
||||
)
|
||||
_option_name = _p(
|
||||
"dash:text_tracking|dropdown|placeholder",
|
||||
"Message XP Panel"
|
||||
)
|
||||
configui = TextTrackerConfigUI
|
||||
setting_classes = configui.setting_classes
|
||||
|
||||
@@ -527,5 +527,9 @@ class VoiceTrackerDashboard(DashboardSection):
|
||||
'dash:voice_tracker|title',
|
||||
"Voice Tracker Configuration ({commands[configure voice_rewards]})"
|
||||
)
|
||||
_option_name = _p(
|
||||
"dash:voice_tracking|dropdown|placeholder",
|
||||
"Voice Activity Panel"
|
||||
)
|
||||
configui = VoiceTrackerConfigUI
|
||||
setting_classes = configui.setting_classes
|
||||
|
||||
Reference in New Issue
Block a user