import useCustomServerTranslation from 'src/hooks/useCustomServerTranslation';
import { UserPermissions } from 'src/utils/permissions';

export const NAMESPACE = 'ACKNOWLEDGEMENTS';

const useKudosTitle = (
  defaultTranslationKey = `title_${UserPermissions.ACCESS_ACKNOWLEDGEMENTS}`,
) => {
  return useCustomServerTranslation({
    module: 'ACKNOWLEDGEMENTS',
    defaultTranslationKey,
    namespace: 'apps',
  });
};

export default useKudosTitle;
