diff --git a/plugins/mousepoll/src/accessibilitywatcher.cpp b/plugins/mousepoll/src/accessibilitywatcher.cpp index bbb1d2423ef1a2d9108215866451eb676122f2fc..7bfc6d1726333a1dcfd3a60e369c8cee3966fc2d 100644 --- a/plugins/mousepoll/src/accessibilitywatcher.cpp +++ b/plugins/mousepoll/src/accessibilitywatcher.cpp @@ -238,6 +238,10 @@ bool AccessibilityWatcher::app_specific_filter(const FocusInfo& focus, const Ats if (focus.application == "soffice" && focus.role == "paragraph") { // LO-calc: avoid spam event from main edit line auto parent = atspi_accessible_get_parent(event->source, NULL); std::string parent_label = atspi_accessible_get_name(parent, NULL); + // tell which application it is, then get the translation from it. + //bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); + //bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + //textdomain (GETTEXT_PACKAGE); if (parent_label == "Input line" || parent_label == _("Input line")) { return true;