mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-09 02:29:50 -10:00
Enchantments: say which callers have no language
full_name reads the process's language, which the server thread shares with its window; only a process with no language loaded (a dedicated server, the probes) keeps the English names. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
3762ab7cda
commit
b7629cf656
1 file changed
+2
-2
@@ -337,8 +337,8 @@ impl Enchantments {
|
||||
let language = crate::lang::current();
|
||||
self.full_name_in(language.as_deref(), id, level)
|
||||
}
|
||||
/// `full_name` against `language`; `None` keeps the English names loaded
|
||||
/// above, which is what the server thread and the probes see.
|
||||
/// `full_name` against `language`; `None` (no language loaded: a
|
||||
/// dedicated server, the probes) keeps the English names loaded above.
|
||||
pub fn full_name_in(
|
||||
&self,
|
||||
language: Option<&crate::lang::Language>,
|
||||
|
||||
Reference in new issue
Block a user