mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-10 01:03:36 -05:00
Avoid i18n for experiment title / desc.
This commit is contained in:
parent
2ee3da28b9
commit
c1bf700322
2 changed files with 7 additions and 1 deletions
2
external/lang
vendored
2
external/lang
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 846a0e8a3a36e606d4d4249e495dc0daeee9c65d
|
Subproject commit de2b94c8d8615b732cbbec3679041e73fd3c7640
|
|
@ -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[];
|
||||||
|
|
Loading…
Reference in a new issue