We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2006a97 commit 4c47a03Copy full SHA for 4c47a03
1 file changed
src/github/createPRViewProvider.ts
@@ -820,10 +820,10 @@ export class CreatePullRequestViewProvider extends BaseCreatePullRequestViewProv
820
templates.map((template, index) => {
821
// Try to extract a meaningful name from the template (first line or first few chars)
822
const firstLine = template.split('\n')[0].trim();
823
- const label = firstLine || `Template ${index + 1}`;
+ const label = firstLine || vscode.l10n.t('Template {0}', index + 1);
824
return {
825
label: label.substring(0, 50) + (label.length > 50 ? '...' : ''),
826
- description: `${template.length} characters`,
+ description: vscode.l10n.t('{0} characters', template.length),
827
template: template
828
};
829
}),
0 commit comments