Skip to content

Commit

Permalink
Change generic Apply labels to something more semantic
Browse files Browse the repository at this point in the history
In context of #33.
  • Loading branch information
horazont committed Jan 26, 2021
1 parent df75fba commit a6d20a0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion snikket_web/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ class EditCircleForm(flask_wtf.FlaskForm): # type:ignore
)

action_save = wtforms.SubmitField(
_l("Apply")
_l("Update circle")
)

action_delete = wtforms.SubmitField(
Expand Down
12 changes: 6 additions & 6 deletions snikket_web/translations/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ msgstr ""
msgid "Select user"
msgstr ""

#: snikket_web/admin.py:328 snikket_web/user.py:68
msgid "Apply"
#: snikket_web/admin.py:328
msgid "Update circle"
msgstr ""

#: snikket_web/admin.py:332
Expand Down Expand Up @@ -183,6 +183,10 @@ msgstr ""
msgid "Profile visibility"
msgstr ""

#: snikket_web/templates/user_home.html:7 snikket_web/user.py:68
msgid "Update profile"
msgstr ""

#: snikket_web/user.py:93
msgid "Incorrect password"
msgstr ""
Expand Down Expand Up @@ -890,10 +894,6 @@ msgstr ""
msgid "Welcome home, %(user_name)s."
msgstr ""

#: snikket_web/templates/user_home.html:7
msgid "Update profile"
msgstr ""

#: snikket_web/templates/user_home.html:8
msgid ""
"Change display name, set avatar and configure visibility of your personal"
Expand Down
2 changes: 1 addition & 1 deletion snikket_web/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ProfileForm(flask_wtf.FlaskForm): # type:ignore
)

action_save = wtforms.SubmitField(
_l("Apply"),
_l("Update profile"),
)


Expand Down

0 comments on commit a6d20a0

Please sign in to comment.