mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-08-19 11:50:35 +08:00
website: Use existing translations of language names (#1349)
Removed language.json translation file as we don't really need it anymore, just moved the couple of remaining items into tasks.json I also reverted the change where I created lang_mismatch_lang and lang_mismatch_lang.explanation because we don't actually need two different strings and it was causing an issue where it would show a mix of english and the users language rather than just show the existing "Wrong language" text that is probably a better intermediate until the translations are updated. Let me know if there is a better way to handle updating the source english text for translations.
This commit is contained in:
Vendored
-2
@@ -2,7 +2,6 @@ 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 labelling from "public/locales/en/labelling.json";
|
||||
import type language from "public/locales/en/language.json";
|
||||
import type leaderboard from "public/locales/en/leaderboard.json";
|
||||
import type message from "public/locales/en/message.json";
|
||||
import type side_menu from "public/locales/en/side_menu.json";
|
||||
@@ -19,7 +18,6 @@ declare module "i18next" {
|
||||
tasks: typeof tasks;
|
||||
message: typeof message;
|
||||
labelling: typeof labelling;
|
||||
language: typeof language;
|
||||
side_menu: typeof side_menu;
|
||||
tos: typeof tos;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user