Skip to content

Commit f74630f

Browse files
authored
Merge branch 'main' into lunny/allow_set_branch_protection_empty_repo
2 parents 4c06072 + 6afb224 commit f74630f

File tree

6 files changed

+39
-5
lines changed

6 files changed

+39
-5
lines changed

.github/workflows/pull-db-tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,12 @@ jobs:
198198
test-mssql:
199199
if: needs.files-changed.outputs.backend == 'true' || needs.files-changed.outputs.actions == 'true'
200200
needs: files-changed
201-
runs-on: ubuntu-latest
201+
# specifying the version of ubuntu in use as mssql fails on newer kernels
202+
# pending resolution from vendor
203+
runs-on: ubuntu-20.04
202204
services:
203205
mssql:
204-
# some images before 2024-04 can't run on new kernels
205-
image: mcr.microsoft.com/mssql/server:2019-latest
206+
image: mcr.microsoft.com/mssql/server:2017-latest
206207
env:
207208
ACCEPT_EULA: Y
208209
MSSQL_PID: Standard

options/gitignore/Zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.zig-cache/
2+
zig-out/
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Copyright (c) 2000
2+
SWsoft company
3+
4+
Modifications copyright (c) 2001, 2013. Oracle and/or its affiliates.
5+
All rights reserved.
6+
7+
This material is provided "as is", with absolutely no warranty expressed
8+
or implied. Any use is at your own risk.
9+
10+
Permission to use or copy this software for any purpose is hereby granted
11+
without fee, provided the above notices are retained on all copies.
12+
Permission to modify the code and to distribute modified code is granted,
13+
provided the above notices are retained, and a notice that the code was
14+
modified is included with the above copyright notice.

options/locale/locale_ja-JP.ini

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ filter.public=公開
159159
filter.private=プライベート
160160

161161
no_results_found=見つかりません。
162+
internal_error_skipped=内部エラーが発生しましたがスキップされました: %s
162163

163164
[search]
164165
search=検索…
@@ -177,6 +178,8 @@ code_search_by_git_grep=現在のコード検索は "git grep" によって行
177178
package_kind=パッケージを検索...
178179
project_kind=プロジェクトを検索...
179180
branch_kind=ブランチを検索...
181+
tag_kind=タグを検索...
182+
tag_tooltip=一致するタグを検索します。任意のシーケンスに一致させるには '%' を使用してください。
180183
commit_kind=コミットを検索...
181184
runner_kind=ランナーを検索...
182185
no_results=一致する結果が見つかりませんでした
@@ -1174,6 +1177,11 @@ migrate.gogs.description=notabug.org やその他の Gogs インスタンスか
11741177
migrate.onedev.description=code.onedev.io やその他の OneDev インスタンスからデータを移行します。
11751178
migrate.codebase.description=codebasehq.com からデータを移行します。
11761179
migrate.gitbucket.description=GitBucket インスタンスからデータを移行します。
1180+
migrate.codecommit.description=AWS CodeCommitからデータを移行します。
1181+
migrate.codecommit.aws_access_key_id=AWS アクセスキー ID
1182+
migrate.codecommit.aws_secret_access_key=AWSシークレットアクセスキー
1183+
migrate.codecommit.https_git_credentials_username=HTTPS Git 認証情報 ユーザー名
1184+
migrate.codecommit.https_git_credentials_password=HTTPS Git 認証情報 パスワード
11771185
migrate.migrating_git=Gitデータ移行中
11781186
migrate.migrating_topics=トピック移行中
11791187
migrate.migrating_milestones=マイルストーン移行中
@@ -1251,6 +1259,7 @@ ambiguous_runes_header=このファイルには曖昧(ambiguous)なUnicode文字
12511259
ambiguous_runes_description=このファイルには、他の文字と見間違える可能性があるUnicode文字が含まれています。 それが意図的なものと考えられる場合は、この警告を無視して構いません。 それらの文字を表示するにはエスケープボタンを使用します。
12521260
invisible_runes_line=`この行には不可視のUnicode文字があります`
12531261
ambiguous_runes_line=`この行には曖昧(ambiguous)なUnicode文字があります`
1262+
ambiguous_character=`%[1]c [U+%04[1]X] は %[2]c [U+%04[2]X] と混同するおそれがあります`
12541263

12551264
escape_control_characters=エスケープ
12561265
unescape_control_characters=エスケープ解除
@@ -1748,6 +1757,11 @@ issues.review.resolve_conversation=解決済みにする
17481757
issues.review.un_resolve_conversation=未解決にする
17491758
issues.review.resolved_by=がこの会話を解決済みにしました
17501759
issues.review.commented=コメント
1760+
issues.review.official=承認済み
1761+
issues.review.requested=レビュー待ち
1762+
issues.review.rejected=変更要請済み
1763+
issues.review.stale=承認後に更新されました
1764+
issues.review.unofficial=カウントされない承認
17511765
issues.assignee.error=予期しないエラーにより、一部の担当者を追加できませんでした。
17521766
issues.reference_issue.body=内容
17531767
issues.content_history.deleted=削除しました
@@ -1821,6 +1835,8 @@ pulls.is_empty=このブランチの変更は既にターゲットブランチ
18211835
pulls.required_status_check_failed=いくつかの必要なステータスチェックが成功していません。
18221836
pulls.required_status_check_missing=必要なチェックがいくつか抜けています。
18231837
pulls.required_status_check_administrator=管理者であるため、このプルリクエストをマージすることは可能です。
1838+
pulls.blocked_by_approvals=このプルリクエストはまだ必要な承認数を満たしていません。 公式の承認を %[1]d / %[2]d 得ています。
1839+
pulls.blocked_by_approvals_whitelisted=このプルリクエストはまだ必要な承認数を満たしていません。 許可リストのユーザーまたはチームからの承認を %[1]d / %[2]d 得ています。
18241840
pulls.blocked_by_rejection=このプルリクエストは公式レビューアにより変更要請されています。
18251841
pulls.blocked_by_official_review_requests=このプルリクエストには公式レビュー依頼があります。
18261842
pulls.blocked_by_outdated_branch=このプルリクエストは遅れのためブロックされています。

routers/web/repo/issue.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,7 @@ func issues(ctx *context.Context, milestoneID, projectID int64, isPullOption opt
467467
ctx.Data["AssigneeID"] = assigneeID
468468
ctx.Data["PosterID"] = posterID
469469
ctx.Data["Keyword"] = keyword
470+
ctx.Data["IsShowClosed"] = isShowClosed
470471
switch {
471472
case isShowClosed.Value():
472473
ctx.Data["State"] = "closed"

templates/repo/issue/filter_actions.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<div class="ui secondary filter menu">
22
{{if not .Repository.IsArchived}}
33
<!-- Action Button -->
4-
{{if .IsShowClosed}}
4+
{{if and .IsShowClosed.Has .IsShowClosed.Value}}
55
<button class="ui primary basic button issue-action" data-action="open" data-url="{{$.RepoLink}}/issues/status">{{ctx.Locale.Tr "repo.issues.action_open"}}</button>
6-
{{else}}
6+
{{else if and .IsShowClosed.Has (not .IsShowClosed.Value)}}
77
<button class="ui red basic button issue-action" data-action="close" data-url="{{$.RepoLink}}/issues/status">{{ctx.Locale.Tr "repo.issues.action_close"}}</button>
88
{{end}}
99
{{if $.IsRepoAdmin}}

0 commit comments

Comments
 (0)