mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-24 16:10:59 -05:00
parent
ef05a5993c
commit
dafdf24300
4 changed files with 10 additions and 3 deletions
|
@ -7,7 +7,7 @@ module.exports = {
|
|||
"/(lib)",
|
||||
"/(redux|mobx)",
|
||||
"/(context)",
|
||||
"/(ui|common)|.svg|.webp$",
|
||||
"/(ui|common)|.svg|.webp|.png|.jpg$",
|
||||
"^[./]",
|
||||
],
|
||||
importOrderSeparation: true,
|
||||
|
|
|
@ -125,7 +125,7 @@ export const Languages: { [key in Language]: LanguageEntry } = {
|
|||
sl: { display: "Slovenščina", emoji: "🇸🇮", i18n: "sl" },
|
||||
sr: { display: "Српски", emoji: "🇷🇸", i18n: "sr" },
|
||||
sv: { display: "Svenska", emoji: "🇸🇪", i18n: "sv" },
|
||||
ta: { display: "தமிழ்", emoji: "🇱🇰", i18n: "ta" },
|
||||
ta: { display: "தமிழ்", emoji: "🇮🇳", i18n: "ta" },
|
||||
th: { display: "ไทย", emoji: "🇹🇭", i18n: "th" },
|
||||
tr: { display: "Türkçe", emoji: "🇹🇷", i18n: "tr" },
|
||||
uk: { display: "Українська", emoji: "🇺🇦", i18n: "uk" },
|
||||
|
|
BIN
src/pages/settings/assets/tamil_nadu_flag.png
Normal file
BIN
src/pages/settings/assets/tamil_nadu_flag.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 159 KiB |
|
@ -14,6 +14,7 @@ import Emoji from "../../../components/common/Emoji";
|
|||
import Checkbox from "../../../components/ui/Checkbox";
|
||||
import Tip from "../../../components/ui/Tip";
|
||||
import enchantingTableWEBP from "../assets/enchanting_table.webp";
|
||||
import tamilFlagPNG from "../assets/tamil_nadu_flag.png";
|
||||
import tokiponaSVG from "../assets/toki_pona.svg";
|
||||
|
||||
type Props = {
|
||||
|
@ -37,7 +38,13 @@ function Entry({ entry: [x, lang], locale }: { entry: Key } & Props) {
|
|||
}
|
||||
}}>
|
||||
<div className={styles.flag}>
|
||||
{lang.emoji === "🙂" ? (
|
||||
{lang.i18n === "ta" ? (
|
||||
<img
|
||||
src={tamilFlagPNG}
|
||||
width={42}
|
||||
style={{ objectFit: "contain" }}
|
||||
/>
|
||||
) : lang.emoji === "🙂" ? (
|
||||
<img src={tokiponaSVG} width={42} />
|
||||
) : lang.emoji === "🪄" ? (
|
||||
<img
|
||||
|
|
Loading…
Reference in a new issue