Skip to content

Commit 822ca69

Browse files
yuhattorhirotakatoya
authored andcommitted
Japanese Translation Review: Translated commented-out sections - repository-activity-score.md
Co-authored-by: Hirotaka Toya <107357070+hirotakatoya@users.noreply.github.com>
1 parent db43f88 commit 822ca69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎translation/japanese/patterns/repository-activity-score.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function calculateScore(repo) {
6363
iScore += repo.stargazers_count / 3;
6464
iScore += repo.open_issues_count / 5;
6565

66-
// updated in last 3 months: adds a bonus multiplier between 0..1 to overall score (1 = updated today, 0 = updated more than 100 days ago)
66+
// 過去3ヶ月以内に更新されたもの:総合スコアに0~1の乗数を加える(1=本日更新、0=100日以上前に更新されたもの)
6767
let iDaysSinceLastUpdate = (new Date().getTime() - new Date(repo.updated_at).getTime()) / 1000 / 86400;
6868
iScore = iScore * ((1 + (100 - Math.min(iDaysSinceLastUpdate, 100))) / 100);
6969

0 commit comments

Comments
 (0)