diff options
author | Lanre Adelowo <adelowomailbox@gmail.com> | 2018-08-07 02:59:42 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2018-08-07 09:59:42 +0800 |
commit | c7a6ee5c0bd8dcceac76dcb2100e81395d57560a (patch) | |
tree | 711472c36381aec2956eea30fb46415027816554 /options | |
parent | 7cb1c1cf20f1a07d98b78c2ba56c3b50777701a5 (diff) | |
download | gitea-c7a6ee5c0bd8dcceac76dcb2100e81395d57560a.tar.gz gitea-c7a6ee5c0bd8dcceac76dcb2100e81395d57560a.zip |
Don't fail silently if trying to add a collaborator twice (#4533)
* don't fail silently if trying to add a collaborator twice
* fix translation text
* added collaborator test
* improvee testcases
* Added tests to make sure a collaborator cannot be added twice
Diffstat (limited to 'options')
-rw-r--r-- | options/locale/locale_en-US.ini | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 3d933b3728..bd13288b46 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1025,6 +1025,7 @@ settings.transfer_succeed = The repository has been transferred. settings.confirm_delete = Delete Repository settings.add_collaborator = Add Collaborator settings.add_collaborator_success = The collaborator has been added. +settings.add_collaborator_duplicate =The collaborator is already added to this repository. settings.delete_collaborator = Remove settings.collaborator_deletion = Remove Collaborator settings.collaborator_deletion_desc = Removing a collaborator will revoke their access to this repository. Continue? |