mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-24 10:46:50 -06:00
Atualizar o i18n.rs
CoderabbitAI
This commit is contained in:
@@ -133,7 +133,7 @@ impl Language {
|
||||
translated.unwrap_or_else(|| text.rsplit_once('|').map_or(text, |(_, label)| label))
|
||||
}
|
||||
|
||||
pub(crate) fn tr_error(self, message: &str) -> String {
|
||||
pub(crate) fn tr_error(self, message: &str) -> String {
|
||||
let message = if message.starts_with("command `") {
|
||||
crate::clean_error(message)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user