Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uhf 9193 maternity clinic search #877

Merged
merged 2 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 @@ -893,6 +893,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 @@ -856,7 +856,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 @@ -886,6 +886,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