Skip to content

Commit

Permalink
Small tidinesses
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Nov 25, 2024
1 parent 0581e21 commit dd0e72c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shaperglot-web/www/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,17 +146,17 @@ class Shaperglot {
result.append(`<h2>(${language.autonym})</h2>`);
}
if (language.population) {
result.append(`<p class="mb-0">Population: ${commify(language.population)}</p>`);
result.append(`<p class="mb-0"><b>Population</b>: ${commify(language.population)}</p>`);
}
if (language.region) {
let regions_list = language.region
.map((r) => this.regions[r].name)
.join(", ");
result.append(`<p class="mb-0">Regions: ${regions_list}</p>`);
result.append(`<p class="mb-0"><b>Regions</b>: ${regions_list}</p>`);
}
if (language.sample_text) {
result.append(
`<p class="mb-0">Sample text:<blockquote class="blockquote">${language.sample_text.specimen_32} ${language.sample_text.specimen_21}</blockquote></p>`
`<p class="mb-0"><b>Sample text</b>:<blockquote class="blockquote">${language.sample_text.specimen_32} ${language.sample_text.specimen_21}</blockquote></p>`
);
}

Expand Down

0 comments on commit dd0e72c

Please sign in to comment.