mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
fix: replace branding keywords to avoid ambiguity
This commit is contained in:
@@ -14,7 +14,7 @@ import { enableCommand } from './extensions/enable.js';
|
||||
|
||||
export const extensionsCommand: CommandModule = {
|
||||
command: 'extensions <command>',
|
||||
describe: 'Manage Gemini CLI extensions.',
|
||||
describe: 'Manage Qwen Code extensions.',
|
||||
builder: (yargs) =>
|
||||
yargs
|
||||
.command(installCommand)
|
||||
|
||||
@@ -66,7 +66,7 @@ describe('FolderTrustDialog', () => {
|
||||
);
|
||||
|
||||
expect(lastFrame()).toContain(
|
||||
'To see changes, Gemini CLI must be restarted',
|
||||
'To see changes, Qwen Code must be restarted',
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ export const FolderTrustDialog: React.FC<FolderTrustDialogProps> = ({
|
||||
<Box flexDirection="column" marginBottom={1}>
|
||||
<Text bold>Do you trust this folder?</Text>
|
||||
<Text>
|
||||
Trusting a folder allows Gemini to execute commands it suggests.
|
||||
Trusting a folder allows Qwen Code to execute commands it suggests.
|
||||
This is a security feature to prevent accidental execution in
|
||||
untrusted directories.
|
||||
</Text>
|
||||
@@ -88,7 +88,7 @@ export const FolderTrustDialog: React.FC<FolderTrustDialogProps> = ({
|
||||
{isRestarting && (
|
||||
<Box marginLeft={1} marginTop={1}>
|
||||
<Text color={Colors.AccentYellow}>
|
||||
To see changes, Gemini CLI must be restarted. Press r to exit and
|
||||
To see changes, Qwen Code must be restarted. Press r to exit and
|
||||
apply changes now.
|
||||
</Text>
|
||||
</Box>
|
||||
|
||||
@@ -429,7 +429,7 @@ describe('SettingsDialog', () => {
|
||||
<KeypressProvider kittyProtocolEnabled={false}>
|
||||
<SettingsDialog
|
||||
settings={settings}
|
||||
onSelect={() => {}}
|
||||
onSelect={() => { }}
|
||||
onRestartRequest={onRestartRequest}
|
||||
/>
|
||||
</KeypressProvider>,
|
||||
@@ -450,7 +450,7 @@ describe('SettingsDialog', () => {
|
||||
<KeypressProvider kittyProtocolEnabled={false}>
|
||||
<SettingsDialog
|
||||
settings={settings}
|
||||
onSelect={() => {}}
|
||||
onSelect={() => { }}
|
||||
onRestartRequest={onRestartRequest}
|
||||
/>
|
||||
</KeypressProvider>,
|
||||
@@ -678,7 +678,7 @@ describe('SettingsDialog', () => {
|
||||
|
||||
// Should not show restart prompt initially
|
||||
expect(lastFrame()).not.toContain(
|
||||
'To see changes, Gemini CLI must be restarted',
|
||||
'To see changes, Qwen Code must be restarted',
|
||||
);
|
||||
|
||||
unmount();
|
||||
@@ -973,7 +973,7 @@ describe('SettingsDialog', () => {
|
||||
<KeypressProvider kittyProtocolEnabled={false}>
|
||||
<SettingsDialog
|
||||
settings={settings}
|
||||
onSelect={() => {}}
|
||||
onSelect={() => { }}
|
||||
onRestartRequest={onRestartRequest}
|
||||
/>
|
||||
</KeypressProvider>,
|
||||
|
||||
@@ -544,16 +544,16 @@ export function SettingsDialog({
|
||||
? defaultValue
|
||||
: false
|
||||
: typeof defaultValue === 'number' ||
|
||||
typeof defaultValue === 'string'
|
||||
typeof defaultValue === 'string'
|
||||
? defaultValue
|
||||
: undefined;
|
||||
const immediateSettingsObject =
|
||||
toSaveValue !== undefined
|
||||
? setPendingSettingValueAny(
|
||||
currentSetting.value,
|
||||
toSaveValue,
|
||||
{} as Settings,
|
||||
)
|
||||
currentSetting.value,
|
||||
toSaveValue,
|
||||
{} as Settings,
|
||||
)
|
||||
: ({} as Settings);
|
||||
|
||||
saveModifiedSettings(
|
||||
@@ -780,7 +780,7 @@ export function SettingsDialog({
|
||||
</Text>
|
||||
{showRestartPrompt && (
|
||||
<Text color={Colors.AccentYellow}>
|
||||
To see changes, Gemini CLI must be restarted. Press r to exit and
|
||||
To see changes, Qwen Code must be restarted. Press r to exit and
|
||||
apply changes now.
|
||||
</Text>
|
||||
)}
|
||||
|
||||
@@ -47,7 +47,7 @@ export function WorkspaceMigrationDialog(props: {
|
||||
<>
|
||||
<Text>
|
||||
The following extensions failed to migrate. Please try installing
|
||||
them manually. To see other changes, Gemini CLI must be restarted.
|
||||
them manually. To see other changes, Qwen Code must be restarted.
|
||||
Press {"'q'"} to quit.
|
||||
</Text>
|
||||
<Box flexDirection="column" marginTop={1} marginLeft={2}>
|
||||
@@ -58,7 +58,7 @@ export function WorkspaceMigrationDialog(props: {
|
||||
</>
|
||||
) : (
|
||||
<Text>
|
||||
Migration complete. To see changes, Gemini CLI must be restarted.
|
||||
Migration complete. To see changes, Qwen Code must be restarted.
|
||||
Press {"'q'"} to quit.
|
||||
</Text>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user