Skip to content

Commit

Permalink
fix: fix i18n namespace in Entry.h
Browse files Browse the repository at this point in the history
  • Loading branch information
zimuya4153 committed Jan 22, 2025
1 parent 79d6f3a commit 89d84fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entry.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Entry {

Config& getConfig() { return mConfig.value(); }

std::unique_ptr<gmlib::i18n::LangI18n>& getI18n() { return mI18n; }
std::unique_ptr<GMLIB::Files::I18n::LangI18n>& getI18n() { return mI18n; }

std::string translate(std::string key, std::vector<std::string> data = {}, std::string translateKey = "%0$s") {
return mI18n->translate(key, data, translateKey);
Expand Down

0 comments on commit 89d84fe

Please sign in to comment.