Skip to content

Commit

Permalink
fix: fix ll show command's translation
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Feb 29, 2024
1 parent cc032ab commit d4225ac
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/ll/core/command/PluginManage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,18 +118,18 @@ void registerPluginManageCommand() {
depenciesList.emplace_back(dep.name + " " + dep.version.value_or(""));
}
}
output.success("Name: {0}", man.name);
output.success("Name: {0}"_tr(man.name));
if (man.author.has_value()) {
output.success("Author: {0}", man.author.value());
output.success("Author: {0}"_tr(man.author.value()));
}
if (man.description.has_value()) {
output.success("Description: {0}", man.description.value());
output.success("Description: {0}"_tr(man.description.value()));
}
output.success("Type: {0}", man.type);
output.success("Type: {0}"_tr(man.type));
if (man.version.has_value()) {
output.success("Version: {0}", man.version->to_string());
output.success("Version: {0}"_tr(man.version->to_string()));
}
output.success("Entry: {0}", man.entry);
output.success("Entry: {0}"_tr(man.entry));
} else {
output.error("Plugin {0} not found"_tr(param.plugin));
}
Expand Down

0 comments on commit d4225ac

Please sign in to comment.