mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 04:24:43 +00:00
Fix #72
This commit is contained in:
parent
fad62f6fa3
commit
c0742005ee
3 changed files with 74 additions and 84 deletions
|
@ -685,10 +685,10 @@ impl TyCheckError {
|
|||
AssignError,
|
||||
loc,
|
||||
switch_lang!(
|
||||
"japanese" => format!("変数{name}に再代入されています"),
|
||||
"simplified_chinese" => format!("不能为变量{name}分配两次"),
|
||||
"traditional_chinese" => format!("不能為變量{name}分配兩次"),
|
||||
"english" => format!("cannot assign twice to the variable {name}"),
|
||||
"japanese" => format!("変数{YELLOW}{name}{RESET}に再代入されています"),
|
||||
"simplified_chinese" => format!("不能为变量{YELLOW}{name}{RESET}分配两次"),
|
||||
"traditional_chinese" => format!("不能為變量{YELLOW}{name}{RESET}分配兩次"),
|
||||
"english" => format!("cannot assign twice to the variable {YELLOW}{name}{RESET}"),
|
||||
),
|
||||
None,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue