From fd6a171cdc8969fa223f2c62721e08ad4d9fe990 Mon Sep 17 00:00:00 2001 From: ALexey666 Date: Sat, 2 Mar 2019 11:06:27 +0500 Subject: [PATCH 1/4] Add vue and vuex_vuex theme --- icons/folder-vuex-store-open.svg | 18 ++++++++++++++++++ icons/folder-vuex-store.svg | 18 ++++++++++++++++++ icons/vuex-store.svg | 12 ++++++++++++ package.json | 4 ++++ src/icons/fileIcons.ts | 1 + src/icons/folderIcons.ts | 2 ++ src/models/icons/iconPack.ts | 2 ++ 7 files changed, 57 insertions(+) create mode 100644 icons/folder-vuex-store-open.svg create mode 100644 icons/folder-vuex-store.svg create mode 100644 icons/vuex-store.svg diff --git a/icons/folder-vuex-store-open.svg b/icons/folder-vuex-store-open.svg new file mode 100644 index 000000000..e45536118 --- /dev/null +++ b/icons/folder-vuex-store-open.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/icons/folder-vuex-store.svg b/icons/folder-vuex-store.svg new file mode 100644 index 000000000..622d667ac --- /dev/null +++ b/icons/folder-vuex-store.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/icons/vuex-store.svg b/icons/vuex-store.svg new file mode 100644 index 000000000..b969c9bec --- /dev/null +++ b/icons/vuex-store.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/package.json b/package.json index 648237325..92b831cb2 100644 --- a/package.json +++ b/package.json @@ -108,6 +108,8 @@ "%configuration.activeIconPack.angular_ngrx%", "%configuration.activeIconPack.react%", "%configuration.activeIconPack.react_redux%", + "%configuration.activeIconPack.vue%", + "%configuration.activeIconPack.vue_vuex%", "%configuration.activeIconPack.none%" ], "enum": [ @@ -115,6 +117,8 @@ "angular_ngrx", "react", "react_redux", + "vue", + "vue_vuex", "none" ] }, diff --git a/src/icons/fileIcons.ts b/src/icons/fileIcons.ts index 0658b4c8e..b45c7096f 100644 --- a/src/icons/fileIcons.ts +++ b/src/icons/fileIcons.ts @@ -397,6 +397,7 @@ export const fileIcons: FileIcons = { }, { name: 'vue', fileExtensions: ['vue'] }, { name: 'vue-config', fileNames: ['vue.config.js', 'vue.config.ts'] }, + { name: 'vuex-store', fileExtensions: ['store.js', 'store.ts'], fileNames: ['store.js', 'store.ts'], enabledFor: [IconPack.Vuex] }, { name: 'ocaml', fileExtensions: ['ml', 'mli', 'cmx'] }, { name: 'javascript-map', fileExtensions: ['js.map', 'mjs.map'] }, { name: 'css-map', fileExtensions: ['css.map'] }, diff --git a/src/icons/folderIcons.ts b/src/icons/folderIcons.ts index b629e2169..66e0dad30 100644 --- a/src/icons/folderIcons.ts +++ b/src/icons/folderIcons.ts @@ -172,6 +172,8 @@ export const folderIcons: FolderTheme[] = [ { name: 'folder-animation', folderNames: ['animation', 'animations', 'animated'] }, { name: 'folder-guard', folderNames: ['guard', 'guards'] }, { name: 'folder-prisma', folderNames: ['prisma'] }, + { name: 'folder-vuex-store', folderNames: ['store'], enabledFor: [IconPack.Vuex] }, + { name: 'folder-vue', folderNames: ['components'], enabledFor: [IconPack.Vuex , IconPack.Vue] }, ] }, { name: 'classic', defaultIcon: { name: 'folder' }, rootFolder: { name: 'folder-root' } }, diff --git a/src/models/icons/iconPack.ts b/src/models/icons/iconPack.ts index 96a481cec..e88ccbd03 100644 --- a/src/models/icons/iconPack.ts +++ b/src/models/icons/iconPack.ts @@ -6,4 +6,6 @@ export enum IconPack { Ngrx = 'angular_ngrx', React = 'react', Redux = 'react_redux', + Vue = 'vue', + Vuex = 'vue_vuex' } From 1bc44dd2fb80427d58b15d9668907fcb9276e320 Mon Sep 17 00:00:00 2001 From: Bakosa666 Date: Sun, 17 Mar 2019 00:23:31 +0500 Subject: [PATCH 2/4] Remove whitespace add router icon for vue theme --- package.json | 1 - src/icons/fileIcons.ts | 2 +- src/icons/folderIcons.ts | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 92b831cb2..1591e666c 100644 --- a/package.json +++ b/package.json @@ -214,4 +214,3 @@ "vscode": "^1.1.29" } } - diff --git a/src/icons/fileIcons.ts b/src/icons/fileIcons.ts index 721548a90..c36bc96dc 100644 --- a/src/icons/fileIcons.ts +++ b/src/icons/fileIcons.ts @@ -105,7 +105,7 @@ export const fileIcons: FileIcons = { name: 'routing', fileExtensions: ['routing.ts', 'routing.js', 'routes.ts', 'routes.js'], fileNames: ['router.js', 'router.ts', 'routes.js', 'routes.ts'], - enabledFor: [IconPack.Angular, IconPack.Ngrx, IconPack.React, IconPack.Redux] + enabledFor: [IconPack.Angular, IconPack.Ngrx, IconPack.React, IconPack.Redux, IconPack.Vue, IconPack.Vuex] }, { name: 'redux-action', diff --git a/src/icons/folderIcons.ts b/src/icons/folderIcons.ts index b39157294..a6b6b022e 100644 --- a/src/icons/folderIcons.ts +++ b/src/icons/folderIcons.ts @@ -173,7 +173,7 @@ export const folderIcons: FolderTheme[] = [ { name: 'folder-guard', folderNames: ['guard', 'guards'] }, { name: 'folder-prisma', folderNames: ['prisma'] }, { name: 'folder-pipe', folderNames: ['pipe', 'pipes'] }, - { name: 'folder-svg', folderNames: ['svg', 'svgs'] }, + { name: 'folder-svg', folderNames: ['svg', 'svgs'] }, { name: 'folder-vuex-store', folderNames: ['store'], enabledFor: [IconPack.Vuex] }, { name: 'folder-vue', folderNames: ['components'], enabledFor: [IconPack.Vuex , IconPack.Vue] }, ] From 3e5e7d563c72c5eaf0a214521f03475a3988c554 Mon Sep 17 00:00:00 2001 From: PKief Date: Tue, 9 Apr 2019 21:42:16 +0200 Subject: [PATCH 3/4] Updated vue icons --- icons/folder-vuex-store-open.svg | 19 +------------------ icons/folder-vuex-store.svg | 19 +------------------ icons/vuex-store.svg | 13 +------------ 3 files changed, 3 insertions(+), 48 deletions(-) diff --git a/icons/folder-vuex-store-open.svg b/icons/folder-vuex-store-open.svg index e45536118..41a32cc81 100644 --- a/icons/folder-vuex-store-open.svg +++ b/icons/folder-vuex-store-open.svg @@ -1,18 +1 @@ - - - - - - - - - - - - - - - - - - + diff --git a/icons/folder-vuex-store.svg b/icons/folder-vuex-store.svg index 622d667ac..9c5b28d87 100644 --- a/icons/folder-vuex-store.svg +++ b/icons/folder-vuex-store.svg @@ -1,18 +1 @@ - - - - - - - - - - - - - - - - - - + diff --git a/icons/vuex-store.svg b/icons/vuex-store.svg index b969c9bec..fca5be078 100644 --- a/icons/vuex-store.svg +++ b/icons/vuex-store.svg @@ -1,12 +1 @@ - - - - - - - - - - - - + From 3e3abc7bcc349e735939acc94508d34d601a3fd8 Mon Sep 17 00:00:00 2001 From: PKief Date: Wed, 10 Apr 2019 08:20:06 +0200 Subject: [PATCH 4/4] Added translations --- package.nls.de.json | 2 ++ package.nls.es.json | 2 ++ package.nls.fr.json | 2 ++ package.nls.json | 2 ++ package.nls.pt-BR.json | 2 ++ package.nls.pt-PT.json | 2 ++ package.nls.ru.json | 2 ++ package.nls.zh-CN.json | 2 ++ 8 files changed, 16 insertions(+) diff --git a/package.nls.de.json b/package.nls.de.json index 91098ffcf..223b0bbde 100644 --- a/package.nls.de.json +++ b/package.nls.de.json @@ -20,6 +20,8 @@ "configuration.activeIconPack.angular_ngrx": "Icons für Angular und Ngrx", "configuration.activeIconPack.react": "Icons für React", "configuration.activeIconPack.react_redux": "Icons für React und Redux", + "configuration.activeIconPack.vue": "Icons für Vue.", + "configuration.activeIconPack.vue_vuex": "Icons für Vue und Vuex.", "configuration.activeIconPack.none": "Kein Icon-Pack aktiviert.", "configuration.folders.theme": "Art der Ordner Icons auswählen.", "configuration.folders.theme.specific": "Spezifische Ordner Icons auswählen.", diff --git a/package.nls.es.json b/package.nls.es.json index 56df84551..e0a27e287 100644 --- a/package.nls.es.json +++ b/package.nls.es.json @@ -18,6 +18,8 @@ "configuration.activeIconPack.angular_ngrx": "Iconos de Angular y ngrx.", "configuration.activeIconPack.react": "Iconos de React.", "configuration.activeIconPack.react_redux": "Iconos de React y Redux.", + "configuration.activeIconPack.vue": "Iconos de Vue.", + "configuration.activeIconPack.vue_vuex": "Iconos de Vue y Vuex.", "configuration.activeIconPack.none": "No hay ningún paquete de iconos activo.", "configuration.folders.theme": "Seleccione el tipo de iconos de carpeta.", "configuration.folders.theme.specific": "Seleccione iconos de carpeta específicos.", diff --git a/package.nls.fr.json b/package.nls.fr.json index 6f95723d1..dabde855d 100644 --- a/package.nls.fr.json +++ b/package.nls.fr.json @@ -18,6 +18,8 @@ "configuration.activeIconPack.angular_ngrx": "Icônes pour Angular et ngrx.", "configuration.activeIconPack.react": "Icônes pour React.", "configuration.activeIconPack.react_redux": "Icônes pour React et Redux.", + "configuration.activeIconPack.vue": "Icônes pour Vue.", + "configuration.activeIconPack.vue_vuex": "Icônes pour Vue et Vuex.", "configuration.activeIconPack.none": "Aucun pack d'icônes n'est actif.", "configuration.folders.theme": "Sélectionner le type d'icônes de dossier.", "configuration.folders.theme.specific": "Sélectionner des icônes de dossiers spécifiques.", diff --git a/package.nls.json b/package.nls.json index 2444fe4c4..52a83f834 100644 --- a/package.nls.json +++ b/package.nls.json @@ -20,6 +20,8 @@ "configuration.activeIconPack.angular_ngrx": "Icons for Angular and ngrx.", "configuration.activeIconPack.react": "Icons for React.", "configuration.activeIconPack.react_redux": "Icons for React and Redux.", + "configuration.activeIconPack.vue": "Icons for Vue.", + "configuration.activeIconPack.vue_vuex": "Icons for Vue and Vuex.", "configuration.activeIconPack.none": "No icon pack enabled.", "configuration.folders.theme": "Set the type for the folder icons.", "configuration.folders.theme.specific": "Select specific folder icons.", diff --git a/package.nls.pt-BR.json b/package.nls.pt-BR.json index 0f619cfec..e9415afda 100644 --- a/package.nls.pt-BR.json +++ b/package.nls.pt-BR.json @@ -18,6 +18,8 @@ "configuration.activeIconPack.angular_ngrx": "Ícones para Angular e ngrx.", "configuration.activeIconPack.react": "Ícones para React.", "configuration.activeIconPack.react_redux": "Ícones para React e ngrx.", + "configuration.activeIconPack.vue": "Ícones para Vue.", + "configuration.activeIconPack.vue_vuex": "Ícones para Vue e Vuex.", "configuration.activeIconPack.none": "Nenhum pacote de ícones ativado.", "configuration.folders.theme": "Definir o tipo dos ícones das pastas.", "configuration.folders.theme.specific": "Selecione ícones de pastas específicas.", diff --git a/package.nls.pt-PT.json b/package.nls.pt-PT.json index be4f9979d..7bd90b4b6 100644 --- a/package.nls.pt-PT.json +++ b/package.nls.pt-PT.json @@ -18,6 +18,8 @@ "configuration.activeIconPack.angular_ngrx": "Ícones para Angular e ngrx.", "configuration.activeIconPack.react": "Ícones para React.", "configuration.activeIconPack.react_redux": "Ícones para React e ngrx.", + "configuration.activeIconPack.vue": "Ícones para Vue.", + "configuration.activeIconPack.vue_vuex": "Ícones para Vue e Vuex.", "configuration.activeIconPack.none": "Nenhum pacote de ícones ativado.", "configuration.folders.theme": "Definir o formato dos ícones dos directórios.", "configuration.folders.theme.specific": "Selecciona ícones de pastas específicas.", diff --git a/package.nls.ru.json b/package.nls.ru.json index 3c9374e2a..488cae6b8 100644 --- a/package.nls.ru.json +++ b/package.nls.ru.json @@ -18,6 +18,8 @@ "configuration.activeIconPack.angular_ngrx": "Иконки для Angular и ngrx.", "configuration.activeIconPack.react": "Иконки для React.", "configuration.activeIconPack.react_redux": "Иконки для React и Redux.", + "configuration.activeIconPack.vue": "Иконки для Vue.", + "configuration.activeIconPack.vue_vuex": "Иконки для Vue и Vuex.", "configuration.activeIconPack.none": "Папка с иконками не включена.", "configuration.folders.theme": "Установить тип иконок для папок.", "configuration.folders.theme.specific": "Выберите конкретные значки папок.", diff --git a/package.nls.zh-CN.json b/package.nls.zh-CN.json index b0c988e5b..570609537 100644 --- a/package.nls.zh-CN.json +++ b/package.nls.zh-CN.json @@ -18,6 +18,8 @@ "configuration.activeIconPack.angular_ngrx": "Angular和ngrx的图标。", "configuration.activeIconPack.react": "React的图标。", "configuration.activeIconPack.react_redux": "React和Redux的图标。", + "configuration.activeIconPack.vue": "Vue的图标。", + "configuration.activeIconPack.vue_vuex": "Vue和Vuex的图标。", "configuration.activeIconPack.none": "没有启用图标包。", "configuration.folders.theme": "设置文件夹图标的类型。", "configuration.folders.theme.specific": "选择特定文件夹图标。",