@jjlmoya/utils-developer 1.14.0 → 1.15.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.
- package/package.json +1 -1
- package/src/category/i18n/fr.ts +1 -1
- package/src/category/i18n/ru.ts +1 -1
- package/src/layouts/PreviewLayout.astro +1 -0
- package/src/pages/[locale]/[slug].astro +29 -12
- package/src/tests/diacritics_density.test.ts +118 -0
- package/src/tests/inverted_punctuation.test.ts +113 -0
- package/src/tests/no_en_dash.test.ts +73 -0
- package/src/tests/script_density.test.ts +94 -0
- package/src/tests/shared-test-helpers.ts +56 -0
- package/src/tests/tool_exports.test.ts +34 -0
- package/src/tool/aspectRatio/i18n/de.ts +1 -1
- package/src/tool/aspectRatio/i18n/fr.ts +1 -1
- package/src/tool/aspectRatio/i18n/pl.ts +2 -2
- package/src/tool/aspectRatio/i18n/ru.ts +4 -4
- package/src/tool/aspectRatio/i18n/zh.ts +1 -1
- package/src/tool/aspectRatio/seo.astro +2 -1
- package/src/tool/calculadoraTiempoDatos/i18n/de.ts +1 -1
- package/src/tool/calculadoraTiempoDatos/i18n/pl.ts +1 -1
- package/src/tool/calculadoraTiempoDatos/i18n/ru.ts +5 -5
- package/src/tool/calculadoraTiempoDatos/i18n/sv.ts +5 -5
- package/src/tool/calculadoraTiempoDatos/i18n/zh.ts +1 -1
- package/src/tool/calculadoraTiempoDatos/seo.astro +2 -1
- package/src/tool/colorConverter/i18n/de.ts +1 -1
- package/src/tool/colorConverter/i18n/ru.ts +2 -2
- package/src/tool/colorConverter/seo.astro +2 -1
- package/src/tool/conversorExcelCsvHtml/i18n/es.ts +1 -1
- package/src/tool/conversorExcelCsvHtml/i18n/pl.ts +1 -1
- package/src/tool/conversorExcelCsvHtml/i18n/ru.ts +2 -2
- package/src/tool/conversorExcelCsvHtml/i18n/zh.ts +2 -2
- package/src/tool/conversorExcelCsvHtml/seo.astro +2 -1
- package/src/tool/cronGenerator/i18n/de.ts +4 -4
- package/src/tool/cronGenerator/i18n/en.ts +1 -1
- package/src/tool/cronGenerator/i18n/es.ts +2 -2
- package/src/tool/cronGenerator/i18n/fr.ts +5 -5
- package/src/tool/cronGenerator/i18n/id.ts +1 -1
- package/src/tool/cronGenerator/i18n/nl.ts +1 -1
- package/src/tool/cronGenerator/i18n/pl.ts +8 -8
- package/src/tool/cronGenerator/i18n/pt.ts +1 -1
- package/src/tool/cronGenerator/i18n/ru.ts +9 -9
- package/src/tool/cronGenerator/i18n/sv.ts +1 -1
- package/src/tool/cronGenerator/i18n/zh.ts +3 -3
- package/src/tool/cronGenerator/seo.astro +2 -1
- package/src/tool/cssSpecificityCalculator/i18n/de.ts +1 -1
- package/src/tool/cssSpecificityCalculator/i18n/fr.ts +3 -3
- package/src/tool/cssSpecificityCalculator/i18n/pl.ts +2 -2
- package/src/tool/cssSpecificityCalculator/i18n/ru.ts +2 -2
- package/src/tool/cssSpecificityCalculator/seo.astro +2 -1
- package/src/tool/cssToInlineConverter/i18n/de.ts +6 -6
- package/src/tool/cssToInlineConverter/i18n/es.ts +1 -1
- package/src/tool/cssToInlineConverter/i18n/fr.ts +3 -3
- package/src/tool/cssToInlineConverter/seo.astro +2 -1
- package/src/tool/duplicateCssRemover/i18n/de.ts +7 -7
- package/src/tool/duplicateCssRemover/i18n/fr.ts +1 -1
- package/src/tool/duplicateCssRemover/i18n/id.ts +1 -1
- package/src/tool/duplicateCssRemover/i18n/nl.ts +1 -1
- package/src/tool/duplicateCssRemover/i18n/pl.ts +1 -1
- package/src/tool/duplicateCssRemover/i18n/pt.ts +1 -1
- package/src/tool/duplicateCssRemover/i18n/ru.ts +3 -3
- package/src/tool/duplicateCssRemover/i18n/sv.ts +1 -1
- package/src/tool/duplicateCssRemover/seo.astro +2 -1
- package/src/tool/generadorSecurityTxt/i18n/de.ts +5 -5
- package/src/tool/generadorSecurityTxt/i18n/ru.ts +2 -2
- package/src/tool/generadorSecurityTxt/seo.astro +2 -1
- package/src/tool/hashGenerator/i18n/ru.ts +5 -5
- package/src/tool/hashGenerator/i18n/zh.ts +2 -2
- package/src/tool/hashGenerator/seo.astro +2 -1
- package/src/tool/inspectorCertificadosSsl/i18n/de.ts +6 -6
- package/src/tool/inspectorCertificadosSsl/i18n/ru.ts +5 -5
- package/src/tool/inspectorCertificadosSsl/seo.astro +2 -1
- package/src/tool/jsonFormatter/i18n/de.ts +4 -4
- package/src/tool/jsonFormatter/i18n/en.ts +4 -4
- package/src/tool/jsonFormatter/i18n/es.ts +4 -4
- package/src/tool/jsonFormatter/i18n/fr.ts +4 -4
- package/src/tool/jsonFormatter/i18n/id.ts +4 -4
- package/src/tool/jsonFormatter/i18n/it.ts +4 -4
- package/src/tool/jsonFormatter/i18n/ja.ts +4 -4
- package/src/tool/jsonFormatter/i18n/ko.ts +4 -4
- package/src/tool/jsonFormatter/i18n/nl.ts +4 -4
- package/src/tool/jsonFormatter/i18n/pl.ts +4 -4
- package/src/tool/jsonFormatter/i18n/pt.ts +4 -4
- package/src/tool/jsonFormatter/i18n/ru.ts +5 -5
- package/src/tool/jsonFormatter/i18n/sv.ts +4 -4
- package/src/tool/jsonFormatter/i18n/tr.ts +4 -4
- package/src/tool/jsonFormatter/i18n/zh.ts +5 -5
- package/src/tool/jsonFormatter/seo.astro +2 -1
- package/src/tool/keycode/i18n/de.ts +7 -7
- package/src/tool/keycode/i18n/en.ts +5 -5
- package/src/tool/keycode/i18n/es.ts +5 -5
- package/src/tool/keycode/i18n/fr.ts +7 -7
- package/src/tool/keycode/i18n/id.ts +5 -5
- package/src/tool/keycode/i18n/it.ts +5 -5
- package/src/tool/keycode/i18n/ja.ts +5 -5
- package/src/tool/keycode/i18n/ko.ts +5 -5
- package/src/tool/keycode/i18n/nl.ts +5 -5
- package/src/tool/keycode/i18n/pl.ts +7 -7
- package/src/tool/keycode/i18n/pt.ts +5 -5
- package/src/tool/keycode/i18n/ru.ts +6 -6
- package/src/tool/keycode/i18n/sv.ts +5 -5
- package/src/tool/keycode/i18n/tr.ts +5 -5
- package/src/tool/keycode/i18n/zh.ts +5 -5
- package/src/tool/keycode/seo.astro +2 -1
- package/src/tool/llmCostCalculator/i18n/de.ts +4 -4
- package/src/tool/llmCostCalculator/i18n/en.ts +3 -3
- package/src/tool/llmCostCalculator/i18n/fr.ts +3 -3
- package/src/tool/llmCostCalculator/i18n/id.ts +3 -3
- package/src/tool/llmCostCalculator/i18n/pt.ts +3 -3
- package/src/tool/llmCostCalculator/i18n/ru.ts +3 -3
- package/src/tool/llmCostCalculator/i18n/sv.ts +3 -3
- package/src/tool/llmCostCalculator/i18n/tr.ts +3 -3
- package/src/tool/llmCostCalculator/i18n/zh.ts +3 -3
- package/src/tool/llmCostCalculator/seo.astro +2 -1
- package/src/tool/mobileMockupGenerator/i18n/es.ts +1 -1
- package/src/tool/mobileMockupGenerator/seo.astro +2 -1
- package/src/tool/musicalTypography/i18n/de.ts +1 -1
- package/src/tool/musicalTypography/i18n/fr.ts +1 -1
- package/src/tool/musicalTypography/i18n/id.ts +1 -1
- package/src/tool/musicalTypography/i18n/it.ts +1 -1
- package/src/tool/musicalTypography/i18n/ko.ts +1 -1
- package/src/tool/musicalTypography/i18n/ru.ts +3 -3
- package/src/tool/musicalTypography/seo.astro +2 -1
- package/src/tool/placeholderGenerator/i18n/de.ts +4 -4
- package/src/tool/placeholderGenerator/i18n/ru.ts +1 -1
- package/src/tool/placeholderGenerator/seo.astro +2 -1
- package/src/tool/promptLibrary/i18n/de.ts +1 -1
- package/src/tool/promptLibrary/seo.astro +2 -1
- package/src/tool/readabilityCalculator/i18n/de.ts +2 -2
- package/src/tool/readabilityCalculator/seo.astro +2 -1
- package/src/tool/readabilityCalculator/visual-readability-calculator-wcag-apca.css +87 -3
- package/src/tool/svgSanitizer/i18n/de.ts +2 -2
- package/src/tool/svgSanitizer/i18n/id.ts +1 -1
- package/src/tool/svgSanitizer/i18n/pl.ts +1 -1
- package/src/tool/svgSanitizer/i18n/ru.ts +7 -7
- package/src/tool/svgSanitizer/i18n/sv.ts +3 -3
- package/src/tool/svgSanitizer/i18n/tr.ts +3 -3
- package/src/tool/svgSanitizer/i18n/zh.ts +3 -3
- package/src/tool/svgSanitizer/seo.astro +2 -1
- package/src/tool/svgToCss/i18n/de.ts +2 -2
- package/src/tool/svgToCss/i18n/es.ts +1 -1
- package/src/tool/svgToCss/i18n/fr.ts +1 -1
- package/src/tool/svgToCss/i18n/pl.ts +1 -1
- package/src/tool/svgToCss/i18n/ru.ts +2 -2
- package/src/tool/svgToCss/i18n/zh.ts +2 -2
- package/src/tool/svgToCss/seo.astro +2 -1
- package/src/tool/urlCleaner/component.astro +23 -5
- package/src/tool/urlCleaner/i18n/de.ts +3 -3
- package/src/tool/urlCleaner/i18n/es.ts +1 -1
- package/src/tool/urlCleaner/i18n/id.ts +1 -1
- package/src/tool/urlCleaner/i18n/nl.ts +1 -1
- package/src/tool/urlCleaner/seo.astro +2 -1
- package/src/tool/urlCleaner/url-tracking-cleaner.css +92 -2
- package/src/tool/urlEncoderDecoder/i18n/de.ts +5 -5
- package/src/tool/urlEncoderDecoder/i18n/fr.ts +2 -2
- package/src/tool/urlEncoderDecoder/i18n/pl.ts +5 -5
- package/src/tool/urlEncoderDecoder/i18n/ru.ts +8 -8
- package/src/tool/urlEncoderDecoder/i18n/sv.ts +5 -5
- package/src/tool/urlEncoderDecoder/i18n/zh.ts +5 -5
- package/src/tool/urlEncoderDecoder/seo.astro +2 -1
- package/src/tool/utmGenerator/i18n/de.ts +2 -2
- package/src/tool/utmGenerator/i18n/pl.ts +5 -5
- package/src/tool/utmGenerator/i18n/ru.ts +6 -6
- package/src/tool/utmGenerator/seo.astro +2 -1
|
@@ -109,19 +109,19 @@ export const content: ToolLocaleContent<JsonFormatterUI> = {
|
|
|
109
109
|
bibliographyTitle: 'Referencias y Estándares',
|
|
110
110
|
bibliography: [
|
|
111
111
|
{
|
|
112
|
-
name: 'RFC 8259
|
|
112
|
+
name: 'RFC 8259 - The JavaScript Object Notation (JSON) Data Interchange Format (IETF)',
|
|
113
113
|
url: 'https://datatracker.ietf.org/doc/html/rfc8259',
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
|
-
name: 'ECMA-404
|
|
116
|
+
name: 'ECMA-404 - The JSON Data Interchange Syntax (Ecma International)',
|
|
117
117
|
url: 'https://www.ecma-international.org/publications-and-standards/standards/ecma-404/',
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
name: 'JSON.org
|
|
120
|
+
name: 'JSON.org - Introducing JSON',
|
|
121
121
|
url: 'https://www.json.org/json-en.html',
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
name: 'MDN Web Docs
|
|
124
|
+
name: 'MDN Web Docs - JSON',
|
|
125
125
|
url: 'https://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Global_Objects/JSON',
|
|
126
126
|
},
|
|
127
127
|
],
|
|
@@ -109,19 +109,19 @@ export const content: ToolLocaleContent<JsonFormatterUI> = {
|
|
|
109
109
|
bibliographyTitle: 'Références et Normes',
|
|
110
110
|
bibliography: [
|
|
111
111
|
{
|
|
112
|
-
name: 'RFC 8259
|
|
112
|
+
name: 'RFC 8259 - The JavaScript Object Notation (JSON) Data Interchange Format (IETF)',
|
|
113
113
|
url: 'https://datatracker.ietf.org/doc/html/rfc8259',
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
|
-
name: 'ECMA-404
|
|
116
|
+
name: 'ECMA-404 - The JSON Data Interchange Syntax (Ecma International)',
|
|
117
117
|
url: 'https://www.ecma-international.org/publications-and-standards/standards/ecma-404/',
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
name: 'JSON.org
|
|
120
|
+
name: 'JSON.org - Introducing JSON',
|
|
121
121
|
url: 'https://www.json.org/json-en.html',
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
name: 'MDN Web Docs
|
|
124
|
+
name: 'MDN Web Docs - JSON',
|
|
125
125
|
url: 'https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/JSON',
|
|
126
126
|
},
|
|
127
127
|
],
|
|
@@ -109,19 +109,19 @@ export const content: ToolLocaleContent<JsonFormatterUI> = {
|
|
|
109
109
|
bibliographyTitle: 'Referensi dan Standar',
|
|
110
110
|
bibliography: [
|
|
111
111
|
{
|
|
112
|
-
name: 'RFC 8259
|
|
112
|
+
name: 'RFC 8259 - The JavaScript Object Notation (JSON) Data Interchange Format (IETF)',
|
|
113
113
|
url: 'https://datatracker.ietf.org/doc/html/rfc8259',
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
|
-
name: 'ECMA-404
|
|
116
|
+
name: 'ECMA-404 - The JSON Data Interchange Syntax (Ecma International)',
|
|
117
117
|
url: 'https://www.ecma-international.org/publications-and-standards/standards/ecma-404/',
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
name: 'JSON.org
|
|
120
|
+
name: 'JSON.org - Mengenal JSON',
|
|
121
121
|
url: 'https://www.json.org/json-en.html',
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
name: 'MDN Web Docs
|
|
124
|
+
name: 'MDN Web Docs - JSON',
|
|
125
125
|
url: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON',
|
|
126
126
|
},
|
|
127
127
|
],
|
|
@@ -109,19 +109,19 @@ export const content: ToolLocaleContent<JsonFormatterUI> = {
|
|
|
109
109
|
bibliographyTitle: 'Riferimenti e Standard',
|
|
110
110
|
bibliography: [
|
|
111
111
|
{
|
|
112
|
-
name: 'RFC 8259
|
|
112
|
+
name: 'RFC 8259 - The JavaScript Object Notation (JSON) Data Interchange Format (IETF)',
|
|
113
113
|
url: 'https://datatracker.ietf.org/doc/html/rfc8259',
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
|
-
name: 'ECMA-404
|
|
116
|
+
name: 'ECMA-404 - The JSON Data Interchange Syntax (Ecma International)',
|
|
117
117
|
url: 'https://www.ecma-international.org/publications-and-standards/standards/ecma-404/',
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
name: 'JSON.org
|
|
120
|
+
name: 'JSON.org - Introduzione a JSON',
|
|
121
121
|
url: 'https://www.json.org/json-it.html',
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
name: 'MDN Web Docs
|
|
124
|
+
name: 'MDN Web Docs - JSON',
|
|
125
125
|
url: 'https://developer.mozilla.org/it/docs/Web/JavaScript/Reference/Global_Objects/JSON',
|
|
126
126
|
},
|
|
127
127
|
],
|
|
@@ -109,19 +109,19 @@ export const content: ToolLocaleContent<JsonFormatterUI> = {
|
|
|
109
109
|
bibliographyTitle: '参考文献と標準',
|
|
110
110
|
bibliography: [
|
|
111
111
|
{
|
|
112
|
-
name: 'RFC 8259
|
|
112
|
+
name: 'RFC 8259 - The JavaScript Object Notation (JSON) Data Interchange Format (IETF)',
|
|
113
113
|
url: 'https://datatracker.ietf.org/doc/html/rfc8259',
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
|
-
name: 'ECMA-404
|
|
116
|
+
name: 'ECMA-404 - The JSON Data Interchange Syntax (Ecma International)',
|
|
117
117
|
url: 'https://www.ecma-international.org/publications-and-standards/standards/ecma-404/',
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
name: 'JSON.org
|
|
120
|
+
name: 'JSON.org - JSONの導入',
|
|
121
121
|
url: 'https://www.json.org/json-ja.html',
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
name: 'MDN Web Docs
|
|
124
|
+
name: 'MDN Web Docs - JSON',
|
|
125
125
|
url: 'https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/JSON',
|
|
126
126
|
},
|
|
127
127
|
],
|
|
@@ -109,19 +109,19 @@ export const content: ToolLocaleContent<JsonFormatterUI> = {
|
|
|
109
109
|
bibliographyTitle: '참고 자료 및 표준',
|
|
110
110
|
bibliography: [
|
|
111
111
|
{
|
|
112
|
-
name: 'RFC 8259
|
|
112
|
+
name: 'RFC 8259 - The JavaScript Object Notation (JSON) Data Interchange Format (IETF)',
|
|
113
113
|
url: 'https://datatracker.ietf.org/doc/html/rfc8259',
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
|
-
name: 'ECMA-404
|
|
116
|
+
name: 'ECMA-404 - The JSON Data Interchange Syntax (Ecma International)',
|
|
117
117
|
url: 'https://www.ecma-international.org/publications-and-standards/standards/ecma-404/',
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
name: 'JSON.org
|
|
120
|
+
name: 'JSON.org - JSON 소개',
|
|
121
121
|
url: 'https://www.json.org/json-ko.html',
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
name: 'MDN Web Docs
|
|
124
|
+
name: 'MDN Web Docs - JSON',
|
|
125
125
|
url: 'https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/JSON',
|
|
126
126
|
},
|
|
127
127
|
],
|
|
@@ -109,19 +109,19 @@ export const content: ToolLocaleContent<JsonFormatterUI> = {
|
|
|
109
109
|
bibliographyTitle: 'Referenties en Standaarden',
|
|
110
110
|
bibliography: [
|
|
111
111
|
{
|
|
112
|
-
name: 'RFC 8259
|
|
112
|
+
name: 'RFC 8259 - The JavaScript Object Notation (JSON) Data Interchange Format (IETF)',
|
|
113
113
|
url: 'https://datatracker.ietf.org/doc/html/rfc8259',
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
|
-
name: 'ECMA-404
|
|
116
|
+
name: 'ECMA-404 - The JSON Data Interchange Syntax (Ecma International)',
|
|
117
117
|
url: 'https://www.ecma-international.org/publications-and-standards/standards/ecma-404/',
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
name: 'JSON.org
|
|
120
|
+
name: 'JSON.org - Introductie tot JSON',
|
|
121
121
|
url: 'https://www.json.org/json-en.html',
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
name: 'MDN Web Docs
|
|
124
|
+
name: 'MDN Web Docs - JSON',
|
|
125
125
|
url: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON',
|
|
126
126
|
},
|
|
127
127
|
],
|
|
@@ -109,19 +109,19 @@ export const content: ToolLocaleContent<JsonFormatterUI> = {
|
|
|
109
109
|
bibliographyTitle: 'Referencje i Standardy',
|
|
110
110
|
bibliography: [
|
|
111
111
|
{
|
|
112
|
-
name: 'RFC 8259
|
|
112
|
+
name: 'RFC 8259 - The JavaScript Object Notation (JSON) Data Interchange Format (IETF)',
|
|
113
113
|
url: 'https://datatracker.ietf.org/doc/html/rfc8259',
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
|
-
name: 'ECMA-404
|
|
116
|
+
name: 'ECMA-404 - The JSON Data Interchange Syntax (Ecma International)',
|
|
117
117
|
url: 'https://www.ecma-international.org/publications-and-standards/standards/ecma-404/',
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
name: 'JSON.org
|
|
120
|
+
name: 'JSON.org - Wprowadzenie do JSON',
|
|
121
121
|
url: 'https://www.json.org/json-en.html',
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
name: 'MDN Web Docs
|
|
124
|
+
name: 'MDN Web Docs - JSON',
|
|
125
125
|
url: 'https://developer.mozilla.org/pl/docs/Web/JavaScript/Reference/Global_Objects/JSON',
|
|
126
126
|
},
|
|
127
127
|
],
|
|
@@ -109,19 +109,19 @@ export const content: ToolLocaleContent<JsonFormatterUI> = {
|
|
|
109
109
|
bibliographyTitle: 'Referências e Padrões',
|
|
110
110
|
bibliography: [
|
|
111
111
|
{
|
|
112
|
-
name: 'RFC 8259
|
|
112
|
+
name: 'RFC 8259 - The JavaScript Object Notation (JSON) Data Interchange Format (IETF)',
|
|
113
113
|
url: 'https://datatracker.ietf.org/doc/html/rfc8259',
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
|
-
name: 'ECMA-404
|
|
116
|
+
name: 'ECMA-404 - The JSON Data Interchange Syntax (Ecma International)',
|
|
117
117
|
url: 'https://www.ecma-international.org/publications-and-standards/standards/ecma-404/',
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
name: 'JSON.org
|
|
120
|
+
name: 'JSON.org - Introdução ao JSON',
|
|
121
121
|
url: 'https://www.json.org/json-en.html',
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
name: 'MDN Web Docs
|
|
124
|
+
name: 'MDN Web Docs - JSON',
|
|
125
125
|
url: 'https://developer.mozilla.org/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/JSON',
|
|
126
126
|
},
|
|
127
127
|
],
|
|
@@ -14,7 +14,7 @@ const faqData = [
|
|
|
14
14
|
'Безусловно. Вся обработка происходит на 100% в вашем браузере (на стороне клиента). Ваши данные JSON никогда не отправляются на сервер, что обеспечивает полную конфиденциальность ваших структур данных.',
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
question: 'Что вызывает ошибку
|
|
17
|
+
question: 'Что вызывает ошибку "Invalid JSON"?',
|
|
18
18
|
answer:
|
|
19
19
|
'Обычно она вызвана лишними запятыми в конце объекта, отсутствием двойных кавычек вокруг ключей или невидимыми символами. Наш инструмент подсвечивает точную строку с ошибкой, чтобы вы могли ее исправить.',
|
|
20
20
|
},
|
|
@@ -109,19 +109,19 @@ export const content: ToolLocaleContent<JsonFormatterUI> = {
|
|
|
109
109
|
bibliographyTitle: 'Ссылки и стандарты',
|
|
110
110
|
bibliography: [
|
|
111
111
|
{
|
|
112
|
-
name: 'RFC 8259
|
|
112
|
+
name: 'RFC 8259 - The JavaScript Object Notation (JSON) Data Interchange Format (IETF)',
|
|
113
113
|
url: 'https://datatracker.ietf.org/doc/html/rfc8259',
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
|
-
name: 'ECMA-404
|
|
116
|
+
name: 'ECMA-404 - The JSON Data Interchange Syntax (Ecma International)',
|
|
117
117
|
url: 'https://www.ecma-international.org/publications-and-standards/standards/ecma-404/',
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
name: 'JSON.org
|
|
120
|
+
name: 'JSON.org - Введение в JSON',
|
|
121
121
|
url: 'https://www.json.org/json-en.html',
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
name: 'MDN Web Docs
|
|
124
|
+
name: 'MDN Web Docs - JSON',
|
|
125
125
|
url: 'https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/JSON',
|
|
126
126
|
},
|
|
127
127
|
],
|
|
@@ -109,19 +109,19 @@ export const content: ToolLocaleContent<JsonFormatterUI> = {
|
|
|
109
109
|
bibliographyTitle: 'Referenser och Standarder',
|
|
110
110
|
bibliography: [
|
|
111
111
|
{
|
|
112
|
-
name: 'RFC 8259
|
|
112
|
+
name: 'RFC 8259 - The JavaScript Object Notation (JSON) Data Interchange Format (IETF)',
|
|
113
113
|
url: 'https://datatracker.ietf.org/doc/html/rfc8259',
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
|
-
name: 'ECMA-404
|
|
116
|
+
name: 'ECMA-404 - The JSON Data Interchange Syntax (Ecma International)',
|
|
117
117
|
url: 'https://www.ecma-international.org/publications-and-standards/standards/ecma-404/',
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
name: 'JSON.org
|
|
120
|
+
name: 'JSON.org - Introduktion till JSON',
|
|
121
121
|
url: 'https://www.json.org/json-en.html',
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
name: 'MDN Web Docs
|
|
124
|
+
name: 'MDN Web Docs - JSON',
|
|
125
125
|
url: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON',
|
|
126
126
|
},
|
|
127
127
|
],
|
|
@@ -109,19 +109,19 @@ export const content: ToolLocaleContent<JsonFormatterUI> = {
|
|
|
109
109
|
bibliographyTitle: 'Referanslar ve Standartlar',
|
|
110
110
|
bibliography: [
|
|
111
111
|
{
|
|
112
|
-
name: 'RFC 8259
|
|
112
|
+
name: 'RFC 8259 - The JavaScript Object Notation (JSON) Data Interchange Format (IETF)',
|
|
113
113
|
url: 'https://datatracker.ietf.org/doc/html/rfc8259',
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
|
-
name: 'ECMA-404
|
|
116
|
+
name: 'ECMA-404 - The JSON Data Interchange Syntax (Ecma International)',
|
|
117
117
|
url: 'https://www.ecma-international.org/publications-and-standards/standards/ecma-404/',
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
name: 'JSON.org
|
|
120
|
+
name: 'JSON.org - JSON\'a Giriş',
|
|
121
121
|
url: 'https://www.json.org/json-en.html',
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
name: 'MDN Web Docs
|
|
124
|
+
name: 'MDN Web Docs - JSON',
|
|
125
125
|
url: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON',
|
|
126
126
|
},
|
|
127
127
|
],
|
|
@@ -14,7 +14,7 @@ const faqData = [
|
|
|
14
14
|
'绝对安全。所有处理均 100% 在您的浏览器中完成(客户端处理)。您的 JSON 数据永远不会被发送到任何服务器,确保您的数据结构完全私密。',
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
question: '
|
|
17
|
+
question: '导致"Invalid JSON"错误的原因是什么?',
|
|
18
18
|
answer:
|
|
19
19
|
'通常是由于对象末尾多余的逗号、键(key)缺少双引号或存在不可见字符引起的。我们的工具会高亮显示错误的具体行号,方便您进行修复。',
|
|
20
20
|
},
|
|
@@ -109,19 +109,19 @@ export const content: ToolLocaleContent<JsonFormatterUI> = {
|
|
|
109
109
|
bibliographyTitle: '参考资料与标准',
|
|
110
110
|
bibliography: [
|
|
111
111
|
{
|
|
112
|
-
name: 'RFC 8259
|
|
112
|
+
name: 'RFC 8259 - The JavaScript Object Notation (JSON) Data Interchange Format (IETF)',
|
|
113
113
|
url: 'https://datatracker.ietf.org/doc/html/rfc8259',
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
|
-
name: 'ECMA-404
|
|
116
|
+
name: 'ECMA-404 - The JSON Data Interchange Syntax (Ecma International)',
|
|
117
117
|
url: 'https://www.ecma-international.org/publications-and-standards/standards/ecma-404/',
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
name: 'JSON.org
|
|
120
|
+
name: 'JSON.org - JSON 介绍',
|
|
121
121
|
url: 'https://www.json.org/json-en.html',
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
name: 'MDN Web Docs
|
|
124
|
+
name: 'MDN Web Docs - JSON',
|
|
125
125
|
url: 'https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/JSON',
|
|
126
126
|
},
|
|
127
127
|
],
|
|
@@ -9,6 +9,7 @@ interface Props {
|
|
|
9
9
|
|
|
10
10
|
const { locale = 'es' } = Astro.props;
|
|
11
11
|
const content = await jsonFormatter.i18n[locale]?.();
|
|
12
|
+
if (!content) return null;
|
|
12
13
|
---
|
|
13
14
|
|
|
14
|
-
{content && <SEORenderer content={{ locale, sections: content.seo }} />}
|
|
15
|
+
{content.seo?.length > 0 && <SEORenderer content={{ locale, sections: content.seo }} />}
|
|
@@ -41,7 +41,7 @@ const howToData = [
|
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
name: 'Codeausschnitte verwenden',
|
|
44
|
-
text: 'Im Bereich
|
|
44
|
+
text: 'Im Bereich "Schnelle Codeausschnitte" finden Sie JavaScript-Codeblöcke, die Sie direkt in Ihr Projekt einfügen können.',
|
|
45
45
|
},
|
|
46
46
|
];
|
|
47
47
|
|
|
@@ -100,15 +100,15 @@ export const content: ToolLocaleContent<KeycodeUI> = {
|
|
|
100
100
|
bibliographyTitle: 'Referenzen und Standards',
|
|
101
101
|
bibliography: [
|
|
102
102
|
{
|
|
103
|
-
name: 'MDN Web Docs
|
|
103
|
+
name: 'MDN Web Docs - KeyboardEvent',
|
|
104
104
|
url: 'https://developer.mozilla.org/de/docs/Web/API/KeyboardEvent',
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
|
-
name: 'UI Events Specification (W3C)
|
|
107
|
+
name: 'UI Events Specification (W3C) - KeyboardEvent',
|
|
108
108
|
url: 'https://www.w3.org/TR/uievents/#events-keyboardevents',
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
|
-
name: 'MDN
|
|
111
|
+
name: 'MDN - KeyboardEvent.code values',
|
|
112
112
|
url: 'https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_code_values',
|
|
113
113
|
},
|
|
114
114
|
],
|
|
@@ -135,12 +135,12 @@ export const content: ToolLocaleContent<KeycodeUI> = {
|
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
type: 'card',
|
|
138
|
-
title: 'event.code
|
|
139
|
-
html: '<p>Gibt den Bezeichner der <strong>physischen Position</strong> der Taste auf der Tastatur zurück, unter Verwendung der QWERTY-Nomenklatur. Die Taste
|
|
138
|
+
title: 'event.code: Die physische Taste',
|
|
139
|
+
html: '<p>Gibt den Bezeichner der <strong>physischen Position</strong> der Taste auf der Tastatur zurück, unter Verwendung der QWERTY-Nomenklatur. Die Taste "A" auf einer AZERTY-Tastatur gibt zum Beispiel <code>KeyQ</code> zurück. Ideal für Spielsteuerungen, bei denen die Position zählt, nicht das Zeichen.</p>',
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
type: 'card',
|
|
143
|
-
title: 'event.key
|
|
143
|
+
title: 'event.key: Das erzeugte Zeichen',
|
|
144
144
|
html: '<p>Gibt den <strong>Zeichenwert</strong> zurück, der je nach Sprache und aktiven Modifikatoren erzeugt wird. Shift+A ergibt <code>"A"</code>; ohne Shift ergibt sich <code>"a"</code>. Bei Sondertasten werden Namen wie <code>"Enter"</code>, <code>"Escape"</code> oder <code>"ArrowUp"</code> zurückgegeben.</p>',
|
|
145
145
|
},
|
|
146
146
|
{
|
|
@@ -100,15 +100,15 @@ export const content: ToolLocaleContent<KeycodeUI> = {
|
|
|
100
100
|
bibliographyTitle: 'References and Standards',
|
|
101
101
|
bibliography: [
|
|
102
102
|
{
|
|
103
|
-
name: 'MDN Web Docs
|
|
103
|
+
name: 'MDN Web Docs - KeyboardEvent',
|
|
104
104
|
url: 'https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent',
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
|
-
name: 'UI Events Specification (W3C)
|
|
107
|
+
name: 'UI Events Specification (W3C) - KeyboardEvent',
|
|
108
108
|
url: 'https://www.w3.org/TR/uievents/#events-keyboardevents',
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
|
-
name: 'MDN
|
|
111
|
+
name: 'MDN - KeyboardEvent.code values',
|
|
112
112
|
url: 'https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_code_values',
|
|
113
113
|
},
|
|
114
114
|
],
|
|
@@ -135,12 +135,12 @@ export const content: ToolLocaleContent<KeycodeUI> = {
|
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
type: 'card',
|
|
138
|
-
title: 'event.code
|
|
138
|
+
title: 'event.code: The physical key',
|
|
139
139
|
html: '<p>Returns the identifier of the <strong>physical position</strong> of the key on the keyboard, using QWERTY nomenclature. For example, the "A" key on an AZERTY keyboard returns <code>KeyQ</code>. Ideal for game controls where position matters, not the character.</p>',
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
type: 'card',
|
|
143
|
-
title: 'event.key
|
|
143
|
+
title: 'event.key: The generated character',
|
|
144
144
|
html: '<p>Returns the <strong>character value</strong> generated according to language and active modifiers. Pressing Shift+A returns <code>"A"</code>; without Shift returns <code>"a"</code>. For special keys it returns names like <code>"Enter"</code>, <code>"Escape"</code>, <code>"ArrowUp"</code>.</p>',
|
|
145
145
|
},
|
|
146
146
|
{
|
|
@@ -100,15 +100,15 @@ export const content: ToolLocaleContent<KeycodeUI> = {
|
|
|
100
100
|
bibliographyTitle: 'Referencias y Estándares',
|
|
101
101
|
bibliography: [
|
|
102
102
|
{
|
|
103
|
-
name: 'MDN Web Docs
|
|
103
|
+
name: 'MDN Web Docs - KeyboardEvent',
|
|
104
104
|
url: 'https://developer.mozilla.org/es/docs/Web/API/KeyboardEvent',
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
|
-
name: 'UI Events Specification (W3C)
|
|
107
|
+
name: 'UI Events Specification (W3C) - KeyboardEvent',
|
|
108
108
|
url: 'https://www.w3.org/TR/uievents/#events-keyboardevents',
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
|
-
name: 'MDN
|
|
111
|
+
name: 'MDN - KeyboardEvent.code values',
|
|
112
112
|
url: 'https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_code_values',
|
|
113
113
|
},
|
|
114
114
|
],
|
|
@@ -135,12 +135,12 @@ export const content: ToolLocaleContent<KeycodeUI> = {
|
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
type: 'card',
|
|
138
|
-
title: 'event.code
|
|
138
|
+
title: 'event.code: La tecla física',
|
|
139
139
|
html: '<p>Devuelve el identificador de la <strong>posición física</strong> de la tecla en el teclado, usando nomenclatura QWERTY. Por ejemplo, la tecla "A" en un teclado AZERTY devuelve <code>KeyQ</code>. Ideal para controles de videojuegos donde importa la posición, no el carácter.</p>',
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
type: 'card',
|
|
143
|
-
title: 'event.key
|
|
143
|
+
title: 'event.key: El carácter generado',
|
|
144
144
|
html: '<p>Devuelve el <strong>valor del carácter</strong> generado según el idioma y modificadores activos. Si pulsas Shift+A devuelve <code>"A"</code>; sin Shift devuelve <code>"a"</code>. Para teclas especiales devuelve nombres como <code>"Enter"</code>, <code>"Escape"</code>, <code>"ArrowUp"</code>.</p>',
|
|
145
145
|
},
|
|
146
146
|
{
|
|
@@ -21,7 +21,7 @@ const faqData = [
|
|
|
21
21
|
{
|
|
22
22
|
question: 'Que signifie la propriété location ?',
|
|
23
23
|
answer:
|
|
24
|
-
'La propriété location indique où la touche est physiquement située sur le clavier
|
|
24
|
+
'La propriété location indique où la touche est physiquement située sur le clavier: Standard (position normale), Left (modificateur gauche), Right (modificateur droit) ou Numpad (pavé numérique). Elle est utile pour distinguer la touche CTRL gauche de la droite, par exemple.',
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
question: 'Fonctionne-t-il avec les claviers internationaux et les dispositions non-QWERTY ?',
|
|
@@ -100,15 +100,15 @@ export const content: ToolLocaleContent<KeycodeUI> = {
|
|
|
100
100
|
bibliographyTitle: 'Références et standards',
|
|
101
101
|
bibliography: [
|
|
102
102
|
{
|
|
103
|
-
name: 'MDN Web Docs
|
|
103
|
+
name: 'MDN Web Docs - KeyboardEvent',
|
|
104
104
|
url: 'https://developer.mozilla.org/fr/docs/Web/API/KeyboardEvent',
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
|
-
name: 'Spécification UI Events (W3C)
|
|
107
|
+
name: 'Spécification UI Events (W3C) - KeyboardEvent',
|
|
108
108
|
url: 'https://www.w3.org/TR/uievents/#events-keyboardevents',
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
|
-
name: 'MDN
|
|
111
|
+
name: 'MDN - Valeurs de KeyboardEvent.code',
|
|
112
112
|
url: 'https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_code_values',
|
|
113
113
|
},
|
|
114
114
|
],
|
|
@@ -122,7 +122,7 @@ export const content: ToolLocaleContent<KeycodeUI> = {
|
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
type: 'paragraph',
|
|
125
|
-
html: 'Lorsqu\'un utilisateur appuie sur une touche, le navigateur déclenche trois événements
|
|
125
|
+
html: 'Lorsqu\'un utilisateur appuie sur une touche, le navigateur déclenche trois événements: <code>keydown</code>, <code>keypress</code> et <code>keyup</code>. Chacun expose des propriétés avec des informations sur la touche pressée, mais elles ne sont pas toutes équivalentes ni recommandées.',
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
type: 'title',
|
|
@@ -135,12 +135,12 @@ export const content: ToolLocaleContent<KeycodeUI> = {
|
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
type: 'card',
|
|
138
|
-
title: 'event.code
|
|
138
|
+
title: 'event.code: La touche physique',
|
|
139
139
|
html: '<p>Retourne l\'identifiant de la <strong>position physique</strong> de la touche sur le clavier, en utilisant la nomenclature QWERTY. Par exemple, la touche "A" sur un clavier AZERTY retourne <code>KeyQ</code>. Idéal pour les contrôles de jeu où la position importe, pas le caractère.</p>',
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
type: 'card',
|
|
143
|
-
title: 'event.key
|
|
143
|
+
title: 'event.key: Le caractère généré',
|
|
144
144
|
html: '<p>Retourne la <strong>valeur du caractère</strong> généré selon la langue et les modificateurs actifs. Appuyer sur Shift+A retourne <code>"A"</code> ; sans Shift retourne <code>"a"</code>. Pour les touches spéciales, retourne des noms comme <code>"Enter"</code>, <code>"Escape"</code>, <code>"ArrowUp"</code>.</p>',
|
|
145
145
|
},
|
|
146
146
|
{
|
|
@@ -100,15 +100,15 @@ export const content: ToolLocaleContent<KeycodeUI> = {
|
|
|
100
100
|
bibliographyTitle: 'Referensi dan Standar',
|
|
101
101
|
bibliography: [
|
|
102
102
|
{
|
|
103
|
-
name: 'MDN Web Docs
|
|
103
|
+
name: 'MDN Web Docs - KeyboardEvent',
|
|
104
104
|
url: 'https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent',
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
|
-
name: 'UI Events Specification (W3C)
|
|
107
|
+
name: 'UI Events Specification (W3C) - KeyboardEvent',
|
|
108
108
|
url: 'https://www.w3.org/TR/uievents/#events-keyboardevents',
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
|
-
name: 'MDN
|
|
111
|
+
name: 'MDN - KeyboardEvent.code values',
|
|
112
112
|
url: 'https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_code_values',
|
|
113
113
|
},
|
|
114
114
|
],
|
|
@@ -135,12 +135,12 @@ export const content: ToolLocaleContent<KeycodeUI> = {
|
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
type: 'card',
|
|
138
|
-
title: 'event.code
|
|
138
|
+
title: 'event.code: Tombol fisik',
|
|
139
139
|
html: '<p>Mengembalikan pengenal <strong>posisi fisik</strong> tombol pada keyboard, menggunakan nomenklatur QWERTY. Misalnya, tombol "A" pada keyboard AZERTY mengembalikan <code>KeyQ</code>. Ideal untuk kontrol game di mana posisi yang penting, bukan karakter.</p>',
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
type: 'card',
|
|
143
|
-
title: 'event.key
|
|
143
|
+
title: 'event.key: Karakter yang dihasilkan',
|
|
144
144
|
html: '<p>Mengembalikan <strong>nilai karakter</strong> yang dihasilkan berdasarkan bahasa dan modifier aktif. Menekan Shift+A mengembalikan <code>"A"</code>; tanpa Shift mengembalikan <code>"a"</code>. Untuk tombol khusus, mengembalikan nama seperti <code>"Enter"</code>, <code>"Escape"</code>, <code>"ArrowUp"</code>.</p>',
|
|
145
145
|
},
|
|
146
146
|
{
|
|
@@ -100,15 +100,15 @@ export const content: ToolLocaleContent<KeycodeUI> = {
|
|
|
100
100
|
bibliographyTitle: 'Riferimenti e Standard',
|
|
101
101
|
bibliography: [
|
|
102
102
|
{
|
|
103
|
-
name: 'MDN Web Docs
|
|
103
|
+
name: 'MDN Web Docs - KeyboardEvent',
|
|
104
104
|
url: 'https://developer.mozilla.org/it/docs/Web/API/KeyboardEvent',
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
|
-
name: 'UI Events Specification (W3C)
|
|
107
|
+
name: 'UI Events Specification (W3C) - KeyboardEvent',
|
|
108
108
|
url: 'https://www.w3.org/TR/uievents/#events-keyboardevents',
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
|
-
name: 'MDN
|
|
111
|
+
name: 'MDN - KeyboardEvent.code values',
|
|
112
112
|
url: 'https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_code_values',
|
|
113
113
|
},
|
|
114
114
|
],
|
|
@@ -135,12 +135,12 @@ export const content: ToolLocaleContent<KeycodeUI> = {
|
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
type: 'card',
|
|
138
|
-
title: 'event.code
|
|
138
|
+
title: 'event.code: Il tasto fisico',
|
|
139
139
|
html: '<p>Restituisce l\'identificatore della <strong>posizione fisica</strong> del tasto sulla tastiera, usando la nomenclatura QWERTY. Ad esempio, il tasto "A" su una tastiera AZERTY restituisce <code>KeyQ</code>. Ideale per i controlli di gioco dove conta la posizione, non il carattere.</p>',
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
type: 'card',
|
|
143
|
-
title: 'event.key
|
|
143
|
+
title: 'event.key: Il carattere generato',
|
|
144
144
|
html: '<p>Restituisce il <strong>valore del carattere</strong> generato in base alla lingua e ai modificatori attivi. Premendo Shift+A si ottiene <code>"A"</code>; senza Shift si ottiene <code>"a"</code>. Per i tasti speciali restituisce nomi come <code>"Enter"</code>, <code>"Escape"</code>, <code>"ArrowUp"</code>.</p>',
|
|
145
145
|
},
|
|
146
146
|
{
|
|
@@ -100,15 +100,15 @@ export const content: ToolLocaleContent<KeycodeUI> = {
|
|
|
100
100
|
bibliographyTitle: '参考資料と標準',
|
|
101
101
|
bibliography: [
|
|
102
102
|
{
|
|
103
|
-
name: 'MDN Web Docs
|
|
103
|
+
name: 'MDN Web Docs - KeyboardEvent',
|
|
104
104
|
url: 'https://developer.mozilla.org/ja/docs/Web/API/KeyboardEvent',
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
|
-
name: 'UI Events Specification (W3C)
|
|
107
|
+
name: 'UI Events Specification (W3C) - KeyboardEvent',
|
|
108
108
|
url: 'https://www.w3.org/TR/uievents/#events-keyboardevents',
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
|
-
name: 'MDN
|
|
111
|
+
name: 'MDN - KeyboardEvent.code values',
|
|
112
112
|
url: 'https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_code_values',
|
|
113
113
|
},
|
|
114
114
|
],
|
|
@@ -135,12 +135,12 @@ export const content: ToolLocaleContent<KeycodeUI> = {
|
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
type: 'card',
|
|
138
|
-
title: 'event.code
|
|
138
|
+
title: 'event.code: 物理的なキー',
|
|
139
139
|
html: '<p>QWERTYの命名規則を使用して、キーボード上のキーの<strong>物理的な位置</strong>の識別子を返します。たとえば、AZERTYキーボードの「A」キーは<code>KeyQ</code>を返します。位置が重要であり文字ではないゲームコントロールに最適です。</p>',
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
type: 'card',
|
|
143
|
-
title: 'event.key
|
|
143
|
+
title: 'event.key: 生成された文字',
|
|
144
144
|
html: '<p>言語とアクティブな修飾キーに応じて生成された<strong>文字値</strong>を返します。Shift+Aを押すと<code>"A"</code>が返され、Shiftなしでは<code>"a"</code>が返されます。特殊キーの場合は<code>"Enter"</code>、<code>"Escape"</code>、<code>"ArrowUp"</code>などの名前が返されます。</p>',
|
|
145
145
|
},
|
|
146
146
|
{
|