material-icon-theme 4.20.0 → 4.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (362) hide show
  1. package/.vscodeignore +2 -1
  2. package/CHANGELOG.md +54 -0
  3. package/README.md +7 -16
  4. package/icons/actionscript.svg +1 -1
  5. package/icons/android.svg +1 -1
  6. package/icons/antlr.svg +1 -0
  7. package/icons/architecture.svg +1 -5
  8. package/icons/asciidoc.svg +1 -1
  9. package/icons/assembly.svg +1 -1
  10. package/icons/astyle.svg +1 -4
  11. package/icons/aurelia.svg +1 -1
  12. package/icons/auto.svg +1 -10
  13. package/icons/auto_light.svg +1 -10
  14. package/icons/autohotkey.svg +1 -1
  15. package/icons/autoit.svg +1 -1
  16. package/icons/azure-pipelines.svg +1 -1
  17. package/icons/azure.svg +1 -10
  18. package/icons/ballerina.svg +1 -1
  19. package/icons/bazel.svg +1 -1
  20. package/icons/bitbucket.svg +1 -1
  21. package/icons/blink.svg +1 -1
  22. package/icons/blink_light.svg +1 -1
  23. package/icons/blitz.svg +1 -4
  24. package/icons/brainfuck.svg +1 -1
  25. package/icons/buck.svg +1 -1
  26. package/icons/bucklescript.svg +1 -1
  27. package/icons/buildkite.svg +1 -9
  28. package/icons/caddy.svg +1 -0
  29. package/icons/cadence.svg +1 -0
  30. package/icons/cloudfoundry.svg +1 -1
  31. package/icons/coala.svg +1 -1
  32. package/icons/codecov.svg +1 -1
  33. package/icons/coldfusion.svg +1 -1
  34. package/icons/commitlint.svg +1 -1
  35. package/icons/crystal.svg +1 -1
  36. package/icons/crystal_light.svg +1 -1
  37. package/icons/cucumber.svg +1 -1
  38. package/icons/cuda.svg +1 -1
  39. package/icons/cypress.svg +1 -4
  40. package/icons/dart_generated.svg +1 -9
  41. package/icons/dependabot.svg +1 -4
  42. package/icons/dinophp.svg +1 -16
  43. package/icons/docker.svg +1 -1
  44. package/icons/drawio.svg +1 -1
  45. package/icons/drone.svg +1 -1
  46. package/icons/drone_light.svg +1 -1
  47. package/icons/editorconfig.svg +1 -1
  48. package/icons/elm.svg +1 -1
  49. package/icons/figma.svg +1 -10
  50. package/icons/folder-angular-open.svg +1 -2
  51. package/icons/folder-angular.svg +1 -2
  52. package/icons/folder-ansible-open.svg +1 -1
  53. package/icons/folder-ansible.svg +1 -1
  54. package/icons/folder-apollo.svg +1 -1
  55. package/icons/folder-aurelia-open.svg +1 -1
  56. package/icons/folder-aurelia.svg +1 -1
  57. package/icons/folder-bower-open.svg +1 -1
  58. package/icons/folder-bower.svg +1 -1
  59. package/icons/folder-buildkite-open.svg +1 -9
  60. package/icons/folder-buildkite.svg +1 -8
  61. package/icons/folder-cart-open.svg +1 -1
  62. package/icons/folder-cart.svg +1 -1
  63. package/icons/folder-ci-open.svg +1 -1
  64. package/icons/folder-ci.svg +1 -1
  65. package/icons/folder-cobol-open.svg +1 -1
  66. package/icons/folder-cobol.svg +1 -1
  67. package/icons/folder-config-open.svg +1 -1
  68. package/icons/folder-config.svg +1 -1
  69. package/icons/folder-container-open.svg +1 -1
  70. package/icons/folder-container.svg +1 -1
  71. package/icons/folder-controller-open.svg +1 -1
  72. package/icons/folder-controller.svg +1 -1
  73. package/icons/folder-cypress-open.svg +1 -5
  74. package/icons/folder-cypress.svg +1 -5
  75. package/icons/folder-decorators-open.svg +2 -0
  76. package/icons/folder-decorators.svg +5 -0
  77. package/icons/folder-docker-open.svg +1 -1
  78. package/icons/folder-docker.svg +1 -1
  79. package/icons/folder-expo.svg +1 -1
  80. package/icons/folder-fastlane-open.svg +1 -1
  81. package/icons/folder-fastlane.svg +1 -1
  82. package/icons/folder-generator-open.svg +1 -1
  83. package/icons/folder-generator.svg +1 -1
  84. package/icons/folder-gitlab-open.svg +1 -2
  85. package/icons/folder-gitlab.svg +1 -2
  86. package/icons/folder-gradle-open.svg +1 -1
  87. package/icons/folder-gradle.svg +1 -1
  88. package/icons/folder-helper-open.svg +1 -1
  89. package/icons/folder-helper.svg +1 -1
  90. package/icons/folder-ios-open.svg +1 -1
  91. package/icons/folder-ios.svg +1 -1
  92. package/icons/folder-java-open.svg +1 -2
  93. package/icons/folder-java.svg +1 -2
  94. package/icons/folder-kubernetes-open.svg +1 -1
  95. package/icons/folder-kubernetes.svg +1 -1
  96. package/icons/folder-less-open.svg +1 -1
  97. package/icons/folder-less.svg +1 -1
  98. package/icons/folder-lib-open.svg +1 -1
  99. package/icons/folder-lib.svg +1 -1
  100. package/icons/folder-lua-open.svg +1 -1
  101. package/icons/folder-lua.svg +1 -1
  102. package/icons/folder-markdown-open.svg +1 -1
  103. package/icons/folder-markdown.svg +1 -1
  104. package/icons/folder-mjml.svg +1 -1
  105. package/icons/folder-netlify-open.svg +1 -0
  106. package/icons/folder-netlify.svg +1 -0
  107. package/icons/folder-next-open.svg +1 -2
  108. package/icons/folder-next.svg +1 -2
  109. package/icons/folder-nuxt-open.svg +1 -2
  110. package/icons/folder-nuxt.svg +1 -2
  111. package/icons/folder-pdf-open.svg +1 -0
  112. package/icons/folder-pdf.svg +1 -0
  113. package/icons/folder-php-open.svg +1 -1
  114. package/icons/folder-php.svg +1 -1
  115. package/icons/folder-pipe.svg +1 -1
  116. package/icons/folder-proto-open.svg +1 -0
  117. package/icons/folder-proto.svg +1 -0
  118. package/icons/folder-public-open.svg +1 -1
  119. package/icons/folder-python-open.svg +1 -1
  120. package/icons/folder-python.svg +1 -1
  121. package/icons/folder-queue-open.svg +1 -2
  122. package/icons/folder-queue.svg +1 -2
  123. package/icons/folder-react-components-open.svg +1 -1
  124. package/icons/folder-react-components.svg +1 -1
  125. package/icons/folder-redux-actions-open.svg +1 -1
  126. package/icons/folder-redux-actions.svg +1 -1
  127. package/icons/folder-redux-reducer-open.svg +1 -1
  128. package/icons/folder-redux-reducer.svg +1 -1
  129. package/icons/folder-redux-selector-open.svg +1 -1
  130. package/icons/folder-redux-selector.svg +1 -1
  131. package/icons/folder-redux-store-open.svg +1 -1
  132. package/icons/folder-redux-store.svg +1 -1
  133. package/icons/folder-resolver-open.svg +1 -2
  134. package/icons/folder-resolver.svg +1 -2
  135. package/icons/folder-resource-open.svg +1 -1
  136. package/icons/folder-resource.svg +1 -1
  137. package/icons/folder-sass-open.svg +1 -1
  138. package/icons/folder-sass.svg +1 -1
  139. package/icons/folder-scala-open.svg +1 -1
  140. package/icons/folder-scala.svg +1 -1
  141. package/icons/folder-server-open.svg +1 -1
  142. package/icons/folder-server.svg +1 -1
  143. package/icons/folder-serverless-open.svg +1 -5
  144. package/icons/folder-serverless.svg +1 -5
  145. package/icons/folder-shader-open.svg +1 -8
  146. package/icons/folder-shader.svg +1 -7
  147. package/icons/folder-src-open.svg +1 -1
  148. package/icons/folder-src.svg +1 -1
  149. package/icons/folder-stencil-open.svg +1 -1
  150. package/icons/folder-stencil.svg +1 -1
  151. package/icons/folder-supabase-open.svg +5 -0
  152. package/icons/folder-supabase.svg +2 -0
  153. package/icons/folder-svelte-open.svg +1 -1
  154. package/icons/folder-target-open.svg +1 -2
  155. package/icons/folder-target.svg +1 -2
  156. package/icons/folder-terraform-open.svg +1 -1
  157. package/icons/folder-terraform.svg +1 -1
  158. package/icons/folder-typescript-open.svg +1 -1
  159. package/icons/folder-typescript.svg +1 -1
  160. package/icons/folder-unity-open.svg +1 -2
  161. package/icons/folder-unity.svg +1 -2
  162. package/icons/folder-vercel-open.svg +1 -4
  163. package/icons/folder-vercel.svg +1 -4
  164. package/icons/folder-verdaccio-open.svg +1 -8
  165. package/icons/folder-verdaccio.svg +1 -8
  166. package/icons/folder-vue-directives-open.svg +1 -1
  167. package/icons/folder-vue-directives.svg +1 -1
  168. package/icons/folder-vue-open.svg +1 -1
  169. package/icons/folder-vue.svg +1 -1
  170. package/icons/folder-vuepress-open.svg +1 -1
  171. package/icons/folder-wakatime-open.svg +1 -1
  172. package/icons/folder-wakatime.svg +1 -1
  173. package/icons/folder-wordpress-open.svg +1 -1
  174. package/icons/folder-wordpress.svg +1 -1
  175. package/icons/forth.svg +1 -1
  176. package/icons/foxpro.svg +1 -1
  177. package/icons/fusebox.svg +1 -1
  178. package/icons/gatsby.svg +1 -1
  179. package/icons/gcp.svg +1 -1
  180. package/icons/gitlab.svg +1 -1
  181. package/icons/gleam.svg +1 -4
  182. package/icons/go-mod.svg +1 -1
  183. package/icons/go.svg +1 -1
  184. package/icons/graphcool.svg +1 -1
  185. package/icons/graphql.svg +1 -1
  186. package/icons/gridsome.svg +1 -4
  187. package/icons/grunt.svg +1 -1
  188. package/icons/hack.svg +1 -1
  189. package/icons/haml.svg +1 -1
  190. package/icons/hardhat.svg +1 -4
  191. package/icons/helm.svg +1 -1
  192. package/icons/heroku.svg +1 -1
  193. package/icons/hex.svg +1 -1
  194. package/icons/idris.svg +1 -1
  195. package/icons/jenkins.svg +1 -1
  196. package/icons/jest.svg +1 -1
  197. package/icons/jinja.svg +1 -1
  198. package/icons/jinja_light.svg +1 -1
  199. package/icons/kivy.svg +1 -1
  200. package/icons/kl.svg +1 -1
  201. package/icons/kusto.svg +1 -1
  202. package/icons/laravel.svg +1 -1
  203. package/icons/less.svg +1 -1
  204. package/icons/lighthouse.svg +1 -3
  205. package/icons/livescript.svg +1 -1
  206. package/icons/mdsvex.svg +1 -5
  207. package/icons/merlin.svg +1 -1
  208. package/icons/mjml.svg +1 -1
  209. package/icons/mocha.svg +1 -1
  210. package/icons/modernizr.svg +1 -1
  211. package/icons/nano-staged.svg +1 -0
  212. package/icons/nano-staged_light.svg +1 -0
  213. package/icons/ndst.svg +1 -7
  214. package/icons/netlify.svg +1 -1
  215. package/icons/next.svg +1 -3
  216. package/icons/next_light.svg +1 -3
  217. package/icons/npm.svg +1 -1
  218. package/icons/nrwl.svg +1 -1
  219. package/icons/nunjucks.svg +1 -1
  220. package/icons/nuxt.svg +1 -5
  221. package/icons/odin.svg +1 -6
  222. package/icons/otne.svg +1 -16
  223. package/icons/parcel.svg +1 -4
  224. package/icons/pdf.svg +1 -1
  225. package/icons/percy.svg +1 -1
  226. package/icons/pinejs.svg +1 -0
  227. package/icons/playwright.svg +1 -7
  228. package/icons/plop.svg +1 -4
  229. package/icons/pnpm.svg +1 -9
  230. package/icons/pnpm_light.svg +1 -7
  231. package/icons/poetry.svg +1 -1
  232. package/icons/postcss.svg +1 -1
  233. package/icons/posthtml.svg +1 -1
  234. package/icons/processing.svg +1 -10
  235. package/icons/prolog.svg +1 -1
  236. package/icons/protractor.svg +1 -1
  237. package/icons/pug.svg +1 -1
  238. package/icons/puppet.svg +1 -1
  239. package/icons/purescript.svg +1 -1
  240. package/icons/python.svg +1 -1
  241. package/icons/racket.svg +1 -1
  242. package/icons/red.svg +1 -1
  243. package/icons/remix.svg +1 -4
  244. package/icons/remix_light.svg +1 -4
  245. package/icons/replit.svg +1 -1
  246. package/icons/rescript-interface.svg +1 -5
  247. package/icons/restql.svg +1 -1
  248. package/icons/roadmap.svg +1 -1
  249. package/icons/robot.svg +1 -1
  250. package/icons/rollup.svg +1 -1
  251. package/icons/rome.svg +1 -5
  252. package/icons/rubocop.svg +1 -1
  253. package/icons/rubocop_light.svg +1 -1
  254. package/icons/ruby.svg +1 -1
  255. package/icons/san.svg +1 -1
  256. package/icons/sass.svg +1 -1
  257. package/icons/scala.svg +1 -1
  258. package/icons/sequelize.svg +1 -1
  259. package/icons/serverless.svg +1 -4
  260. package/icons/shader.svg +1 -4
  261. package/icons/silverstripe.svg +1 -1
  262. package/icons/siyuan.svg +1 -9
  263. package/icons/sketch.svg +1 -1
  264. package/icons/snyk.svg +1 -1
  265. package/icons/sonarcloud.svg +4 -0
  266. package/icons/steadybit.svg +1 -1
  267. package/icons/stencil.svg +1 -1
  268. package/icons/stitches.svg +1 -1
  269. package/icons/stitches_light.svg +1 -1
  270. package/icons/stylable.svg +10 -0
  271. package/icons/supabase.svg +4 -0
  272. package/icons/svgr.svg +1 -4
  273. package/icons/tauri.svg +1 -9
  274. package/icons/template.svg +1 -4
  275. package/icons/tobi.svg +1 -4
  276. package/icons/tobimake.svg +1 -14
  277. package/icons/tree.svg +1 -2
  278. package/icons/tsconfig.svg +1 -1
  279. package/icons/turborepo.svg +1 -12
  280. package/icons/turborepo_light.svg +1 -12
  281. package/icons/twine.svg +1 -1
  282. package/icons/vagrant.svg +1 -1
  283. package/icons/verdaccio.svg +1 -5
  284. package/icons/vscode.svg +1 -1
  285. package/icons/vue-config.svg +1 -1
  286. package/icons/vue.svg +1 -1
  287. package/icons/webhint.svg +1 -1
  288. package/icons/zig.svg +1 -1
  289. package/images/contributors.png +0 -0
  290. package/images/fileIcons.png +0 -0
  291. package/images/folderIcons.png +0 -0
  292. package/package.json +2 -17
  293. package/package.nls.de.json +0 -3
  294. package/package.nls.es.json +0 -3
  295. package/package.nls.fr.json +0 -3
  296. package/package.nls.ja.json +0 -3
  297. package/package.nls.json +0 -3
  298. package/package.nls.nl.json +0 -3
  299. package/package.nls.pl.json +0 -3
  300. package/package.nls.pt-BR.json +0 -3
  301. package/package.nls.pt-PT.json +0 -3
  302. package/package.nls.ru.json +0 -3
  303. package/package.nls.zh-CN.json +0 -3
  304. package/package.nls.zh-TW.json +0 -3
  305. package/src/commands/activate.ts +11 -9
  306. package/src/commands/explorerArrows.ts +18 -18
  307. package/src/commands/folderColor.ts +12 -12
  308. package/src/commands/folders.ts +17 -17
  309. package/src/commands/grayscale.ts +17 -17
  310. package/src/commands/iconPacks.ts +12 -16
  311. package/src/commands/index.ts +5 -5
  312. package/src/commands/opacity.ts +8 -8
  313. package/src/commands/saturation.ts +8 -8
  314. package/src/extension.ts +8 -13
  315. package/src/helpers/customIcons.ts +2 -2
  316. package/src/helpers/index.ts +10 -22
  317. package/src/i18n/index.ts +2 -2
  318. package/src/i18n/lang-de.ts +0 -11
  319. package/src/i18n/lang-en.ts +5 -15
  320. package/src/i18n/lang-es.ts +0 -10
  321. package/src/i18n/lang-fr.ts +0 -10
  322. package/src/i18n/lang-ja.ts +0 -11
  323. package/src/i18n/lang-nl.ts +0 -11
  324. package/src/i18n/lang-pl.ts +0 -9
  325. package/src/i18n/lang-pt-br.ts +0 -10
  326. package/src/i18n/lang-pt-pt.ts +0 -10
  327. package/src/i18n/lang-ru.ts +0 -9
  328. package/src/i18n/lang-uk.ts +0 -11
  329. package/src/i18n/lang-zh-cn.ts +0 -9
  330. package/src/i18n/lang-zh-tw.ts +0 -9
  331. package/src/icons/fileIcons.ts +68 -4
  332. package/src/icons/folderIcons.ts +24 -1
  333. package/src/icons/generator/folderGenerator.ts +7 -7
  334. package/src/icons/generator/iconOpacity.ts +10 -10
  335. package/src/icons/generator/iconSaturation.ts +10 -10
  336. package/src/icons/generator/jsonGenerator.ts +21 -17
  337. package/src/icons/languageIcons.ts +4 -0
  338. package/src/models/i18n/translation.ts +0 -9
  339. package/src/models/iconConfiguration.ts +1 -1
  340. package/src/models/icons/iconJsonOptions.ts +0 -2
  341. package/src/models/index.ts +0 -1
  342. package/src/scripts/contributors/index.ts +14 -14
  343. package/src/scripts/helpers/screenshots.ts +4 -4
  344. package/src/scripts/icons/checks/checkIconAvailability.ts +12 -12
  345. package/src/scripts/icons/checks/checkIconConflicts.ts +6 -8
  346. package/src/scripts/icons/checks/checkIconUsage.ts +9 -13
  347. package/src/scripts/icons/checks/index.ts +6 -6
  348. package/src/scripts/preview/preview.ts +8 -10
  349. package/src/test/runTest.ts +3 -3
  350. package/src/test/spec/i18n/i18n.spec.ts +13 -20
  351. package/src/test/spec/icons/fileIcons.spec.ts +5 -5
  352. package/src/test/spec/icons/folderIcons.spec.ts +8 -8
  353. package/src/test/spec/icons/languageIcons.spec.ts +6 -6
  354. package/images/oneclickactivation.png +0 -0
  355. package/src/helpers/versioning.ts +0 -73
  356. package/src/messages/outdated.ts +0 -33
  357. package/src/messages/reload.ts +0 -32
  358. package/src/messages/start.ts +0 -12
  359. package/src/messages/update.ts +0 -48
  360. package/src/messages/welcome.ts +0 -47
  361. package/src/models/helpers/index.ts +0 -1
  362. package/src/models/helpers/themeStatus.ts +0 -5
@@ -1,7 +1,7 @@
1
- import * as vscode from 'vscode';
1
+ import { QuickPickItem, window as codeWindow } from 'vscode';
2
+ import { getMaterialIconsJSON, setThemeConfig } from '../helpers';
3
+ import { translate } from '../i18n';
2
4
  import { getDefaultIconOptions, validateHEXColorCode } from '../icons';
3
- import * as helpers from './../helpers';
4
- import * as i18n from './../i18n';
5
5
 
6
6
  interface FolderColor {
7
7
  label: string;
@@ -35,25 +35,25 @@ export const changeFolderColor = async () => {
35
35
  /** Show QuickPick items to select preferred color for the folder icons. */
36
36
  const showQuickPickItems = (currentColor: string) => {
37
37
  const options = iconPalette.map(
38
- (color): vscode.QuickPickItem => ({
38
+ (color): QuickPickItem => ({
39
39
  description: color.label,
40
40
  label: isColorActive(color, currentColor) ? '\u2714' : '\u25FB',
41
41
  })
42
42
  );
43
43
 
44
- return vscode.window.showQuickPick(options, {
45
- placeHolder: i18n.translate('folders.color'),
44
+ return codeWindow.showQuickPick(options, {
45
+ placeHolder: translate('folders.color'),
46
46
  ignoreFocusOut: false,
47
47
  matchOnDescription: true,
48
48
  });
49
49
  };
50
50
 
51
51
  /** Handle the actions from the QuickPick. */
52
- const handleQuickPickActions = async (value: vscode.QuickPickItem) => {
52
+ const handleQuickPickActions = async (value: QuickPickItem) => {
53
53
  if (!value || !value.description) return;
54
54
  if (value.description === 'Custom Color') {
55
- const value = await vscode.window.showInputBox({
56
- placeHolder: i18n.translate('folders.hexCode'),
55
+ const value = await codeWindow.showInputBox({
56
+ placeHolder: translate('folders.hexCode'),
57
57
  ignoreFocusOut: true,
58
58
  validateInput: validateColorInput,
59
59
  });
@@ -70,7 +70,7 @@ const handleQuickPickActions = async (value: vscode.QuickPickItem) => {
70
70
 
71
71
  const validateColorInput = (colorInput: string) => {
72
72
  if (!validateHEXColorCode(colorInput)) {
73
- return i18n.translate('folders.wrongHexCode');
73
+ return translate('folders.wrongHexCode');
74
74
  }
75
75
  return undefined;
76
76
  };
@@ -78,12 +78,12 @@ const validateColorInput = (colorInput: string) => {
78
78
  /** Check status of the folder color */
79
79
  export const checkFolderColorStatus = (): string => {
80
80
  const defaultOptions = getDefaultIconOptions();
81
- const config = helpers.getMaterialIconsJSON();
81
+ const config = getMaterialIconsJSON();
82
82
  return config?.options?.folders?.color ?? defaultOptions.folders.color!;
83
83
  };
84
84
 
85
85
  const setColorConfig = (value: string) => {
86
- helpers.setThemeConfig('folders.color', value.toLowerCase(), true);
86
+ setThemeConfig('folders.color', value.toLowerCase(), true);
87
87
  };
88
88
 
89
89
  const isColorActive = (color: FolderColor, currentColor: string): boolean => {
@@ -1,7 +1,11 @@
1
- import * as vscode from 'vscode';
1
+ import { QuickPickItem, window as codeWindow } from 'vscode';
2
+ import {
3
+ capitalizeFirstLetter,
4
+ getMaterialIconsJSON,
5
+ setThemeConfig,
6
+ } from '../helpers';
7
+ import { translate } from '../i18n';
2
8
  import { folderIcons } from '../icons';
3
- import * as helpers from './../helpers';
4
- import * as i18n from './../i18n';
5
9
 
6
10
  /** Command to toggle the folder icons. */
7
11
  export const changeFolderTheme = async () => {
@@ -19,37 +23,33 @@ export const changeFolderTheme = async () => {
19
23
  /** Show QuickPick items to select preferred configuration for the folder icons. */
20
24
  const showQuickPickItems = (activeTheme: string) => {
21
25
  const options = folderIcons.map(
22
- (theme): vscode.QuickPickItem => ({
23
- description: helpers.capitalizeFirstLetter(theme.name),
26
+ (theme): QuickPickItem => ({
27
+ description: capitalizeFirstLetter(theme.name),
24
28
  detail:
25
29
  theme.name === 'none'
26
- ? i18n.translate('folders.disabled')
27
- : i18n.translate(
30
+ ? translate('folders.disabled')
31
+ : translate(
28
32
  'folders.theme.description',
29
- helpers.capitalizeFirstLetter(theme.name)
33
+ capitalizeFirstLetter(theme.name)
30
34
  ),
31
35
  label: theme.name === activeTheme ? '\u2714' : '\u25FB',
32
36
  })
33
37
  );
34
38
 
35
- return vscode.window.showQuickPick(options, {
36
- placeHolder: i18n.translate('folders.toggleIcons'),
39
+ return codeWindow.showQuickPick(options, {
40
+ placeHolder: translate('folders.toggleIcons'),
37
41
  ignoreFocusOut: false,
38
42
  matchOnDescription: true,
39
43
  });
40
44
  };
41
45
 
42
46
  /** Handle the actions from the QuickPick. */
43
- const handleQuickPickActions = (value: vscode.QuickPickItem) => {
47
+ const handleQuickPickActions = (value: QuickPickItem) => {
44
48
  if (!value || !value.description) return;
45
- return helpers.setThemeConfig(
46
- 'folders.theme',
47
- value.description.toLowerCase(),
48
- true
49
- );
49
+ return setThemeConfig('folders.theme', value.description.toLowerCase(), true);
50
50
  };
51
51
 
52
52
  /** Get the current folder theme. */
53
53
  export const getFolderIconTheme = (): string => {
54
- return helpers.getMaterialIconsJSON()?.options?.folders?.theme ?? '';
54
+ return getMaterialIconsJSON()?.options?.folders?.theme ?? '';
55
55
  };
@@ -1,6 +1,6 @@
1
- import * as vscode from 'vscode';
2
- import * as helpers from './../helpers';
3
- import * as i18n from './../i18n';
1
+ import { QuickPickItem, window as codeWindow } from 'vscode';
2
+ import { getMaterialIconsJSON, setThemeConfig } from '../helpers';
3
+ import { translate } from '../i18n';
4
4
 
5
5
  /** Command to toggle grayscale. */
6
6
  export const toggleGrayscale = async () => {
@@ -17,32 +17,32 @@ export const toggleGrayscale = async () => {
17
17
 
18
18
  /** Show QuickPick items to select preferred configuration for grayscale icons. */
19
19
  const showQuickPickItems = (status: boolean) => {
20
- const on: vscode.QuickPickItem = {
21
- description: i18n.translate('toggleSwitch.on'),
22
- detail: i18n.translate('grayscale.enable'),
20
+ const on: QuickPickItem = {
21
+ description: translate('toggleSwitch.on'),
22
+ detail: translate('grayscale.enable'),
23
23
  label: status ? '\u2714' : '\u25FB',
24
24
  };
25
- const off: vscode.QuickPickItem = {
26
- description: i18n.translate('toggleSwitch.off'),
27
- detail: i18n.translate('grayscale.disable'),
25
+ const off: QuickPickItem = {
26
+ description: translate('toggleSwitch.off'),
27
+ detail: translate('grayscale.disable'),
28
28
  label: !status ? '\u2714' : '\u25FB',
29
29
  };
30
- return vscode.window.showQuickPick([on, off], {
31
- placeHolder: i18n.translate('grayscale.toggle'),
30
+ return codeWindow.showQuickPick([on, off], {
31
+ placeHolder: translate('grayscale.toggle'),
32
32
  ignoreFocusOut: false,
33
33
  matchOnDescription: true,
34
34
  });
35
35
  };
36
36
 
37
37
  /** Handle the actions from the QuickPick. */
38
- const handleQuickPickActions = (value: vscode.QuickPickItem) => {
38
+ const handleQuickPickActions = (value: QuickPickItem) => {
39
39
  if (!value || !value.description) return;
40
40
  switch (value.description) {
41
- case i18n.translate('toggleSwitch.on'): {
42
- return helpers.setThemeConfig('saturation', 0, true);
41
+ case translate('toggleSwitch.on'): {
42
+ return setThemeConfig('saturation', 0, true);
43
43
  }
44
- case i18n.translate('toggleSwitch.off'): {
45
- return helpers.setThemeConfig('saturation', 1, true);
44
+ case translate('toggleSwitch.off'): {
45
+ return setThemeConfig('saturation', 1, true);
46
46
  }
47
47
  default:
48
48
  return;
@@ -51,5 +51,5 @@ const handleQuickPickActions = (value: vscode.QuickPickItem) => {
51
51
 
52
52
  /** Is grayscale icons enabled? */
53
53
  export const checkGrayscaleStatus = (): boolean => {
54
- return helpers.getMaterialIconsJSON()?.options?.saturation === 0;
54
+ return getMaterialIconsJSON()?.options?.saturation === 0;
55
55
  };
@@ -1,7 +1,7 @@
1
- import * as vscode from 'vscode';
2
- import { IconPack } from '../models/index';
3
- import * as helpers from './../helpers';
4
- import * as i18n from './../i18n';
1
+ import { QuickPickItem, window as codeWindow } from 'vscode';
2
+ import { getMaterialIconsJSON, setThemeConfig, toTitleCase } from '../helpers';
3
+ import { translate } from '../i18n';
4
+ import { IconPack } from '../models';
5
5
 
6
6
  /** Command to toggle the icons packs */
7
7
  export const toggleIconPacks = async () => {
@@ -19,14 +19,14 @@ export const toggleIconPacks = async () => {
19
19
  /** Show QuickPick items to select preferred configuration for the icon packs. */
20
20
  const showQuickPickItems = (activePack: string) => {
21
21
  const packs = [...getAllIconPacks().sort(), 'none'];
22
- const options = packs.map((pack): vscode.QuickPickItem => {
23
- const packLabel = helpers.toTitleCase(pack.replace('_', ' + '));
22
+ const options = packs.map((pack): QuickPickItem => {
23
+ const packLabel = toTitleCase(pack.replace('_', ' + '));
24
24
  const active = isPackActive(activePack, pack);
25
25
  const iconPacksDeactivated = pack === 'none' && activePack === '';
26
26
 
27
27
  return {
28
28
  description: packLabel,
29
- detail: i18n.translate(
29
+ detail: translate(
30
30
  `iconPacks.${pack === 'none' ? 'disabled' : 'description'}`,
31
31
  packLabel
32
32
  ),
@@ -34,8 +34,8 @@ const showQuickPickItems = (activePack: string) => {
34
34
  };
35
35
  });
36
36
 
37
- return vscode.window.showQuickPick(options, {
38
- placeHolder: i18n.translate('iconPacks.selectPack'),
37
+ return codeWindow.showQuickPick(options, {
38
+ placeHolder: translate('iconPacks.selectPack'),
39
39
  ignoreFocusOut: false,
40
40
  matchOnDescription: true,
41
41
  matchOnDetail: true,
@@ -43,19 +43,15 @@ const showQuickPickItems = (activePack: string) => {
43
43
  };
44
44
 
45
45
  /** Handle the actions from the QuickPick. */
46
- const handleQuickPickActions = (value: vscode.QuickPickItem) => {
46
+ const handleQuickPickActions = (value: QuickPickItem) => {
47
47
  if (!value || !value.description) return;
48
48
  const decision = value.description.replace(' + ', '_').toLowerCase();
49
49
 
50
- helpers.setThemeConfig(
51
- 'activeIconPack',
52
- decision === 'none' ? '' : decision,
53
- true
54
- );
50
+ setThemeConfig('activeIconPack', decision === 'none' ? '' : decision, true);
55
51
  };
56
52
 
57
53
  const getActiveIconPack = (): string => {
58
- return helpers.getMaterialIconsJSON()?.options?.activeIconPack ?? '';
54
+ return getMaterialIconsJSON()?.options?.activeIconPack ?? '';
59
55
  };
60
56
 
61
57
  /** Get all packs that can be used in this icon theme. */
@@ -1,4 +1,4 @@
1
- import * as vscode from 'vscode';
1
+ import { commands } from 'vscode';
2
2
  import { activateIcons } from './activate';
3
3
  import { toggleExplorerArrows } from './explorerArrows';
4
4
  import { changeFolderColor } from './folderColor';
@@ -9,7 +9,7 @@ import { changeOpacity } from './opacity';
9
9
  import { restoreDefaultConfig } from './restoreConfig';
10
10
  import { changeSaturation } from './saturation';
11
11
 
12
- const commands: { [commmand: string]: () => Promise<void> } = {
12
+ const extensionCommands: { [commmand: string]: () => Promise<void> } = {
13
13
  activateIcons,
14
14
  toggleIconPacks,
15
15
  changeFolderTheme,
@@ -21,9 +21,9 @@ const commands: { [commmand: string]: () => Promise<void> } = {
21
21
  changeSaturation,
22
22
  };
23
23
 
24
- export const registered = Object.keys(commands).map((commandName) => {
25
- const callCommand = () => commands[commandName]();
26
- return vscode.commands.registerCommand(
24
+ export const registered = Object.keys(extensionCommands).map((commandName) => {
25
+ const callCommand = () => extensionCommands[commandName]();
26
+ return commands.registerCommand(
27
27
  `material-icon-theme.${commandName}`,
28
28
  callCommand
29
29
  );
@@ -1,7 +1,7 @@
1
- import * as vscode from 'vscode';
1
+ import { window as codeWindow } from 'vscode';
2
+ import { getMaterialIconsJSON, setThemeConfig } from '../helpers';
3
+ import { translate } from '../i18n';
2
4
  import { getDefaultIconOptions, validateOpacityValue } from '../icons';
3
- import * as helpers from './../helpers';
4
- import * as i18n from './../i18n';
5
5
 
6
6
  /** Command to toggle the folder icons. */
7
7
  export const changeOpacity = async () => {
@@ -18,8 +18,8 @@ export const changeOpacity = async () => {
18
18
 
19
19
  /** Show input to enter the opacity value. */
20
20
  const showInput = (opacity: number) => {
21
- return vscode.window.showInputBox({
22
- placeHolder: i18n.translate('opacity.inputPlaceholder'),
21
+ return codeWindow.showInputBox({
22
+ placeHolder: translate('opacity.inputPlaceholder'),
23
23
  ignoreFocusOut: true,
24
24
  value: opacity.toString(),
25
25
  validateInput: validateOpacityInput,
@@ -29,7 +29,7 @@ const showInput = (opacity: number) => {
29
29
  /** Validate the opacity value which was inserted by the user. */
30
30
  const validateOpacityInput = (opacityInput: string) => {
31
31
  if (!validateOpacityValue(+opacityInput)) {
32
- return i18n.translate('opacity.wrongValue');
32
+ return translate('opacity.wrongValue');
33
33
  }
34
34
  return undefined;
35
35
  };
@@ -37,10 +37,10 @@ const validateOpacityInput = (opacityInput: string) => {
37
37
  /** Get the current value of the opacity of the icons. */
38
38
  export const getCurrentOpacityValue = (): number => {
39
39
  const defaultOptions = getDefaultIconOptions();
40
- const config = helpers.getMaterialIconsJSON();
40
+ const config = getMaterialIconsJSON();
41
41
  return config?.options?.opacity ?? defaultOptions.opacity;
42
42
  };
43
43
 
44
44
  const setOpacityConfig = (opacity: number) => {
45
- return helpers.setThemeConfig('opacity', opacity, true);
45
+ return setThemeConfig('opacity', opacity, true);
46
46
  };
@@ -1,7 +1,7 @@
1
- import * as vscode from 'vscode';
1
+ import { window as codeWindow } from 'vscode';
2
+ import { getMaterialIconsJSON, setThemeConfig } from '../helpers';
3
+ import { translate } from '../i18n';
2
4
  import { getDefaultIconOptions, validateSaturationValue } from '../icons';
3
- import * as helpers from './../helpers';
4
- import * as i18n from './../i18n';
5
5
 
6
6
  /** Command to toggle the folder icons. */
7
7
  export const changeSaturation = async () => {
@@ -18,8 +18,8 @@ export const changeSaturation = async () => {
18
18
 
19
19
  /** Show input to enter the saturation value. */
20
20
  const showInput = (saturation: number) => {
21
- return vscode.window.showInputBox({
22
- placeHolder: i18n.translate('saturation.inputPlaceholder'),
21
+ return codeWindow.showInputBox({
22
+ placeHolder: translate('saturation.inputPlaceholder'),
23
23
  ignoreFocusOut: true,
24
24
  value: saturation.toString(),
25
25
  validateInput: validateSaturationInput,
@@ -29,7 +29,7 @@ const showInput = (saturation: number) => {
29
29
  /** Validate the saturation value which was inserted by the user. */
30
30
  const validateSaturationInput = (saturationInput: string) => {
31
31
  if (!validateSaturationValue(+saturationInput)) {
32
- return i18n.translate('saturation.wrongValue');
32
+ return translate('saturation.wrongValue');
33
33
  }
34
34
  return undefined;
35
35
  };
@@ -37,10 +37,10 @@ const validateSaturationInput = (saturationInput: string) => {
37
37
  /** Get the current value of the saturation of the icons. */
38
38
  export const getCurrentSaturationValue = (): number => {
39
39
  const defaultOptions = getDefaultIconOptions();
40
- const config = helpers.getMaterialIconsJSON();
40
+ const config = getMaterialIconsJSON();
41
41
  return config?.options?.saturation ?? defaultOptions.saturation;
42
42
  };
43
43
 
44
44
  const setSaturationConfig = (saturation: number) => {
45
- return helpers.setThemeConfig('saturation', saturation, true);
45
+ return setThemeConfig('saturation', saturation, true);
46
46
  };
package/src/extension.ts CHANGED
@@ -1,34 +1,29 @@
1
1
  'use strict';
2
2
 
3
- import * as vscode from 'vscode';
4
- import * as commands from './commands';
3
+ import { ExtensionContext, window as codeWindow, workspace } from 'vscode';
4
+ import { registered } from './commands';
5
5
  import { detectConfigChanges } from './helpers/changeDetection';
6
- import { checkThemeStatus, versionKey } from './helpers/versioning';
7
- import * as i18n from './i18n';
8
- import { showStartMessages } from './messages/start';
6
+ import { initTranslations } from './i18n';
9
7
 
10
8
  /**
11
9
  * This method is called when the extension is activated.
12
10
  * It initializes the core functionality of the extension.
13
11
  */
14
- export const activate = async (context: vscode.ExtensionContext) => {
12
+ export const activate = async (context: ExtensionContext) => {
15
13
  try {
16
- await i18n.initTranslations();
17
- context.globalState.setKeysForSync([versionKey]);
18
- const status = await checkThemeStatus(context.globalState);
19
- showStartMessages(status);
14
+ await initTranslations();
20
15
 
21
16
  // Subscribe to the extension commands
22
- context.subscriptions.push(...commands.registered);
17
+ context.subscriptions.push(...registered);
23
18
 
24
19
  // Initially trigger the config change detection
25
20
  detectConfigChanges();
26
21
 
27
22
  // Observe changes in the config
28
- vscode.workspace.onDidChangeConfiguration(detectConfigChanges);
23
+ workspace.onDidChangeConfiguration(detectConfigChanges);
29
24
 
30
25
  // Observe if the window got focused to trigger config changes
31
- vscode.window.onDidChangeWindowState((state) => {
26
+ codeWindow.onDidChangeWindowState((state) => {
32
27
  if (state.focused) {
33
28
  detectConfigChanges();
34
29
  }
@@ -1,8 +1,8 @@
1
+ import { dirname, join } from 'path';
1
2
  import { IconJsonOptions } from '../models';
2
- import * as path from 'path';
3
3
 
4
4
  export const getCustomIconPaths = (options: IconJsonOptions) => {
5
5
  return Object.values(options?.files?.associations ?? {})
6
6
  .filter((v) => v.match(/^[.\/]+/)) // <- custom dirs have a relative path to the dist folder
7
- .map((v) => path.dirname(path.join(__dirname, v)));
7
+ .map((v) => dirname(join(__dirname, v)));
8
8
  };
@@ -1,19 +1,18 @@
1
- import * as fs from 'fs';
2
- import * as path from 'path';
3
- import * as vscode from 'vscode';
1
+ import { readFileSync } from 'fs';
2
+ import { join } from 'path';
3
+ import { extensions, workspace } from 'vscode';
4
4
  import { iconJsonName } from '../icons/index';
5
5
  import { IconConfiguration } from '../models/index';
6
- import * as reloadMessages from './../messages/reload';
7
6
 
8
7
  /** Get configuration of vs code. */
9
8
  export const getConfig = (section?: string) => {
10
- return vscode.workspace.getConfiguration(section);
9
+ return workspace.getConfiguration(section);
11
10
  };
12
11
 
13
12
  /** Get list of configuration entries of package.json */
14
13
  export const getConfigProperties = (): { [config: string]: unknown } => {
15
- return vscode.extensions.getExtension('PKief.material-icon-theme')
16
- ?.packageJSON?.contributes?.configuration?.properties;
14
+ return extensions.getExtension('PKief.material-icon-theme')?.packageJSON
15
+ ?.contributes?.configuration?.properties;
17
16
  };
18
17
 
19
18
  /** Update configuration of vs code. */
@@ -60,16 +59,15 @@ export const isThemeNotVisible = (): boolean => {
60
59
  };
61
60
 
62
61
  /** Return the path of the extension in the file system. */
63
- export const getExtensionPath = () =>
64
- vscode.extensions.getExtension('PKief.material-icon-theme')?.extensionPath ??
65
- '';
62
+ const getExtensionPath = () =>
63
+ extensions.getExtension('PKief.material-icon-theme')?.extensionPath ?? '';
66
64
 
67
65
  /** Get the configuration of the icons as JSON Object */
68
66
  export const getMaterialIconsJSON = (): IconConfiguration => {
69
- const iconJSONPath = path.join(getExtensionPath(), 'dist', iconJsonName);
67
+ const iconJSONPath = join(getExtensionPath(), 'dist', iconJsonName);
70
68
 
71
69
  try {
72
- const data = fs.readFileSync(iconJSONPath, 'utf8');
70
+ const data = readFileSync(iconJSONPath, 'utf8');
73
71
  return JSON.parse(data);
74
72
  } catch (error) {
75
73
  console.error(error);
@@ -77,16 +75,6 @@ export const getMaterialIconsJSON = (): IconConfiguration => {
77
75
  }
78
76
  };
79
77
 
80
- /** Reload vs code window */
81
- export const promptToReload = async () => {
82
- const result = await reloadMessages.showConfirmToReloadMessage();
83
- if (result) reloadWindow();
84
- };
85
-
86
- const reloadWindow = () => {
87
- return vscode.commands.executeCommand('workbench.action.reloadWindow');
88
- };
89
-
90
78
  /** Capitalize the first letter of a string */
91
79
  export const capitalizeFirstLetter = (name: string): string =>
92
80
  name.charAt(0).toUpperCase() + name.slice(1);
package/src/i18n/index.ts CHANGED
@@ -1,9 +1,9 @@
1
- import * as vscode from 'vscode';
1
+ import { env } from 'vscode';
2
2
  import { getObjectPropertyValue } from '../helpers/objects';
3
3
  import { Translation } from '../models';
4
4
 
5
5
  // Get current language of the vs code workspace
6
- export const getCurrentLanguage = (): string => vscode.env.language;
6
+ export const getCurrentLanguage = (): string => env.language;
7
7
 
8
8
  let currentTranslation: Translation;
9
9
  let fallbackTranslation: Translation;
@@ -1,13 +1,8 @@
1
1
  import { Translation } from '../models';
2
2
 
3
3
  export const translation: Translation = {
4
- themeInstalled: 'Material Icon Theme wurde installiert.',
5
- howToActivate: 'Wie Icons aktivieren?',
6
4
  activate: 'Aktivieren',
7
5
  activated: 'Material Icon Theme ist jetzt aktiviert.',
8
- neverShowAgain: 'Nicht mehr zeigen',
9
- themeUpdated: 'Das Material Icon Theme wurde aktualisiert.',
10
- readChangelog: 'Änderungsprotokoll lesen',
11
6
  iconPacks: {
12
7
  selectPack: 'Icon Pack auswählen',
13
8
  description: "Das '%0' Icon Pack auswählen",
@@ -45,10 +40,4 @@ export const translation: Translation = {
45
40
  inputPlaceholder: 'Wert der Sättigung (zwischen 0 und 1)',
46
41
  wrongValue: 'Der Wert muss zwischen 0 und 1 liegen!',
47
42
  },
48
- confirmReload:
49
- 'VS Code muss neu gestartet werden, um die Änderungen an den Icons zu aktivieren.',
50
- reload: 'Neu starten',
51
- outdatedVersion:
52
- 'VS Code muss aktualisiert werden, um diesen Befehl auszuführen.',
53
- updateVSCode: 'VS Code aktualisieren',
54
43
  };
@@ -1,13 +1,8 @@
1
1
  import { Translation } from '../models';
2
2
 
3
3
  export const translation: Translation = {
4
- themeInstalled: 'Material Icon Theme has been installed.',
5
- howToActivate: 'How to activate icons',
6
4
  activate: 'Activate',
7
5
  activated: 'Material Icon Theme is active.',
8
- neverShowAgain: 'Never show again',
9
- themeUpdated: 'Material Icon Theme has been updated.',
10
- readChangelog: 'Read changelog',
11
6
  iconPacks: {
12
7
  selectPack: 'Select an icon pack',
13
8
  description: "Select the '%0' icon pack",
@@ -25,22 +20,17 @@ export const translation: Translation = {
25
20
  },
26
21
  opacity: {
27
22
  inputPlaceholder: 'Opacity value (between 0 and 1)',
28
- wrongValue: 'The value must be between 0 and 1!',
23
+ wrongValue: 'Please enter a floating-point number between 0 and 1.',
29
24
  },
30
25
  toggleSwitch: {
31
26
  on: 'ON',
32
27
  off: 'OFF',
33
28
  },
34
29
  explorerArrows: {
35
- toggle: 'Toggle folder arrows',
36
- enable: 'Show folder arrows',
37
- disable: 'Hide folder arrows',
30
+ toggle: 'Toggle folder arrows in Explorer',
31
+ enable: 'Show folder arrows in Explorer',
32
+ disable: 'Hide folder arrows in Explorer',
38
33
  },
39
- confirmReload:
40
- 'You have to restart VS Code to activate the changes to the icons.',
41
- reload: 'Restart',
42
- outdatedVersion: 'You have to update VS Code to use this command.',
43
- updateVSCode: 'Update VS Code',
44
34
  grayscale: {
45
35
  toggle: 'Toggle grayscale icons',
46
36
  enable: 'Enable grayscale icons',
@@ -48,6 +38,6 @@ export const translation: Translation = {
48
38
  },
49
39
  saturation: {
50
40
  inputPlaceholder: 'Saturation value (between 0 and 1)',
51
- wrongValue: 'The value must be between 0 and 1!',
41
+ wrongValue: 'Please enter a floating-point number between 0 and 1.',
52
42
  },
53
43
  };
@@ -1,13 +1,8 @@
1
1
  import { Translation } from '../models';
2
2
 
3
3
  export const translation: Translation = {
4
- themeInstalled: 'Material Icon Theme se ha instalado.',
5
- howToActivate: 'Cómo activar los iconos',
6
4
  activate: 'Activar',
7
5
  activated: 'Material Icon Theme está activado.',
8
- neverShowAgain: 'No mostrar más',
9
- themeUpdated: 'Material Icon Theme se ha actualizado.',
10
- readChangelog: 'Leer changelog',
11
6
  iconPacks: {
12
7
  selectPack: 'Seleccione un paquete de iconos',
13
8
  description: "Seleccione el paquete de iconos '%0'",
@@ -36,11 +31,6 @@ export const translation: Translation = {
36
31
  enable: 'Mostrar flechas de carpeta',
37
32
  disable: 'Ocultar las flechas de carpetas',
38
33
  },
39
- confirmReload:
40
- 'Debe reiniciar VS Code para activar los cambios en los iconos.',
41
- reload: 'Reiniciar',
42
- outdatedVersion: 'Debe actualizar VS Code para utilizar este comando.',
43
- updateVSCode: 'Actualizar VS Code',
44
34
  grayscale: {
45
35
  toggle: 'Alternar los iconos en escala de grises',
46
36
  enable: 'Activar los iconos en escala de grises',
@@ -1,13 +1,8 @@
1
1
  import { Translation } from '../models';
2
2
 
3
3
  export const translation: Translation = {
4
- themeInstalled: 'Material Icon Theme a été installé.',
5
- howToActivate: 'Comment activer les icônes',
6
4
  activate: 'Activer',
7
5
  activated: 'Material Icon Theme est actif.',
8
- neverShowAgain: 'Ne plus afficher',
9
- themeUpdated: 'Material Icon Theme a été mis à jour.',
10
- readChangelog: 'Lire la liste des changements',
11
6
  iconPacks: {
12
7
  selectPack: "Sélectionnez un pack d'icônes",
13
8
  description: "Sélectionner le pack d'icônes '%0'",
@@ -36,11 +31,6 @@ export const translation: Translation = {
36
31
  enable: 'Afficher les flèches du dossier',
37
32
  disable: 'Cacher les flèches de dossier',
38
33
  },
39
- confirmReload: 'Veuillez redémarrer VS Code pour activer les icônes',
40
- reload: 'Redémarrer',
41
- outdatedVersion:
42
- 'Vous devez mettre VS Code à jour pour utiliser cette commande.',
43
- updateVSCode: 'Mettre VS Code à jour.',
44
34
  grayscale: {
45
35
  toggle: 'Basculer les icônes en niveaux de gris',
46
36
  enable: 'Activer les icônes en niveaux de gris',
@@ -1,13 +1,8 @@
1
1
  import { Translation } from '../models';
2
2
 
3
3
  export const translation: Translation = {
4
- themeInstalled: 'Material Icon Theme がインストールされました。',
5
- howToActivate: 'アイコンの有効化方法',
6
4
  activate: '有効化',
7
5
  activated: 'Material Icon Theme は有効です。',
8
- neverShowAgain: '今後は表示しない',
9
- themeUpdated: 'Material Icon Theme が更新されました。',
10
- readChangelog: '変更履歴を読む',
11
6
  iconPacks: {
12
7
  selectPack: 'アイコンパックを選択する',
13
8
  description: "アイコンパック '%0' を選択する",
@@ -36,12 +31,6 @@ export const translation: Translation = {
36
31
  enable: 'フォルダーの矢印を表示する',
37
32
  disable: 'フォルダーの矢印を隠す',
38
33
  },
39
- confirmReload:
40
- 'アイコンの変更を反映するには VS Code を再起動する必要があります。',
41
- reload: '再起動',
42
- outdatedVersion:
43
- 'このコマンドを使用するには VS Code を更新する必要があります。',
44
- updateVSCode: 'VS Code を更新',
45
34
  grayscale: {
46
35
  toggle: 'グレースケールアイコンを切り替える',
47
36
  enable: 'グレースケールアイコンを有効にする',