diff --git a/core/modules/help_topics/help_topics/forum.configuring.html.twig b/core/modules/help_topics/help_topics/forum.configuring.html.twig index 0b2b123b13..b6b91ea775 100644 --- a/core/modules/help_topics/help_topics/forum.configuring.html.twig +++ b/core/modules/help_topics/help_topics/forum.configuring.html.twig @@ -3,21 +3,24 @@ label: 'Configuring forums' related: - forum.concept --- -{% set settings = render_var(url('forum.settings')) %} -{% set overview = render_var(url('forum.overview')) %} {% set forum_concept_topic = render_var(help_topic_link('forum.concept')) %} -{% set index = render_var(url('forum.index')) %} +{% set settings_link_text %}{% trans %}Settings{% endtrans %}{% endset %} +{% set settings_link = render_var(help_route_link(settings_link_text, 'forum.settings')) %} +{% set overview_link_text %}{% trans %}Forums{% endtrans %}{% endset %} +{% set overview_link = render_var(help_route_link(overview_link_text, 'forum.overview')) %} +{% set index_link_text %}{% trans %}Forums{% endtrans %}{% endset %} +{% set index_link = render_var(help_route_link(index_link_text, 'forum.index')) %}

{% trans %}Goal{% endtrans %}

{% trans %}Configure settings for forums, and set up forum structure.{% endtrans %}

{% trans %}Steps{% endtrans %}

    -
  1. {% trans %}In the Manage administrative menu, navigate to Structure > Forums > Settings.{% endtrans %}
  2. +
  3. {% trans %}In the Manage administrative menu, navigate to Structure > Forums > {{ settings_link }}.{% endtrans %}
  4. {% trans %}Choose the desired settings for Hot topic threshold, Topics per page, and Default order. Click Save configuration if you have made any changes.{% endtrans %}
  5. -
  6. {% trans %}In the Manage administrative menu, navigate to Structure > Forums.{% endtrans %}
  7. +
  8. {% trans %}In the Manage administrative menu, navigate to Structure > {{ overview_link }}.{% endtrans %}
  9. {% trans %}Decide on the hierarchy of containers and forums you want for your site; see {{ forum_concept_topic }} for an overview of forum hierarchy.{% endtrans %}
  10. {% trans %}Create the containers that you want in your forum hierarchy, starting at the top level, if any. To create a container, click Add container, enter the container name and optionally other settings, and click Save.{% endtrans %}
  11. {% trans %}Create the forums that you want in your forum hierarchy, starting at the top level. To create a forum, click Add forum and enter the forum name. If your hierarchy has this forum inside a container or another forum, select the parent forum/container in the Parent field. Review and/or edit the other settings, and click Save.{% endtrans %}
  12. {% trans %}Optionally, delete the provided General discussion forum, if you do not want this forum to be available on your site.{% endtrans %}
  13. {% trans %}Review and/or edit the permissions related to forums. The administrative permission for editing the forum settings is in the Forum module section of the permissions page, and administrative permissions for editing the forum hierarchy are in the Taxonomy module section. The user permissions for creating forum topics are in the Node module section, and for commenting on topics are in the Comment module section.{% endtrans %}
  14. -
  15. {% trans %}Add links to the main Forums page (path: /forum), and optionally to individual forum pages, to navigation menus on your site, so that users can find the forums.{% endtrans %}
  16. +
  17. {% trans %}Add links to the main {{ index_link }} page (path: /forum), and optionally to individual forum pages, to navigation menus on your site, so that users can find the forums.{% endtrans %}
diff --git a/core/modules/help_topics/help_topics/forum.locking.html.twig b/core/modules/help_topics/help_topics/forum.locking.html.twig index e87639eac6..f295ce6602 100644 --- a/core/modules/help_topics/help_topics/forum.locking.html.twig +++ b/core/modules/help_topics/help_topics/forum.locking.html.twig @@ -3,12 +3,13 @@ label: 'Locking a forum topic' related: - forum.concept --- -{% set index = render_var(url('forum.index')) %} +{% set index_link_text %}{% trans %}forums page{% endtrans %}{% endset %} +{% set index_link = render_var(help_route_link(index_link_text, 'forum.index')) %}

{% trans %}Goal{% endtrans %}

{% trans %}Lock a topic to prevent users from making any more comments.{% endtrans %}

{% trans %}Steps{% endtrans %}

    -
  1. {% trans %}Starting from the forums page, navigate to the forum that currently contains the topic.{% endtrans %}
  2. +
  3. {% trans %}Starting from the {{ index_link }}, navigate to the forum that currently contains the topic.{% endtrans %}
  4. {% trans %}Locate the topic within the forum, and click on the title to view the topic.{% endtrans %}
  5. {% trans %}Click Edit.{% endtrans %}
  6. {% trans %}Under Comment settings, check Closed.{% endtrans %}
  7. diff --git a/core/modules/help_topics/help_topics/forum.moving.html.twig b/core/modules/help_topics/help_topics/forum.moving.html.twig index 8fb1df5ff7..82cd7e0a5d 100644 --- a/core/modules/help_topics/help_topics/forum.moving.html.twig +++ b/core/modules/help_topics/help_topics/forum.moving.html.twig @@ -3,12 +3,13 @@ label: 'Moving a topic to a new forum' related: - forum.concept --- -{% set index = render_var(url('forum.index')) %} +{% set index_link_text %}{% trans %}forums page{% endtrans %}{% endset %} +{% set index_link = render_var(help_route_link(index_link_text, 'forum.index')) %}

    {% trans %}Goal{% endtrans %}

    {% trans %}Move a forum topic and all of its comments to a new forum. {% endtrans %}

    {% trans %}Steps{% endtrans %}

      -
    1. {% trans %}Starting from the forums page, navigate to the forum that currently contains the topic.{% endtrans %}
    2. +
    3. {% trans %}Starting from the {{ index_link }}, navigate to the forum that currently contains the topic.{% endtrans %}
    4. {% trans %}Locate the topic within the forum, and click on the title to view the topic.{% endtrans %}
    5. {% trans %}Click Edit.{% endtrans %}
    6. {% trans %}In the Forums field, select the new forum that you want the topic to move to.{% endtrans %}
    7. diff --git a/core/modules/help_topics/help_topics/forum.starting.html.twig b/core/modules/help_topics/help_topics/forum.starting.html.twig index 8942425e9f..58d238e099 100644 --- a/core/modules/help_topics/help_topics/forum.starting.html.twig +++ b/core/modules/help_topics/help_topics/forum.starting.html.twig @@ -3,12 +3,13 @@ label: 'Starting a forum discussion' related: - forum.concept --- -{% set index = render_var(url('forum.index')) %} +{% set index_link_text %}{% trans %}forums page{% endtrans %}{% endset %} +{% set index_link = render_var(help_route_link(index_link_text, 'forum.index')) %}

      {% trans %}Goal{% endtrans %}

      {% trans %}Post a new topic in a forum to start a discussion.{% endtrans %}

      {% trans %}Steps{% endtrans %}

        -
      1. {% trans %}Starting from the forums page, navigate to the forum where you want to post the topic.{% endtrans %}
      2. +
      3. {% trans %}Starting from the {{ index_link }}, navigate to the forum where you want to post the topic.{% endtrans %}
      4. {% trans %}Click Add new Forum topic.{% endtrans %}
      5. {% trans %}Enter the topic's Subject and Body.{% endtrans %}
      6. {% trans %}Click Save.{% endtrans %}