From 1259662c2b8505470ee0047eca8d82175f0b5be0 Mon Sep 17 00:00:00 2001 From: Philipp Kief Date: Sat, 22 Apr 2023 10:34:03 +0200 Subject: [PATCH] Add qwik icon pack (#1949) * Add qwik icon pack * Add trailing comma --- icons/qwik.svg | 2 ++ package.json | 2 ++ package.nls.de.json | 1 + package.nls.es.json | 1 + package.nls.fr.json | 1 + package.nls.ja.json | 1 + package.nls.json | 1 + package.nls.nl.json | 1 + package.nls.pl.json | 1 + package.nls.pt-BR.json | 1 + package.nls.pt-PT.json | 1 + package.nls.ru.json | 1 + package.nls.zh-CN.json | 1 + package.nls.zh-TW.json | 1 + src/icons/fileIcons.ts | 3 ++- src/models/icons/iconPack.ts | 1 + 16 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 icons/qwik.svg diff --git a/icons/qwik.svg b/icons/qwik.svg new file mode 100644 index 0000000000..9c73b495cd --- /dev/null +++ b/icons/qwik.svg @@ -0,0 +1,2 @@ + + diff --git a/package.json b/package.json index 972f5856ed..43db331ee2 100644 --- a/package.json +++ b/package.json @@ -151,6 +151,7 @@ "%configuration.activeIconPack.angular_ngrx%", "%configuration.activeIconPack.react%", "%configuration.activeIconPack.react_redux%", + "%configuration.activeIconPack.qwik%", "%configuration.activeIconPack.vue%", "%configuration.activeIconPack.vue_vuex%", "%configuration.activeIconPack.nest%", @@ -161,6 +162,7 @@ "angular_ngrx", "react", "react_redux", + "qwik", "vue", "vue_vuex", "nest", diff --git a/package.nls.de.json b/package.nls.de.json index 08e027c965..a5205cd85c 100644 --- a/package.nls.de.json +++ b/package.nls.de.json @@ -18,6 +18,7 @@ "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.qwik": "Icons für Qwik.", "configuration.activeIconPack.vue": "Icons für Vue.", "configuration.activeIconPack.vue_vuex": "Icons für Vue und Vuex.", "configuration.activeIconPack.nest": "Icons für NestJS.", diff --git a/package.nls.es.json b/package.nls.es.json index 1e2f269f52..e2f54257b6 100644 --- a/package.nls.es.json +++ b/package.nls.es.json @@ -15,6 +15,7 @@ "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.qwik": "Iconos de Qwik.", "configuration.activeIconPack.vue": "Iconos de Vue.", "configuration.activeIconPack.vue_vuex": "Iconos de Vue y Vuex.", "configuration.activeIconPack.nest": "Iconos de NestJS.", diff --git a/package.nls.fr.json b/package.nls.fr.json index f2d8d03dcc..d0abe68834 100644 --- a/package.nls.fr.json +++ b/package.nls.fr.json @@ -15,6 +15,7 @@ "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.qwik": "Icônes pour Qwik.", "configuration.activeIconPack.vue": "Icônes pour Vue.", "configuration.activeIconPack.vue_vuex": "Icônes pour Vue et Vuex.", "configuration.activeIconPack.nest": "Icônes pour NestJS.", diff --git a/package.nls.ja.json b/package.nls.ja.json index 72affd3325..fe77c0e9ee 100644 --- a/package.nls.ja.json +++ b/package.nls.ja.json @@ -17,6 +17,7 @@ "configuration.activeIconPack.angular_ngrx": "Angular と ngrx 用のアイコンです。", "configuration.activeIconPack.react": "React 用のアイコンです。", "configuration.activeIconPack.react_redux": "React と Redux 用のアイコンです。", + "configuration.activeIconPack.qwik": "Qwik 用のアイコンです。", "configuration.activeIconPack.vue": "Vue 用のアイコンです。", "configuration.activeIconPack.vue_vuex": "Vue と Vuex 用のアイコンです。", "configuration.activeIconPack.nest": "NestJS 用のアイコンです。", diff --git a/package.nls.json b/package.nls.json index 272422754d..389bbba92c 100644 --- a/package.nls.json +++ b/package.nls.json @@ -18,6 +18,7 @@ "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.qwik": "Icons for Qwik.", "configuration.activeIconPack.vue": "Icons for Vue.", "configuration.activeIconPack.vue_vuex": "Icons for Vue and Vuex.", "configuration.activeIconPack.nest": "Icons for NestJS.", diff --git a/package.nls.nl.json b/package.nls.nl.json index 127f6ca19f..0e8024eeb5 100644 --- a/package.nls.nl.json +++ b/package.nls.nl.json @@ -17,6 +17,7 @@ "configuration.activeIconPack.angular_ngrx": "Icons voor Angular en ngrx.", "configuration.activeIconPack.react": "Icons voor React.", "configuration.activeIconPack.react_redux": "Icons for React en Redux.", + "configuration.activeIconPack.qwik": "Icons voor Qwik.", "configuration.activeIconPack.vue": "Icons voor Vue.", "configuration.activeIconPack.vue_vuex": "Icons voor Vue en Vuex.", "configuration.activeIconPack.nest": "Icons voor NestJS.", diff --git a/package.nls.pl.json b/package.nls.pl.json index 31363fd410..ca7e1bd05e 100644 --- a/package.nls.pl.json +++ b/package.nls.pl.json @@ -17,6 +17,7 @@ "configuration.activeIconPack.angular_ngrx": "Ikony dla Angulara i ngrx.", "configuration.activeIconPack.react": "Ikony dla Reacta.", "configuration.activeIconPack.react_redux": "Ikony dla Reacta i Reduxa.", + "configuration.activeIconPack.qwik": "Ikony dla Qwik.", "configuration.activeIconPack.vue": "Ikony dla Vue.", "configuration.activeIconPack.vue_vuex": "Ikony dla Vue i Vuex.", "configuration.activeIconPack.nest": "Ikony dla NestJS.", diff --git a/package.nls.pt-BR.json b/package.nls.pt-BR.json index 10683437f4..0bb6b4e31d 100644 --- a/package.nls.pt-BR.json +++ b/package.nls.pt-BR.json @@ -15,6 +15,7 @@ "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.qwik": "Ícones para Qwik.", "configuration.activeIconPack.vue": "Ícones para Vue.", "configuration.activeIconPack.vue_vuex": "Ícones para Vue e Vuex.", "configuration.activeIconPack.nest": "Ícones para NestJS.", diff --git a/package.nls.pt-PT.json b/package.nls.pt-PT.json index 2ec02463a7..2b87811299 100644 --- a/package.nls.pt-PT.json +++ b/package.nls.pt-PT.json @@ -15,6 +15,7 @@ "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.qwik": "Ícones para Qwik.", "configuration.activeIconPack.vue": "Ícones para Vue.", "configuration.activeIconPack.vue_vuex": "Ícones para Vue e Vuex.", "configuration.activeIconPack.nest": "Ícones para NestJS.", diff --git a/package.nls.ru.json b/package.nls.ru.json index 871e5f61b0..d1e758c7e6 100644 --- a/package.nls.ru.json +++ b/package.nls.ru.json @@ -15,6 +15,7 @@ "configuration.activeIconPack.angular_ngrx": "Иконки для Angular и ngrx.", "configuration.activeIconPack.react": "Иконки для React.", "configuration.activeIconPack.react_redux": "Иконки для React и Redux.", + "configuration.activeIconPack.qwik": "Иконки для Qwik.", "configuration.activeIconPack.vue": "Иконки для Vue.", "configuration.activeIconPack.vue_vuex": "Иконки для Vue и Vuex.", "configuration.activeIconPack.nest": "Иконки для NestJS.", diff --git a/package.nls.zh-CN.json b/package.nls.zh-CN.json index e927dee474..e82871782c 100644 --- a/package.nls.zh-CN.json +++ b/package.nls.zh-CN.json @@ -15,6 +15,7 @@ "configuration.activeIconPack.angular_ngrx": "Angular和ngrx的图标。", "configuration.activeIconPack.react": "React的图标。", "configuration.activeIconPack.react_redux": "React和Redux的图标。", + "configuration.activeIconPack.qwik": "Qwik的图标。", "configuration.activeIconPack.vue": "Vue的图标。", "configuration.activeIconPack.vue_vuex": "Vue和Vuex的图标。", "configuration.activeIconPack.nest": "NestJS的图标。", diff --git a/package.nls.zh-TW.json b/package.nls.zh-TW.json index 57e33cc847..166ef27b91 100644 --- a/package.nls.zh-TW.json +++ b/package.nls.zh-TW.json @@ -15,6 +15,7 @@ "configuration.activeIconPack.angular_ngrx": "Angular和ngrx的圖標。", "configuration.activeIconPack.react": "React的圖標。", "configuration.activeIconPack.react_redux": "React和Redux的圖標。", + "configuration.activeIconPack.qwik": "Qwik的圖標。", "configuration.activeIconPack.vue": "Vue的圖標。", "configuration.activeIconPack.vue_vuex": "Vue和Vuex的圖標。", "configuration.activeIconPack.nest": "NestJS的圖標。", diff --git a/src/icons/fileIcons.ts b/src/icons/fileIcons.ts index 3450695e21..6802107d35 100644 --- a/src/icons/fileIcons.ts +++ b/src/icons/fileIcons.ts @@ -2094,7 +2094,7 @@ export const fileIcons: FileIcons = { 'tsconfig.esm.json', 'tsconfig.mjs.json', 'tsconfig.doc.json', - 'tsconfig.paths.json' + 'tsconfig.paths.json', ], fileExtensions: ['tsconfig.json'], }, @@ -2326,5 +2326,6 @@ export const fileIcons: FileIcons = { }, { name: 'typst', fileExtensions: ['typ'] }, { name: 'ifanr-cloud', fileNames: ['.mincloudrc'] }, + { name: 'qwik', fileExtensions: ['tsx'], enabledFor: [IconPack.Qwik] }, ], }; diff --git a/src/models/icons/iconPack.ts b/src/models/icons/iconPack.ts index ec0643736d..6954f5758c 100644 --- a/src/models/icons/iconPack.ts +++ b/src/models/icons/iconPack.ts @@ -7,6 +7,7 @@ export enum IconPack { Ngrx = 'angular_ngrx', React = 'react', Redux = 'react_redux', + Qwik = 'qwik', Vue = 'vue', Vuex = 'vue_vuex', }