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:
c0mrade
2026-06-01 13:30:53 +03:00
parent 9309643b7e
commit 0d024aec58
12 changed files with 87 additions and 87 deletions

View File

@@ -9,7 +9,7 @@ export interface LocalizedText {
}
export const adminAppsApi = {
// Get RemnaWave config status
// Get Remnawave config status
getRemnaWaveStatus: async (): Promise<{ enabled: boolean; config_uuid: string | null }> => {
const response = await apiClient.get<{ enabled: boolean; config_uuid: string | null }>(
'/cabinet/admin/apps/remnawave/status',
@@ -17,7 +17,7 @@ export const adminAppsApi = {
return response.data;
},
// Set RemnaWave config UUID
// Set Remnawave config UUID
setRemnaWaveUuid: async (
uuid: string | null,
): Promise<{ enabled: boolean; config_uuid: string | null }> => {
@@ -28,7 +28,7 @@ export const adminAppsApi = {
return response.data;
},
// List available RemnaWave configs
// List available Remnawave configs
listRemnaWaveConfigs: async (): Promise<
{ uuid: string; name: string; view_position: number }[]
> => {
@@ -38,7 +38,7 @@ export const adminAppsApi = {
return response.data;
},
// Get RemnaWave subscription config
// Get Remnawave subscription config
getRemnaWaveConfig: async (): Promise<RemnawaveConfig> => {
const response = await apiClient.get<{
uuid: string;
@@ -50,7 +50,7 @@ export const adminAppsApi = {
},
};
// ============== RemnaWave Format Types ==============
// ============== Remnawave Format Types ==============
export interface RemnawaveButton {
url: string;

View File

@@ -698,7 +698,7 @@ export const adminUsersApi = {
return response.data;
},
// Get subscription request history from RemnaWave panel
// Get subscription request history from Remnawave panel
getSubscriptionRequestHistory: async (
userId: number,
subscriptionId?: number,

View File

@@ -134,7 +134,7 @@ export const serversApi = {
return response.data;
},
// Sync servers with RemnaWave
// Sync servers with Remnawave
syncServers: async (): Promise<ServerSyncResponse> => {
const response = await apiClient.post('/cabinet/admin/servers/sync');
return response.data;

View File

@@ -87,7 +87,7 @@ export interface TariffDetail {
daily_price_kopeks: number;
// Режим сброса трафика
traffic_reset_mode: string | null; // 'DAY', 'WEEK', 'MONTH', 'MONTH_ROLLING', 'NO_RESET', null = глобальная настройка
// Внешний сквад RemnaWave
// Внешний сквад Remnawave
external_squad_uuid: string | null;
created_at: string;
updated_at: string | null;
@@ -126,7 +126,7 @@ export interface TariffCreateRequest {
daily_price_kopeks?: number;
// Режим сброса трафика
traffic_reset_mode?: string | null;
// Внешний сквад RemnaWave
// Внешний сквад Remnawave
external_squad_uuid?: string | null;
}
@@ -170,7 +170,7 @@ export interface TariffUpdateRequest {
daily_price_kopeks?: number;
// Режим сброса трафика
traffic_reset_mode?: string | null;
// Внешний сквад RemnaWave
// Внешний сквад Remnawave
external_squad_uuid?: string | null;
}
@@ -266,7 +266,7 @@ export const tariffsApi = {
return response.data;
},
// Get available external squads from RemnaWave
// Get available external squads from Remnawave
getAvailableExternalSquads: async (): Promise<ExternalSquadInfo[]> => {
const response = await apiClient.get('/cabinet/admin/tariffs/available-external-squads');
return response.data;