Some spelling issues on configuration page for this module. Will submit patch shortly

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

marksward created an issue. See original summary.

marksward’s picture

Status: Active » Needs review
FileSize
1.46 KB

Patch attached. First code patch submitted to Drupal, please advise if inappropriate or issues. thanks

marksward’s picture

Assigned: marksward » Unassigned
tarekdj’s picture

Status: Needs review » Needs work

Thanks marksward!
Your patch looks good but needs some clean up. No big deal!

  1. +++ b/src/Form/ScrollToTopForm.php
    @@ -65,13 +65,13 @@ class ScrollToTopForm extends ConfigFormBase {
    -      '#description' => $this->t('label displayed in scroll to top link, default "Back to top".'),
    +      '#description' => $this->t('Label displayed in scroll to top link, default "Back to top".'),
    

    I don't see the reason of this.

  2. +++ b/src/Form/ScrollToTopForm.php
    @@ -102,7 +102,7 @@ class ScrollToTopForm extends ConfigFormBase {
    -      '#description' => $this->t('Enable scroll to top button on administartion theme.'),
    +      '#description' => $this->t('Enable scroll to top button on administration theme.'),
    

    Same as 1.

marksward’s picture

thanks tarekdj First one is change of 'label' to 'Label' and second is change of 'administartion' to 'administration' hope that clears it up. If that's not what you mean please let me know.
thanks

marksward’s picture

Status: Needs work » Needs review
tarekdj’s picture

Status: Needs review » Reviewed & tested by the community

Oh! My bad!
Great work marksward!

rajdeep0826’s picture

FileSize
1.46 KB

AstonVictor made their first commit to this issue’s fork.

AstonVictor’s picture

thanks for the patch.

fixed and merged.

AstonVictor’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.