@@ -481,7 +481,7 @@ function renderActivityGroupFromJson(section, title, items, renderItem) {
481481 const block = document . createElement ( 'div' )
482482 block . className = 'activity-group'
483483 const heading = document . createElement ( 'h3' )
484- heading . textContent = $localize `:@@printView.activityGroupHeading: ${ title } :TITLE: (${ entries . length } :COUNT: )`
484+ heading . textContent = ` ${ title } (${ entries . length } )`
485485 block . appendChild ( heading )
486486 const list = document . createElement ( 'ul' )
487487 entries . forEach ( ( entry ) => {
@@ -849,7 +849,7 @@ function renderPeerReviews(activities, section) {
849849 const block = document . createElement ( 'div' )
850850 block . className = 'activity-group'
851851 const heading = document . createElement ( 'h3' )
852- heading . textContent = $localize `:@@printView.peerReviewHeading: Peer review (${ reviews } :REVIEW_COUNT: reviews for ${ sortedPublications . size } :PUBLICATION_COUNT: publications/grants)`
852+ heading . textContent = ` Peer review (${ reviews } reviews for ${ sortedPublications . size } publications/grants)`
853853 block . appendChild ( heading )
854854 const list = document . createElement ( 'ul' )
855855 for ( publication of sortedPublications || [ ] ) {
@@ -927,9 +927,7 @@ async function fetchOrcidRecord(orcidId) {
927927 }
928928 }
929929 if ( ! response . ok ) {
930- throw new Error (
931- $localize `:@@printView.fetchFailed:Failed to fetch ORCID record (${ response . status } :STATUS:).`
932- )
930+ throw new Error ( `Failed to fetch ORCID record (${ response . status } ).` )
933931 }
934932
935933 const recordJson = await response . json ( )
@@ -956,10 +954,7 @@ async function loadRecord(orcidId) {
956954 message . className = 'error'
957955 message . textContent = error . message
958956 cvRoot . appendChild ( message )
959- showStatus (
960- $localize `:@@printView.couldNotLoad:Could not load ${ orcidId } :ORCID_ID:.` ,
961- 'error'
962- )
957+ showStatus ( `Could not load ${ orcidId } .` , 'error' )
963958 cvRoot . setAttribute ( 'aria-busy' , 'false' )
964959 }
965960}
0 commit comments