chore: remove all sora dead code and fork-specific sora_client_enabled
Upstream removed sora feature (090_drop_sora.sql) but left i18n keys and wire.go references. Clean up: - Remove entire sora i18n block from en.ts and zh.ts (~190 lines) - Remove sora nav key and unused 'data' settings tab key - Remove sora_client_enabled from settings (fork-specific) - Remove SoraMediaCleanupService from wire.go
This commit is contained in:
@@ -84,7 +84,6 @@ func provideCleanup(
|
|||||||
opsCleanup *service.OpsCleanupService,
|
opsCleanup *service.OpsCleanupService,
|
||||||
opsScheduledReport *service.OpsScheduledReportService,
|
opsScheduledReport *service.OpsScheduledReportService,
|
||||||
opsSystemLogSink *service.OpsSystemLogSink,
|
opsSystemLogSink *service.OpsSystemLogSink,
|
||||||
soraMediaCleanup *service.SoraMediaCleanupService,
|
|
||||||
schedulerSnapshot *service.SchedulerSnapshotService,
|
schedulerSnapshot *service.SchedulerSnapshotService,
|
||||||
tokenRefresh *service.TokenRefreshService,
|
tokenRefresh *service.TokenRefreshService,
|
||||||
accountExpiry *service.AccountExpiryService,
|
accountExpiry *service.AccountExpiryService,
|
||||||
@@ -134,12 +133,6 @@ func provideCleanup(
|
|||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}},
|
}},
|
||||||
{"SoraMediaCleanupService", func() error {
|
|
||||||
if soraMediaCleanup != nil {
|
|
||||||
soraMediaCleanup.Stop()
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}},
|
|
||||||
{"OpsAlertEvaluatorService", func() error {
|
{"OpsAlertEvaluatorService", func() error {
|
||||||
if opsAlertEvaluator != nil {
|
if opsAlertEvaluator != nil {
|
||||||
opsAlertEvaluator.Stop()
|
opsAlertEvaluator.Stop()
|
||||||
|
|||||||
@@ -355,7 +355,6 @@ export default {
|
|||||||
mySubscriptions: 'My Subscriptions',
|
mySubscriptions: 'My Subscriptions',
|
||||||
buySubscription: 'Recharge / Subscription',
|
buySubscription: 'Recharge / Subscription',
|
||||||
docs: 'Docs',
|
docs: 'Docs',
|
||||||
sora: 'Sora Studio',
|
|
||||||
myOrders: 'My Orders',
|
myOrders: 'My Orders',
|
||||||
orderManagement: 'Orders',
|
orderManagement: 'Orders',
|
||||||
paymentDashboard: 'Payment Dashboard',
|
paymentDashboard: 'Payment Dashboard',
|
||||||
@@ -4188,7 +4187,6 @@ export default {
|
|||||||
gateway: 'Gateway',
|
gateway: 'Gateway',
|
||||||
email: 'Email',
|
email: 'Email',
|
||||||
backup: 'Backup',
|
backup: 'Backup',
|
||||||
data: 'Sora Storage',
|
|
||||||
payment: 'Payment',
|
payment: 'Payment',
|
||||||
},
|
},
|
||||||
emailTabDisabledTitle: 'Email Verification Not Enabled',
|
emailTabDisabledTitle: 'Email Verification Not Enabled',
|
||||||
@@ -5176,6 +5174,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// Payment System
|
||||||
payment: {
|
payment: {
|
||||||
title: 'Recharge / Subscription',
|
title: 'Recharge / Subscription',
|
||||||
amountLabel: 'Amount',
|
amountLabel: 'Amount',
|
||||||
|
|||||||
@@ -355,7 +355,6 @@ export default {
|
|||||||
mySubscriptions: '我的订阅',
|
mySubscriptions: '我的订阅',
|
||||||
buySubscription: '充值/订阅',
|
buySubscription: '充值/订阅',
|
||||||
docs: '文档',
|
docs: '文档',
|
||||||
sora: 'Sora 创作',
|
|
||||||
myOrders: '我的订单',
|
myOrders: '我的订单',
|
||||||
orderManagement: '订单管理',
|
orderManagement: '订单管理',
|
||||||
paymentDashboard: '支付概览',
|
paymentDashboard: '支付概览',
|
||||||
@@ -4353,7 +4352,6 @@ export default {
|
|||||||
gateway: '网关服务',
|
gateway: '网关服务',
|
||||||
email: '邮件设置',
|
email: '邮件设置',
|
||||||
backup: '数据备份',
|
backup: '数据备份',
|
||||||
data: 'Sora 存储',
|
|
||||||
payment: '支付设置',
|
payment: '支付设置',
|
||||||
},
|
},
|
||||||
emailTabDisabledTitle: '邮箱验证未启用',
|
emailTabDisabledTitle: '邮箱验证未启用',
|
||||||
@@ -5364,6 +5362,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// Payment System
|
||||||
payment: {
|
payment: {
|
||||||
title: '充值/订阅',
|
title: '充值/订阅',
|
||||||
amountLabel: '充值金额',
|
amountLabel: '充值金额',
|
||||||
|
|||||||
Reference in New Issue
Block a user