material-icon-theme 4.23.0 → 4.23.1

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 (83) hide show
  1. package/.eslintrc.json +51 -51
  2. package/.github/workflows/build.yml +45 -45
  3. package/.github/workflows/color-check.yml +22 -22
  4. package/.github/workflows/release.yml +73 -73
  5. package/.vscodeignore +21 -21
  6. package/CHANGELOG.md +1292 -1281
  7. package/README.md +199 -199
  8. package/icons/craco.svg +45 -45
  9. package/icons/folder-changesets-open.svg +5 -5
  10. package/icons/folder-changesets.svg +2 -2
  11. package/icons/folder-decorators-open.svg +2 -2
  12. package/icons/folder-decorators.svg +5 -5
  13. package/icons/folder-supabase-open.svg +5 -5
  14. package/icons/folder-supabase.svg +2 -2
  15. package/icons/sonarcloud.svg +4 -4
  16. package/icons/stylable.svg +10 -10
  17. package/icons/supabase.svg +4 -4
  18. package/icons/vitest.svg +6 -0
  19. package/images/contributors.png +0 -0
  20. package/images/fileIcons.png +0 -0
  21. package/package.json +252 -252
  22. package/package.nls.de.json +32 -32
  23. package/package.nls.es.json +29 -29
  24. package/package.nls.fr.json +29 -29
  25. package/package.nls.ja.json +32 -32
  26. package/package.nls.json +32 -32
  27. package/package.nls.nl.json +32 -32
  28. package/package.nls.pl.json +32 -32
  29. package/package.nls.pt-BR.json +29 -29
  30. package/package.nls.pt-PT.json +29 -29
  31. package/package.nls.ru.json +29 -29
  32. package/package.nls.zh-CN.json +29 -29
  33. package/package.nls.zh-TW.json +29 -29
  34. package/src/commands/activate.ts +28 -28
  35. package/src/commands/explorerArrows.ts +55 -55
  36. package/src/commands/folderColor.ts +96 -96
  37. package/src/commands/folders.ts +55 -55
  38. package/src/commands/grayscale.ts +55 -55
  39. package/src/commands/iconPacks.ts +64 -64
  40. package/src/commands/index.ts +30 -30
  41. package/src/commands/opacity.ts +46 -46
  42. package/src/commands/saturation.ts +46 -46
  43. package/src/extension.ts +37 -37
  44. package/src/helpers/customIcons.ts +8 -8
  45. package/src/helpers/index.ts +88 -88
  46. package/src/i18n/index.ts +78 -78
  47. package/src/i18n/lang-de.ts +43 -43
  48. package/src/i18n/lang-en.ts +43 -43
  49. package/src/i18n/lang-es.ts +43 -43
  50. package/src/i18n/lang-fr.ts +43 -43
  51. package/src/i18n/lang-ja.ts +43 -43
  52. package/src/i18n/lang-nl.ts +43 -43
  53. package/src/i18n/lang-pl.ts +43 -43
  54. package/src/i18n/lang-pt-br.ts +43 -43
  55. package/src/i18n/lang-pt-pt.ts +43 -43
  56. package/src/i18n/lang-ru.ts +43 -43
  57. package/src/i18n/lang-uk.ts +43 -43
  58. package/src/i18n/lang-zh-cn.ts +43 -43
  59. package/src/i18n/lang-zh-tw.ts +43 -43
  60. package/src/icons/fileIcons.ts +2197 -2182
  61. package/src/icons/folderIcons.ts +806 -806
  62. package/src/icons/generator/folderGenerator.ts +340 -340
  63. package/src/icons/generator/iconOpacity.ts +111 -111
  64. package/src/icons/generator/iconSaturation.ts +140 -140
  65. package/src/icons/generator/jsonGenerator.ts +191 -191
  66. package/src/icons/languageIcons.ts +141 -141
  67. package/src/models/i18n/translation.ts +41 -41
  68. package/src/models/iconConfiguration.ts +37 -37
  69. package/src/models/icons/iconJsonOptions.ts +21 -21
  70. package/src/models/index.ts +3 -3
  71. package/src/scripts/contributors/index.ts +138 -138
  72. package/src/scripts/helpers/screenshots.ts +32 -32
  73. package/src/scripts/icons/checks/checkIconAvailability.ts +215 -215
  74. package/src/scripts/icons/checks/checkIconConflicts.ts +152 -152
  75. package/src/scripts/icons/checks/checkIconUsage.ts +137 -137
  76. package/src/scripts/icons/checks/index.ts +7 -7
  77. package/src/scripts/preview/index.ts +40 -40
  78. package/src/scripts/preview/preview.ts +163 -163
  79. package/src/test/runTest.ts +26 -26
  80. package/src/test/spec/i18n/i18n.spec.ts +54 -54
  81. package/src/test/spec/icons/fileIcons.spec.ts +250 -250
  82. package/src/test/spec/icons/folderIcons.spec.ts +418 -418
  83. package/src/test/spec/icons/languageIcons.spec.ts +184 -184
@@ -1,88 +1,88 @@
1
- import { readFileSync } from 'fs';
2
- import { join } from 'path';
3
- import { extensions, workspace } from 'vscode';
4
- import { iconJsonName } from '../icons/index';
5
- import { IconConfiguration } from '../models/index';
6
-
7
- /** Get configuration of vs code. */
8
- export const getConfig = (section?: string) => {
9
- return workspace.getConfiguration(section);
10
- };
11
-
12
- /** Get list of configuration entries of package.json */
13
- export const getConfigProperties = (): { [config: string]: unknown } => {
14
- return extensions.getExtension('PKief.material-icon-theme')?.packageJSON
15
- ?.contributes?.configuration?.properties;
16
- };
17
-
18
- /** Update configuration of vs code. */
19
- export const setConfig = (
20
- section: string,
21
- value: any,
22
- global: boolean = false
23
- ) => {
24
- return getConfig().update(section, value, global);
25
- };
26
-
27
- export const getThemeConfig = (section: string) => {
28
- return getConfig('material-icon-theme').inspect(section);
29
- };
30
-
31
- /** Set the config of the theme. */
32
- export const setThemeConfig = (
33
- section: string,
34
- value: any,
35
- global: boolean = false
36
- ) => {
37
- return getConfig('material-icon-theme').update(section, value, global);
38
- };
39
-
40
- /**
41
- * Checks if the theme is the active icon theme
42
- * @param{boolean} global false by default
43
- */
44
- export const isThemeActivated = (global: boolean = false): boolean => {
45
- return global
46
- ? getConfig().inspect('workbench.iconTheme')?.globalValue ===
47
- 'material-icon-theme'
48
- : getConfig().inspect('workbench.iconTheme')?.workspaceValue ===
49
- 'material-icon-theme';
50
- };
51
-
52
- /** Checks if the theme is not the active icon theme */
53
- export const isThemeNotVisible = (): boolean => {
54
- const config = getConfig().inspect('workbench.iconTheme');
55
- return (
56
- (!isThemeActivated(true) && !config?.workspaceValue) || // no workspace and not global
57
- (!isThemeActivated() && !!config?.workspaceValue)
58
- );
59
- };
60
-
61
- /** Return the path of the extension in the file system. */
62
- const getExtensionPath = () =>
63
- extensions.getExtension('PKief.material-icon-theme')?.extensionPath ?? '';
64
-
65
- /** Get the configuration of the icons as JSON Object */
66
- export const getMaterialIconsJSON = (): IconConfiguration => {
67
- const iconJSONPath = join(getExtensionPath(), 'dist', iconJsonName);
68
-
69
- try {
70
- const data = readFileSync(iconJSONPath, 'utf8');
71
- return JSON.parse(data);
72
- } catch (error) {
73
- console.error(error);
74
- return {};
75
- }
76
- };
77
-
78
- /** Capitalize the first letter of a string */
79
- export const capitalizeFirstLetter = (name: string): string =>
80
- name.charAt(0).toUpperCase() + name.slice(1);
81
-
82
- /** TitleCase all words in a string */
83
- export const toTitleCase = (value: string) => {
84
- return value.replace(
85
- /\w\S*/g,
86
- (text) => text.charAt(0).toUpperCase() + text.substr(1).toLowerCase()
87
- );
88
- };
1
+ import { readFileSync } from 'fs';
2
+ import { join } from 'path';
3
+ import { extensions, workspace } from 'vscode';
4
+ import { iconJsonName } from '../icons/index';
5
+ import { IconConfiguration } from '../models/index';
6
+
7
+ /** Get configuration of vs code. */
8
+ export const getConfig = (section?: string) => {
9
+ return workspace.getConfiguration(section);
10
+ };
11
+
12
+ /** Get list of configuration entries of package.json */
13
+ export const getConfigProperties = (): { [config: string]: unknown } => {
14
+ return extensions.getExtension('PKief.material-icon-theme')?.packageJSON
15
+ ?.contributes?.configuration?.properties;
16
+ };
17
+
18
+ /** Update configuration of vs code. */
19
+ export const setConfig = (
20
+ section: string,
21
+ value: any,
22
+ global: boolean = false
23
+ ) => {
24
+ return getConfig().update(section, value, global);
25
+ };
26
+
27
+ export const getThemeConfig = (section: string) => {
28
+ return getConfig('material-icon-theme').inspect(section);
29
+ };
30
+
31
+ /** Set the config of the theme. */
32
+ export const setThemeConfig = (
33
+ section: string,
34
+ value: any,
35
+ global: boolean = false
36
+ ) => {
37
+ return getConfig('material-icon-theme').update(section, value, global);
38
+ };
39
+
40
+ /**
41
+ * Checks if the theme is the active icon theme
42
+ * @param{boolean} global false by default
43
+ */
44
+ export const isThemeActivated = (global: boolean = false): boolean => {
45
+ return global
46
+ ? getConfig().inspect('workbench.iconTheme')?.globalValue ===
47
+ 'material-icon-theme'
48
+ : getConfig().inspect('workbench.iconTheme')?.workspaceValue ===
49
+ 'material-icon-theme';
50
+ };
51
+
52
+ /** Checks if the theme is not the active icon theme */
53
+ export const isThemeNotVisible = (): boolean => {
54
+ const config = getConfig().inspect('workbench.iconTheme');
55
+ return (
56
+ (!isThemeActivated(true) && !config?.workspaceValue) || // no workspace and not global
57
+ (!isThemeActivated() && !!config?.workspaceValue)
58
+ );
59
+ };
60
+
61
+ /** Return the path of the extension in the file system. */
62
+ const getExtensionPath = () =>
63
+ extensions.getExtension('PKief.material-icon-theme')?.extensionPath ?? '';
64
+
65
+ /** Get the configuration of the icons as JSON Object */
66
+ export const getMaterialIconsJSON = (): IconConfiguration => {
67
+ const iconJSONPath = join(getExtensionPath(), 'dist', iconJsonName);
68
+
69
+ try {
70
+ const data = readFileSync(iconJSONPath, 'utf8');
71
+ return JSON.parse(data);
72
+ } catch (error) {
73
+ console.error(error);
74
+ return {};
75
+ }
76
+ };
77
+
78
+ /** Capitalize the first letter of a string */
79
+ export const capitalizeFirstLetter = (name: string): string =>
80
+ name.charAt(0).toUpperCase() + name.slice(1);
81
+
82
+ /** TitleCase all words in a string */
83
+ export const toTitleCase = (value: string) => {
84
+ return value.replace(
85
+ /\w\S*/g,
86
+ (text) => text.charAt(0).toUpperCase() + text.substr(1).toLowerCase()
87
+ );
88
+ };
package/src/i18n/index.ts CHANGED
@@ -1,78 +1,78 @@
1
- import { env } from 'vscode';
2
- import { getObjectPropertyValue } from '../helpers/objects';
3
- import { Translation } from '../models';
4
-
5
- // Get current language of the vs code workspace
6
- export const getCurrentLanguage = (): string => env.language;
7
-
8
- let currentTranslation: Translation;
9
- let fallbackTranslation: Translation;
10
-
11
- const placeholder = '%';
12
-
13
- /** Initialize the translations */
14
- export const initTranslations = async () => {
15
- try {
16
- currentTranslation = await loadTranslation(getCurrentLanguage());
17
- fallbackTranslation = await loadTranslation('en');
18
- } catch (error) {
19
- console.error(error);
20
- }
21
- };
22
-
23
- /** Load the required translation */
24
- const loadTranslation = async (language: string) => {
25
- try {
26
- return await getTranslationObject(language);
27
- } catch (error) {
28
- return await getTranslationObject('en');
29
- }
30
- };
31
-
32
- /** Get the translation object of the separated translation files */
33
- const getTranslationObject = async (language: string): Promise<Translation> => {
34
- const lang = await import(/* webpackMode: "eager" */ `./lang-${language}`);
35
- return lang.translation as Translation;
36
- };
37
-
38
- /**
39
- * We look up the matching translation in the translation files.
40
- * If we cannot find a matching key in the file we use the fallback.
41
- * With optional parameters you can configure both the translations
42
- * and the fallback (required for testing purposes).
43
- * */
44
- export const getTranslationValue = (
45
- key: string,
46
- translations = currentTranslation,
47
- fallback = fallbackTranslation
48
- ): string | undefined => {
49
- return (
50
- getObjectPropertyValue(translations, key) ??
51
- getObjectPropertyValue(fallback, key)
52
- );
53
- };
54
-
55
- /**
56
- * The instant method is required for the translate pipe.
57
- * It helps to translate a word instantly.
58
- */
59
- export const translate = (key: string, ...variables: string[]): string => {
60
- const translation = getTranslationValue(key);
61
-
62
- if (variables.length === 0) return translation ?? key;
63
- return replace(translation, ...variables);
64
- };
65
-
66
- /**
67
- * The replace function will replace the current placeholder with the
68
- * data parameter from the translation. You can give it one or more optional
69
- * parameters ('variables').
70
- */
71
- export const replace = (value: string = '', ...variables: string[]) => {
72
- let translation: string = value;
73
- variables.forEach((variable, i) => {
74
- translation = translation.replace(`${placeholder}${i}`, variable);
75
- });
76
-
77
- return translation;
78
- };
1
+ import { env } from 'vscode';
2
+ import { getObjectPropertyValue } from '../helpers/objects';
3
+ import { Translation } from '../models';
4
+
5
+ // Get current language of the vs code workspace
6
+ export const getCurrentLanguage = (): string => env.language;
7
+
8
+ let currentTranslation: Translation;
9
+ let fallbackTranslation: Translation;
10
+
11
+ const placeholder = '%';
12
+
13
+ /** Initialize the translations */
14
+ export const initTranslations = async () => {
15
+ try {
16
+ currentTranslation = await loadTranslation(getCurrentLanguage());
17
+ fallbackTranslation = await loadTranslation('en');
18
+ } catch (error) {
19
+ console.error(error);
20
+ }
21
+ };
22
+
23
+ /** Load the required translation */
24
+ const loadTranslation = async (language: string) => {
25
+ try {
26
+ return await getTranslationObject(language);
27
+ } catch (error) {
28
+ return await getTranslationObject('en');
29
+ }
30
+ };
31
+
32
+ /** Get the translation object of the separated translation files */
33
+ const getTranslationObject = async (language: string): Promise<Translation> => {
34
+ const lang = await import(/* webpackMode: "eager" */ `./lang-${language}`);
35
+ return lang.translation as Translation;
36
+ };
37
+
38
+ /**
39
+ * We look up the matching translation in the translation files.
40
+ * If we cannot find a matching key in the file we use the fallback.
41
+ * With optional parameters you can configure both the translations
42
+ * and the fallback (required for testing purposes).
43
+ * */
44
+ export const getTranslationValue = (
45
+ key: string,
46
+ translations = currentTranslation,
47
+ fallback = fallbackTranslation
48
+ ): string | undefined => {
49
+ return (
50
+ getObjectPropertyValue(translations, key) ??
51
+ getObjectPropertyValue(fallback, key)
52
+ );
53
+ };
54
+
55
+ /**
56
+ * The instant method is required for the translate pipe.
57
+ * It helps to translate a word instantly.
58
+ */
59
+ export const translate = (key: string, ...variables: string[]): string => {
60
+ const translation = getTranslationValue(key);
61
+
62
+ if (variables.length === 0) return translation ?? key;
63
+ return replace(translation, ...variables);
64
+ };
65
+
66
+ /**
67
+ * The replace function will replace the current placeholder with the
68
+ * data parameter from the translation. You can give it one or more optional
69
+ * parameters ('variables').
70
+ */
71
+ export const replace = (value: string = '', ...variables: string[]) => {
72
+ let translation: string = value;
73
+ variables.forEach((variable, i) => {
74
+ translation = translation.replace(`${placeholder}${i}`, variable);
75
+ });
76
+
77
+ return translation;
78
+ };
@@ -1,43 +1,43 @@
1
- import { Translation } from '../models';
2
-
3
- export const translation: Translation = {
4
- activate: 'Aktivieren',
5
- activated: 'Material Icon Theme ist jetzt aktiviert.',
6
- iconPacks: {
7
- selectPack: 'Icon Pack auswählen',
8
- description: "Das '%0' Icon Pack auswählen",
9
- disabled: 'Icon Packs deaktivieren',
10
- },
11
- folders: {
12
- toggleIcons: 'Wähle ein Ordner Design',
13
- color: 'Wähle eine Ordner Farbe',
14
- hexCode: 'Gebe einen HEX Farbcode ein',
15
- wrongHexCode: 'Ungültiger HEX Farbcode',
16
- disabled: 'Keine Ordner Icons',
17
- theme: {
18
- description: "Wähle das '%0' Design",
19
- },
20
- },
21
- opacity: {
22
- inputPlaceholder: 'Wert der Deckkraft (zwischen 0 und 1)',
23
- wrongValue: 'Der Wert muss zwischen 0 und 1 liegen!',
24
- },
25
- toggleSwitch: {
26
- on: 'EIN',
27
- off: 'AUS',
28
- },
29
- explorerArrows: {
30
- toggle: 'Pfeile im Explorer anpassen',
31
- enable: 'Explorer Pfeile anzeigen',
32
- disable: 'Explorer Pfeile ausblenden',
33
- },
34
- grayscale: {
35
- toggle: 'Schaltet graustufige Icons um',
36
- enable: 'Aktiviert graustufige Icons',
37
- disable: 'Deaktiviert graustufige Icons',
38
- },
39
- saturation: {
40
- inputPlaceholder: 'Wert der Sättigung (zwischen 0 und 1)',
41
- wrongValue: 'Der Wert muss zwischen 0 und 1 liegen!',
42
- },
43
- };
1
+ import { Translation } from '../models';
2
+
3
+ export const translation: Translation = {
4
+ activate: 'Aktivieren',
5
+ activated: 'Material Icon Theme ist jetzt aktiviert.',
6
+ iconPacks: {
7
+ selectPack: 'Icon Pack auswählen',
8
+ description: "Das '%0' Icon Pack auswählen",
9
+ disabled: 'Icon Packs deaktivieren',
10
+ },
11
+ folders: {
12
+ toggleIcons: 'Wähle ein Ordner Design',
13
+ color: 'Wähle eine Ordner Farbe',
14
+ hexCode: 'Gebe einen HEX Farbcode ein',
15
+ wrongHexCode: 'Ungültiger HEX Farbcode',
16
+ disabled: 'Keine Ordner Icons',
17
+ theme: {
18
+ description: "Wähle das '%0' Design",
19
+ },
20
+ },
21
+ opacity: {
22
+ inputPlaceholder: 'Wert der Deckkraft (zwischen 0 und 1)',
23
+ wrongValue: 'Der Wert muss zwischen 0 und 1 liegen!',
24
+ },
25
+ toggleSwitch: {
26
+ on: 'EIN',
27
+ off: 'AUS',
28
+ },
29
+ explorerArrows: {
30
+ toggle: 'Pfeile im Explorer anpassen',
31
+ enable: 'Explorer Pfeile anzeigen',
32
+ disable: 'Explorer Pfeile ausblenden',
33
+ },
34
+ grayscale: {
35
+ toggle: 'Schaltet graustufige Icons um',
36
+ enable: 'Aktiviert graustufige Icons',
37
+ disable: 'Deaktiviert graustufige Icons',
38
+ },
39
+ saturation: {
40
+ inputPlaceholder: 'Wert der Sättigung (zwischen 0 und 1)',
41
+ wrongValue: 'Der Wert muss zwischen 0 und 1 liegen!',
42
+ },
43
+ };
@@ -1,43 +1,43 @@
1
- import { Translation } from '../models';
2
-
3
- export const translation: Translation = {
4
- activate: 'Activate',
5
- activated: 'Material Icon Theme is active.',
6
- iconPacks: {
7
- selectPack: 'Select an icon pack',
8
- description: "Select the '%0' icon pack",
9
- disabled: 'Disable icon packs',
10
- },
11
- folders: {
12
- toggleIcons: 'Pick a folder theme',
13
- color: 'Choose a folder color',
14
- hexCode: 'Insert a HEX color code',
15
- wrongHexCode: 'Invalid HEX color code!',
16
- disabled: 'No folder icons',
17
- theme: {
18
- description: "Select the '%0' folder theme",
19
- },
20
- },
21
- opacity: {
22
- inputPlaceholder: 'Opacity value (between 0 and 1)',
23
- wrongValue: 'Please enter a floating-point number between 0 and 1.',
24
- },
25
- toggleSwitch: {
26
- on: 'ON',
27
- off: 'OFF',
28
- },
29
- explorerArrows: {
30
- toggle: 'Toggle folder arrows in Explorer',
31
- enable: 'Show folder arrows in Explorer',
32
- disable: 'Hide folder arrows in Explorer',
33
- },
34
- grayscale: {
35
- toggle: 'Toggle grayscale icons',
36
- enable: 'Enable grayscale icons',
37
- disable: 'Disable grayscale icons',
38
- },
39
- saturation: {
40
- inputPlaceholder: 'Saturation value (between 0 and 1)',
41
- wrongValue: 'Please enter a floating-point number between 0 and 1.',
42
- },
43
- };
1
+ import { Translation } from '../models';
2
+
3
+ export const translation: Translation = {
4
+ activate: 'Activate',
5
+ activated: 'Material Icon Theme is active.',
6
+ iconPacks: {
7
+ selectPack: 'Select an icon pack',
8
+ description: "Select the '%0' icon pack",
9
+ disabled: 'Disable icon packs',
10
+ },
11
+ folders: {
12
+ toggleIcons: 'Pick a folder theme',
13
+ color: 'Choose a folder color',
14
+ hexCode: 'Insert a HEX color code',
15
+ wrongHexCode: 'Invalid HEX color code!',
16
+ disabled: 'No folder icons',
17
+ theme: {
18
+ description: "Select the '%0' folder theme",
19
+ },
20
+ },
21
+ opacity: {
22
+ inputPlaceholder: 'Opacity value (between 0 and 1)',
23
+ wrongValue: 'Please enter a floating-point number between 0 and 1.',
24
+ },
25
+ toggleSwitch: {
26
+ on: 'ON',
27
+ off: 'OFF',
28
+ },
29
+ explorerArrows: {
30
+ toggle: 'Toggle folder arrows in Explorer',
31
+ enable: 'Show folder arrows in Explorer',
32
+ disable: 'Hide folder arrows in Explorer',
33
+ },
34
+ grayscale: {
35
+ toggle: 'Toggle grayscale icons',
36
+ enable: 'Enable grayscale icons',
37
+ disable: 'Disable grayscale icons',
38
+ },
39
+ saturation: {
40
+ inputPlaceholder: 'Saturation value (between 0 and 1)',
41
+ wrongValue: 'Please enter a floating-point number between 0 and 1.',
42
+ },
43
+ };
@@ -1,43 +1,43 @@
1
- import { Translation } from '../models';
2
-
3
- export const translation: Translation = {
4
- activate: 'Activar',
5
- activated: 'Material Icon Theme está activado.',
6
- iconPacks: {
7
- selectPack: 'Seleccione un paquete de iconos',
8
- description: "Seleccione el paquete de iconos '%0'",
9
- disabled: 'Desactivar paquetes de iconos',
10
- },
11
- folders: {
12
- toggleIcons: 'Cambiar activación de iconos de carpetas',
13
- color: 'Elija un color de carpeta',
14
- hexCode: 'Insertar un código de color HEX',
15
- wrongHexCode: '¡Código de color HEX inválido!',
16
- disabled: 'Sin iconos de carpeta',
17
- theme: {
18
- description: "Iconos de carpeta '%0'",
19
- },
20
- },
21
- opacity: {
22
- inputPlaceholder: 'Valor de opacidad (entre 0 y 1)',
23
- wrongValue: '¡El valor debe estar entre 0 y 1!',
24
- },
25
- toggleSwitch: {
26
- on: 'ON',
27
- off: 'OFF',
28
- },
29
- explorerArrows: {
30
- toggle: 'Conmutar las flechas de carpetas',
31
- enable: 'Mostrar flechas de carpeta',
32
- disable: 'Ocultar las flechas de carpetas',
33
- },
34
- grayscale: {
35
- toggle: 'Alternar los iconos en escala de grises',
36
- enable: 'Activar los iconos en escala de grises',
37
- disable: 'Desactivar los iconos en escala de grises',
38
- },
39
- saturation: {
40
- inputPlaceholder: 'Valor de saturación (entre 0 y 1)',
41
- wrongValue: 'El valor debe estar entre 0 y 1.',
42
- },
43
- };
1
+ import { Translation } from '../models';
2
+
3
+ export const translation: Translation = {
4
+ activate: 'Activar',
5
+ activated: 'Material Icon Theme está activado.',
6
+ iconPacks: {
7
+ selectPack: 'Seleccione un paquete de iconos',
8
+ description: "Seleccione el paquete de iconos '%0'",
9
+ disabled: 'Desactivar paquetes de iconos',
10
+ },
11
+ folders: {
12
+ toggleIcons: 'Cambiar activación de iconos de carpetas',
13
+ color: 'Elija un color de carpeta',
14
+ hexCode: 'Insertar un código de color HEX',
15
+ wrongHexCode: '¡Código de color HEX inválido!',
16
+ disabled: 'Sin iconos de carpeta',
17
+ theme: {
18
+ description: "Iconos de carpeta '%0'",
19
+ },
20
+ },
21
+ opacity: {
22
+ inputPlaceholder: 'Valor de opacidad (entre 0 y 1)',
23
+ wrongValue: '¡El valor debe estar entre 0 y 1!',
24
+ },
25
+ toggleSwitch: {
26
+ on: 'ON',
27
+ off: 'OFF',
28
+ },
29
+ explorerArrows: {
30
+ toggle: 'Conmutar las flechas de carpetas',
31
+ enable: 'Mostrar flechas de carpeta',
32
+ disable: 'Ocultar las flechas de carpetas',
33
+ },
34
+ grayscale: {
35
+ toggle: 'Alternar los iconos en escala de grises',
36
+ enable: 'Activar los iconos en escala de grises',
37
+ disable: 'Desactivar los iconos en escala de grises',
38
+ },
39
+ saturation: {
40
+ inputPlaceholder: 'Valor de saturación (entre 0 y 1)',
41
+ wrongValue: 'El valor debe estar entre 0 y 1.',
42
+ },
43
+ };