mirror of
https://github.com/krahets/hello-algo.git
synced 2026-11-12 00:39:48 +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:
@@ -11,10 +11,10 @@ class Vertex:
|
||||
|
||||
|
||||
def vals_to_vets(vals: list[int]) -> list["Vertex"]:
|
||||
"""値リスト vals を入力し、頂点リスト vets を返す"""
|
||||
"""値のリスト vals を入力し、頂点のリスト vets を返す"""
|
||||
return [Vertex(val) for val in vals]
|
||||
|
||||
|
||||
def vets_to_vals(vets: list["Vertex"]) -> list[int]:
|
||||
"""頂点リスト vets を入力し、値リスト vals を返す"""
|
||||
"""頂点のリスト vets を入力し、値のリスト vals を返す"""
|
||||
return [vet.val for vet in vets]
|
||||
|
||||
Reference in New Issue
Block a user