mirror of
https://github.com/safing/portbase
synced 2025-04-18 00:19:09 +00:00
Improve config naming
This commit is contained in:
parent
45d8d7eaf9
commit
3f3305d8c2
3 changed files with 8 additions and 8 deletions
|
@ -41,7 +41,7 @@ func registerConfig() error {
|
|||
err := config.Register(&config.Option{
|
||||
Name: "API Address",
|
||||
Key: CfgDefaultListenAddressKey,
|
||||
Description: "Defines the IP address and port for the internal HTTP database API.",
|
||||
Description: "Defines the IP address and port for the internal API.",
|
||||
OptType: config.OptTypeString,
|
||||
ExpertiseLevel: config.ExpertiseLevelDeveloper,
|
||||
ReleaseLevel: config.ReleaseLevelStable,
|
||||
|
|
|
@ -39,9 +39,9 @@ func init() {
|
|||
|
||||
func registerExpertiseLevelOption() {
|
||||
expertiseLevelOption = &Option{
|
||||
Name: "Expertise Level",
|
||||
Name: "UI Mode",
|
||||
Key: expertiseLevelKey,
|
||||
Description: "The Expertise Level controls the perceived complexity. Higher settings will enable more complex settings and information. This might also affect various other things relying on this setting. Modified settings in higher expertise levels stay in effect when switching back. (Unlike the Release Level)",
|
||||
Description: "Controls the amount of settings and information shown. Hidden settings are still in effect - unlike with the Release Level.",
|
||||
OptType: OptTypeString,
|
||||
ExpertiseLevel: ExpertiseLevelUser,
|
||||
ReleaseLevel: ReleaseLevelStable,
|
||||
|
@ -54,12 +54,12 @@ func registerExpertiseLevelOption() {
|
|||
{
|
||||
Name: "Simple",
|
||||
Value: ExpertiseLevelNameUser,
|
||||
Description: "Simple application mode by hidding complex settings.",
|
||||
Description: "Hide complex settings and information.",
|
||||
},
|
||||
{
|
||||
Name: "Expert",
|
||||
Name: "Advanced",
|
||||
Value: ExpertiseLevelNameExpert,
|
||||
Description: "Expert application mode. Allows access to almost all configuration options.",
|
||||
Description: "Show technical details.",
|
||||
},
|
||||
{
|
||||
Name: "Developer",
|
||||
|
|
|
@ -39,7 +39,7 @@ func registerReleaseLevelOption() {
|
|||
releaseLevelOption = &Option{
|
||||
Name: "Release Level",
|
||||
Key: releaseLevelKey,
|
||||
Description: "The Release Level changes which features are available. Some beta or experimental features are also available in the stable release channel. Unavailable settings are set to the default value.",
|
||||
Description: "Controls the amount of available settings. Hidden settings revert to default - unlike with the UI Mode.",
|
||||
OptType: OptTypeString,
|
||||
ExpertiseLevel: ExpertiseLevelExpert,
|
||||
ReleaseLevel: ReleaseLevelStable,
|
||||
|
@ -62,7 +62,7 @@ func registerReleaseLevelOption() {
|
|||
{
|
||||
Name: "Experimental",
|
||||
Value: ReleaseLevelNameExperimental,
|
||||
Description: "Show experimental features",
|
||||
Description: "Show all features",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue