Skip to content

Commit

Permalink
refactor: add lang="json" to <i18n>s for syntax highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
xicri committed Nov 22, 2024
1 parent f04b11c commit 526f81a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion components/hamburger-menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</div>
</template>

<i18n>
<i18n lang="json">
{
"en": {
"about": "About",
Expand Down
2 changes: 1 addition & 1 deletion components/word-list-results.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
</main>
</template>

<i18n>
<i18n lang="json">
{
"en": {
"example": "Example",
Expand Down
2 changes: 1 addition & 1 deletion components/word-list-search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</div>
</template>

<i18n>
<i18n lang="json">
{
"en": {
"enterSearchTerms": "Enter search terms...",
Expand Down
2 changes: 1 addition & 1 deletion components/word-list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
</template>

<i18n>
<i18n lang="json">
{
"en": {
"notFound": "Your search did not match any words in this dictionary."
Expand Down
2 changes: 1 addition & 1 deletion error.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
</template>

<i18n>
<i18n lang="json">
{
"en": {
"notfound": "This page is not found",
Expand Down
2 changes: 1 addition & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</div>
</template>

<i18n>
<i18n lang="json">
{
"en": {
"siteTitleL1": "Genshin",
Expand Down
2 changes: 1 addition & 1 deletion pages/history.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</div>
</template>

<i18n>
<i18n lang="json">
{
"en": {
"updatedOn": "Updated on {createdAt}",
Expand Down

0 comments on commit 526f81a

Please sign in to comment.