mirror of
https://github.com/krahets/hello-algo.git
synced 2026-11-25 21:23:21 +08:00
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:
@@ -46,8 +46,8 @@ for (const result of results) {
|
||||
}
|
||||
}
|
||||
|
||||
console.log(`Tested ${entries.length} files`);
|
||||
console.log(`Found exception in ${errors.length} files`);
|
||||
console.log(`${entries.length} 個のファイルをテストしました`);
|
||||
console.log(`${errors.length} 個のファイルで例外が見つかりました`);
|
||||
|
||||
if (errors.length) {
|
||||
console.log();
|
||||
@@ -56,8 +56,8 @@ if (errors.length) {
|
||||
const reader = error.getReader();
|
||||
const { value } = await reader.read();
|
||||
const decoder = new TextDecoder();
|
||||
console.log(`${bold(brightRed('error'))}: ${decoder.decode(value)}`);
|
||||
console.log(`${bold(brightRed('エラー'))}: ${decoder.decode(value)}`);
|
||||
}
|
||||
|
||||
throw new Error('Test failed');
|
||||
throw new Error('テストに失敗しました');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user