MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / retranslateExportTypes

Method retranslateExportTypes

src/App/Application.cpp:1786–1796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1784}
1785
1786void Application::retranslateExportTypes()
1787{
1788 auto cache = translatableExportTypeCache.getCache();
1789 translatableExportTypeCache.clear();
1790 std::erase_if(_mExportTypes, [](const FileTypeItem& item) {
1791 return item.translatable;
1792 });
1793 for (const auto &cacheEntry : cache) {
1794 addTranslatableExportType(cacheEntry.description, cacheEntry.extensions, cacheEntry.moduleName);
1795 }
1796}
1797
1798void Application::changeExportModule(const char* filter, const char* oldModuleName, const char* newModuleName)
1799{

Callers 1

changeEventMethod · 0.80

Calls 2

getCacheMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected