Skip to content

Commit

Permalink
locale
Browse files Browse the repository at this point in the history
  • Loading branch information
hitman249 committed Feb 20, 2021
1 parent 6fc520c commit b3bad0f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/src/components/Db/ItemSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<img v-if="item.background_id" :src="item.background_url" alt="">
</div>
<div class="item-point__head">
<span class="item">Версия: {{ item.version }}</span>
<span class="item">Автор: {{ item.user.name }}</span>
<span class="item">Лайков: {{ item.likes }}</span>
<span class="item">{{ $t('labels.version') }}: {{ item.version }}</span>
<span class="item">{{ $t('labels.author') }}: {{ item.user.name }}</span>
<span class="item">{{ $t('labels.likes') }}: {{ item.likes }}</span>
<Like v-if="user.id !== item.user_id" class="btn__like"
:status="item.like.length > 0" :type="type" :item="item" :model="'config'"/>
</div>
Expand Down
2 changes: 2 additions & 0 deletions src/src/locales/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ export default {
'more': 'More',
'incompatible': 'incompatible',
'search': 'search..',
'author': 'Author',
'likes': 'Likes',
},
menu: {
'games': 'Games',
Expand Down
2 changes: 2 additions & 0 deletions src/src/locales/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ export default {
'more': 'Ещё',
'incompatible': 'несовместим',
'search': 'поиск..',
'author': 'Автор',
'likes': 'Лайков',
},
menu: {
'games': 'Игры',
Expand Down

0 comments on commit b3bad0f

Please sign in to comment.