Skip to content

Commit

Permalink
Merge pull request #167 from Nighty3098/InDev
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
Nighty3098 authored Sep 28, 2024
2 parents 268415a + 3af3d89 commit 3879da4
Show file tree
Hide file tree
Showing 63 changed files with 219 additions and 205 deletions.
97 changes: 51 additions & 46 deletions src/CodeKeeper/CodeKeeper_ru_RU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -912,108 +912,107 @@ You have completed all of your tasks for the day. Good job!</source>
<translation>Проверять обновления автоматически</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="110"/>
<source>Some chips are in development and may not work properly. If you notice a bug, please write about it to the developer or to the support bot.</source>
<translation>Некоторые фичи находятся в разработке и могут работать неправильно. Если вы заметели ошибку, напишите об этом разработчику либо в бот техподдержки.</translation>
<translation type="vanished">Некоторые фичи находятся в разработке и могут работать неправильно. Если вы заметели ошибку, напишите об этом разработчику либо в бот техподдержки.</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="123"/>
<location filename="settingswindow.cpp" line="125"/>
<source>Sync settings</source>
<translation>Синхронизация</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="127"/>
<location filename="settingswindow.cpp" line="129"/>
<source>Data in commit</source>
<translation>Данные</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="132"/>
<location filename="settingswindow.cpp" line="134"/>
<source>GitHub token</source>
<translation>GIT Токен</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="139"/>
<location filename="settingswindow.cpp" line="141"/>
<source>GitHub user</source>
<translation>GIT имя пользователя</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="145"/>
<location filename="settingswindow.cpp" line="147"/>
<source>GitHub repo</source>
<translation>GIT репозиторий</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="150"/>
<location filename="settingswindow.cpp" line="158"/>
<location filename="settingswindow.cpp" line="152"/>
<location filename="settingswindow.cpp" line="160"/>
<source>Auto sync after start</source>
<translation>Синхронизация при запуске</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="152"/>
<location filename="settingswindow.cpp" line="154"/>
<source>Date</source>
<translation>Дата</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="154"/>
<location filename="settingswindow.cpp" line="156"/>
<source>Time</source>
<translation>Время</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="156"/>
<location filename="settingswindow.cpp" line="158"/>
<source>Host</source>
<translation>Устройство</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="161"/>
<location filename="settingswindow.cpp" line="163"/>
<source>Repo</source>
<translation>Репозиторий</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="179"/>
<location filename="settingswindow.cpp" line="181"/>
<source>App settings</source>
<translation>Настройки</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="183"/>
<location filename="settingswindow.cpp" line="185"/>
<source>Font:</source>
<translation>Шрифт</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="185"/>
<location filename="settingswindow.cpp" line="187"/>
<source>Font size:</source>
<translation>Размер шрифта</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="187"/>
<location filename="settingswindow.cpp" line="189"/>
<source>Theme:</source>
<translation>Оформление</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="198"/>
<location filename="settingswindow.cpp" line="200"/>
<source>Use custom titlebar</source>
<translation>Кастомный заголовок</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="204"/>
<location filename="settingswindow.cpp" line="206"/>
<source>Use custom theme</source>
<translation>Кастомная тема</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="216"/>
<location filename="settingswindow.cpp" line="218"/>
<source>Dark</source>
<translation>Темная</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="217"/>
<location filename="settingswindow.cpp" line="219"/>
<source>Light</source>
<translation>Светлая</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="222"/>
<location filename="settingswindow.cpp" line="224"/>
<source>English</source>
<translation>Английский</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="223"/>
<location filename="settingswindow.cpp" line="225"/>
<source>Russian</source>
<translation>Русский</translation>
</message>
Expand All @@ -1030,113 +1029,119 @@ You have completed all of your tasks for the day. Good job!</source>
<translation type="vanished">Испанский</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="230"/>
<location filename="settingswindow.cpp" line="111"/>
<source>Some chips are in development and may not work properly.
If you notice a bug, please write about it to the developer or to the support bot.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingswindow.cpp" line="232"/>
<source>Language:</source>
<translation>Язык</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="251"/>
<location filename="settingswindow.cpp" line="253"/>
<source>Storage settings</source>
<translation>Параметры хранилища</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="256"/>
<location filename="settingswindow.cpp" line="257"/>
<location filename="settingswindow.cpp" line="258"/>
<location filename="settingswindow.cpp" line="259"/>
<source>Directory</source>
<translation>Директория</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="278"/>
<location filename="settingswindow.cpp" line="280"/>
<source>Projects content</source>
<translation>Проект</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="283"/>
<location filename="settingswindow.cpp" line="285"/>
<source>Created time</source>
<translation>Дата создания</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="285"/>
<location filename="settingswindow.cpp" line="287"/>
<source>Last release time</source>
<translation>Дата релиза</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="287"/>
<location filename="settingswindow.cpp" line="289"/>
<source>Last commit time</source>
<translation>Дата последней выгрузки</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="289"/>
<location filename="settingswindow.cpp" line="291"/>
<source>Total pull requests</source>
<translation>Количество prs</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="291"/>
<location filename="settingswindow.cpp" line="293"/>
<source>License</source>
<translation>Лицензия</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="293"/>
<location filename="settingswindow.cpp" line="295"/>
<source>Release</source>
<translation>Релиз</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="295"/>
<location filename="settingswindow.cpp" line="297"/>
<source>Issues</source>
<translation>Проблемы</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="297"/>
<location filename="settingswindow.cpp" line="299"/>
<source>Downloads</source>
<translation>Скачивания</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="299"/>
<location filename="settingswindow.cpp" line="301"/>
<source>Commits</source>
<translation>Commits</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="301"/>
<location filename="settingswindow.cpp" line="303"/>
<source>Langs</source>
<translation>Языки</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="303"/>
<location filename="settingswindow.cpp" line="305"/>
<source>Stars</source>
<translation>Звёзды</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="305"/>
<location filename="settingswindow.cpp" line="307"/>
<source>Forks</source>
<translation>Форки</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="307"/>
<location filename="settingswindow.cpp" line="309"/>
<source>Repo size</source>
<translation>Размер репозитория</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="342"/>
<location filename="settingswindow.cpp" line="344"/>
<source>About</source>
<translation>О приложении</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="350"/>
<location filename="settingswindow.cpp" line="352"/>
<source>Sync</source>
<translation>Синхронизация</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="358"/>
<location filename="settingswindow.cpp" line="360"/>
<source>Storage</source>
<translation>Хранилище</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="366"/>
<location filename="settingswindow.cpp" line="368"/>
<source>Appereance</source>
<translation>Оформление</translation>
</message>
<message>
<location filename="settingswindow.cpp" line="371"/>
<location filename="settingswindow.cpp" line="373"/>
<source>Projects</source>
<translation>Проекты</translation>
</message>
Expand Down
18 changes: 9 additions & 9 deletions src/CodeKeeper/accountFunc/functional.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ void AccountWindow::setTasksProgress()
calculatePercentage(incompleteTasksCount, totalTasks)};

QString labels[] = {tr("Completed"), tr("Started"), tr("Not Started")};
QColor colors[] = {QColor("#78b3ba"), QColor("#b1e032"), QColor("#c75d5e")};
QColor colors[] = {QColor("#85b9b3"), QColor("#a9bf85"), QColor("#e08581")};

for (int i = 0; i < 3; ++i)
{
Expand All @@ -434,15 +434,15 @@ void AccountWindow::setTasksProgress()
QColor progressColor;
if (percentage < 26)
{
progressColor = QColor("#c75d5e");
progressColor = QColor("#e08581");
}
else if (percentage < 51)
{
progressColor = QColor("#e09132");
progressColor = QColor("#d8bd85");
}
else
{
progressColor = QColor("#78b3ba");
progressColor = QColor("#85b9b3");
}
tasksStatsProgress->setProgressColor(progressColor);
}
Expand Down Expand Up @@ -477,7 +477,7 @@ void AccountWindow::setProjectsStats()

float values[] = {ns_p, s_p, fl_p, f_p};
QString labels[] = {tr("Not started"), tr("In Dev"), tr("On Review"), tr("Finished")};
QColor colors[] = {QColor("#c75d5e"), QColor("#e09132"), QColor("#b1e032"), QColor("#78b3ba")};
QColor colors[] = {QColor("#e08581"), QColor("#d8bd85"), QColor("#a9bf85"), QColor("#85b9b3")};

for (int i = 0; i < 4; ++i)
{
Expand All @@ -490,10 +490,10 @@ void AccountWindow::setLangsStats(const QString langsData, CircleChart *langsCha
ColorValueDisplay *langsValuesDisplay)
{
QStringList langsColors;
langsColors << "#c75d5e"
<< "#e09132"
<< "#b1e032"
<< "#78b3ba"
langsColors << "#e08581"
<< "#d8bd85"
<< "#a9bf85"
<< "#85b9b3"
<< "#5dc7c3"
<< "#c75da9"
<< "#c7c25d"
Expand Down
Loading

0 comments on commit 3879da4

Please sign in to comment.