Default theme name polish

This commit is contained in:
Martin Aeschlimann 2016-01-25 20:46:22 +01:00
parent 5fed344f5b
commit 0f12aa4ff8
3 changed files with 5 additions and 7 deletions

View file

@ -9,14 +9,12 @@
"contributes": {
"themes": [
{
"label": "Dark+",
"description": "Default dark theme with a touch of color",
"label": "Dark+ (default)",
"uiTheme": "vs-dark",
"path": "./themes/dark_plus.tmTheme"
},
{
"label": "Light+",
"description": "Default light theme with a touch of color",
"label": "Light+ (default)",
"uiTheme": "vs",
"path": "./themes/light_plus.tmTheme"
}

View file

@ -34,9 +34,9 @@ export function toId(theme: BaseTheme): string {
export function toLabel(theme: BaseTheme): string {
switch (theme) {
case BaseTheme.VS:
return nls.localize('theme.vs', 'Light');
return nls.localize('theme.vs', 'Light (Visual Studio)');
case BaseTheme.VS_DARK:
return nls.localize('theme.vs-dark', 'Dark');
return nls.localize('theme.vs-dark', 'Dark (Visual Studio)');
}
return nls.localize('theme.hc', 'High Contrast');
}

View file

@ -46,7 +46,7 @@ class SelectThemeAction extends actions.Action {
let picks: IPickOpenEntry[] = [];
Themes.getBaseThemes(commonPlatform.isWindows).forEach(baseTheme => {
picks.push({ label: Themes.toLabel(baseTheme), id: Themes.toId(baseTheme), description: nls.localize('themes.defaultTheme', "Default color theme") });
picks.push({ label: Themes.toLabel(baseTheme), id: Themes.toId(baseTheme) });
});
let contributedThemesById : { [id:string]: ITheme } = {};