mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 03:17:11 +00:00
Fix version number in left menu
This commit is contained in:
parent
79e3b56a1e
commit
53bedf277b
@ -18,8 +18,7 @@ function LeftMenuFooter({ version }) { // eslint-disable-line react/prefer-state
|
||||
return (
|
||||
<div className={styles.leftMenuFooter}>
|
||||
<FormattedMessage {...messages.poweredBy} />
|
||||
<a href="http://strapi.io" target="_blank"> Strapi</a>
|
||||
<span> (v{version})</span>
|
||||
<a href="https://strapi.io" target="_blank">v{version}</a>
|
||||
<LocaleToggle />
|
||||
</div>
|
||||
);
|
||||
|
||||
@ -10,12 +10,17 @@
|
||||
padding-right: 15px;
|
||||
line-height: 3rem;
|
||||
font-family: 'Lato';
|
||||
background-color: rgba(255, 255, 255, .02);
|
||||
font-size: 1rem;
|
||||
font-weight: 300;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0.05rem;
|
||||
vertical-align: middle;
|
||||
color: $strapi-gray-light;
|
||||
|
||||
a {
|
||||
color: #0097f7;
|
||||
}
|
||||
|
||||
select{
|
||||
outline: none;
|
||||
}
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
import { take } from 'lodash';
|
||||
import { fork, call, put, takeLatest } from 'redux-saga/effects';
|
||||
import request from 'utils/request';
|
||||
|
||||
@ -15,9 +14,9 @@ function* getGaStatus() {
|
||||
call(request, '/admin/gaConfig', { method: 'GET' }),
|
||||
call(request, '/admin/strapiVersion', { method: 'GET' }),
|
||||
];
|
||||
|
||||
yield put(getGaStatusSucceeded(allowGa));
|
||||
const version = take(`${strapiVersion.strapiVersion.split('.')[0]}${strapiVersion.strapiVersion.split('alpha')[1]}`, 4).join('');
|
||||
yield put(getStrapiVersionSucceeded(version));
|
||||
yield put(getStrapiVersionSucceeded(strapiVersion.strapiVersion));
|
||||
} catch(err) {
|
||||
strapi.notification.error('notification.error');
|
||||
}
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
"app.components.InstallPluginPopup.navLink.changelog": "Änderungsprotokoll",
|
||||
"app.components.InstallPluginPopup.noDescription": "Keine Beschreibung verfügbar",
|
||||
|
||||
"app.components.LeftMenuFooter.poweredBy": "Stolz präsentiert von",
|
||||
"app.components.LeftMenuFooter.poweredBy": "Stolz präsentiert von ",
|
||||
"app.components.LeftMenuLinkContainer.configuration": "Konfiguration",
|
||||
"app.components.LeftMenuLinkContainer.general": "Allgemein",
|
||||
"app.components.LeftMenuLinkContainer.installNewPlugin": "Marktplatz",
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
"app.components.InstallPluginPopup.navLink.changelog": "changelog",
|
||||
"app.components.InstallPluginPopup.noDescription": "No description available",
|
||||
|
||||
"app.components.LeftMenuFooter.poweredBy": "Proudly powered by",
|
||||
"app.components.LeftMenuFooter.poweredBy": "Powered by ",
|
||||
"app.components.LeftMenuLinkContainer.configuration": "Configurations",
|
||||
"app.components.LeftMenuLinkContainer.general": "General",
|
||||
"app.components.LeftMenuLinkContainer.installNewPlugin": "Marketplace",
|
||||
|
||||
@ -55,7 +55,7 @@
|
||||
"app.components.InstallPluginPopup.navLink.changelog": "changelog",
|
||||
"app.components.InstallPluginPopup.noDescription": "Aucune description disponible",
|
||||
|
||||
"app.components.LeftMenuFooter.poweredBy": "Propulsé par",
|
||||
"app.components.LeftMenuFooter.poweredBy": "Propulsé par ",
|
||||
"app.components.LeftMenuLinkContainer.configuration": "Configurations",
|
||||
"app.components.LeftMenuLinkContainer.general": "Général",
|
||||
"app.components.LeftMenuLinkContainer.installNewPlugin": "Marketplaces",
|
||||
|
||||
@ -40,7 +40,7 @@
|
||||
"app.components.InstallPluginPopup.navLink.changelog": "dziennik zmian",
|
||||
"app.components.InstallPluginPopup.noDescription": "Brak dostępnego opisu",
|
||||
|
||||
"app.components.LeftMenuFooter.poweredBy": "Dumnie wspierane przez",
|
||||
"app.components.LeftMenuFooter.poweredBy": "Dumnie wspierane przez ",
|
||||
"app.components.LeftMenuLinkContainer.configuration": "Konfiguracje",
|
||||
"app.components.LeftMenuLinkContainer.general": "Ogólne",
|
||||
"app.components.LeftMenuLinkContainer.installNewPlugin": "Sklep",
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
{
|
||||
"app.components.Button.save": "Сохранить",
|
||||
"app.components.Button.cancel": "Отменить",
|
||||
|
||||
|
||||
"app.components.ComingSoonPage.comingSoon": "Скоро",
|
||||
"app.components.ComingSoonPage.featuresNotAvailable": "Этот функционал все еще находится в стадии активной разработки.",
|
||||
|
||||
|
||||
"app.components.DownloadInfo.download": "Выполняется загрузка...",
|
||||
"app.components.DownloadInfo.text": "Это может занять около минуты. Спасибо за ваше терпение.",
|
||||
|
||||
|
||||
"app.components.HomePage.welcome": "Добро пожаловать!",
|
||||
"app.components.HomePage.cta": "ПОДТВЕРДИТЬ",
|
||||
"app.components.HomePage.community": "Найти сообщество в интернете",
|
||||
@ -24,22 +24,22 @@
|
||||
"app.components.HomePage.support": "ПОДДЕРЖИТЕ НАС",
|
||||
"app.components.HomePage.support.content": "Купите футболку (25€), это поможет нам продолжать работу над проектом, чтобы предоставить вам наилучшее из возможных решений!",
|
||||
"app.components.HomePage.support.link": "ЗАКАЗАТЬ НАШУ ФУТБОЛКУ СЕЙЧАС",
|
||||
|
||||
|
||||
"app.components.BlockLink.documentation": "Прочитать документацию",
|
||||
"app.components.BlockLink.documentation.content": "Ознакомтесь с концепциями, документацией и обучающими материалами.",
|
||||
"app.components.BlockLink.code": "Примеры кода",
|
||||
"app.components.BlockLink.code.content": "Обучайтесь на реальных проектах разработанных в сообществе.",
|
||||
|
||||
|
||||
|
||||
|
||||
"app.components.InputFile.newFile": "Добавить новый файл",
|
||||
"app.components.InputFileDetails.open": "Открыть в новой вкладке",
|
||||
"app.components.InputFileDetails.remove": "Удалить этот файл",
|
||||
"app.components.InputFileDetails.originalName": "Первоначальное название:",
|
||||
"app.components.InputFileDetails.size": "Размер:",
|
||||
|
||||
|
||||
"app.components.ImgPreview.hint": "Перетащите файл в эту область или {browse} для загрузки файла",
|
||||
"app.components.ImgPreview.hint.browse": "просмотреть",
|
||||
|
||||
|
||||
"app.components.InstallPluginPage.helmet": "Магазин - Плагины",
|
||||
"app.components.InstallPluginPage.title": "Магазин - Плагины",
|
||||
"app.components.InstallPluginPage.description": "Расширяйте ваше приложение без усилий.",
|
||||
@ -53,15 +53,15 @@
|
||||
"app.components.InstallPluginPopup.navLink.faq": "faq",
|
||||
"app.components.InstallPluginPopup.navLink.changelog": "журнал изменений",
|
||||
"app.components.InstallPluginPopup.noDescription": "Нет описания",
|
||||
|
||||
"app.components.LeftMenuFooter.poweredBy": "С гордостью предоставлено",
|
||||
|
||||
"app.components.LeftMenuFooter.poweredBy": "С гордостью предоставлено ",
|
||||
"app.components.LeftMenuLinkContainer.configuration": "Настройки",
|
||||
"app.components.LeftMenuLinkContainer.general": "Общие",
|
||||
"app.components.LeftMenuLinkContainer.installNewPlugin": "Магазин",
|
||||
"app.components.LeftMenuLinkContainer.listPlugins": "Плагины",
|
||||
"app.components.LeftMenuLinkContainer.noPluginsInstalled": "Нет установленых плагинов",
|
||||
"app.components.LeftMenuLinkContainer.plugins": "Плагины",
|
||||
|
||||
|
||||
"app.components.ListPluginsPage.helmet.title": "Список плагинов",
|
||||
"app.components.ListPluginsPage.title": "Плагины",
|
||||
"app.components.ListPluginsPage.description": "Список установленых плагинов.",
|
||||
@ -70,12 +70,12 @@
|
||||
"app.components.listPlugins.title.plural": "{number} плагинов установленно",
|
||||
"app.components.listPlugins.title.none": "Нет установленых плагинов",
|
||||
"app.components.listPlugins.button": "Добавить новый плагин",
|
||||
|
||||
|
||||
"app.components.NotFoundPage.description": "Не найдено",
|
||||
"app.components.NotFoundPage.back": "Вернуться на главную",
|
||||
|
||||
|
||||
"app.components.Official": "Официальный",
|
||||
|
||||
|
||||
"app.components.PluginCard.compatible": "Совместимо с вашим приложением",
|
||||
"app.components.PluginCard.compatibleCommunity": "Совместимо с сообществом",
|
||||
"app.components.PluginCard.Button.label.download": "Скачать",
|
||||
@ -83,29 +83,29 @@
|
||||
"app.components.PluginCard.Button.label.support": "Поддержать нас",
|
||||
"app.components.PluginCard.price.free": "Бесплатно",
|
||||
"app.components.PluginCard.more-details": "Больше деталей",
|
||||
|
||||
|
||||
"app.utils.placeholder.defaultMessage": "\u0020",
|
||||
"app.utils.SelectOption.defaultMessage": "\u0020",
|
||||
"app.utils.defaultMessage": "\u0020",
|
||||
|
||||
|
||||
"components.AutoReloadBlocker.header": "Функционал перезапуска необходим для этого плагина.",
|
||||
"components.AutoReloadBlocker.description": "Откройте соответствующий файл и активируйте функционал.",
|
||||
|
||||
|
||||
"components.ErrorBoundary.title": "Что-то пошло не так...",
|
||||
|
||||
|
||||
"components.OverlayBlocker.title": "Ожидание перезапуска...",
|
||||
"components.OverlayBlocker.description": "Вы воспользовались функционалом который требует перезапуска сервера. Пожалуста подождете пока подниметься сервер.",
|
||||
|
||||
|
||||
"components.PageFooter.select": "записей на странице",
|
||||
|
||||
|
||||
"components.ProductionBlocker.header": "Этот плагин доступен только на стадии разработки.",
|
||||
"components.ProductionBlocker.description": "Для безопасности мы должны заблокировать его для других вариантов.",
|
||||
|
||||
|
||||
"components.popUpWarning.button.cancel": "Отменить",
|
||||
"components.popUpWarning.button.confirm": "Подтвердить",
|
||||
"components.popUpWarning.title": "Пожалуйста подтвердите",
|
||||
"components.popUpWarning.message": "Вы уверены, что хотите удалить это?",
|
||||
|
||||
|
||||
"components.Input.error.validation.email": "Это не адрес электронной почты",
|
||||
"components.Input.error.validation.required": "Необходимое поле для заполнение.",
|
||||
"components.Input.error.validation.regex": "Не соответствует регулярному выражению.",
|
||||
@ -119,9 +119,9 @@
|
||||
"components.Input.error.attribute.sameKeyAndName": "Не может быть одинаковым",
|
||||
"components.Input.error.validation.minSupMax": "Не может быть выше",
|
||||
"components.Input.error.custom-error": "{errorMessage} ",
|
||||
|
||||
|
||||
"components.ListRow.empty": "Нет данных для отображения.",
|
||||
|
||||
|
||||
"components.Wysiwyg.collapse": "Свернуть",
|
||||
"components.Wysiwyg.selectOptions.title": "Добавить заголовок",
|
||||
"components.Wysiwyg.selectOptions.H1": "Заголовок H1",
|
||||
@ -136,12 +136,12 @@
|
||||
"components.WysiwygBottomControls.uploadFiles": "Перетащите файлы в эту область, добавляйте из буфер обмена или {browse}.",
|
||||
"components.WysiwygBottomControls.uploadFiles.browse": "выделите их",
|
||||
"components.WysiwygBottomControls.fullscreen": "Развернуть",
|
||||
|
||||
|
||||
"HomePage.notification.newsLetter.success": "Успешная подписка на рассылку новостей",
|
||||
|
||||
|
||||
"notification.error": "Произошла ошибка",
|
||||
"notification.error.layout": "Не удалось получить макет",
|
||||
|
||||
|
||||
"Users & Permissions": "Пользователи & Доступы",
|
||||
"Content Manager": "Редактор контента",
|
||||
"Content Type Builder": "Конструктор Типов Контента",
|
||||
@ -157,4 +157,3 @@
|
||||
"Users": "Пользователи",
|
||||
"Analytics": "Аналитика"
|
||||
}
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
"app.components.InstallPluginPopup.navLink.changelog": "Değişim Günlüğü",
|
||||
"app.components.InstallPluginPopup.noDescription": "Açıklama bulunmamaktadır.",
|
||||
|
||||
"app.components.LeftMenuFooter.poweredBy": "Gururla sunar",
|
||||
"app.components.LeftMenuFooter.poweredBy": "Gururla sunar ",
|
||||
"app.components.LeftMenuLinkContainer.configuration": "Yapılandırma",
|
||||
"app.components.LeftMenuLinkContainer.general": "Genel",
|
||||
"app.components.LeftMenuLinkContainer.installNewPlugin": "Pazar Yeri",
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
"app.components.InstallPluginPopup.navLink.changelog": "更新紀錄",
|
||||
"app.components.InstallPluginPopup.noDescription": "目前沒有說明",
|
||||
|
||||
"app.components.LeftMenuFooter.poweredBy": "Proudly powered by",
|
||||
"app.components.LeftMenuFooter.poweredBy": "Powered by ",
|
||||
"app.components.LeftMenuLinkContainer.configuration": "設定",
|
||||
"app.components.LeftMenuLinkContainer.general": "一般",
|
||||
"app.components.LeftMenuLinkContainer.installNewPlugin": "市集",
|
||||
|
||||
@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="25px" height="28px" viewBox="0 0 25 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 46.1 (44463) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>GraphQL_Logo</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Pages" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="List-plugins" transform="translate(-302.000000, -668.000000)" fill-rule="nonzero" fill="#E535AB">
|
||||
<g id="Container" transform="translate(263.000000, 83.000000)">
|
||||
<g id="Content">
|
||||
<g id="Forms" transform="translate(1.000000, 78.000000)">
|
||||
<g id="List" transform="translate(15.000000, 19.000000)">
|
||||
<g id="9" transform="translate(0.000000, 484.000000)">
|
||||
<g id="GraphQL_Logo" transform="translate(23.000000, 4.000000)">
|
||||
<rect id="Rectangle-path" transform="translate(7.525343, 11.130007) rotate(-149.999272) translate(-7.525343, -11.130007) " x="6.93249876" y="-0.309026904" width="1.1856882" height="22.8780681"></rect>
|
||||
<rect id="Rectangle-path" x="1.05714286" y="19.1571429" width="22.8785714" height="1.18571429"></rect>
|
||||
<rect id="Rectangle-path" transform="translate(7.528064, 22.613421) rotate(-149.999272) translate(-7.528064, -22.613421) " x="0.921066787" y="22.0205773" width="13.213995" height="1.1856882"></rect>
|
||||
<rect id="Rectangle-path" transform="translate(17.469093, 5.393493) rotate(-149.999272) translate(-17.469093, -5.393493) " x="10.8620954" y="4.80064876" width="13.213995" height="1.1856882"></rect>
|
||||
<rect id="Rectangle-path" transform="translate(7.531236, 5.388979) rotate(-120.000728) translate(-7.531236, -5.388979) " x="6.93839161" y="-1.21801893" width="1.1856882" height="13.213995"></rect>
|
||||
<rect id="Rectangle-path" transform="translate(17.477229, 11.130221) rotate(-120.000728) translate(-17.477229, -11.130221) " x="6.03819452" y="10.5373773" width="22.8780681" height="1.1856882"></rect>
|
||||
<rect id="Rectangle-path" x="1.96428571" y="7.39285714" width="1.18571429" height="13.2142857"></rect>
|
||||
<rect id="Rectangle-path" x="21.85" y="7.39285714" width="1.18571429" height="13.2142857"></rect>
|
||||
<rect id="Rectangle-path" transform="translate(17.469043, 22.606829) rotate(-120.000728) translate(-17.469043, -22.606829) " x="16.9511971" y="16.8605264" width="1.0356915" height="11.4926043"></rect>
|
||||
<path d="M24.6071429,20.9928571 C23.9214286,22.1857143 22.3928571,22.5928571 21.2,21.9071429 C20.0071429,21.2214286 19.6,19.6928571 20.2857143,18.5 C20.9714286,17.3071429 22.5,16.9 23.6928571,17.5857143 C24.8928571,18.2785714 25.3,19.8 24.6071429,20.9928571" id="Shape"></path>
|
||||
<path d="M4.70714286,9.5 C4.02142857,10.6928571 2.49285714,11.1 1.3,10.4142857 C0.107142857,9.72857143 -0.3,8.2 0.385714286,7.00714286 C1.07142857,5.81428571 2.6,5.40714286 3.79285714,6.09285714 C4.98571429,6.78571429 5.39285714,8.30714286 4.70714286,9.5" id="Shape"></path>
|
||||
<path d="M0.392857143,20.9928571 C-0.292857143,19.8 0.114285714,18.2785714 1.30714286,17.5857143 C2.5,16.9 4.02142857,17.3071429 4.71428571,18.5 C5.4,19.6928571 4.99285714,21.2142857 3.8,21.9071429 C2.6,22.5928571 1.07857143,22.1857143 0.392857143,20.9928571" id="Shape"></path>
|
||||
<path d="M20.2928571,9.5 C19.6071429,8.30714286 20.0142857,6.78571429 21.2071429,6.09285714 C22.4,5.40714286 23.9214286,5.81428571 24.6142857,7.00714286 C25.3,8.2 24.8928571,9.72142857 23.7,10.4142857 C22.5071429,11.1 20.9785714,10.6928571 20.2928571,9.5" id="Shape"></path>
|
||||
<path d="M12.5,27.9857143 C11.1214286,27.9857143 10.0071429,26.8714286 10.0071429,25.4928571 C10.0071429,24.1142857 11.1214286,23 12.5,23 C13.8785714,23 14.9928571,24.1142857 14.9928571,25.4928571 C14.9928571,26.8642857 13.8785714,27.9857143 12.5,27.9857143" id="Shape"></path>
|
||||
<path d="M12.5,5 C11.1214286,5 10.0071429,3.88571429 10.0071429,2.50714286 C10.0071429,1.12857143 11.1214286,0.0142857143 12.5,0.0142857143 C13.8785714,0.0142857143 14.9928571,1.12857143 14.9928571,2.50714286 C14.9928571,3.88571429 13.8785714,5 12.5,5" id="Shape"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.8 KiB |
Loading…
x
Reference in New Issue
Block a user