insomnia/packages/insomnia-app/app/common/strings.ts

51 lines
835 B
TypeScript

export interface StringInfo {
singular: string;
plural: string;
}
type StringId =
| 'collection'
| 'document'
| 'home'
| 'project'
| 'workspace'
| 'baseProject'
| 'localProject'
| 'remoteProject'
;
export const strings: Record<StringId, StringInfo> = {
collection: {
singular: 'Collection',
plural: 'Collections',
},
document: {
singular: 'Document',
plural: 'Documents',
},
home: {
singular: 'Dashboard',
plural: 'Dashboards',
},
project: {
singular: 'Project',
plural: 'Projects',
},
workspace: {
singular: 'Workspace',
plural: 'Workspaces',
},
baseProject: {
singular: 'Base',
plural: 'Base',
},
localProject: {
singular: 'Local',
plural: 'Local',
},
remoteProject: {
singular: 'Remote',
plural: 'Remote',
},
};