Retranslate the complete Japanese online edition from Chinese (#2008)

* Retranslate the complete Japanese online edition from Chinese

* Fit Japanese homepage labels and localize heading permalinks

* Point Japanese contribution instructions to the Japanese preview

* Replace locale conditionals with multilingual UI tables
This commit is contained in:
Yudong Jin
2026-10-30 02:12:26 +08:00
committed by GitHub
parent 455e8c1281
commit 7257641e0e
1987 changed files with 23531 additions and 23261 deletions

View File

@@ -24,7 +24,7 @@ function mulHash(key) {
return hash;
}
/* XOR ハッシュ */
/* 排他的論理和ハッシュ */
function xorHash(key) {
let hash = 0;
const MODULUS = 1000000007;
@@ -44,17 +44,17 @@ function rotHash(key) {
return hash;
}
/* Driver Code */
const key = 'Hello アルゴリズム';
/* 実行用コード */
const key = 'Hello 算法';
let hash = addHash(key);
console.log('加算ハッシュ値は ' + hash);
console.log('加算ハッシュの値は ' + hash);
hash = mulHash(key);
console.log('乗算ハッシュ値は ' + hash);
console.log('乗算ハッシュの値は ' + hash);
hash = xorHash(key);
console.log('XORハッシュ値は ' + hash);
console.log('排他的論理和ハッシュの値は ' + hash);
hash = rotHash(key);
console.log('回転ハッシュ値は ' + hash);
console.log('回転ハッシュの値は ' + hash);