Skip to content

Commit

Permalink
Merge pull request #40 from City-of-Helsinki/UHF-8700_menu-publishing…
Browse files Browse the repository at this point in the history
…-text-changes

UHF-8700: Text changes in the menu publishing switch
  • Loading branch information
dire authored Jul 5, 2023
2 parents 8776973 + c8fbe2c commit f81ea16
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions helfi_navigation.module
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ function helfi_navigation_form_node_form_alter(
// Show menu link's 'published' field on node edit form.
$form['menu']['content_translation_status'] = [
'#type' => 'checkbox',
'#title' => t('Published'),
'#description' => t('A flag indicating whether this menu link translation is published'),
'#title' => t('Published in the main menu'),
'#description' => t('The selection will publish the page in hel.fi’s main and mobile menu. Set the selection as Published when you choose Provide a menu link from above. The page will not show up in the main menu or mobile menu without this selection.'),
'#default_value' => $defaults['content_translation_status'],
];
$form['actions']['submit']['#submit'][] = 'helfi_navigation_form_node_form_submit';
Expand Down
7 changes: 5 additions & 2 deletions translations/fi.po
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
msgid ""
msgstr ""

msgid "A flag indicating whether this menu link translation is published"
msgstr "Asetus määrittää onko tämän valikkolinkin käännös julkaistu"
msgid "Published in the main menu"
msgstr "Julkaistu päävalikossa"

msgid "The selection will publish the page in hel.fi’s main and mobile menu. Set the selection as Published when you choose Provide a menu link from above. The page will not show up in the main menu or mobile menu without this selection."
msgstr "Valinta julkaisee sivun koko hel.fin pää- ja mobiilivalikkoon. Aseta valinta julkaistu-tilaan, kun valitset yltä Näytä sivusto valikossa. Sivu ei näy päävalikossa eikä mobiilivalikossa ilman tätä valintaa."
7 changes: 5 additions & 2 deletions translations/sv.po
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
msgid ""
msgstr ""

msgid "A flag indicating whether this menu link translation is published"
msgstr "En flagga som indikerar om denna menylänköversättning är publicerad"
msgid "Published in the main menu"
msgstr "Publicerats i huvudmenyn"

msgid "The selection will publish the page in hel.fi’s main and mobile menu. Set the selection as Published when you choose Provide a menu link from above. The page will not show up in the main menu or mobile menu without this selection."
msgstr "Valet publicerar sidan i huvudmenyn och mobilmenyn på hela hel.fi. Välj publicerats när du väljer Ange en menylänk ovan. Sidan visas inte i huvudmenyn eller mobilmenyn utan detta val."

0 comments on commit f81ea16

Please sign in to comment.