// 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()
	}
}