-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changed 'Submit' text on buttons with something more meaningful #3749
Changed 'Submit' text on buttons with something more meaningful #3749
Conversation
@@ -72,7 +72,7 @@ <h4>{% trans "Opting out" %}</h4> | |||
{% endblocktrans %} | |||
|
|||
<form method="get" action="{% url "gold_subscription" %}"> | |||
<input type="submit" value="{% trans "I can contribute financially" %}" /> | |||
<input type="submit" value="{% trans "I can contribute financially." %}" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if it's ok to include periods within a button.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's more like an entire sentence. That's why included that. Should I change it back the way it was?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have the arguments or the knowledge for choosing one or the other, was just a question p: But in general the PR should only solve the original issue, if you consider something else is needed is better to open a new issue, so your PR isn't blocked by discussions like this :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. You are right. I am kind of new here. Sorry! It won't happen again! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing to worried about. Thanks for your interest on contributing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a great learning for me. Thanks for your constant help :)
{% comment %}Translators: The 'or' here is in between 'Submit' and 'delete'.{% endcomment %} | ||
{% trans "or" %} | ||
<a href="{% url "projects_delete" project.slug %}">{% trans "delete" %}</a> | ||
<a href="{% url "projects_delete" project.slug %}">{% trans "delete project" %}</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why isn't this capitalized, too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll update it with changes. Thanks. :)
@@ -19,10 +19,10 @@ | |||
</p> | |||
{{ form.as_p }} | |||
<p> | |||
<input style="display: inline;" type="submit" value="{% trans "Submit" %}"> | |||
<input style="display: inline;" type="submit" value="{% trans "Save" %}"> | |||
{% comment %}Translators: The 'or' here is in between 'Submit' and 'delete'.{% endcomment %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to update this comment :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh! Yes. My bad.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a great addition! It always bothers me to see a Submit
button :)
We don't use title case in our UI, but especially on buttons -- or are at least we're moving away and standardizing on sentence case. I noted a few instances, but there are a few more in this PR. Could you revert those?
@@ -66,7 +66,7 @@ <h3>{% trans "Build a version" %}</h3> | |||
<option value="{{ version.slug }}">{{ version.slug }}</option> | |||
{% endfor %} | |||
</select> | |||
<input type="submit" value="{% trans "Build" %}"> | |||
<input type="submit" value="{% trans "Build Project" %}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As this is a build version form, perhaps this should be Build version
instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh! Yes. You are right. I'll change it right away!
@@ -18,6 +18,6 @@ | |||
action="{% url 'projects_integrations_create' project_slug=project.slug %}"> | |||
{% csrf_token %} | |||
{{ form.as_p }} | |||
<input type="submit" value="{% trans "Add integration" %}"> | |||
<input type="submit" value="{% trans "Add Integration" %}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't use title casing on our buttons, or at least shouldn't
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh! Okay. I'll revert those changes. 👍
@@ -17,7 +17,7 @@ | |||
<li> | |||
<a class="button" | |||
href="{% url 'projects_integrations_create' project_slug=project.slug %}"> | |||
{% trans "Add integration" %} | |||
{% trans "Add Integration" %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No title case here too
This looks good to me, thanks for your contribution! 🎉 |
This is regarding #3735.
I have changed 'Submit' text on buttons with 'Save', 'Add' etc. Also made some other typo changes.
@stsewd & @davidfischer please have a look.