Skip to content

Commit fc00b81

Browse files
committed
feat: add i18n labels and switch UI font
Add localized tooltip labels and update LCH/HCL text for non-English locales. Standardize extension UI typography on Inter with CJK system fallbacks and drop the bundled font asset.
1 parent 7868a7d commit fc00b81

11 files changed

Lines changed: 2527 additions & 1780 deletions

File tree

_locales/de/messages.json

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"appName": {
3+
"message": "FontDetector",
4+
"description": "The name of the extension"
5+
},
6+
"appDesc": {
7+
"message": "Zeigt Schriftinformationen beim Überfahren von Textelementen an.",
8+
"description": "The description of the extension"
9+
},
10+
"fontFamily": {
11+
"message": "Schriftfamilie",
12+
"description": "Label for font family"
13+
},
14+
"fontWeight": {
15+
"message": "Schriftstärke",
16+
"description": "Label for font weight"
17+
},
18+
"fontSize": {
19+
"message": "Schriftgröße",
20+
"description": "Label for font size"
21+
},
22+
"lineHeight": {
23+
"message": "Zeilenhöhe",
24+
"description": "Label for line height"
25+
},
26+
"letterSpacing": {
27+
"message": "Zeichenabstand",
28+
"description": "Label for letter spacing"
29+
},
30+
"textAlign": {
31+
"message": "Textausrichtung",
32+
"description": "Label for text alignment"
33+
},
34+
"color": {
35+
"message": "Farbe",
36+
"description": "Label for color"
37+
},
38+
"colorHex": {
39+
"message": "Hex",
40+
"description": "Label for HEX color format"
41+
},
42+
"colorLCH": {
43+
"message": "Farbe[LCH]",
44+
"description": "Label for LCH color format"
45+
},
46+
"colorHCL": {
47+
"message": "Farbe[HCL]",
48+
"description": "Label for HCL color format"
49+
},
50+
"copied": {
51+
"message": "Kopiert",
52+
"description": "Text shown after copying"
53+
},
54+
"noFontFound": {
55+
"message": "Keine Schriftinformationen verfügbar",
56+
"description": "Message when no font information is found"
57+
},
58+
"clickToCopy": {
59+
"message": "Klicken zum Kopieren",
60+
"description": "Tooltip for copy button"
61+
},
62+
"selectToViewFontInfo": {
63+
"message": "Auswählen, um Schriftinfos zu sehen",
64+
"description": "Mini tooltip hint text"
65+
},
66+
"downloadFont": {
67+
"message": "Schriftart herunterladen",
68+
"description": "Label for download font action"
69+
},
70+
"downloadStarted": {
71+
"message": "Wird heruntergeladen...",
72+
"description": "Text shown when font download starts"
73+
},
74+
"searchingDownload": {
75+
"message": "Suche nach Download...",
76+
"description": "Text shown while searching for font download"
77+
}
78+
}

_locales/es/messages.json

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"appName": {
3+
"message": "FontDetector",
4+
"description": "The name of the extension"
5+
},
6+
"appDesc": {
7+
"message": "Muestra información de la fuente al pasar el cursor sobre elementos de texto.",
8+
"description": "The description of the extension"
9+
},
10+
"fontFamily": {
11+
"message": "Familia de fuentes",
12+
"description": "Label for font family"
13+
},
14+
"fontWeight": {
15+
"message": "Peso de la fuente",
16+
"description": "Label for font weight"
17+
},
18+
"fontSize": {
19+
"message": "Tamaño de la fuente",
20+
"description": "Label for font size"
21+
},
22+
"lineHeight": {
23+
"message": "Altura de línea",
24+
"description": "Label for line height"
25+
},
26+
"letterSpacing": {
27+
"message": "Espaciado entre letras",
28+
"description": "Label for letter spacing"
29+
},
30+
"textAlign": {
31+
"message": "Alineación del texto",
32+
"description": "Label for text alignment"
33+
},
34+
"color": {
35+
"message": "Color",
36+
"description": "Label for color"
37+
},
38+
"colorHex": {
39+
"message": "Hex",
40+
"description": "Label for HEX color format"
41+
},
42+
"colorLCH": {
43+
"message": "Color[LCH]",
44+
"description": "Label for LCH color format"
45+
},
46+
"colorHCL": {
47+
"message": "Color[HCL]",
48+
"description": "Label for HCL color format"
49+
},
50+
"copied": {
51+
"message": "Copiado",
52+
"description": "Text shown after copying"
53+
},
54+
"noFontFound": {
55+
"message": "No hay información de fuente disponible",
56+
"description": "Message when no font information is found"
57+
},
58+
"clickToCopy": {
59+
"message": "Haz clic para copiar",
60+
"description": "Tooltip for copy button"
61+
},
62+
"selectToViewFontInfo": {
63+
"message": "Selecciona para ver información de la fuente",
64+
"description": "Mini tooltip hint text"
65+
},
66+
"downloadFont": {
67+
"message": "Descargar fuente",
68+
"description": "Label for download font action"
69+
},
70+
"downloadStarted": {
71+
"message": "Descargando...",
72+
"description": "Text shown when font download starts"
73+
},
74+
"searchingDownload": {
75+
"message": "Buscando descarga...",
76+
"description": "Text shown while searching for font download"
77+
}
78+
}

_locales/fr/messages.json

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"appName": {
3+
"message": "FontDetector",
4+
"description": "The name of the extension"
5+
},
6+
"appDesc": {
7+
"message": "Affiche les informations de police au survol des éléments de texte.",
8+
"description": "The description of the extension"
9+
},
10+
"fontFamily": {
11+
"message": "Famille de police",
12+
"description": "Label for font family"
13+
},
14+
"fontWeight": {
15+
"message": "Graisse",
16+
"description": "Label for font weight"
17+
},
18+
"fontSize": {
19+
"message": "Taille de police",
20+
"description": "Label for font size"
21+
},
22+
"lineHeight": {
23+
"message": "Hauteur de ligne",
24+
"description": "Label for line height"
25+
},
26+
"letterSpacing": {
27+
"message": "Espacement des lettres",
28+
"description": "Label for letter spacing"
29+
},
30+
"textAlign": {
31+
"message": "Alignement du texte",
32+
"description": "Label for text alignment"
33+
},
34+
"color": {
35+
"message": "Couleur",
36+
"description": "Label for color"
37+
},
38+
"colorHex": {
39+
"message": "Hexadécimal",
40+
"description": "Label for HEX color format"
41+
},
42+
"colorLCH": {
43+
"message": "Couleur[LCH]",
44+
"description": "Label for LCH color format"
45+
},
46+
"colorHCL": {
47+
"message": "Couleur[HCL]",
48+
"description": "Label for HCL color format"
49+
},
50+
"copied": {
51+
"message": "Copié",
52+
"description": "Text shown after copying"
53+
},
54+
"noFontFound": {
55+
"message": "Aucune information de police disponible",
56+
"description": "Message when no font information is found"
57+
},
58+
"clickToCopy": {
59+
"message": "Cliquer pour copier",
60+
"description": "Tooltip for copy button"
61+
},
62+
"selectToViewFontInfo": {
63+
"message": "Sélectionnez pour voir les infos de police",
64+
"description": "Mini tooltip hint text"
65+
},
66+
"downloadFont": {
67+
"message": "Télécharger la police",
68+
"description": "Label for download font action"
69+
},
70+
"downloadStarted": {
71+
"message": "Téléchargement...",
72+
"description": "Text shown when font download starts"
73+
},
74+
"searchingDownload": {
75+
"message": "Recherche du téléchargement...",
76+
"description": "Text shown while searching for font download"
77+
}
78+
}

_locales/ja/messages.json

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"appName": {
3+
"message": "FontDetector",
4+
"description": "The name of the extension"
5+
},
6+
"appDesc": {
7+
"message": "テキスト要素にホバーするとフォント情報を表示します。",
8+
"description": "The description of the extension"
9+
},
10+
"fontFamily": {
11+
"message": "フォントファミリー",
12+
"description": "Label for font family"
13+
},
14+
"fontWeight": {
15+
"message": "フォントウェイト",
16+
"description": "Label for font weight"
17+
},
18+
"fontSize": {
19+
"message": "フォントサイズ",
20+
"description": "Label for font size"
21+
},
22+
"lineHeight": {
23+
"message": "行間",
24+
"description": "Label for line height"
25+
},
26+
"letterSpacing": {
27+
"message": "字間",
28+
"description": "Label for letter spacing"
29+
},
30+
"textAlign": {
31+
"message": "文字揃え",
32+
"description": "Label for text alignment"
33+
},
34+
"color": {
35+
"message": "",
36+
"description": "Label for color"
37+
},
38+
"colorHex": {
39+
"message": "16進数",
40+
"description": "Label for HEX color format"
41+
},
42+
"colorLCH": {
43+
"message": "色[LCH]",
44+
"description": "Label for LCH color format"
45+
},
46+
"colorHCL": {
47+
"message": "色[HCL]",
48+
"description": "Label for HCL color format"
49+
},
50+
"copied": {
51+
"message": "コピーしました",
52+
"description": "Text shown after copying"
53+
},
54+
"noFontFound": {
55+
"message": "フォント情報がありません",
56+
"description": "Message when no font information is found"
57+
},
58+
"clickToCopy": {
59+
"message": "クリックしてコピー",
60+
"description": "Tooltip for copy button"
61+
},
62+
"selectToViewFontInfo": {
63+
"message": "選択してフォント情報を表示",
64+
"description": "Mini tooltip hint text"
65+
},
66+
"downloadFont": {
67+
"message": "フォントをダウンロード",
68+
"description": "Label for download font action"
69+
},
70+
"downloadStarted": {
71+
"message": "ダウンロード中...",
72+
"description": "Text shown when font download starts"
73+
},
74+
"searchingDownload": {
75+
"message": "ダウンロードを検索中...",
76+
"description": "Text shown while searching for font download"
77+
}
78+
}

_locales/pt/messages.json

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"appName": {
3+
"message": "FontDetector",
4+
"description": "The name of the extension"
5+
},
6+
"appDesc": {
7+
"message": "Exibe informações de fonte ao passar o mouse sobre elementos de texto.",
8+
"description": "The description of the extension"
9+
},
10+
"fontFamily": {
11+
"message": "Família de fontes",
12+
"description": "Label for font family"
13+
},
14+
"fontWeight": {
15+
"message": "Peso da fonte",
16+
"description": "Label for font weight"
17+
},
18+
"fontSize": {
19+
"message": "Tamanho da fonte",
20+
"description": "Label for font size"
21+
},
22+
"lineHeight": {
23+
"message": "Altura da linha",
24+
"description": "Label for line height"
25+
},
26+
"letterSpacing": {
27+
"message": "Espaçamento entre letras",
28+
"description": "Label for letter spacing"
29+
},
30+
"textAlign": {
31+
"message": "Alinhamento do texto",
32+
"description": "Label for text alignment"
33+
},
34+
"color": {
35+
"message": "Cor",
36+
"description": "Label for color"
37+
},
38+
"colorHex": {
39+
"message": "Hex",
40+
"description": "Label for HEX color format"
41+
},
42+
"colorLCH": {
43+
"message": "Cor[LCH]",
44+
"description": "Label for LCH color format"
45+
},
46+
"colorHCL": {
47+
"message": "Cor[HCL]",
48+
"description": "Label for HCL color format"
49+
},
50+
"copied": {
51+
"message": "Copiado",
52+
"description": "Text shown after copying"
53+
},
54+
"noFontFound": {
55+
"message": "Nenhuma informação de fonte disponível",
56+
"description": "Message when no font information is found"
57+
},
58+
"clickToCopy": {
59+
"message": "Clique para copiar",
60+
"description": "Tooltip for copy button"
61+
},
62+
"selectToViewFontInfo": {
63+
"message": "Selecione para ver informações da fonte",
64+
"description": "Mini tooltip hint text"
65+
},
66+
"downloadFont": {
67+
"message": "Baixar fonte",
68+
"description": "Label for download font action"
69+
},
70+
"downloadStarted": {
71+
"message": "Baixando...",
72+
"description": "Text shown when font download starts"
73+
},
74+
"searchingDownload": {
75+
"message": "Procurando download...",
76+
"description": "Text shown while searching for font download"
77+
}
78+
}

0 commit comments

Comments
 (0)