Skip to content

Commit

Permalink
adapt: adapt to GMLIB v0.13.2
Browse files Browse the repository at this point in the history
  • Loading branch information
killcerr authored Jul 27, 2024
1 parent 31a11ec commit 7ccc479
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Entry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ LangI18n& Entry::getI18n() { return mI18n.value(); }

} // namespace FreeCamera

LL_REGISTER_PLUGIN(FreeCamera::Entry, FreeCamera::Entry::getInstance());
LL_REGISTER_MOD(FreeCamera::Entry, FreeCamera::Entry::getInstance());

std::string tr(std::string const& key, std::vector<std::string> const& data) {
return FreeCamera::Entry::getInstance()->getI18n().get(key, data);
}
}

0 comments on commit 7ccc479

Please sign in to comment.