mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-02 21:44:34 +00:00
fix: sync_to_translation_status.er
This commit is contained in:
parent
fc85265d9f
commit
d07ceb30e1
3 changed files with 2 additions and 3 deletions
|
@ -178,6 +178,7 @@ impl TyCheckError {
|
|||
found: &Type,
|
||||
hint: Option<String>,
|
||||
) -> Self {
|
||||
let name = name.with_color(Color::Yellow);
|
||||
let mut expct = StyledStrings::default();
|
||||
switch_lang!(
|
||||
"japanese" => expct.push_str("予期した型: "),
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
re = pyimport "re"
|
||||
|
||||
.get_file_dirname!: () => Str
|
||||
|
||||
.path_join: (__a: Str, path: Str) => Str
|
||||
|
|
|
@ -42,7 +42,7 @@ get_doc_en_file_paths! relative_dir_path, relative_file_paths_result := [] =
|
|||
for! relative_file_paths, path =>
|
||||
result.push! path
|
||||
for! relative_dir_paths, path =>
|
||||
result.push! get_doc_en_file_paths! path, result
|
||||
result.extend! get_doc_en_file_paths! path, result
|
||||
result
|
||||
|
||||
doc_en_file_paths = get_doc_en_file_paths! "EN"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue