blob: 236123af20a6f25f5b44a5ccb028f0547ab169c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright 1994-2025 WIT.COM Inc Licensed GPL 3.0
package forgepb
// TODO: implement i18n with the protobuf's
func (f *Forge) GetMode() string {
switch f.Config.Mode {
case ForgeMode_MASTER:
return "Release Mode (master branch)"
case ForgeMode_DEVEL:
return "Patch Mode (devel branch)"
case ForgeMode_USER:
return "Hack Mode (user branch)"
default:
return f.Config.Mode.String()
}
}
|