Skip to content

Commit

Permalink
UHF-11372: Added <br> tags to text
Browse files Browse the repository at this point in the history
  • Loading branch information
annadruid committed Feb 21, 2025
1 parent 29b2ae4 commit 1051e09
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion dist/js/ploughing-schedule.min.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import parse from 'html-react-parser';
const getScheduleCard = (maintenanceClass: number, several?: boolean) => {
if (maintenanceClass > 0) {
const schedules: any = [];
schedules[1] = Drupal.t('We will start to clear snow when there is three centimetres of snow. We will clear the street of snow within four hours. If snow has fallen in the evening or late into the night (19.00–3.00), we will clear the street by seven in the morning. If it snows heavily and for a long time, clearing may be delayed.', {}, {context: 'Ploughing schedule: Class 1'});
schedules[2] = Drupal.t('We will start to clear snow when there is three centimetres of snow. We will clear the street of snow within four hours. If snow has fallen in the evening or late into the night (19.00–3.00), we will clear the street by seven in the morning. If it snows heavily and for a long time, clearing may be delayed.', {}, {context: 'Ploughing schedule: Class 2'});
schedules[3] = Drupal.t('We will start to clear snow when there is five centimetres of snow. We will clear the street of snow within 12 hours. If snow has fallen in the evening or during the night (19.00–7.00), we will clear the street by seven the next evening. If it snows heavily and for a long time, clearing may be delayed.', {}, {context: 'Ploughing schedule: Class 3'});
schedules[1] = Drupal.t('We will start to clear snow when there is three centimetres of snow.<br>We will clear the street of snow within four hours. If snow has fallen in the evening or late into the night (19.00–3.00), we will clear the street by seven in the morning.<br>If it snows heavily and for a long time, clearing may be delayed.', {}, {context: 'Ploughing schedule: Class 1'});
schedules[2] = Drupal.t('We will start to clear snow when there is three centimetres of snow.<br>We will clear the street of snow within four hours. If snow has fallen in the evening or late into the night (19.00–3.00), we will clear the street by seven in the morning.<br>If it snows heavily and for a long time, clearing may be delayed.', {}, {context: 'Ploughing schedule: Class 2'});
schedules[3] = Drupal.t('We will start to clear snow when there is five centimetres of snow.<br>We will clear the street of snow within 12 hours. If snow has fallen in the evening or during the night (19.00–7.00), we will clear the street by seven the next evening.<br>If it snows heavily and for a long time, clearing may be delayed.', {}, {context: 'Ploughing schedule: Class 3'});
const leadText: string = Drupal.t('The estimated ploughing schedules for the different parts of the street differ from each other. Below is the ploughing schedule for the longest part of the street.', {}, {context: 'Ploughing schedule: Multiple streets'});

return {
Expand Down
12 changes: 6 additions & 6 deletions translations/fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -1023,16 +1023,16 @@ msgid "For example, Mannerheimintie"
msgstr "Esim. Mannerheimintie"

msgctxt "Ploughing schedule: Class 1"
msgid "We will start to clear snow when there is three centimetres of snow. We will clear the street of snow within four hours. If snow has fallen in the evening or late into the night (19.00–3.00), we will clear the street by seven in the morning. If it snows heavily and for a long time, clearing may be delayed."
msgstr "Aloitamme aurauksen, kun lunta on satanut kolme senttimetriä. Auraamme kadun neljän tunnin kuluessa. Jos lumi on satanut illalla tai alkuyöstä (kello 19–03), auraamme kadun kello 7 mennessä aamulla. Jos lunta sataa paljon ja pitkään, voi auraus viivästyä."
msgid "We will start to clear snow when there is three centimetres of snow.<br>We will clear the street of snow within four hours. If snow has fallen in the evening or late into the night (19.00–3.00), we will clear the street by seven in the morning.<br>If it snows heavily and for a long time, clearing may be delayed."
msgstr "Aloitamme aurauksen, kun lunta on satanut kolme senttimetriä.<br>Auraamme kadun neljän tunnin kuluessa. Jos lumi on satanut illalla tai alkuyöstä (kello 19–03), auraamme kadun kello 7 mennessä aamulla.<br>Jos lunta sataa paljon ja pitkään, voi auraus viivästyä."

msgctxt "Ploughing schedule: Class 2"
msgid "We will start to clear snow when there is three centimetres of snow. We will clear the street of snow within four hours. If snow has fallen in the evening or late into the night (19.00–3.00), we will clear the street by seven in the morning. If it snows heavily and for a long time, clearing may be delayed."
msgstr "Aloitamme aurauksen, kun lunta on satanut kolme senttimetriä. Auraamme kadun neljän tunnin kuluessa. Jos lumi on satanut illalla tai alkuyöstä (kello 19–03), auraamme kadun kello 7 mennessä aamulla. Jos lunta sataa paljon ja pitkään, voi auraus viivästyä."
msgid "We will start to clear snow when there is three centimetres of snow.<br>We will clear the street of snow within four hours. If snow has fallen in the evening or late into the night (19.00–3.00), we will clear the street by seven in the morning.<br>If it snows heavily and for a long time, clearing may be delayed."
msgstr "Aloitamme aurauksen, kun lunta on satanut kolme senttimetriä.<br>Auraamme kadun neljän tunnin kuluessa. Jos lumi on satanut illalla tai alkuyöstä (kello 19–03), auraamme kadun kello 7 mennessä aamulla.<br>Jos lunta sataa paljon ja pitkään, voi auraus viivästyä."

msgctxt "Ploughing schedule: Class 3"
msgid "We will start to clear snow when there is five centimetres of snow. We will clear the street of snow within 12 hours. If snow has fallen in the evening or during the night (19.00–7.00), we will clear the street by seven the next evening. If it snows heavily and for a long time, clearing may be delayed."
msgstr "Aloitamme aurauksen, kun lunta on satanut viisi senttimetriä. Auraamme kadun 12 tunnin kuluessa. Jos lumi on satanut illalla tai yöllä (kello 19–07), auraamme kadun seuraavaan iltaan kello 19 mennessä. Jos lunta sataa paljon ja pitkään, voi auraus viivästyä."
msgid "We will start to clear snow when there is five centimetres of snow.<br>We will clear the street of snow within 12 hours. If snow has fallen in the evening or during the night (19.00–7.00), we will clear the street by seven the next evening.<br>If it snows heavily and for a long time, clearing may be delayed."
msgstr "Aloitamme aurauksen, kun lunta on satanut viisi senttimetriä.<br>Auraamme kadun 12 tunnin kuluessa. Jos lumi on satanut illalla tai yöllä (kello 19–07), auraamme kadun seuraavaan iltaan kello 19 mennessä.<br>Jos lunta sataa paljon ja pitkään, voi auraus viivästyä."

msgctxt "Ploughing schedule: Multiple streets"
msgid "The estimated ploughing schedules for the different parts of the street differ from each other. Below is the ploughing schedule for the longest part of the street."
Expand Down
12 changes: 6 additions & 6 deletions translations/sv.po
Original file line number Diff line number Diff line change
Expand Up @@ -1021,16 +1021,16 @@ msgid "For example, Mannerheimintie"
msgstr "T.ex. Mannerheimvägen"

msgctxt "Ploughing schedule: Class 1"
msgid "We will start to clear snow when there is three centimetres of snow. We will clear the street of snow within four hours. If snow has fallen in the evening or late into the night (19.00–3.00), we will clear the street by seven in the morning. If it snows heavily and for a long time, clearing may be delayed."
msgstr "Vi börjar ploga när det har fallit tre centimeter snö. Vi plogar gatan inom fyra timmar. Om snön har fallit på kvällen eller sent på natten (kl. 19.00–03.00) plogar vi gatan senast klockan sju på morgonen. Om det snöar kraftigt och under en längre tid kan plogningen bli försenad."
msgid "We will start to clear snow when there is three centimetres of snow.<br>We will clear the street of snow within four hours. If snow has fallen in the evening or late into the night (19.00–3.00), we will clear the street by seven in the morning.<br>If it snows heavily and for a long time, clearing may be delayed."
msgstr "Vi börjar ploga när det har fallit tre centimeter snö.<br>Vi plogar gatan inom fyra timmar. Om snön har fallit på kvällen eller sent på natten (kl. 19.00–03.00) plogar vi gatan senast klockan sju på morgonen.<br>Om det snöar kraftigt och under en längre tid kan plogningen bli försenad."

msgctxt "Ploughing schedule: Class 2"
msgid "We will start to clear snow when there is three centimetres of snow. We will clear the street of snow within four hours. If snow has fallen in the evening or late into the night (19.00–3.00), we will clear the street by seven in the morning. If it snows heavily and for a long time, clearing may be delayed."
msgstr "Vi börjar ploga när det har fallit tre centimeter snö. Vi plogar gatan inom fyra timmar. Om snön har fallit på kvällen eller sent på natten (kl. 19.00–03.00) plogar vi gatan senast klockan sju på morgonen. Om det snöar kraftigt och under en längre tid kan plogningen bli försenad."
msgid "We will start to clear snow when there is three centimetres of snow.<br>We will clear the street of snow within four hours. If snow has fallen in the evening or late into the night (19.00–3.00), we will clear the street by seven in the morning.<br>If it snows heavily and for a long time, clearing may be delayed."
msgstr "Vi börjar ploga när det har fallit tre centimeter snö.<br>Vi plogar gatan inom fyra timmar. Om snön har fallit på kvällen eller sent på natten (kl. 19.00–03.00) plogar vi gatan senast klockan sju på morgonen.<br>Om det snöar kraftigt och under en längre tid kan plogningen bli försenad."

msgctxt "Ploughing schedule: Class 3"
msgid "We will start to clear snow when there is five centimetres of snow. We will clear the street of snow within 12 hours. If snow has fallen in the evening or during the night (19.00–7.00), we will clear the street by seven the next evening. If it snows heavily and for a long time, clearing may be delayed."
msgstr "Vi börjar ploga när det har fallit fem centimeter snö. Vi plogar gatan inom tolv timmar. Om snön har fallit på kvällen eller under natten (kl. 19.00–07.00) plogar vi gatan senast klockan sju nästa kväll. Om det snöar kraftigt och under en längre tid kan plogningen bli försenad."
msgid "We will start to clear snow when there is five centimetres of snow.<br>We will clear the street of snow within 12 hours. If snow has fallen in the evening or during the night (19.00–7.00), we will clear the street by seven the next evening.<br>If it snows heavily and for a long time, clearing may be delayed."
msgstr "Vi börjar ploga när det har fallit fem centimeter snö.<br>Vi plogar gatan inom tolv timmar. Om snön har fallit på kvällen eller under natten (kl. 19.00–07.00) plogar vi gatan senast klockan sju nästa kväll.<br>Om det snöar kraftigt och under en längre tid kan plogningen bli försenad."

msgctxt "Ploughing schedule: Multiple streets"
msgid "The estimated ploughing schedules for the different parts of the street differ from each other. Below is the ploughing schedule for the longest part of the street."
Expand Down

0 comments on commit 1051e09

Please sign in to comment.