mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-05 17:30:48 +08:00
356fd775e9
* website: Move labelling to message ... menu and add reporting and emoji reactions We can add more emoji easily in future, we just need to pick ones that we have consistent icons for. Also added "open in new tab" option so that messages can be navigated to from tasks on mobile. * website: Make new label and report strings translatable. * website: Move report api call to oasst client * small fixes * pre-commit --------- Co-authored-by: AbdBarho <ka70911@gmail.com>
20 lines
634 B
TypeScript
20 lines
634 B
TypeScript
import type common from "public/locales/en/common.json";
|
|
import type dashboard from "public/locales/en/dashboard.json";
|
|
import type index from "public/locales/en/index.json";
|
|
import type leaderboard from "public/locales/en/leaderboard.json";
|
|
import type message from "public/locales/en/message.json";
|
|
import type tasks from "public/locales/en/tasks.json";
|
|
|
|
declare module "i18next" {
|
|
interface CustomTypeOptions {
|
|
resources: {
|
|
common: typeof common;
|
|
dashboard: typeof dashboard;
|
|
index: typeof index;
|
|
leaderboard: typeof leaderboard;
|
|
tasks: typeof tasks;
|
|
message: typeof message;
|
|
};
|
|
}
|
|
}
|