Skip to content

Commit

Permalink
Merge pull request #877 from City-of-Helsinki/UHF-9193_maternity_clin…
Browse files Browse the repository at this point in the history
…ic_search

Uhf 9193 maternity clinic search
  • Loading branch information
j-mys authored Jan 19, 2024
2 parents 5ec0b80 + ddf7351 commit 94eba37
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ drush locale:check && drush locale:update && drush cr
```
And then flush all caches from top left drupal admin menu under "Druplicon".

If the translation are still not showing, make sure that your `/public/sites/default/files/translations` has sufficient permissions.

### I have some php linter errors

You can lint or fix php in instance root's shell
Expand Down
2 changes: 1 addition & 1 deletion dist/js/health-station-search.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/maternity-and-child-health-clinic-search.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/school-search.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/js/react/common/ResultsMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const ResultsMap = ({ ids }: ResultsMapProps) => {
</iframe>
</div>
<div className='unit-search__map-actions'>
<ExternalLink href={mapUrl} title={<span>{Drupal.t('Open large version of the map')}</span>} />
<ExternalLink href={mapUrl} title={<span>{Drupal.t('Open large version of the map', {}, {context: 'React search: result display'})}</span>} />
</div>
</div>
);
Expand Down
4 changes: 4 additions & 0 deletions translations/fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,10 @@ msgctxt "React search: result display"
msgid "View in a map"
msgstr "Näytä kartalla"

msgctxt "React search: result display"
msgid "Open large version of the map"
msgstr "Avaa kartta suurempana"

msgctxt "School search: text input placeholder"
msgid "E.g. Aurinkolahti Comprehensive School or 00990"
msgstr "Esim. Aurinkolahden peruskoulu tai 00990"
Expand Down
6 changes: 5 additions & 1 deletion translations/sv.po
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ msgstr[1] "@count hälsostation"

msgctxt "React search: Maternity and child health clinic result count"
msgid "@clinics clinics"
msgstr "@clinics rådgivningsbyråar"
msgstr "@clinics rådgivningsbyråer"

msgctxt "React search: Maternity and child health clinic result count"
msgid "@clinics clinic"
Expand Down Expand Up @@ -894,6 +894,10 @@ msgctxt "React search: result display"
msgid "View in a map"
msgstr "Visa på kartan"

msgctxt "React search: result display"
msgid "Open large version of the map"
msgstr "Öppna kartan i större format"

msgctxt "School search: text input placeholder"
msgid "E.g. Aurinkolahti Comprehensive School or 00990"
msgstr "t.ex. Grundskolan Aurinkolahden peruskoulu eller 00990"
Expand Down

0 comments on commit 94eba37

Please sign in to comment.