Avoid i18n for experiment title / desc.

This commit is contained in:
Paul 2021-07-09 14:41:17 +01:00
parent 2ee3da28b9
commit c1bf700322
2 changed files with 7 additions and 1 deletions

2
external/lang vendored

@ -1 +1 @@
Subproject commit 846a0e8a3a36e606d4d4249e495dc0daeee9c65d Subproject commit de2b94c8d8615b732cbbec3679041e73fd3c7640

View file

@ -1,5 +1,11 @@
export type Experiments = 'search'; export type Experiments = 'search';
export const AVAILABLE_EXPERIMENTS: Experiments[] = [ 'search' ]; export const AVAILABLE_EXPERIMENTS: Experiments[] = [ 'search' ];
export const EXPERIMENTS: { [key in Experiments]: { title: string, description: string } } = {
'search': {
title: 'Search',
description: 'Allows you to search for messages in channels.'
}
};
export interface ExperimentOptions { export interface ExperimentOptions {
enabled?: Experiments[]; enabled?: Experiments[];