Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Commit

Permalink
fix: fix i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
engsr6982 committed Mar 12, 2024
1 parent b222eec commit 134dfa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/Command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ using ll::i18n_literals::operator""_tr;
case CommandOriginType::ExecuteContext: targetTypeStr = "execute contexts"; break; \
default: targetTypeStr = "unknown"; \
} \
return output.error("This command is available to [" + targetTypeStr + "] only!"_tr()); \
return output.error("This command is available to [{}] only!"_tr(targetTypeStr)); \
}
// clang-format on

Expand Down

0 comments on commit 134dfa7

Please sign in to comment.