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

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[];