aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTieWay59 <tieway59@foxmail.com>2023-04-19 14:07:34 +0800
committerCohenArthur <arthur.cohen@embecosm.com>2023-04-21 13:09:46 +0000
commit67905463cbcf8cd375c51a114367d8209d98f065 (patch)
treeb78a7f218e2f570b346d11ff175e6c1d5a55d192 /gcc
parenta6d4d0bbeaebf4e375f1e420bdffa843b2b4ec98 (diff)
downloadgcc-67905463cbcf8cd375c51a114367d8209d98f065.zip
gcc-67905463cbcf8cd375c51a114367d8209d98f065.tar.gz
gcc-67905463cbcf8cd375c51a114367d8209d98f065.tar.bz2
Fix translation mistakes 2023 in GCC/Rust [PR108890]
In https://gcc.gnu.org/PR108890 "Translation mistakes 2023" @rillig lists several issues with GCC/Rust diagnostics and option help texts (but also a few non-GCC/Rust). This commit fix mistakes only related to GCC/Rust, specifically to the file `gcc/rust/lang.opt`. closes https://github.com/Rust-GCC/gccrs/issues/1916 PR translation/108890 gcc/rust/ * lang.opt: Fix translation mistakes 2023 in GCC/Rust [PR108890] (line 67): change the inconsistent tab to spaces (line 75): wrap bare placeholder `integer` (line 79): remove redundant text of `Choose which` (line 96): remove redundant text of `Choose which` (line 112): remove redundant `Flag to` (line 124): correct the exclusive term `When to stop` (line 124): correct typo of `copimlation` Signed-off-by: Tieway59 <tieway59@foxmail.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/lang.opt12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/rust/lang.opt b/gcc/rust/lang.opt
index aab1683..753cea1 100644
--- a/gcc/rust/lang.opt
+++ b/gcc/rust/lang.opt
@@ -64,7 +64,7 @@ Dump various Rust front end internals.
frust-dump-
Rust Joined RejectNegative
--frust-dump-<type> Dump Rust frontend internal information.
+-frust-dump-<type> Dump Rust frontend internal information.
frust-incomplete-and-experimental-compiler-do-not-use
Rust Var(flag_rust_experimental)
@@ -72,11 +72,11 @@ Enable experimental compilation of Rust files at your own risk
frust-max-recursion-depth=
Rust RejectNegative Type(int) Var(rust_max_recursion_depth) Init(64)
--frust-max-recursion-depth=integer
+-frust-max-recursion-depth=<integer>
frust-mangling=
Rust Joined RejectNegative Enum(frust_mangling) Var(flag_rust_mangling)
--frust-mangling=[legacy|v0] Choose which version to use for name mangling
+-frust-mangling=[legacy|v0] Version to use for name mangling
Enum
Name(frust_mangling) Type(int) UnknownError(unknown rust mangling option %qs)
@@ -93,7 +93,7 @@ Rust Joined RejectNegative
frust-edition=
Rust Joined RejectNegative Enum(frust_edition) Var(flag_rust_edition)
--frust-edition=[2015|2018|2021] Choose which edition to use when compiling rust code
+-frust-edition=[2015|2018|2021] Edition to use when compiling rust code
Enum
Name(frust_edition) Type(int) UnknownError(unknown rust edition %qs)
@@ -109,7 +109,7 @@ Enum(frust_edition) String(2021) Value(2)
frust-embed-metadata
Rust Var(flag_rust_embed_metadata)
-Flag to enable embeding metadata directly into object files
+Enable embedding metadata directly into object files
frust-metadata-output=
Rust Joined RejectNegative
@@ -121,7 +121,7 @@ Rust Joined Separate
frust-compile-until=
Rust Joined RejectNegative Enum(frust_compile_until) Var(flag_rust_compile_until)
--frust-compile-until=[ast|attributecheck|expansion|nameresolution|lowering|typecheck|privacy|unsafety|const|copimlation|end] When to stop in the pipeline when compiling Rust code
+-frust-compile-until=[ast|attributecheck|expansion|nameresolution|lowering|typecheck|privacy|unsafety|const|compilation|end] The pipeline will run up until this stage when compiling Rust code
Enum
Name(frust_compile_until) Type(int) UnknownError(unknown rust compile-until %qs)