Skip to content

Commit

Permalink
update languages.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
SupertigerDev committed Sep 24, 2024
1 parent 374ae2b commit 6689ecd
Showing 1 changed file with 35 additions and 20 deletions.
55 changes: 35 additions & 20 deletions src/locales/languages.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import { StorageKeys, getStorageString, setStorageString } from "@/common/localStorage";
import {
StorageKeys,
getStorageString,
setStorageString,
} from "@/common/localStorage";

export interface Language {
name: string,
emoji: string,
contributors: string[],
name: string;
emoji: string;
contributors: string[];
}

// name: Display name
Expand All @@ -14,78 +18,89 @@ export const languages = {
"en-gb": {
name: "English",
emoji: "πŸ‡¬πŸ‡§",
contributors: ["https://github.com/SupertigerDev"]
contributors: ["https://github.com/SupertigerDev"],
},
"af-za": {
name: "Afrikaans",
emoji: "πŸ‡ΏπŸ‡¦",
contributors: ["https://github.com/mooocksadev"]
contributors: ["https://github.com/mooocksadev"],
},
"be-by": {
name: "Belarusian",
emoji: "πŸ‡§πŸ‡Ύ",
contributors: ["https://github.com/1enify"]
contributors: ["https://github.com/1enify"],
},
"pt-br": {
name: "Brazilian Portuguese",
emoji: "πŸ‡§πŸ‡·",
contributors: ["https://github.com/Jerkycat", "https://gitlab.com/Gersonzao"]
contributors: [
"https://github.com/Jerkycat",
"https://gitlab.com/Gersonzao",
],
},
"zn-hant": {
name: "Chinese (Traditional)",
emoji: "πŸ‡ΉπŸ‡Ό",
contributors: ["Dsiahrz"]
contributors: ["Dsiahrz"],
},
"nl-nl": {
name: "Dutch",
emoji: "πŸ‡³πŸ‡±",
contributors: ["https://github.com/captainqdev"]
contributors: ["https://github.com/captainqdev"],
},
"fr-FR": {
name: "French",
emoji: "πŸ‡«πŸ‡·",
contributors: ["https://github.com/guiguitator"]
contributors: ["https://github.com/guiguitator"],
},
"de-de": {
name: "German",
emoji: "πŸ‡©πŸ‡ͺ",
contributors: ["https://github.com/F-iiral", "https://github.com/Deutscher775"]
contributors: [
"https://github.com/F-iiral",
"https://github.com/Deutscher775",
],
},
"hu-hu": {
name: "Hungarian",
emoji: "πŸ‡­πŸ‡Ί",
contributors: ["https://github.com/andrasdaradici"]
contributors: ["https://github.com/andrasdaradici"],
},
"fil-ph": {
name: "Filipino",
emoji: "πŸ‡΅πŸ‡­",
contributors: ["https://github.com/serenemm"]
contributors: ["https://github.com/serenemm"],
},
"pl-pl": {
name: "Polish",
emoji: "πŸ‡΅πŸ‡±",
contributors: ["https://github.com/Ciach0", "https://github.com/CyberL1"]
contributors: ["https://github.com/Ciach0", "https://github.com/CyberL1"],
},
"ro-ro": {
name: "Romanian",
emoji: "πŸ‡·πŸ‡΄",
contributors: ["GNU/Alex"]
contributors: ["GNU/Alex"],
},
"ru-ru": {
name: "Russian",
emoji: "πŸ‡·πŸ‡Ί",
contributors: ["https://github.com/FAYSi223"]
contributors: ["https://github.com/FAYSi223"],
},
"es-es": {
name: "Spanish",
emoji: "πŸ‡ͺπŸ‡Έ",
contributors: ["Linterna001"]
contributors: ["Linterna001"],
},
"tr-tr": {
name: "Turkish",
emoji: "πŸ‡ΉπŸ‡·",
contributors: ["https://github.com/slideglide"]
}
contributors: ["https://github.com/slideglide"],
},
"uw-uw": {
name: "UwU",
emoji: "🐱",
contributors: ["https://github.com/spookehneko123"],
},
};

export function getCurrentLanguage() {
Expand Down

0 comments on commit 6689ecd

Please sign in to comment.