Skip to content

Commit 4a583f9

Browse files
authored
Merge branch 'main' into feature/api_user_org_perm
2 parents 92bc3ed + 7b87231 commit 4a583f9

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

options/locale/locale_pt-PT.ini

+6
Original file line numberDiff line numberDiff line change
@@ -1370,6 +1370,12 @@ issues.review.un_resolve_conversation=Passar diálogo ao estado de não resolvid
13701370
issues.review.resolved_by=marcou este diálogo como estando concluído
13711371
issues.assignee.error=Nem todos os responsáveis foram adicionados devido a um erro inesperado.
13721372
issues.reference_issue.body=Conteúdo
1373+
issues.content_history.deleted=eliminado
1374+
issues.content_history.edited=editado
1375+
issues.content_history.created=criado
1376+
issues.content_history.delete_from_history=Eliminar do histórico
1377+
issues.content_history.delete_from_history_confirm=Eliminar do histórico?
1378+
issues.content_history.options=Opções
13731379

13741380
compare.compare_base=base
13751381
compare.compare_head=comparar

options/locale/locale_zh-TW.ini

+13
Original file line numberDiff line numberDiff line change
@@ -1377,6 +1377,12 @@ issues.review.un_resolve_conversation=取消解決對話
13771377
issues.review.resolved_by=標記了此對話為已解決
13781378
issues.assignee.error=因為未預期的錯誤,未能成功指派所有成員。
13791379
issues.reference_issue.body=內容
1380+
issues.content_history.deleted=刪除
1381+
issues.content_history.edited=編輯
1382+
issues.content_history.created=建立
1383+
issues.content_history.delete_from_history=刪除歷程記錄
1384+
issues.content_history.delete_from_history_confirm=刪除歷程記錄?
1385+
issues.content_history.options=選項
13801386

13811387
compare.compare_base=基底分支
13821388
compare.compare_head=比較
@@ -1985,6 +1991,12 @@ settings.lfs_pointers.inRepo=在儲存庫中
19851991
settings.lfs_pointers.exists=存在於存放區
19861992
settings.lfs_pointers.accessible=使用者可存取
19871993
settings.lfs_pointers.associateAccessible=關聯可存取的 %d 個 OID
1994+
settings.rename_branch_failed_exist=無法重新命名分支,因為目標分支 %s 已存在。
1995+
settings.rename_branch_failed_not_exist=無法重新命名分支 %s,因為他不存在。
1996+
settings.rename_branch_success=分支 %s 已成功被重新命名為 %s。
1997+
settings.rename_branch_from=原分支名稱
1998+
settings.rename_branch_to=新分支名稱
1999+
settings.rename_branch=重新命名分支
19882000

19892001
diff.browse_source=瀏覽代碼
19902002
diff.parent=父節點
@@ -2106,6 +2118,7 @@ branch.create_new_branch=從下列分支建立分支:
21062118
branch.confirm_create_branch=建立分支
21072119
branch.new_branch=建立新分支
21082120
branch.new_branch_from=從「%s」建立新分支
2121+
branch.renamed=分支 %s 被重新命名為 %s。
21092122

21102123
tag.create_tag=建立標籤 <strong>%s</strong>
21112124
tag.create_success=已建立標籤「%s」。

routers/web/user/auth.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ func SignInOAuthCallback(ctx *context.Context) {
628628
}
629629

630630
if u == nil {
631-
if !(setting.Service.DisableRegistration || setting.Service.AllowOnlyInternalRegistration) && setting.OAuth2Client.EnableAutoRegistration {
631+
if !setting.Service.AllowOnlyInternalRegistration && setting.OAuth2Client.EnableAutoRegistration {
632632
// create new user with details from oauth2 provider
633633
var missingFields []string
634634
if gothUser.UserID == "" {

0 commit comments

Comments
 (0)