log.info("action: {}", action);
int targetOffset = action.getOffset();
int targetPageIndex = targetOffset / action.getCount();
GetTransUnitsNavigationResult navigationResult = null;
EditorFilter editorFilter = action.getEditorFilter();
FilterConstraints constraints =
FilterConstraints
.builder()
.filterBy(editorFilter.getTextInContent())
.lastModifiedBy(editorFilter.getLastModifiedByUser())
.targetChangedBefore(
parseDateIfPresent(editorFilter
.getLastModifiedBefore()))
.targetChangedAfter(
parseDateIfPresent(editorFilter
.getLastModifiedAfter()))
.resourceIdIs(editorFilter.getResId())
.msgContext(editorFilter.getMsgContext())
.sourceCommentContains(editorFilter.getSourceComment())
.targetCommentContains(editorFilter.getTransComment())
.caseSensitive(false).checkInSource(true)
.checkInTarget(true)
.includeStates(action.getFilterStates()).build();
if (action.isNeedReloadIndex()) {
GetTransUnitsNavigation getTransUnitsNavigation =