Skip to content

Commit

Permalink
Merge pull request #1941 from CSCfi/140-localization-fixes
Browse files Browse the repository at this point in the history
add person name to project search terms and change category translation
  • Loading branch information
konolak authored Jan 22, 2025
2 parents 4a38d41 + cf2db89 commit ff49111
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export class ProjectsComponent implements OnInit, OnDestroy, AfterViewInit {
},
{
key: 'abbreviation',
label: $localize`:@@spSortsAcronym:Lyhenne`,
label: $localize`:@@spSortsAbbreviation:Lyhenne`,
class: 'col-lg-4 col-xl-3 d-none d-lg-block',
mobile: false,
},
Expand Down
1 change: 1 addition & 0 deletions src/app/portal/services/static-data.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ export class StaticDataService {
'nameEn^2',
'nameSv^2',
'abbreviation',
'responsiblePerson.fullName',
'responsibleOrganization.orgNameFi',
'responsibleOrganization.orgNameSv',
'responsibleOrganization.orgNameEn',
Expand Down
8 changes: 4 additions & 4 deletions src/i18n/messages.en.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -4319,8 +4319,8 @@
<target>Results and impact</target>
</trans-unit>
<trans-unit id="spKeywordsTooltip" datatype="html">
<source>Avainsanat</source>
<target state="new">Limit search based on the keywords in the project&apos;s information.</target>
<source>Hankkeen avainsanat</source>
<target state="new">Keywords of the project</target>
</trans-unit>
<trans-unit id="spFiltersKeywords" datatype="html">
<source>Avainsanat</source>
Expand Down Expand Up @@ -4370,9 +4370,9 @@
<source>Hanke</source>
<target state="new">Project</target>
</trans-unit>
<trans-unit id="spSortsAcronym" datatype="html">
<trans-unit id="spSortsAbbreviation" datatype="html">
<source>Lyhenne</source>
<target state="new">Acronym</target>
<target state="new">Abbreviation</target>
</trans-unit>
<trans-unit id="spSortsOrganization" datatype="html">
<source>Organisaatio</source>
Expand Down
8 changes: 4 additions & 4 deletions src/i18n/messages.sv.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -4322,8 +4322,8 @@
<target>Resultat och påverkan</target>
</trans-unit>
<trans-unit id="spKeywordsTooltip" datatype="html">
<source>Avainsanat</source>
<target>Nyckelord för projektet</target>
<source>Hankkeen avainsanat</source>
<target state="new">Nyckelord för projektet</target>
</trans-unit>
<trans-unit id="spFiltersKeywords" datatype="html">
<source>Avainsanat</source>
Expand Down Expand Up @@ -4373,9 +4373,9 @@
<source>Hanke</source>
<target state="new">Projekt</target>
</trans-unit>
<trans-unit id="spSortsAcronym" datatype="html">
<trans-unit id="spSortsAbbreviation" datatype="html">
<source>Lyhenne</source>
<target state="new">Akronym</target>
<target state="new">Förkortning</target>
</trans-unit>
<trans-unit id="spSortsOrganization" datatype="html">
<source>Organisaatio</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 @@ -3241,7 +3241,7 @@
<source>Tulokset ja vaikuttavuus</source>
</trans-unit>
<trans-unit id="spKeywordsTooltip" datatype="html">
<source>Avainsanat</source>
<source>Hankkeen avainsanat</source>
</trans-unit>
<trans-unit id="spFiltersKeywords" datatype="html">
<source>Avainsanat</source>
Expand Down Expand Up @@ -3279,7 +3279,7 @@
<trans-unit id="spReadMore" datatype="html">
<source>Lue lisää</source>
</trans-unit>
<trans-unit id="spSortsAcronym" datatype="html">
<trans-unit id="spSortsAbbreviation" datatype="html">
<source>Lyhenne</source>
</trans-unit>
<trans-unit id="spSortsOrganization" datatype="html">
Expand Down

0 comments on commit ff49111

Please sign in to comment.