#1589 Fix some spelling errors
Merged 7 years ago by adamwill. Opened 7 years ago by adamwill.
adamwill/pagure correct-spelling  into  master

file modified
+1 -1
@@ -143,7 +143,7 @@ 

        <div class="issue_actions m-t-2"> \

          <aside class="issue_action icon pull-xs-right p-b-1"> \

          <div class="btn-group" aria-label="Basic example" role="group"> \

-         <a class="reply btn btn-secondary btn-sm" title="" data-toggle="tooltip" data-original-title="Reply to this comment - loose formating"> \

+         <a class="reply btn btn-secondary btn-sm" title="" data-toggle="tooltip" data-original-title="Reply to this comment - lose formatting"> \

              <span class="oi" data-glyph="share-boxed"></span> \

          </a>';

      if ( data.comment_user == username) {

file modified
+2 -2
@@ -45,7 +45,7 @@ 

          <div class="issue_actions m-t-2"> \

          <aside class="btn-group issue_action icon pull-xs-right p-b-1"> \

              <div class="btn-group" role="group" aria-label="Basic example"> \

-               <a class="reply btn btn-secondary btn-sm" data-toggle="tooltip" title="Reply to this comment - loose formating"> \

+               <a class="reply btn btn-secondary btn-sm" data-toggle="tooltip" title="Reply to this comment - lose formatting"> \

                  <span class="oi" data-glyph="share-boxed"></span> \

                </a>';

          if ( data.comment_user == username) {
@@ -82,7 +82,7 @@ 

        <div class="issue_actions m-t-2"> \

          <div class="issue_action icon pull-xs-right p-b-1"> \

            <div class="btn-group" role="group" aria-label="Basic example"> \

-             <a class="reply btn btn-secondary btn-sm" data-toggle="tooltip" title="Reply to this comment - loose formating"> \

+             <a class="reply btn btn-secondary btn-sm" data-toggle="tooltip" title="Reply to this comment - lose formatting"> \

                <span class="oi" data-glyph="share-boxed"></span> \

              </a>';

      if ( data.comment_user == username) {

@@ -140,7 +140,7 @@ 

          <div class="btn-group" role="group" aria-label="Basic example">

            {% if id != 0 and g.fas_user and comment.parent.status in [True, 'Open'] %}

              <a class="reply btn btn-secondary btn-sm" data-toggle="tooltip"

-                 title="Reply to this comment - loose formating">

+                 title="Reply to this comment - lose formatting">

                <span class="oi" data-glyph="share-boxed" title="Reply to this comment"></span>

              </a>

            {% endif %}
@@ -182,7 +182,7 @@ 

      <div class="btn-group" role="group">

        {% if g.fas_user %}

          <a class="btn btn-secondary btn-sm reply"

-           title="Reply to the initial comment - loose formatting">

+           title="Reply to the initial comment - lose formatting">

            <span class="oi" data-glyph="share-boxed"></span>

          </a>

        {% endif %}

file modified
+1 -1
@@ -1465,7 +1465,7 @@ 

  

          if str(userid) not in userids:

              flask.flash(

-                 'User does not have commit or cannot loose it right', 'error')

+                 'User does not have commit rights, or cannot have them removed', 'error')

              return flask.redirect(flask.url_for(

                  '.view_settings', repo=repo.name, username=username,

                  namespace=repo.namespace,)

@@ -431,8 +431,8 @@ 

                  '<title>Settings - test - Pagure</title>', output.data)

              self.assertIn('<h3>Settings for test</h3>', output.data)

              self.assertIn(

-                 '</button>\n                      User does not have commit or cannot '

-                 'loose it right', output.data)

+                 '</button>\n                      User does not have commit rights, '

+                 'or cannot have them removed', output.data)

  

          # Add an user to a project

          repo = pagure.lib.get_project(self.session, 'test')

The opposite of 'gain' is 'lose', not 'loose'. 'Loose' is the
opposite of 'tight'.

Also, it's 'formatting', not 'formating'. I also rewrote one
particularly awkwardly worded message to mean what (I think) it
was supposed to mean.

Thanks, I'm going to merge this manually to save you the rebase :)

Commit 71701d0 fixes this pull-request

Pull-Request has been merged by awilliam@redhat.com

7 years ago