import { getString as globalGetString , registerDefaultString , Strings } from 'roosterjs-react-common/lib' ; const STRING_CATEGORY = 'ROOSTERJS_STRINGS_DIALOG' ; export const dialogStrings = { dlgOk : 'OK' , dlgCancel : 'Cancel' } ; export type DialogStringKey = keyof typeof dialogStrings ; registerDefaultString ( STRING_CATEGORY , dialogStrings ) ; export function getString ( name , strings ? ) { return globalGetString ( STRING_CATEGORY , name , strings ) ; } export { Strings } ;