diff --git a/helpers/progressBlock.ts b/helpers/progressBlock.ts index e517ace..966ed28 100644 --- a/helpers/progressBlock.ts +++ b/helpers/progressBlock.ts @@ -64,7 +64,7 @@ function createProgressTable( )); // Location rating - const locationPlace = locationRating.place > 100 ? 'You are not in the Top 100' : locationRating.place.toString(); + const locationPlace = locationRating.place > 100 ? 'You are not in the top 100' : locationRating.place.toString(); const locationPlaceToTop = locationRating.place > 100 ? 0 : 100 - locationRating.place; const locationPercentage = createProgressBar(locationPlaceToTop); const locationLink = document.createElement('a'); @@ -77,7 +77,7 @@ function createProgressTable( )); // Language rating - const languagePlace = languageRating.place > 100 ? 'You are not in the Top 100' : languageRating.place.toString(); + const languagePlace = languageRating.place > 100 ? 'You are not in the top 100' : languageRating.place.toString(); const languagePlaceToTop = languageRating.place > 100 ? 0 : 100 - languageRating.place; const languagePercentage = createProgressBar(languagePlaceToTop); const languageLink = document.createElement('a'); diff --git a/helpers/ratingBlock.ts b/helpers/ratingBlock.ts index 2b6c764..f6a5232 100644 --- a/helpers/ratingBlock.ts +++ b/helpers/ratingBlock.ts @@ -75,7 +75,7 @@ export function generateRatingTableHTML(url: string, title: string, solved: numb ratingContainer.appendChild(header); if (!useShortFormat) { - const place = rating.place > 100 ? 'You are not in the Top 100' : rating.place.toString(); + const place = rating.place > 100 ? 'You are not in the top 100' : rating.place.toString(); ratingContainer.appendChild(createSectionHeader(`Current place: ${place}`, 'h4')); ratingContainer.appendChild(createSectionHeader(`Solved problems: ${solved}`, 'h5')); } diff --git a/manifest.json b/manifest.json index 7cfb670..2c949be 100644 --- a/manifest.json +++ b/manifest.json @@ -1,9 +1,9 @@ { "id": "project-euler-stats", "name": "Project Euler Stats", - "version": "1.0.3", + "version": "1.0.4", "minAppVersion": "0.15.0", - "description": "Plugin for getting statistics from ProjectEuler.", + "description": "Get statistics from Project Euler.", "author": "Artem Korsakov", "authorUrl": "https://github.com/artemkorsakov", "isDesktopOnly": false