dotifyString

Function

Check if i18nScope is defined and not ending with a ".", if so add a "." at the end. e.g. if the i18nScope is 'project.edit', the path is ${i18nScope}catalog.organization, we will want "project.edit.catalog.organization" instead of "project.editcatalog.organization"

  • dotifyString(i18nScope: string) : string

Parameters

Parameter Type Default Notes
i18nScope Required string

Returns

i18nScope with a "." at the end if it is defined

string

Function defined in common/src/search/wellKnownCatalog.ts:61