mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-06 18:41:40 +00:00
Atualizar o i18n.rs
CoderabbitAI
This commit is contained in:
1 parent
5c4dbbbc4a
commit
71acb0c50b
1 file changed
+1
-1
@@ -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