Skip to content

Commit cf715bd

Browse files
authored
feat: i18n and small fixes (#25)
Here's some small fixes at the application UI related to i18n.
1 parent 92436f8 commit cf715bd

File tree

17 files changed

+540
-466
lines changed

17 files changed

+540
-466
lines changed

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jsLibraryMappings.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jsLinters/eslint.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.idea/tailwindcss.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

locales/en/messages.json

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,19 @@
2121
"message": "Authenticate with Twitch"
2222
},
2323
"heroTitle": {
24-
"message": "Create your Profile"
24+
"message": "Create your "
25+
},
26+
"heroProfileTitle": {
27+
"message": "Profile"
2528
},
2629
"heroSubtitle": {
2730
"message": "It looks like you haven't logged in with Twitch yet"
2831
},
2932
"pronounsLabel": {
30-
"message": "Select your pronoun"
33+
"message": "\uFE0F Select your pronoun"
3134
},
3235
"occupationLabel": {
33-
"message": "Select your occupation"
36+
"message": "\uD83D\uDCBC Select your occupation"
3437
},
3538
"pronounsTitle": {
3639
"message": "Pronouns"
@@ -142,5 +145,44 @@
142145
},
143146
"effectsLabel": {
144147
"message": "Select your effect"
148+
},
149+
"tabGeneralProfile": {
150+
"message": "General Profile"
151+
},
152+
"tabStreamProfile": {
153+
"message": "Current Stream Profile"
154+
},
155+
"sidebarItemSettings": {
156+
"message": "Settings"
157+
},
158+
"sidebarItemStatistics": {
159+
"message": "Statistics"
160+
},
161+
"sidebarItemThemes": {
162+
"message": "Themes"
163+
},
164+
"sidebarItemAbout": {
165+
"message": "About"
166+
},
167+
"themeToggleTitle": {
168+
"message": "Select a Theme"
169+
},
170+
"featureEffectsTitle": {
171+
"message": "✨ Enhance your Username with Effects "
172+
},
173+
"featureStreamProfileLabel": {
174+
"message": "You're editing the channel "
175+
},
176+
"featureStatsWatchedHours": {
177+
"message": "Watched Hours"
178+
},
179+
"featureStatsMessagesSent": {
180+
"message": "Messages Sent"
181+
},
182+
"featureStatsMostWatchedChannels": {
183+
"message": "Most Watched Channels"
184+
},
185+
"featureStatsMostWatchedCategories": {
186+
"message": "Most Watched Categories"
145187
}
146188
}

locales/pt_BR/messages.json

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
"message": "Parece que você ainda não fez login com a Twitch"
3131
},
3232
"pronounsLabel": {
33-
"message": "Selecione seu pronome"
33+
"message": "\uFE0F Selecione seu pronome"
3434
},
3535
"occupationLabel": {
36-
"message": "Selecione sua profissão"
36+
"message": "\uD83D\uDCBC Selecione sua profissão"
3737
},
3838
"pronounsTitle": {
3939
"message": "Pronomes"
@@ -157,5 +157,44 @@
157157
},
158158
"effectsLabel": {
159159
"message": "Selecione um Efeito"
160+
},
161+
"tabGeneralProfile": {
162+
"message": "Perfil Geral"
163+
},
164+
"tabStreamProfile": {
165+
"message": "Perfil Live Atual"
166+
},
167+
"sidebarItemSettings": {
168+
"message": "Configurações"
169+
},
170+
"sidebarItemStatistics": {
171+
"message": "Estatísticas"
172+
},
173+
"sidebarItemThemes": {
174+
"message": "Temas"
175+
},
176+
"sidebarItemAbout": {
177+
"message": "Sobre"
178+
},
179+
"themeToggleTitle": {
180+
"message": "Selecione um Tema"
181+
},
182+
"featureEffectsTitle": {
183+
"message": "✨ Adicione Efeitos ao seu Nickname"
184+
},
185+
"featureStreamProfileLabel": {
186+
"message": "Você está editando o canal"
187+
},
188+
"featureStatsWatchedHours": {
189+
"message": "Horas Assistidas"
190+
},
191+
"featureStatsMessagesSent": {
192+
"message": "Mensagens Enviadas"
193+
},
194+
"featureStatsMostWatchedChannels": {
195+
"message": "Canais Mais Assistidos"
196+
},
197+
"featureStatsMostWatchedCategories": {
198+
"message": "Categorias Mais Assistidas"
160199
}
161200
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "twitch-better-profile",
33
"displayName": "Twitch Better Profile",
4-
"version": "0.1.0",
4+
"version": "0.2.0",
55
"description": "A new way to first interact with users on Twitch.",
66
"author": "Daniel Reis. <[email protected]>",
77
"scripts": {
@@ -19,7 +19,7 @@
1919
},
2020
"dependencies": {
2121
"@plasmohq/messaging": "^0.6.2",
22-
"@plasmohq/storage": "^1.11.0",
22+
"@plasmohq/storage": "^1.12.0",
2323
"@radix-ui/react-dialog": "^1.1.1",
2424
"@radix-ui/react-dropdown-menu": "^2.1.1",
2525
"@radix-ui/react-icons": "^1.3.0",
@@ -43,7 +43,7 @@
4343
"react": "18.2.0",
4444
"react-dom": "18.2.0",
4545
"react-loading-skeleton": "3.4.0",
46-
"tailwind-merge": "^2.4.0",
46+
"tailwind-merge": "^2.5.2",
4747
"tailwindcss": "3.4.1",
4848
"tailwindcss-animate": "^1.0.7",
4949
"webextension-polyfill": "^0.12.0",

0 commit comments

Comments
 (0)