diff --git a/data.js b/data.js index 09353ba..86d6159 100644 --- a/data.js +++ b/data.js @@ -14,6 +14,7 @@ export const sites = [ en: "Judge Dog", ja: "判定犬", ko: "판정개", + es: "Perro juez", meow: "喵喵喵", }, description: { @@ -22,6 +23,7 @@ export const sites = [ en: "Online judge platform", ja: "オンライン判定サイト", ko: "온라인 판정 사이트", + es: "Plataforma de jueces en linea", meow: "喵喵喵喵喵喵", }, icon: "noto--dog-face.svg", @@ -34,6 +36,7 @@ export const sites = [ en: "Self Test Cat", ja: "自テスト猫", ko: "자가테스트猫", + es: "Gato de autoevaluacion", meow: "喵喵喵", }, description: { @@ -42,6 +45,7 @@ export const sites = [ en: "Code runner", ja: "コード実行サイト", ko: "코드 실행 사이트", + es: "Sitio para ejecutar codigo", meow: "喵喵喵喵喵喵", }, icon: "noto--cat-face.svg", @@ -54,6 +58,7 @@ export const sites = [ en: "Hakimi", ja: "ハキミ", ko: "하키미", + es: "Hakimi", meow: "喵喵喵", }, description: { @@ -62,6 +67,7 @@ export const sites = [ en: "Web frontend development", ja: "Webフロントエンド開発", ko: "웹 프론트엔드 개발", + es: "Desarrollo frontend web", meow: "喵喵喵喵喵喵喵喵", }, icon: "noto--honeybee.svg", @@ -74,6 +80,7 @@ export const sites = [ en: "Practice Duck", ja: "演習アヒル", ko: "문제풀이오리", + es: "Pato de practica", meow: "喵喵喵", }, description: { @@ -82,6 +89,7 @@ export const sites = [ en: "Practice problems by Mr. Liang", ja: "梁先生の演習サイト", ko: "량 선생님의 문제풀이 사이트", + es: "Sitio de practicas del profe Liang", meow: "喵喵喵喵喵喵喵喵", }, icon: "noto--paintbrush.svg", @@ -94,6 +102,7 @@ export const sites = [ en: "Coding Books", ja: "プログラミング書", ko: "프로그래밍 책", + es: "Libros de programacion", meow: "喵喵喵", }, description: { @@ -102,6 +111,7 @@ export const sites = [ en: "CS knowledge summary", ja: "プログラミング/コンピュータ知識まとめ", ko: "프로그래밍/컴퓨터 지식 모음", + es: "Resumen de conocimiento de programacion y computacion", meow: "喵喵喵喵喵喵喵喵喵喵喵喵", }, icon: "noto--bookmark-tabs.svg", @@ -114,6 +124,7 @@ export const sites = [ en: "Little Blocks", ja: "小さなブロック", ko: "작은 블록", + es: "Bloques pequenos", meow: "喵喵喵", }, description: { @@ -122,6 +133,7 @@ export const sites = [ en: "Learn coding with blocks", ja: "ブロックでプログラミング", ko: "블록으로 프로그래밍 배우기", + es: "Aprende programacion con bloques", meow: "喵喵喵喵喵喵喵", }, icon: "twemoji--brick.svg", @@ -134,6 +146,7 @@ export const sites = [ en: "Whiteboard", ja: "ホワイトボード", ko: "화이트보드", + es: "Pizarra", meow: "喵喵", }, description: { @@ -142,6 +155,7 @@ export const sites = [ en: "Online whiteboard", ja: "オンライン板書", ko: "온라인 판서", + es: "Pizarra en linea", meow: "喵喵喵喵", }, icon: "noto--artist-palette.svg", @@ -154,6 +168,7 @@ export const sites = [ en: "Python PPT", ja: "Python PPT", ko: "Python PPT", + es: "Python PPT", meow: "喵喵喵喵喵喵", }, description: { @@ -162,6 +177,7 @@ export const sites = [ en: "Python semester 1 materials", ja: "Python 1学期授業用", ko: "Python 1학기 수업용", + es: "Materiales de Python del primer semestre", meow: "喵喵喵喵喵喵喵喵喵喵喵喵喵喵", }, icon: "material-icon-theme--python.svg", @@ -174,6 +190,7 @@ export const sites = [ en: "Python Projects", ja: "Python プロジェクト", ko: "Python 프로젝트", + es: "Proyectos de Python", meow: "喵喵喵喵喵喵喵喵", }, description: { @@ -182,6 +199,7 @@ export const sites = [ en: "Python semester 2 materials", ja: "Python 2学期授業用", ko: "Python 2학기 수업용", + es: "Materiales de Python del segundo semestre", meow: "喵喵喵喵喵喵喵", }, icon: "material-icon-theme--folder-python-open.svg", diff --git a/i18n.js b/i18n.js index 41c33c7..02fcda0 100644 --- a/i18n.js +++ b/i18n.js @@ -59,6 +59,18 @@ export const I18N = { beianIcp: "저장 ICP 2023044109", beianMps: "저장 공안 33100402331786", }, + es: { + appTitle: "Plataforma de aprendizaje en linea de IoT", + pinnedSubtitle: "Fijado", + designThemeLabel: "Tema de diseno", + themeToggleLabel: "Cambiar tema", + themeToggleTitle: "Cambiar modo oscuro/claro", + moonAlt: "Luna", + sunAlt: "Sol", + languageLabel: "Idioma", + beianIcp: "ICP de Zhejiang 2023044109", + beianMps: "Seguridad publica de Zhejiang 33100402331786", + }, meow: { appTitle: "喵喵喵喵喵喵喵喵喵喵喵喵", pinnedSubtitle: "喵喵喵喵", @@ -104,6 +116,12 @@ export const DESIGN_THEME_LABELS = { terminal: "터미널", cyberpunk: "사이버펑크", }, + es: { + fluent: "Fluent", + "material-you": "Material You", + terminal: "Terminal", + cyberpunk: "Cyberpunk", + }, meow: { fluent: "喵喵", "material-you": "喵喵喵", @@ -118,6 +136,7 @@ export const LANGUAGE_NAMES = { en: "English", ja: "日本語", ko: "한국어", + es: "Espanol", meow: "喵喵喵", } @@ -145,6 +164,7 @@ export function getInitialLanguage() { } if (normalized.startsWith("ja")) return "ja" if (normalized.startsWith("ko")) return "ko" + if (normalized.startsWith("es")) return "es" return "zh-Hans" } diff --git a/index.html b/index.html index c1b18ca..50f81ff 100644 --- a/index.html +++ b/index.html @@ -72,6 +72,7 @@