Skip to content

Commit

Permalink
chore: update translation
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Feb 4, 2025
1 parent e334996 commit fee9b55
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 17 deletions.
3 changes: 2 additions & 1 deletion src/lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@
"Command {} failed to execute, is the plugin unloaded?": "Befehl {} konnte nicht ausgeführt werden, wird das Plugin entladen?",
"Could not find {} in registered commands": {
"": "Konnte {} in registrierten Befehlen nicht finden."
}
},
"Event {} not found!": "Event {} nicht gefunden!"
}
3 changes: 2 additions & 1 deletion src/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@
"Command {} failed to execute, is the plugin unloaded?": "Command {} failed to execute, is the plugin unloaded?",
"Could not find {} in registered commands": {
"": "Could not find {} in registered commands."
}
},
"Event {} not found!": "Event {} not found!"
}
3 changes: 2 additions & 1 deletion src/lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@
"Command {} failed to execute, is the plugin unloaded?": "La commande {} n'a pas réussi à s'exécuter, le plugin est-il déchargé ?",
"Could not find {} in registered commands": {
"": "Impossible de trouver {} dans les commandes enregistrées."
}
},
"Event {} not found!": "Événement {} introuvable !"
}
3 changes: 2 additions & 1 deletion src/lang/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@
"Command {} failed to execute, is the plugin unloaded?": "Command {} failed to execute, is the plugin unloaded?",
"Could not find {} in registered commands": {
"": "Could not find {} in registered commands."
}
},
"Event {} not found!": "Event {} not found!"
}
3 changes: 2 additions & 1 deletion src/lang/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@
"Command {} failed to execute, is the plugin unloaded?": "L'esecuzione del comando {} non è riuscita, il plugin è stato scaricato?",
"Could not find {} in registered commands": {
"": "Impossibile trovare {} nei comandi registrati."
}
},
"Event {} not found!": "Evento {} non trovato!"
}
3 changes: 2 additions & 1 deletion src/lang/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@
"Command {} failed to execute, is the plugin unloaded?": "コマンド {} の実行に失敗しました。プラグインがアンロードされていますか?",
"Could not find {} in registered commands": {
"": "登録されたコマンドで {} が見つかりませんでした。"
}
},
"Event {} not found!": "イベント {} が見つかりません!"
}
3 changes: 2 additions & 1 deletion src/lang/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@
"Command {} failed to execute, is the plugin unloaded?": "Command {} failed to execute, is the plugin unloaded?",
"Could not find {} in registered commands": {
"": "Could not find {} in registered commands."
}
},
"Event {} not found!": "Event {} not found!"
}
3 changes: 2 additions & 1 deletion src/lang/pt_BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@
"Command {} failed to execute, is the plugin unloaded?": "Comando {} falha ao executar, o plugin está descarregado?",
"Could not find {} in registered commands": {
"": "Não foi possível encontrar {} nos comandos registrados."
}
},
"Event {} not found!": "Evento {} não encontrado!"
}
3 changes: 2 additions & 1 deletion src/lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@
"Command {} failed to execute, is the plugin unloaded?": "Не удалось выполнить команду {}, не загружен ли плагин?",
"Could not find {} in registered commands": {
"": "Не удалось найти {} в зарегистрированных командах."
}
},
"Event {} not found!": "Событие {} не найдено!"
}
3 changes: 2 additions & 1 deletion src/lang/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@
"Command {} failed to execute, is the plugin unloaded?": "Command {} failed to execute, is the plugin unloaded?",
"Could not find {} in registered commands": {
"": "Could not find {} in registered commands."
}
},
"Event {} not found!": "Event {} not found!"
}
3 changes: 2 additions & 1 deletion src/lang/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@
"Command {} failed to execute, is the plugin unloaded?": "Command {} failed to execute, is the plugin unloaded?",
"Could not find {} in registered commands": {
"": "Could not find {} in registered commands."
}
},
"Event {} not found!": "Event {} not found!"
}
3 changes: 2 additions & 1 deletion src/lang/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@
"Command {} failed to execute, is the plugin unloaded?": "Command {} failed to execute, is the plugin unloaded?",
"Could not find {} in registered commands": {
"": "Could not find {} in registered commands."
}
},
"Event {} not found!": "Event {} not found!"
}
3 changes: 2 additions & 1 deletion src/lang/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@
"Command {} failed to execute, is the plugin unloaded?": "命令 {} 执行失败,是否已卸载该插件?",
"Could not find {} in registered commands": {
"": "在已注册的命令中找不到 {} 。"
}
},
"Event {} not found!": "找不到事件 {} !"
}
3 changes: 2 additions & 1 deletion src/lang/zh_TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@
"Command {} failed to execute, is the plugin unloaded?": "Command {} failed to execute, is the plugin unloaded?",
"Could not find {} in registered commands": {
"": "Could not find {} in registered commands."
}
},
"Event {} not found!": "Event {} not found!"
}
4 changes: 1 addition & 3 deletions src/legacy/api/EventAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ bool LLSEAddEventListener(ScriptEngine* engine, const string& eventName, const L
}
return true;
} catch (...) {
lse::LegacyScriptEngine::getInstance().getSelf().getLogger().error(
fmt::format("Event /{} / No Found!\n", eventName)
);
lse::LegacyScriptEngine::getInstance().getSelf().getLogger().error("Event {} not found!"_tr(eventName));
lse::LegacyScriptEngine::getInstance().getSelf().getLogger().error(
"In Plugin: " + getEngineData(engine)->pluginName
);
Expand Down

0 comments on commit fee9b55

Please sign in to comment.