Skip to content

Commit

Permalink
Standardize /report strings and add context
Browse files Browse the repository at this point in the history
  • Loading branch information
reosarevok authored and yvanzo committed Dec 12, 2023
1 parent e955fec commit 926cea5
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion root/report/CatNoLooksLikeLabelCode.js
Expand Up @@ -36,7 +36,7 @@ const CatNoLooksLikeLabelCode = ({
entityType="release"
filtered={filtered}
generated={generated}
title={l('Releases with catalog numbers that look like Label Codes')}
title={l('Releases with catalog numbers that look like label codes')}
totalEntries={pager.total_entries}
>
<ReleaseList
Expand Down
2 changes: 1 addition & 1 deletion root/report/DuplicateReleaseGroups.js
Expand Up @@ -57,7 +57,7 @@ React$Element<typeof ReportLayout> => {
<thead>
<tr>
<th>{l('Artist')}</th>
<th>{l('Release Group')}</th>
<th>{l('Release group')}</th>
<th>{l('Type')}</th>
</tr>
</thead>
Expand Down
2 changes: 1 addition & 1 deletion root/report/LinksWithMultipleEntities.js
Expand Up @@ -58,7 +58,7 @@ const LinksWithMultipleEntities = ({
<thead>
<tr>
<th>{l('URL')}</th>
<th>{l('URL Entity')}</th>
<th>{l('URL entity')}</th>
<th>{l('Usage count')}</th>
</tr>
</thead>
Expand Down
2 changes: 1 addition & 1 deletion root/report/ReleaseRgDifferentName.js
Expand Up @@ -27,7 +27,7 @@ React$Element<typeof ReportLayout> => {
columnName: 'release_group',
descriptive: false,
getEntity: result => result.release_group ?? null,
title: l('Release Group'),
title: l('Release group'),
});

return (
Expand Down
2 changes: 1 addition & 1 deletion root/report/ReleasesSameBarcode.js
Expand Up @@ -43,7 +43,7 @@ const ReleasesSameBarcode = ({
columnName: 'release_group',
descriptive: false,
getEntity: result => result.release_group ?? null,
title: l('Release Group'),
title: l('Release group'),
});

return (
Expand Down
2 changes: 1 addition & 1 deletion root/report/WikidataLinksWithMultipleEntities.js
Expand Up @@ -53,7 +53,7 @@ const WikidataLinksWithMultipleEntities = ({
<thead>
<tr>
<th>{l('URL')}</th>
<th>{l('URL Entity')}</th>
<th>{l('URL entity')}</th>
<th>{l('Usage count')}</th>
</tr>
</thead>
Expand Down
2 changes: 1 addition & 1 deletion root/report/components/ReleaseGroupList.js
Expand Up @@ -47,7 +47,7 @@ const ReleaseGroupList = <D: {+release_group: ?ReleaseGroupT, ...}>({
columnName: 'release_group',
descriptive: false,
getEntity: result => result.release_group ?? null,
title: l('Release Group'),
title: l('Release group'),
});
const artistCreditColumn =
defineArtistCreditColumn<D>({
Expand Down
2 changes: 1 addition & 1 deletion root/report/components/ReleaseGroupUrlList.js
Expand Up @@ -34,7 +34,7 @@ const ReleaseGroupUrlList = ({
<thead>
<tr>
<th>{l('URL')}</th>
<th>{l('Release Group')}</th>
<th>{l('Release group')}</th>
<th>{l('Artist')}</th>
</tr>
</thead>
Expand Down
2 changes: 1 addition & 1 deletion root/report/components/UrlList.js
Expand Up @@ -49,7 +49,7 @@ const UrlList = <D: {+url: ?UrlT, ...}>({
columnName: 'url_entity',
getContent: result => result.url?.gid ?? '',
getHref: result => result.url?.gid ? '/url/' + result.url.gid : '',
title: l('URL Entity'),
title: l('URL entity'),
});

return [
Expand Down
2 changes: 1 addition & 1 deletion root/report/hooks/useCatNoColumn.js
Expand Up @@ -23,7 +23,7 @@ function useCatNoColumn<
const catNoColumn = defineTextColumn<D>({
columnName: 'catalog-number',
getText: result => result.catalog_number,
title: l('Catalog Number'),
title: l('Catalog number'),
});


Expand Down

0 comments on commit 926cea5

Please sign in to comment.