mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-13 17:35:12 +00:00
chore: management console naming inconsistency (#11390)
# Which Problems Are Solved The following terms have all been renamed to management console: - Customer Portal (when used to mean the console) - Console - Admin Console # How the Problems Are Solved - Search & Replace smartly - Use Copilot for translation files Changes done to: backend + frontend codebase, docs, translations and protobufs (descriptions only) # Additional Context - Partially Closes #11279
This commit is contained in:
@@ -15,8 +15,8 @@ var emptyInstance = &instance{}
|
||||
type Instance interface {
|
||||
InstanceID() string
|
||||
ProjectID() string
|
||||
ConsoleClientID() string
|
||||
ConsoleApplicationID() string
|
||||
ManagementConsoleClientID() string
|
||||
ManagementConsoleApplicationID() string
|
||||
DefaultLanguage() language.Tag
|
||||
DefaultOrganisationID() string
|
||||
SecurityPolicyAllowedOrigins() []string
|
||||
@@ -62,11 +62,11 @@ func (i *instance) ProjectID() string {
|
||||
return i.projectID
|
||||
}
|
||||
|
||||
func (i *instance) ConsoleClientID() string {
|
||||
func (i *instance) ManagementConsoleClientID() string {
|
||||
return i.clientID
|
||||
}
|
||||
|
||||
func (i *instance) ConsoleApplicationID() string {
|
||||
func (i *instance) ManagementConsoleApplicationID() string {
|
||||
return i.appID
|
||||
}
|
||||
|
||||
@@ -124,7 +124,7 @@ func WithDefaultLanguage(ctx context.Context, defaultLanguage language.Tag) cont
|
||||
return context.WithValue(ctx, instanceKey, i)
|
||||
}
|
||||
|
||||
func WithConsole(ctx context.Context, projectID, appID string) context.Context {
|
||||
func WithManagementConsole(ctx context.Context, projectID, appID string) context.Context {
|
||||
i, ok := ctx.Value(instanceKey).(*instance)
|
||||
if !ok {
|
||||
i = new(instance)
|
||||
@@ -135,7 +135,7 @@ func WithConsole(ctx context.Context, projectID, appID string) context.Context {
|
||||
return context.WithValue(ctx, instanceKey, i)
|
||||
}
|
||||
|
||||
func WithConsoleClientID(ctx context.Context, clientID string) context.Context {
|
||||
func WithManagementConsoleClientID(ctx context.Context, clientID string) context.Context {
|
||||
i, ok := ctx.Value(instanceKey).(*instance)
|
||||
if !ok {
|
||||
i = new(instance)
|
||||
|
||||
Reference in New Issue
Block a user