Skip to content

Commit

Permalink
translations: Update 2024-10-31
Browse files Browse the repository at this point in the history
- Re-enabled the following:
  - German
  - Spanish
  - French
  - Hungarian
  - Italian
  - Japanese

- Added new languages:
  - Greek
  - Ukranian
  • Loading branch information
lifehackerhansol committed Oct 31, 2024
1 parent 7d8190a commit e656577
Show file tree
Hide file tree
Showing 233 changed files with 7,021 additions and 3,311 deletions.
2 changes: 1 addition & 1 deletion crowdin-pull.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Add new languages here, space separated and using the ID for `crowdin pull`
# `lol` (LOLCAT) is In-Context
LANGUAGES="de es-ES fr hu it ja pl ro zh-CN lol"
LANGUAGES="de el es-ES fr hu it ja pl ro uk zh-CN lol"

# Delete old translations (incase a page was removed/renamed)
rm -rf docs/*_*/
Expand Down
16 changes: 9 additions & 7 deletions docs/.vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@ export default defineConfig({
[ 'script', { type: 'text/javascript', src: '//cdn.thisiswaldo.com/static/js/8406.js' } ],
],
locales: {
root: i18n.en_US
root: i18n.en_US,
de_DE: i18n.de_DE,
el_GR: i18n.el_GR,
es_ES: i18n.es_ES,
fr_FR: i18n.fr_FR,
hu_HU: i18n.hu_HU,
it_IT: i18n.it_IT,
ja_JP: i18n.ja_JP,
uk_UA: i18n.uk_UA
},
themeConfig: {
docFooter: {
Expand Down Expand Up @@ -69,12 +77,6 @@ export default defineConfig({
}
},
srcExclude: [
'de_DE/**',
'es_ES/**',
'fr_FR/**',
'hu_HU/**',
'it_IT/**',
'ja_JP/**',
'pl_PL/**',
'ro_RO/**',
'zh_CN/**'
Expand Down
117 changes: 117 additions & 0 deletions docs/.vitepress/i18n/de_DE.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
const locale = 'de_DE';
import { de_DE as localeData } from './strings'

const backups = localeData.backups;
const guide = localeData.guide;
const extras = localeData.extras;
const other = localeData.other;

const sidebar_extras = {
text: extras,
items: [
{ text: localeData.pages["dsiware-backups"], link: `/${locale}/dsiware-backups` },
{ text: localeData.pages["dumping-game-cards"], link: `/${locale}/dumping-game-cards` },
{ text: localeData.pages["file-extensions-windows"], link: `/${locale}/file-extensions-windows` },
{ text: localeData.pages["restoring-nand"], link: `/${locale}/restoring-nand` },
{ text: localeData.pages["sd-card-setup"], link: `/${locale}/sd-card-setup` },
{ text: localeData.pages["uninstalling-unlaunch"], link: `/${locale}/uninstalling-unlaunch` }
]
}

const sidebar_other = {
text: other,
items: [
{ text: localeData.pages["faq"], link: `/${locale}/faq` },
{ text: localeData.pages["troubleshooting"], link: `/${locale}/troubleshooting` },
{ text: localeData.pages["credits"], link: `/${locale}/credits` },
{ text: localeData.pages["site-navigation"], link: `/${locale}/site-navigation` }
]
}

const themeConfig = {
langMenuLabel: localeData.langMenuLabel,
darkModeSwitchLabel: localeData.darkModeSwitchLabel,
darkModeSwitchTitle: localeData.darkModeSwitchTitle,
lightModeSwitchTitle: localeData.lightModeSwitchTitle,
sidebarMenuLabel: localeData.sidebarMenuLabel,
returnToTopLabel: localeData.returnToTopLabel,

nav: [
{ text: localeData.pages["sd-card-setup"], link: `/${locale}/sd-card-setup` },
{ text: localeData.pages["troubleshooting"], link: `/${locale}/troubleshooting` },
{ text: localeData.pages["faq"], link: `/${locale}/faq` },
{
text: backups,
items: [
{ text: localeData.pages["dsiware-backups"], link: `/${locale}/dsiware-backups` },
{ text: localeData.pages["dumping-game-cards"], link: `/${locale}/dumping-game-cards` },
{ text: localeData.pages["dumping-nand"], link: `/${locale}/dumping-nand` }
]
},
{ text: localeData.pages["uninstalling-unlaunch"], link: `/${locale}/uninstalling-unlaunch` }
],
sidebar: {
[`/get-started`]: [
{
text: guide,
items: [
{ text: localeData.pages["get-started"], link: `/${locale}/get-started`},
{ text: localeData.pages["launching-the-exploit"], link: `/${locale}/launching-the-exploit` },
{ text: localeData.pages["launching-the-browser-exploit"], link: `/${locale}/launching-the-browser-exploit` },
{ text: localeData.pages["launching-the-flipnote-exploit"], link: `/${locale}/launching-the-flipnote-exploit` },
{ text: localeData.pages["dumping-nand"], link: `/${locale}/dumping-nand` },
{ text: localeData.pages["installing-unlaunch"], link: `/${locale}/installing-unlaunch` }
]
},
sidebar_extras,
sidebar_other
],
[`/launching-the-browser-exploit`]: [
{
text: guide,
items: [
{ text: localeData.pages["get-started"], link: `/${locale}/get-started`},
{ text: localeData.pages["launching-the-browser-exploit"], link: `/${locale}/launching-the-browser-exploit` },
{ text: localeData.pages["dumping-nand"], link: `/${locale}/dumping-nand` },
{ text: localeData.pages["installing-unlaunch"], link: `/${locale}/installing-unlaunch` }
]
},
sidebar_extras,
sidebar_other
],
[`/launching-the-flipnote-exploit`]: [
{
text: guide,
items: [
{ text: localeData.pages["get-started"], link: `/${locale}/get-started`},
{ text: localeData.pages["launching-the-flipnote-exploit"], link: `/${locale}/launching-the-flipnote-exploit` },
{ text: localeData.pages["dumping-nand"], link: `/${locale}/dumping-nand` },
{ text: localeData.pages["installing-unlaunch"], link: `/${locale}/installing-unlaunch` }
]
},
sidebar_extras,
sidebar_other
],
[`/`]: [
{
text: guide,
items: [
{ text: localeData.pages["get-started"], link: `/${locale}/get-started`},
{ text: localeData.pages["launching-the-exploit"], link: `/${locale}/launching-the-exploit` },
{ text: localeData.pages["dumping-nand"], link: `/${locale}/dumping-nand` },
{ text: localeData.pages["installing-unlaunch"], link: `/${locale}/installing-unlaunch` }
]
},
sidebar_extras,
sidebar_other
]
}
};

export default {
lang: "de",
label: "Deutsch",
title: localeData.title,
description: localeData.description,
themeConfig: themeConfig
}
117 changes: 117 additions & 0 deletions docs/.vitepress/i18n/el_GR.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
const locale = 'el_GR';
import { el_GR as localeData } from './strings'

const backups = localeData.backups;
const guide = localeData.guide;
const extras = localeData.extras;
const other = localeData.other;

const sidebar_extras = {
text: extras,
items: [
{ text: localeData.pages["dsiware-backups"], link: `/${locale}/dsiware-backups` },
{ text: localeData.pages["dumping-game-cards"], link: `/${locale}/dumping-game-cards` },
{ text: localeData.pages["file-extensions-windows"], link: `/${locale}/file-extensions-windows` },
{ text: localeData.pages["restoring-nand"], link: `/${locale}/restoring-nand` },
{ text: localeData.pages["sd-card-setup"], link: `/${locale}/sd-card-setup` },
{ text: localeData.pages["uninstalling-unlaunch"], link: `/${locale}/uninstalling-unlaunch` }
]
}

const sidebar_other = {
text: other,
items: [
{ text: localeData.pages["faq"], link: `/${locale}/faq` },
{ text: localeData.pages["troubleshooting"], link: `/${locale}/troubleshooting` },
{ text: localeData.pages["credits"], link: `/${locale}/credits` },
{ text: localeData.pages["site-navigation"], link: `/${locale}/site-navigation` }
]
}

const themeConfig = {
langMenuLabel: localeData.langMenuLabel,
darkModeSwitchLabel: localeData.darkModeSwitchLabel,
darkModeSwitchTitle: localeData.darkModeSwitchTitle,
lightModeSwitchTitle: localeData.lightModeSwitchTitle,
sidebarMenuLabel: localeData.sidebarMenuLabel,
returnToTopLabel: localeData.returnToTopLabel,

nav: [
{ text: localeData.pages["sd-card-setup"], link: `/${locale}/sd-card-setup` },
{ text: localeData.pages["troubleshooting"], link: `/${locale}/troubleshooting` },
{ text: localeData.pages["faq"], link: `/${locale}/faq` },
{
text: backups,
items: [
{ text: localeData.pages["dsiware-backups"], link: `/${locale}/dsiware-backups` },
{ text: localeData.pages["dumping-game-cards"], link: `/${locale}/dumping-game-cards` },
{ text: localeData.pages["dumping-nand"], link: `/${locale}/dumping-nand` }
]
},
{ text: localeData.pages["uninstalling-unlaunch"], link: `/${locale}/uninstalling-unlaunch` }
],
sidebar: {
[`/get-started`]: [
{
text: guide,
items: [
{ text: localeData.pages["get-started"], link: `/${locale}/get-started`},
{ text: localeData.pages["launching-the-exploit"], link: `/${locale}/launching-the-exploit` },
{ text: localeData.pages["launching-the-browser-exploit"], link: `/${locale}/launching-the-browser-exploit` },
{ text: localeData.pages["launching-the-flipnote-exploit"], link: `/${locale}/launching-the-flipnote-exploit` },
{ text: localeData.pages["dumping-nand"], link: `/${locale}/dumping-nand` },
{ text: localeData.pages["installing-unlaunch"], link: `/${locale}/installing-unlaunch` }
]
},
sidebar_extras,
sidebar_other
],
[`/launching-the-browser-exploit`]: [
{
text: guide,
items: [
{ text: localeData.pages["get-started"], link: `/${locale}/get-started`},
{ text: localeData.pages["launching-the-browser-exploit"], link: `/${locale}/launching-the-browser-exploit` },
{ text: localeData.pages["dumping-nand"], link: `/${locale}/dumping-nand` },
{ text: localeData.pages["installing-unlaunch"], link: `/${locale}/installing-unlaunch` }
]
},
sidebar_extras,
sidebar_other
],
[`/launching-the-flipnote-exploit`]: [
{
text: guide,
items: [
{ text: localeData.pages["get-started"], link: `/${locale}/get-started`},
{ text: localeData.pages["launching-the-flipnote-exploit"], link: `/${locale}/launching-the-flipnote-exploit` },
{ text: localeData.pages["dumping-nand"], link: `/${locale}/dumping-nand` },
{ text: localeData.pages["installing-unlaunch"], link: `/${locale}/installing-unlaunch` }
]
},
sidebar_extras,
sidebar_other
],
[`/`]: [
{
text: guide,
items: [
{ text: localeData.pages["get-started"], link: `/${locale}/get-started`},
{ text: localeData.pages["launching-the-exploit"], link: `/${locale}/launching-the-exploit` },
{ text: localeData.pages["dumping-nand"], link: `/${locale}/dumping-nand` },
{ text: localeData.pages["installing-unlaunch"], link: `/${locale}/installing-unlaunch` }
]
},
sidebar_extras,
sidebar_other
]
}
};

export default {
lang: "el",
label: "Ελληνικά",
title: localeData.title,
description: localeData.description,
themeConfig: themeConfig
}
117 changes: 117 additions & 0 deletions docs/.vitepress/i18n/es_ES.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
const locale = 'es_ES';
import { es_ES as localeData } from './strings'

const backups = localeData.backups;
const guide = localeData.guide;
const extras = localeData.extras;
const other = localeData.other;

const sidebar_extras = {
text: extras,
items: [
{ text: localeData.pages["dsiware-backups"], link: `/${locale}/dsiware-backups` },
{ text: localeData.pages["dumping-game-cards"], link: `/${locale}/dumping-game-cards` },
{ text: localeData.pages["file-extensions-windows"], link: `/${locale}/file-extensions-windows` },
{ text: localeData.pages["restoring-nand"], link: `/${locale}/restoring-nand` },
{ text: localeData.pages["sd-card-setup"], link: `/${locale}/sd-card-setup` },
{ text: localeData.pages["uninstalling-unlaunch"], link: `/${locale}/uninstalling-unlaunch` }
]
}

const sidebar_other = {
text: other,
items: [
{ text: localeData.pages["faq"], link: `/${locale}/faq` },
{ text: localeData.pages["troubleshooting"], link: `/${locale}/troubleshooting` },
{ text: localeData.pages["credits"], link: `/${locale}/credits` },
{ text: localeData.pages["site-navigation"], link: `/${locale}/site-navigation` }
]
}

const themeConfig = {
langMenuLabel: localeData.langMenuLabel,
darkModeSwitchLabel: localeData.darkModeSwitchLabel,
darkModeSwitchTitle: localeData.darkModeSwitchTitle,
lightModeSwitchTitle: localeData.lightModeSwitchTitle,
sidebarMenuLabel: localeData.sidebarMenuLabel,
returnToTopLabel: localeData.returnToTopLabel,

nav: [
{ text: localeData.pages["sd-card-setup"], link: `/${locale}/sd-card-setup` },
{ text: localeData.pages["troubleshooting"], link: `/${locale}/troubleshooting` },
{ text: localeData.pages["faq"], link: `/${locale}/faq` },
{
text: backups,
items: [
{ text: localeData.pages["dsiware-backups"], link: `/${locale}/dsiware-backups` },
{ text: localeData.pages["dumping-game-cards"], link: `/${locale}/dumping-game-cards` },
{ text: localeData.pages["dumping-nand"], link: `/${locale}/dumping-nand` }
]
},
{ text: localeData.pages["uninstalling-unlaunch"], link: `/${locale}/uninstalling-unlaunch` }
],
sidebar: {
[`/get-started`]: [
{
text: guide,
items: [
{ text: localeData.pages["get-started"], link: `/${locale}/get-started`},
{ text: localeData.pages["launching-the-exploit"], link: `/${locale}/launching-the-exploit` },
{ text: localeData.pages["launching-the-browser-exploit"], link: `/${locale}/launching-the-browser-exploit` },
{ text: localeData.pages["launching-the-flipnote-exploit"], link: `/${locale}/launching-the-flipnote-exploit` },
{ text: localeData.pages["dumping-nand"], link: `/${locale}/dumping-nand` },
{ text: localeData.pages["installing-unlaunch"], link: `/${locale}/installing-unlaunch` }
]
},
sidebar_extras,
sidebar_other
],
[`/launching-the-browser-exploit`]: [
{
text: guide,
items: [
{ text: localeData.pages["get-started"], link: `/${locale}/get-started`},
{ text: localeData.pages["launching-the-browser-exploit"], link: `/${locale}/launching-the-browser-exploit` },
{ text: localeData.pages["dumping-nand"], link: `/${locale}/dumping-nand` },
{ text: localeData.pages["installing-unlaunch"], link: `/${locale}/installing-unlaunch` }
]
},
sidebar_extras,
sidebar_other
],
[`/launching-the-flipnote-exploit`]: [
{
text: guide,
items: [
{ text: localeData.pages["get-started"], link: `/${locale}/get-started`},
{ text: localeData.pages["launching-the-flipnote-exploit"], link: `/${locale}/launching-the-flipnote-exploit` },
{ text: localeData.pages["dumping-nand"], link: `/${locale}/dumping-nand` },
{ text: localeData.pages["installing-unlaunch"], link: `/${locale}/installing-unlaunch` }
]
},
sidebar_extras,
sidebar_other
],
[`/`]: [
{
text: guide,
items: [
{ text: localeData.pages["get-started"], link: `/${locale}/get-started`},
{ text: localeData.pages["launching-the-exploit"], link: `/${locale}/launching-the-exploit` },
{ text: localeData.pages["dumping-nand"], link: `/${locale}/dumping-nand` },
{ text: localeData.pages["installing-unlaunch"], link: `/${locale}/installing-unlaunch` }
]
},
sidebar_extras,
sidebar_other
]
}
};

export default {
lang: "es",
label: "Español",
title: localeData.title,
description: localeData.description,
themeConfig: themeConfig
}
Loading

0 comments on commit e656577

Please sign in to comment.