chore(languages): Change Tamil flag.

Closes #352
This commit is contained in:
Paul 2021-10-31 17:36:26 +00:00
parent ef05a5993c
commit dafdf24300
4 changed files with 10 additions and 3 deletions

View file

@ -7,7 +7,7 @@ module.exports = {
"/(lib)",
"/(redux|mobx)",
"/(context)",
"/(ui|common)|.svg|.webp$",
"/(ui|common)|.svg|.webp|.png|.jpg$",
"^[./]",
],
importOrderSeparation: true,

View file

@ -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" },

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

View file

@ -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