FLUID-5180: Moved stringBundle lookup to a grade

Moved the stringBundle lookup functionality to a grade which is used by the panels, as well as the sliding panel in the seperatedPanelPrefsEditor.