Skip to content

Commit

Permalink
Correct format of gui string ASK_USER_REVOKE_CONTENT
Browse files Browse the repository at this point in the history
  • Loading branch information
touilleMan committed Dec 2, 2019
1 parent 424fcf5 commit e53add8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions parsec/core/gui/tr/parsec_en.po
Expand Up @@ -1073,8 +1073,8 @@ msgstr "Cannot retrieve the list of users."
msgid "ASK_USER_REVOKE_TITLE"
msgstr "Revoke a user"

msgid "ASK_USER_REVOKE_CONTENT"
msgstr "Are you sure you want to revoke the user \"{}\"?"
msgid "ASK_USER_REVOKE_CONTENT_{}"
msgstr "Are you sure you want to revoke user \"{}\"?"

msgid "FILE_SIZE_TB"
msgstr "TB"
Expand Down
4 changes: 2 additions & 2 deletions parsec/core/gui/tr/parsec_fr.po
Expand Up @@ -1079,8 +1079,8 @@ msgstr "Impossible de retrouver la liste des utilisateurs."
msgid "ASK_USER_REVOKE_TITLE"
msgstr "Révoquer un utilisateur"

msgid "ASK_USER_REVOKE_CONTENT"
msgstr "Êtes-vous sûr de vouloir révoquer"
msgid "ASK_USER_REVOKE_CONTENT_{}"
msgstr "Êtes-vous sûr de vouloir révoquer l'utilisateur \"{}\" ?"

msgid "FILE_SIZE_TB"
msgstr "To"
Expand Down
2 changes: 1 addition & 1 deletion parsec/core/gui/users_widget.py
Expand Up @@ -227,7 +227,7 @@ def revoke_user(self, user_button):
result = QuestionDialog.ask(
self,
_("ASK_USER_REVOKE_TITLE"),
_("ASK_USER_REVOKE_CONTENT").format(user_button.user_name),
_("ASK_USER_REVOKE_CONTENT_{}").format(user_button.user_name),
)
if not result:
return
Expand Down

0 comments on commit e53add8

Please sign in to comment.