mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-01 16:50:12 +08:00
ab4dce3f60
* website: Support new widget types for labelling Adds proper support for yes/no spam style questions as well as a simple interface for flag style labels. Also cleaned up the Task component to fix some rerender issues. * website: Fix some UI text, adjust yes/no button alignment * website: Remove left over console.log Co-authored-by: notmd <33456881+notmd@users.noreply.github.com> --------- Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>
22 lines
732 B
TypeScript
22 lines
732 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 labelling from "public/locales/en/labelling.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;
|
|
labelling: typeof labelling;
|
|
};
|
|
}
|
|
}
|