mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
fix(i18n): spell the brand "Remnawave" instead of camelCase "RemnaWave"
Replace the user-facing 'RemnaWave' spelling with 'Remnawave' across all locale values (en/ru/zh/fa, 67 strings), t() display fallbacks, and code comments. Translation keys (refreshRemnaWave, ...) and code identifiers (RemnaWaveService, setRemnaWaveUuid, ...) are left untouched.
This commit is contained in:
@@ -11,7 +11,7 @@ export default function AdminApps() {
|
||||
const queryClient = useQueryClient();
|
||||
const { capabilities } = usePlatform();
|
||||
|
||||
// RemnaWave status
|
||||
// Remnawave status
|
||||
const { data: status } = useQuery({
|
||||
queryKey: ['remnawave-status'],
|
||||
queryFn: adminAppsApi.getRemnaWaveStatus,
|
||||
@@ -60,8 +60,8 @@ export default function AdminApps() {
|
||||
/>
|
||||
<span className="text-sm font-medium text-dark-200">
|
||||
{status?.enabled
|
||||
? t('admin.apps.remnaWaveConnected', 'RemnaWave connected')
|
||||
: t('admin.apps.remnaWaveDisconnected', 'RemnaWave not connected')}
|
||||
? t('admin.apps.remnaWaveConnected', 'Remnawave connected')
|
||||
: t('admin.apps.remnaWaveDisconnected', 'Remnawave not connected')}
|
||||
</span>
|
||||
</div>
|
||||
{status?.config_uuid && (
|
||||
|
||||
@@ -1122,7 +1122,7 @@ function SyncTab({
|
||||
title={t('admin.remnawave.sync.fromPanel', 'Sync from Panel')}
|
||||
description={t(
|
||||
'admin.remnawave.sync.fromPanelDesc',
|
||||
'Import users from RemnaWave panel to bot',
|
||||
'Import users from Remnawave panel to bot',
|
||||
)}
|
||||
onAction={onSyncFromPanel}
|
||||
isLoading={loadingStates.fromPanel}
|
||||
@@ -1132,7 +1132,7 @@ function SyncTab({
|
||||
title={t('admin.remnawave.sync.toPanel', 'Sync to Panel')}
|
||||
description={t(
|
||||
'admin.remnawave.sync.toPanelDesc',
|
||||
'Export users from bot to RemnaWave panel',
|
||||
'Export users from bot to Remnawave panel',
|
||||
)}
|
||||
onAction={onSyncToPanel}
|
||||
isLoading={loadingStates.toPanel}
|
||||
@@ -1498,7 +1498,7 @@ export default function AdminRemnawave() {
|
||||
</div>
|
||||
<div>
|
||||
<h1 className="text-xl font-semibold text-dark-100">
|
||||
{t('admin.remnawave.title', 'RemnaWave')}
|
||||
{t('admin.remnawave.title', 'Remnawave')}
|
||||
</h1>
|
||||
<p className="text-sm text-dark-400">
|
||||
{t('admin.remnawave.subtitle', 'Panel management and statistics')}
|
||||
|
||||
@@ -438,7 +438,7 @@ export default function Subscription() {
|
||||
queryClient.invalidateQueries({ queryKey: ['subscription'] });
|
||||
queryClient.invalidateQueries({ queryKey: ['connection-link', subscriptionId] });
|
||||
queryClient.invalidateQueries({ queryKey: ['subscriptions-list'] });
|
||||
// RemnaWave resets device HWIDs on revoke — make sure the cabinet
|
||||
// Remnawave resets device HWIDs on revoke — make sure the cabinet
|
||||
// re-reads the now-empty device list instead of showing the stale cache.
|
||||
queryClient.invalidateQueries({ queryKey: ['devices', subscriptionId] });
|
||||
haptic.notification('success');
|
||||
|
||||
Reference in New Issue
Block a user