Skip to content
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
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"asuntomyynti/react": "^1.5",
"asuntomyynti/react": "^1.5.1",
"composer/installers": "^2.3",
"cweagans/composer-patches": "^2.0",
"dinbror/blazy": "^1.8",
Expand Down Expand Up @@ -267,9 +267,9 @@
"type": "package",
"package": {
"name": "asuntomyynti/react",
"version": "1.5.0",
"version": "1.5.1",
"dist": {
"url": "https://github.com/City-of-Helsinki/asuntomyynti-react/releases/download/v1.5.0/asuntomyynti-react-1.5.0.zip",
"url": "https://github.com/City-of-Helsinki/asuntomyynti-react/releases/download/v1.5.1/asuntomyynti-react-1.5.1.zip",
"type": "zip"
}
}
Expand Down
6 changes: 3 additions & 3 deletions composer.lock

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

16 changes: 14 additions & 2 deletions public/modules/custom/asu_content/translations/fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -11626,7 +11626,10 @@ msgid "You have unsubscribed"
msgstr "Ilmoitusten tilaus on peruttu."

msgid "You have been unsubscribed from notifications"
msgstr "Olet poistettu ilmoitusten tilaajista."
msgstr "Olet perunut ilmoitusten tilauksen."

msgid "You have been unsubscribed from notifications."
msgstr "Olet perunut ilmoitusten tilauksen."

msgid "Sales started — @title"
msgstr "Myynti alkanut — @title"
Expand Down Expand Up @@ -11673,6 +11676,12 @@ msgstr "Vahvista tilauksesi kohteeseen @title"
msgid "Good news! The project has moved to sales."
msgstr "Hyviä uutisia! Kohte on siirtynyt myyntivaiheeseen."

msgid "Application period has started."
msgstr "Kohteen hakuaika on alkanut."

msgid "Pre-marketing"
msgstr "Ennakkomarkkinoinnissa"

msgid "The project status has been updated."
msgstr "Kohden tila on päivitetty."

Expand All @@ -11689,7 +11698,10 @@ msgid "Failed to send confirmation email. Please try again later."
msgstr "Vahvistussähköpostin lähettäminen epäonnistui. Yritä myöhemmin uudelleen."

msgid "Subscribe to property updates"
msgstr "Tilaa kohteen päivitykset"
msgstr "Ilmoitusvahti"

msgid "Open project page"
msgstr "Avaa kohdesivu"

msgid "Subscribe to @title"
msgstr "Tilaa aihepiirin @title RSS-syöte"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,15 @@ public function processItem($data): void {
}

$lines[] = '<br />';
$lines[] = (string) $this->t('New status: @state', ['@state' => $new_state], ['langcode' => $langcode]);
if ($new_state === 'Myynnissä') {
$lines[] = (string) $this->t('Application period has started.', [], ['langcode' => $langcode]);
}
elseif ($new_state === 'Ennakkomarkkinoinnissa') {
$lines[] = (string) $this->t('Pre-marketing', [], ['langcode' => $langcode]);
}
else {
$lines[] = (string) $this->t('New status: @state', ['@state' => $new_state], ['langcode' => $langcode]);
}

if ($title) {
$lines[] = (string) $this->t('Project: @title', ['@title' => $escTitle], ['langcode' => $langcode]);
Expand Down
Loading