TEST UPD
-translation -front works
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
<!-- Прогресс до следующего места -->
|
<!-- Прогресс до следующего места -->
|
||||||
<div v-if="pointsToNext > 0" class="mt-4 p-3 bg-blue-50 rounded-lg">
|
<div v-if="pointsToNext > 0" class="mt-4 p-3 bg-blue-50 rounded-lg">
|
||||||
<div class="text-sm text-gray-600 mb-1">
|
<div class="text-sm text-gray-600 mb-1">
|
||||||
{{ __('To reach :position place:', { position: nextPosition }) }}
|
{{`${__('To reach')} ${nextPosition} ${__('position:')}`}}
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-center justify-between">
|
<div class="flex items-center justify-between">
|
||||||
<span class="text-lg font-bold text-blue-600">+{{ pointsToNext }} {{ __('points') }}</span>
|
<span class="text-lg font-bold text-blue-600">+{{ pointsToNext }} {{ __('points') }}</span>
|
||||||
@@ -125,7 +125,7 @@
|
|||||||
<!-- Заголовок таблицы -->
|
<!-- Заголовок таблицы -->
|
||||||
<div :class="['px-6 py-4 bg-gradient-to-r', getGroupGradientClass(activeGroup)]">
|
<div :class="['px-6 py-4 bg-gradient-to-r', getGroupGradientClass(activeGroup)]">
|
||||||
<h2 class="text-xl font-bold text-white">
|
<h2 class="text-xl font-bold text-white">
|
||||||
{{ activeGroupLabel }} - Топ {{ currentLeaderboard.length }}
|
{{ activeGroupLabel }} - {{ __('Top') }} {{ currentLeaderboard.length }}
|
||||||
</h2>
|
</h2>
|
||||||
<!-- Примечание о бонусах только для школьников -->
|
<!-- Примечание о бонусах только для школьников -->
|
||||||
<p v-if="activeGroup === 'LMS Schoolchild'" class="text-white text-opacity-90 text-sm mt-1">
|
<p v-if="activeGroup === 'LMS Schoolchild'" class="text-white text-opacity-90 text-sm mt-1">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="min-h-screen bg-surface-gray-1">
|
<div class="min-h-screen bg-white">
|
||||||
<NoPermission v-if="!$user.data" />
|
<NoPermission v-if="!$user.data" />
|
||||||
|
|
||||||
<div v-else-if="profile.error" class="p-6">
|
<div v-else-if="profile.error" class="p-6">
|
||||||
@@ -199,7 +199,7 @@
|
|||||||
<!-- EDIT MODE -->
|
<!-- EDIT MODE -->
|
||||||
<div v-else class="mt-6">
|
<div v-else class="mt-6">
|
||||||
<div class="bg-white rounded-2xl shadow-sm border border-gray-200 overflow-hidden">
|
<div class="bg-white rounded-2xl shadow-sm border border-gray-200 overflow-hidden">
|
||||||
<div class="px-6 py-4 border-b border-gray-100 bg-gray-50">
|
<div class="px-6 py-4 border-b border-gray-100 bg-teal-400">
|
||||||
<h3 class="text-xl font-semibold text-gray-900">Редактирование профиля</h3>
|
<h3 class="text-xl font-semibold text-gray-900">Редактирование профиля</h3>
|
||||||
<p class="text-sm text-gray-600 mt-1">Заполните информацию о себе</p>
|
<p class="text-sm text-gray-600 mt-1">Заполните информацию о себе</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -379,7 +379,7 @@
|
|||||||
<Button
|
<Button
|
||||||
@click="saveProfile"
|
@click="saveProfile"
|
||||||
:loading="saving"
|
:loading="saving"
|
||||||
class="bg-primary-600 hover:bg-primary-700 text-white px-6 py-3 rounded-lg font-medium transition-colors duration-200 flex items-center gap-2"
|
class="bg-teal-400 hover:bg-teal-700 text-white px-8 py-3 rounded-lg font-medium transition-colors duration-200 flex items-center gap-2"
|
||||||
>
|
>
|
||||||
<svg v-if="!saving" class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
<svg v-if="!saving" class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
|
||||||
|
|||||||
+13
-5
@@ -7589,8 +7589,12 @@ msgid "position"
|
|||||||
msgstr "место"
|
msgstr "место"
|
||||||
|
|
||||||
#: frontend/src/pages/LeaderBoard.vue:42
|
#: frontend/src/pages/LeaderBoard.vue:42
|
||||||
msgid "To reach :position place:"
|
msgid "To reach"
|
||||||
msgstr "До :position места нужно:"
|
msgstr "До"
|
||||||
|
|
||||||
|
#: frontend/src/pages/LeaderBoard.vue:42
|
||||||
|
msgid "position:"
|
||||||
|
msgstr "места нужно:"
|
||||||
|
|
||||||
#: frontend/src/pages/LeaderBoard.vue:45
|
#: frontend/src/pages/LeaderBoard.vue:45
|
||||||
msgid "points"
|
msgid "points"
|
||||||
@@ -7612,6 +7616,10 @@ msgstr "Лучший в группе"
|
|||||||
msgid "members"
|
msgid "members"
|
||||||
msgstr "участников"
|
msgstr "участников"
|
||||||
|
|
||||||
|
#: frontend/src/pages/LeaderBoard.vue:13
|
||||||
|
msgid "Top"
|
||||||
|
msgstr "Топ"
|
||||||
|
|
||||||
#: frontend/src/pages/LeaderBoard.vue:132
|
#: frontend/src/pages/LeaderBoard.vue:132
|
||||||
msgid "* Bonus points are calculated as 1 point for every 100 activity points (maximum 10)"
|
msgid "* Bonus points are calculated as 1 point for every 100 activity points (maximum 10)"
|
||||||
msgstr "* Бонусные баллы рассчитываются как 1 балл за каждые 100 очков активности (максимум 10)"
|
msgstr "* Бонусные баллы рассчитываются как 1 балл за каждые 100 очков активности (максимум 10)"
|
||||||
@@ -7624,14 +7632,14 @@ msgstr "Бонус"
|
|||||||
msgid "There are no participants in this category yet."
|
msgid "There are no participants in this category yet."
|
||||||
msgstr "Пока нет участников в этой категории"
|
msgstr "Пока нет участников в этой категории"
|
||||||
|
|
||||||
#: frontend/src/pages/LeaderBoard.vue:13
|
#: frontend/src/pages/LeaderBoard.vue:221
|
||||||
msgid "Students"
|
msgid "Students"
|
||||||
msgstr "Студенты"
|
msgstr "Студенты"
|
||||||
|
|
||||||
#: frontend/src/pages/LeaderBoard.vue:13
|
#: frontend/src/pages/LeaderBoard.vue:222
|
||||||
msgid "Teachers"
|
msgid "Teachers"
|
||||||
msgstr "Преподаватели"
|
msgstr "Преподаватели"
|
||||||
|
|
||||||
#: frontend/src/pages/LeaderBoard.vue:13
|
#: frontend/src/pages/LeaderBoard.vue:223
|
||||||
msgid "Schoolchildren"
|
msgid "Schoolchildren"
|
||||||
msgstr "Школьники"
|
msgstr "Школьники"
|
||||||
|
|||||||
Reference in New Issue
Block a user