Skip to content

Commit

Permalink
feat: #98 #96 Add the new non-standard dictionaries tops for the Engl…
Browse files Browse the repository at this point in the history
…ish dictionaries. Note how minimal is the change for adding the new dictionary now! 🎉
  • Loading branch information
dmitry-weirdo committed Dec 3, 2024
1 parent c7bd26a commit 7d707a6
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,16 @@
"top": {
"loggerName": "MiniMarathonInEnglish",
"headerName": "Мини-марафон in English",
"minRacesCount": 100
"minRacesCount": 100,

// todo: add Excel sheet overloads if required
// "topByBestSpeedExcelSheetName": "Топ по рекорду в «Мини-марафоне in English»", // 43 chars
"topByBestSpeedExcelSheetName": "Рекорды в «Мини-марафоне Eng»", // 29 chars

// "topByRacesCountExcelSheetName": "Топ по пробегу в «Мини-марафоне in English»", // 43 chars
"topByRacesCountExcelSheetName": "Пробег в «Мини-марафоне Eng»", // 28 chars

// "topByHaulExcelSheetName": "Топ по времени в «Мини-марафоне in English»", // 43 chars
"topByHaulExcelSheetName": "Время в «Мини-марафоне Eng»" // 27 chars
}
},

Expand All @@ -251,9 +258,19 @@
"top": {
"loggerName": "LettersInEnglish",
"headerName": "Буквы in English",
"minRacesCount": 100

// todo: add Excel sheet overloads if required
// 2024.11.11 database - only 2 players with 100 races in this dictionary
// "minRacesCount": 100,
"minRacesCount": 10,

// "topByBestSpeedExcelSheetName": "Топ по рекорду в «Буквах in English»", // 36 chars
"topByBestSpeedExcelSheetName": "Рекорды в «Буквах in English»", // 29 chars

// "topByRacesCountExcelSheetName": "Топ по пробегу в «Мини-марафоне in English»", // 43 chars
"topByRacesCountExcelSheetName": "Пробег в «Буквах in English»", // 28 chars

// "topByHaulExcelSheetName": "Топ по времени в «Буквах in English»", // 36 chars
"topByHaulExcelSheetName": "Время в «Буквах in English»" // 27 chars
}
},

Expand Down Expand Up @@ -286,9 +303,16 @@
"top": {
"loggerName": "ShortTextsInEnglish",
"headerName": "Short Texts in English",
"minRacesCount": 100
"minRacesCount": 100,

// todo: add Excel sheet overloads if required
// "topByBestSpeedExcelSheetName": "Топ по рекорду в «Short Texts in English»", // 41 chars
"topByBestSpeedExcelSheetName": "Рекорды в «Short Texts in Eng»", // 30 chars

// "topByRacesCountExcelSheetName": "Топ по пробегу в «Short Texts in English»", // 41 chars
"topByRacesCountExcelSheetName": "Пробег в «Short Texts in Eng»", // 29 chars

// "topByHaulExcelSheetName": "Топ по времени в «Short Texts in English»", // 41 chars
"topByHaulExcelSheetName": "Время в «Short Texts in Eng»" // 28 chars
}
},

Expand Down
22 changes: 18 additions & 4 deletions kgstatsSrv/src/main/resources/ftl/header.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,8 @@
<#import "./dictionary-top-speed-link.ftl" as dtsl>
<#assign nonStandardDictionaries = links.nonStandardDictionaries>

<#-- Обычный in English -->
<@dtsl.dictionaryTopSpeedLink dictionaries=nonStandardDictionaries dictionaryId=5539/>

<#-- Мини-марафон, 800 знаков -->
| <@dtsl.dictionaryTopSpeedLink dictionaries=nonStandardDictionaries dictionaryId=6018/>
<@dtsl.dictionaryTopSpeedLink dictionaries=nonStandardDictionaries dictionaryId=6018/>

<#-- Короткие тексты -->
| <@dtsl.dictionaryTopSpeedLink dictionaries=nonStandardDictionaries dictionaryId=1789/>
Expand All @@ -70,6 +67,23 @@

<div class="header-vertical-space"></div>

<#-- Обычный in English -->
<@dtsl.dictionaryTopSpeedLink dictionaries=nonStandardDictionaries dictionaryId=5539/>

<#-- Мини-марафон in English -->
| <@dtsl.dictionaryTopSpeedLink dictionaries=nonStandardDictionaries dictionaryId=8835/>

<#-- Буквы in English -->
| <@dtsl.dictionaryTopSpeedLink dictionaries=nonStandardDictionaries dictionaryId=248189/>

<#-- One Hundred -->
| <@dtsl.dictionaryTopSpeedLink dictionaries=nonStandardDictionaries dictionaryId=62586/>

<#-- Short Texts in English -->
| <@dtsl.dictionaryTopSpeedLink dictionaries=nonStandardDictionaries dictionaryId=14878/>

<div class="header-vertical-space"></div>

<a href="./2020-12-09/stats.html">Статистика&nbsp;от&nbsp;09.12.2020</a>
</td>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
62238, // Цифросоточка
226, // Тренируем указательные
8223, // Безымянные
3714 // Мизинцы+
3714, // Мизинцы+

// Английские словари
8835, // Мини-марафон in English
248189, // Буквы in English
62586, // One Hundred
14878 // Short Texts in English
]
}

0 comments on commit 7d707a6

Please sign in to comment.