-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
When using the "Open dashboard" command, the dashboard interface and notifications are displayed in French (e.g., "Tâche ajoutée", "Êtes-vous sûr de vouloir supprimer la tâche ... ?", "Oui"/"Non"), regardless of the user's locale or VS Code settings. This impacts accessibility and usability for non-French speaking users.
Steps to Reproduce:
- Open VS Code with the Copilot Tasks extension installed.
- Run the "Open dashboard" command.
- Observe that prompts, confirmation dialogs, and notifications are in French.
Expected Behavior:
All user-facing messages on the dashboard should render in English by default, or respect the user's VS Code locale/language settings.
Actual Behavior:
Messages are hardcoded in French.
Source of Issue:
French strings are hardcoded in src/ui/dashboard-panel.ts
. Example lines:
vscode.window.showInformationMessage(`Tâche ajoutée: ${taskText}`);
const response = await vscode.window.showWarningMessage(
`Êtes-vous sûr de vouloir supprimer la tâche "${task.text}" ?`,
"Oui",
"Non"
);
if (response === "Oui") {
vscode.window.showInformationMessage("Tâche supprimée avec succès");
}
Suggested Solution:
- Replace all hardcoded French strings with English equivalents.
- (Optional) Consider implementing localization support to respect VS Code’s language settings.
Additional Context:
Repository: copilot-tasks
File: src/ui/dashboard-panel.ts
Metadata
Metadata
Assignees
Labels
No labels