Skip to content

Commit

Permalink
feat(components) Перевод текстов компонентов
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Bochkarev committed Jun 1, 2024
1 parent e69a56f commit 8385d91
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion components/content/Caution.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<Alert
title="Caution"
title="Внимание"
icon="i-ph-warning-octagon-duotone"
color="red"
class="_caution"
Expand Down
2 changes: 1 addition & 1 deletion components/content/Important.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<Alert
title="Important"
title="Важно"
icon="i-ph-warning-diamond-duotone"
color="violet"
class="_important"
Expand Down
2 changes: 1 addition & 1 deletion components/content/LinkExample.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<Callout icon="i-ph-app-window-duotone">
Read and edit a live example in
Прочитайте и отредактируйте живой пример в
<NuxtLink :to="to">
{{ computedTitle }}
</NuxtLink>.
Expand Down
2 changes: 1 addition & 1 deletion components/content/Note.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<Alert
title="Note"
title="Заметка"
icon="i-ph-info-duotone"
color="blue"
class="_note"
Expand Down
2 changes: 1 addition & 1 deletion components/content/ReadMore.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const computedTitle = computed<string>(() => props.title || createBreadcrumb(pro
<template>
<Callout icon="i-ph-bookmark-simple-duotone" :to="to">
<MDCSlot unwrap="p">
Read more in <span class="font-bold" v-html="computedTitle" />.
Узнать больше <span class="font-bold" v-html="computedTitle" />.
</MDCSlot>
</Callout>
</template>
2 changes: 1 addition & 1 deletion components/content/Sandbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<iframe
v-if="url"
:src="url"
title="Sandbox editor"
title="Редактор песочницы"
sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"
class="w-full h-full min-h-[700px] overflow-hidden bg-gray-100 dark:bg-gray-800"
/>
Expand Down
2 changes: 1 addition & 1 deletion components/content/Tip.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<Alert
title="Tip"
title="Совет"
icon="i-ph-lightbulb-duotone"
color="green"
class="_tip"
Expand Down
2 changes: 1 addition & 1 deletion components/content/Warning.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<Alert
title="Warning"
title="Предупреждение"
icon="i-ph-warning-duotone"
color="amber"
class="_warning"
Expand Down

0 comments on commit 8385d91

Please sign in to comment.