Skip to content

Commit

Permalink
updated error message and translations (#1629)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpnykanen authored Jan 23, 2025
1 parent d14b5c1 commit d3a3146
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ public function alterForm(array &$form, FormStateInterface $form_state, WebformS
default:
// We show integrity error earlier, so suppress error here.
if ($dataIntegrityStatus == 'OK') {
$errorMsg = $this->t('Application period is closed. You can edit the draft, but not submit it.');
$errorMsg = $this->t('The application is being processed. The application cannot be edited or submitted.');
}

$form['actions']['submit']['#disabled'] = TRUE;
Expand Down
4 changes: 2 additions & 2 deletions public/modules/custom/grants_handler/translations/fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,8 @@ msgctxt "grants_handler"
msgid "There may be a delay in changing the status. For example, due to maintenance breaks, the delay can be longer than normal."
msgstr "Tilan vaihtumisessa voi olla viivettä. Esimerkiksi huoltokatkoista johtuen viive voi olla normaaliakin pidempi."

msgid "Application period is closed. You can edit the draft, but not submit it."
msgstr "Hakemusaika on päättynyt. Voit muokata luonnosta, mutta et lähettää sitä."
msgid "The application is being processed. The application cannot be edited or submitted."
msgstr "Hakemus on käsittelyssä tai hakuaika päättynyt. Hakemusta ei voi enää lähettää."

msgid "The application form has changed, make a new application."
msgstr "Hakemuspohja muuttunut, tee uusi hakemus."
Expand Down
3 changes: 3 additions & 0 deletions public/modules/custom/grants_handler/translations/sv.po
Original file line number Diff line number Diff line change
Expand Up @@ -667,3 +667,6 @@ msgstr "Du måste besöka alla sidor i formuläret innan du kan skicka in ansök
msgctxt "grants_handler"
msgid "Application to copy"
msgstr "Ansökan om att kopiera"

msgid "The application is being processed. The application cannot be edited or submitted."
msgstr "Ansökan är under behandling. Ansökan kan inte redigeras eller skickas."

0 comments on commit d3a3146

Please sign in to comment.