Skip to content

Commit

Permalink
Localizing “flag” string
Browse files Browse the repository at this point in the history
  • Loading branch information
weotch committed Apr 17, 2022
1 parent 8a729af commit 8762c7b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/locale-selector/locale.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
.flag: img(
v-if='flag'
:src='flag'
:alt='`${locale.country} flag`')
:alt='`${locale.country} ${$t("locale_selector.flag")}`')

//- Country name
.country-name {{ locale.country }}
Expand Down
1 change: 1 addition & 0 deletions lang/en.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export default {
locale_selector: {
label: 'Locale selector',
flag: 'Flag',
countries: {
ca: 'Canada',
es: 'Spain',
Expand Down
1 change: 1 addition & 0 deletions lang/es.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export default {
locale_selector: {
label: 'Selector de configuración regional',
flag: 'Bandera',
countries: {
ca: 'Canadá',
es: 'España',
Expand Down
1 change: 1 addition & 0 deletions lang/fr.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export default {
locale_selector: {
label: 'Sélecteur de paramètres régionaux',
flag: 'Drapeau',
countries: {
ca: 'Canada',
es: 'Espagne',
Expand Down

0 comments on commit 8762c7b

Please sign in to comment.