Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
import { PRODUCT_NAME } from '@inkeep/open-knowledge-core/constants/product';
import { t } from '@lingui/core/macro';
export function revealInFileManagerLabel(platform: string | null | undefined): string {
if (platform === 'win32') return t`Reveal in File Explorer`;
if (platform === 'linux') return t`Open containing folder`;
return t`Reveal in Finder`;
}
export function moveToTrashLabel(platform: string | null | undefined): string {
return platform === 'win32' ? t`Move to Recycle Bin` : t`Move to Trash`;
}
export function trashNounLabel(platform: string | null | undefined): string {
return platform === 'win32' ? t`Recycle Bin` : t`Trash`;
}
export function aboutAppLabel(platform: string | null | undefined): string {
if (platform === 'linux') return t`About`;
const appName = PRODUCT_NAME;
return t`About ${appName}`;
}