Skip to content

Commit

Permalink
fix journal translation
Browse files Browse the repository at this point in the history
  • Loading branch information
konolak committed Feb 18, 2025
1 parent 996e51f commit 5b7f904
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ <h3 style='font-size: 1.4rem; margin: 0'>Rajaa hakua</h3>
<app-collapsible [label]='labelText.parentPublicationType' hasTooltip='true'>
<ng-container tooltip>
<p>
<strong><ng-container i18n="@@journal">Lehti: </ng-container></strong>
<strong><ng-container i18n="@@journalOrSeries">Lehti/Sarja: </ng-container></strong>
<ng-container i18n="@@journalTooltipContent">sisältää tieteelliset aikakauslehdet ja ammattilehdet.</ng-container>
</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class SinglePublicationComponent
field: 'parentPublicationType',
tooltip:
'<p><strong>' +
$localize`:@@journal:Lehti` +
$localize`:@@journalOrSeries:Lehti/Sarja` +
': </strong>' +
$localize`:@@journalTooltipContent:Sisältää tieteelliset aikakauslehdet ja ammattilehdet.` +
'</p><p><strong>' +
Expand Down Expand Up @@ -224,7 +224,7 @@ export class SinglePublicationComponent

mediumFields = [
{
label: $localize`Lehti`,
label: $localize`Lehti/Sarja`,
field: 'journalName',
link: true,
linkPath: '/results/publications/' /*, lang: true */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class PublicationFilterService {
open: false,
tooltip:
'<p><strong>' +
$localize`:@@journal:Lehti` +
$localize`:@@journalOrSeries:Lehti/Sarja` +
': </strong>' +
$localize`:@@journalTooltipContent:sisältää tieteelliset aikakauslehdet ja ammattilehdet.` +
'</p><p><strong>' +
Expand Down
2 changes: 1 addition & 1 deletion src/app/portal/services/publication2.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ export class Publication2Service {

getArticleTypeCodeNames(): Observable<Record<string, string>> {
return of({
"0": $localize`:@@journal:Lehti`,
"0": $localize`:@@journalOrSeries:Lehti/Sarja`,
"1": $localize`:@@researchBook:Kokoomateos`,
"2": $localize`:@@Conference:Konferenssi`,
"3": $localize`:@@onlinePlatform:Verkkoalusta`
Expand Down
10 changes: 5 additions & 5 deletions src/i18n/messages.en.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1171,9 +1171,9 @@
<source>Sisältää blogimuotoiset julkaisut, joiden julkaisemisesta on päättänyt riippumaton toimituskunta tai joiden julkaisualustalla on ISSN-tunnus.</source>
<target>Contains blog publications that have been approved for publication by an independent editorial board or that are published on a platform assigned an ISSN number.</target>
</trans-unit>
<trans-unit id="journal" datatype="html">
<source>Lehti: </source>
<target state="new">Journal</target>
<trans-unit id="journalOrSeries" datatype="html">
<source>Lehti/Sarja: </source>
<target state="new">Journal/Series</target>
</trans-unit>
<trans-unit id="journalTooltipContent" datatype="html">
<source>sisältää tieteelliset aikakauslehdet ja ammattilehdet.</source>
Expand Down Expand Up @@ -1228,8 +1228,8 @@
<target>Publication authors in the order they are listed in the original publication. If there are more than 20 authors, not all of them will necessarily be mentioned.</target>
</trans-unit>
<trans-unit id="3294281240991807762" datatype="html">
<source>Lehti</source>
<target>Journal</target>
<source>Lehti/Sarja</source>
<target>Journal/Series</target>
</trans-unit>
<trans-unit id="3537901381707941652" datatype="html">
<source>Emojulkaisun nimi</source>
Expand Down
12 changes: 6 additions & 6 deletions src/i18n/messages.sv.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1174,9 +1174,9 @@
<source>Sisältää blogimuotoiset julkaisut, joiden julkaisemisesta on päättänyt riippumaton toimituskunta tai joiden julkaisualustalla on ISSN-tunnus.</source>
<target state="new">Innehåller publikationer i bloggformat som har publicerats av en oberoende redaktion eller vars publikationsplattform har ett ISSN-nummer.</target>
</trans-unit>
<trans-unit id="journal" datatype="html">
<source>Lehti: </source>
<target state="new">Tidning</target>
<trans-unit id="journalOrSeries" datatype="html">
<source>Lehti/Sarja: </source>
<target state="new">Journal/Serie</target>
</trans-unit>
<trans-unit id="journalTooltipContent" datatype="html">
<source>sisältää tieteelliset aikakauslehdet ja ammattilehdet.</source>
Expand Down Expand Up @@ -1231,8 +1231,8 @@
<target state="translated">Fullständig information om publikationens upphovspersoner anges i den form och i den ordning som de nämns i den ursprungliga publikationen eller källdatabasen.</target>
</trans-unit>
<trans-unit id="3294281240991807762" datatype="html">
<source>Lehti</source>
<target>Journal</target>
<source>Lehti/Sarja</source>
<target>Journal/Serie</target>
</trans-unit>
<trans-unit id="3537901381707941652" datatype="html">
<source>Emojulkaisun nimi</source>
Expand Down Expand Up @@ -3240,7 +3240,7 @@
</trans-unit>
<trans-unit id="myDataEditorModalFundingTabInfo" datatype="html">
<source>Tiedejatutkimus.fi-palvelusta löytyvät rahoitusmyönnöt, joissa on ORCID-tunnuksesi, lisätään tietoihisi automaattisesti. Myönnettyä rahoitusta, joihin ei ole liitetty ORCID-tunnustasi, voit lisätä &quot;Hae muita myönnetyjä rahoituksia&quot; -toiminnolla.</source>
<target state="new">I tjänsten Forskning.fi hittar du beviljade bidrag med din ORCID-kod som läggs till din uppgifter automatiskt. beviljade finansiering som inte är kopplade till din ORCID-kod kan du lägga till med funktionen &quot;Hämta andra beviljade bidragen&quot;.</target>
<target state="new">I tjänsten Forskning.fi hittar du beviljade bidrag med din ORCID-kod som läggs till din uppgifter automatiskt. Beviljade finansiering som inte är kopplade till din ORCID-kod kan du lägga till med funktionen &quot;Hämta andra beviljade bidragen&quot;.</target>
</trans-unit>
<trans-unit id="searchForOtherPublicationsFromPortal" datatype="html">
<source>Hae muita julkaisuja Tiedejatutkimus.fi:stä julkaisun tai tekijän nimellä ja liitä ne profiiliisi.</source>
Expand Down
4 changes: 2 additions & 2 deletions src/i18n/messages.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1250,8 +1250,8 @@
<trans-unit id="popularPublicationTooltipContent" datatype="html">
<source>Julkaisut, jotka levittävät tutkimus- ja kehitystyöhön perustuvaa tietoa suurelle yleisölle ja joiden sisällön ymmärtäminen ei edellytä erityistä perehtyneisyyttä alaan.</source>
</trans-unit>
<trans-unit id="journal" datatype="html">
<source>Lehti: </source>
<trans-unit id="journalOrSeries" datatype="html">
<source>Lehti/Sarja: </source>
</trans-unit>
<trans-unit id="journalTooltipContent" datatype="html">
<source>sisältää tieteelliset aikakauslehdet ja ammattilehdet.</source>
Expand Down

0 comments on commit 5b7f904

Please sign in to comment.