* Fix error for create remote repo.

This commit is contained in:
caoyanyi
2023-12-11 09:14:45 +08:00
parent 768fba149b
commit 0a727d444f
9 changed files with 115 additions and 165 deletions
+22 -28
View File
@@ -102,35 +102,29 @@ $lang->gitlab->accessLevels[30] = 'Developer';
$lang->gitlab->accessLevels[40] = 'Maintainer';
$lang->gitlab->accessLevels[50] = 'Owner';
$lang->gitlab->apiError[0] = 'internal is not allowed in a private group.';
$lang->gitlab->apiError[1] = 'public is not allowed in a private group.';
$lang->gitlab->apiError[2] = 'is too short (minimum is 8 characters)';
$lang->gitlab->apiError[3] = "can contain only letters, digits, '_', '-' and '.'. Cannot start with '-', end in '.git' or end in '.atom'";
$lang->gitlab->apiError[4] = 'Branch already exists';
$lang->gitlab->apiError[5] = 'Failed to save group {:path=>["has already been taken"]}';
$lang->gitlab->apiError[6] = 'Failed to save group {:path=>["已经被使用"]}';
$lang->gitlab->apiError[7] = '403 Forbidden';
$lang->gitlab->apiError[8] = 'is invalid';
$lang->gitlab->apiError[9] = 'admin is a reserved name';
$lang->gitlab->apiError[0] = 'internal is not allowed in a private group.';
$lang->gitlab->apiError[1] = 'public is not allowed in a private group.';
$lang->gitlab->apiError[2] = 'is too short (minimum is 8 characters)';
$lang->gitlab->apiError[3] = "can contain only letters, digits, '_', '-' and '.'. Cannot start with '-', end in '.git' or end in '.atom'";
$lang->gitlab->apiError[4] = 'Branch already exists';
$lang->gitlab->apiError[5] = 'Failed to save group {:path = >["has already been taken"]}';
$lang->gitlab->apiError[6] = 'Failed to save group {:path = >["已经被使用"]}';
$lang->gitlab->apiError[7] = '403 Forbidden';
$lang->gitlab->apiError[8] = 'is invalid';
$lang->gitlab->apiError[9] = 'admin is a reserved name';
$lang->gitlab->apiError[10] = 'has already been taken';
$lang->gitlab->errorLang[0] = 'You cannot set Internal as its Visibility Level, if it is private in GitLab.';
$lang->gitlab->errorLang[1] = 'You cannot set Public as its Visibility Level, if it is private in GitLab.';
$lang->gitlab->errorLang[2] = 'Password is too short (minimum is 8 characters)';
$lang->gitlab->errorLang[3] = 'It should contain only letters, digits, underscore, hyphen and period. It should not start with hypen, or end with .git or .atom.';
$lang->gitlab->errorLang[4] = 'Branch already exists.';
$lang->gitlab->errorLang[5] = 'Failed to save group, path has already been taken.';
$lang->gitlab->errorLang[6] = 'Failed to save group, path has already been taken.';
$lang->gitlab->errorLang[7] = $lang->gitlab->noAccess;
$lang->gitlab->errorLang[8] = "Is invalid";
$lang->gitlab->errorLang[9] = 'admin is a reserved name';
$lang->gitlab->errorLang[0] = 'You cannot set Internal as its Visibility Level, if it is private in GitLab.';
$lang->gitlab->errorLang[1] = 'You cannot set Public as its Visibility Level, if it is private in GitLab.';
$lang->gitlab->errorLang[2] = 'Password is too short (minimum is 8 characters)';
$lang->gitlab->errorLang[3] = 'It should contain only letters, digits, underscore, hyphen and period. It should not start with hypen, or end with .git or .atom.';
$lang->gitlab->errorLang[4] = 'Branch already exists.';
$lang->gitlab->errorLang[5] = 'Failed to save group, path has already been taken.';
$lang->gitlab->errorLang[6] = $lang->gitlab->noAccess;
$lang->gitlab->errorLang[0] = 'You cannot set Internal as its Visibility Level, if it is private in GitLab.';
$lang->gitlab->errorLang[1] = 'You cannot set Public as its Visibility Level, if it is private in GitLab.';
$lang->gitlab->errorLang[2] = 'Password is too short (minimum is 8 characters)';
$lang->gitlab->errorLang[3] = 'It should contain only letters, digits, underscore, hyphen and period. It should not start with hypen, or end with .git or .atom.';
$lang->gitlab->errorLang[4] = 'Branch already exists.';
$lang->gitlab->errorLang[5] = 'Failed to save group, path has already been taken.';
$lang->gitlab->errorLang[6] = 'Failed to save group, path has already been taken.';
$lang->gitlab->errorLang[7] = $lang->gitlab->noAccess;
$lang->gitlab->errorLang[8] = "Is invalid";
$lang->gitlab->errorLang[9] = 'admin is a reserved name';
$lang->gitlab->errorLang[10] = 'has already been taken';
$lang->gitlab->errorResonse['Email has already been taken'] = 'Email has already been taken';
$lang->gitlab->errorResonse['Username has already been taken'] = 'Username has already been taken';