Skip to content

Commit

Permalink
Merge pull request #15 from Fabulously-Optimized/lang-et
Browse files Browse the repository at this point in the history
Add Estonian and fix English
  • Loading branch information
Madis0 authored Feb 12, 2024
2 parents bfa7a8c + 4f5a62b commit d860938
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/lib/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
"progress.download_file": "Downloading {{file}} ({{idx}}/{{total}})",
"progress.extract_overrides": "Extracting configuration files",
"progress.install_loader": "Installing mod loader",
"progress.add_profile": "Creating launcher profile",
"progress.add_profile": "Creating launcher installation",
"ui.loading-versions": "Loading versions...",
"ui.version-tooltip": "Vanilla Installer allows easy installation of all supported versions of Fabulously Optimized. For outdated versions, use a different launcher.",
"ui.version-tooltip": "Vanilla Installer allows easy installation of all supported versions of Fabulously Optimized. For outdated versions, use a different launcher or install method.",
"ui.isolate-profile": "Use a different <code class=\"inline-code\">.minecraft</code> directory for this version?",
"ui.profile-dir-placeholder": "Leave blank to let the installer decide",
"ui.profile-dir-browse-label": "Browse folders",
"ui.install-button": "Install!",
"ui.installing": "Installing...",
"ui.installed": "Fabulously Optimized is installed!",
"ui.install-error": "An error occurred while installing Fabulously Optimized: {{errorMessage}}",
"ui.downgrade-msg": "You are attempting to downgrade the Minecraft version. This is <span class=\"inline font-semibold\">NOT SUPPORTED</span> by Mojang or Fabulously Optimized and it may cause world corruption or crashes. <br /> If you want to do this safely, you should backup <code class=\"inline-code\">mods</code>, <code class=\"inline-code\">config</code> and <code class=\"inline-code\">saves</code> folders to a different location and delete them from your .minecraft folder.<br /> To skip this warning after backing up the folders, delete <code class=\"inline-code\">paigaldaja_meta.json</code> from your .minecraft folder.",
"ui.downgrade-msg": "You are attempting to downgrade the Minecraft version. This is <span class=\"inline font-semibold\">NOT SUPPORTED</span> by Mojang or Fabulously Optimized and it may cause world corruption or crashes. <br /> If you want to do this safely, you should backup <code class=\"inline-code\">mods</code>, <code class=\"inline-code\">config</code> and <code class=\"inline-code\">saves</code> folders to a different location and delete them from your .minecraft folder.",
"ui.confirm-downgrade": "Yes, I want to downgrade FO.",
"ui.downgrade-cancel": "Back",
"ui.downgrade-continue": "Continue",
"ui.confirm-exit": "Fabulously Optimized is installing. Are you sure you want to exit?"
}
}
23 changes: 23 additions & 0 deletions src/lib/lang/et.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"progress.clean_old": "Vanade failide tühjendamine",
"progress.load_pack": "Modipaki allalaadimine",
"progress.download_files": "Modide allalaadimine",
"progress.download_file": "{{file}} allalaadimine ({{idx}}/{{total}})",
"progress.extract_overrides": "Seadistusfailide ekstraktimine",
"progress.install_loader": "Modilaaduri paigaldamine",
"progress.add_profile": "Launcheri paigalduse loomine",
"ui.loading-versions": "Versioonide laadimine...",
"ui.version-tooltip": "Vanilla Installer lubab kerget paigaldust kõigi Fabulously Optimized toetatud versioonide jaoks. Aegunud versioonide jaoks kasuta teist käivitajat või meetodit.",
"ui.isolate-profile": "Kasutada selle versiooni jaoks teist <code class=\"inline-code\">.minecraft</code> kausta?",
"ui.profile-dir-placeholder": "Jäta tühjaks, kui soovid et paigaldaja ise valib",
"ui.profile-dir-browse-label": "Sirvi kaustu",
"ui.install-button": "Paigalda!",
"ui.installing": "Paigaldamine...",
"ui.installed": "Fabulously Optimized on paigaldatud!",
"ui.install-error": "Fabulously Optimized paigaldamisel esines viga: {{errorMessage}}",
"ui.downgrade-msg": "Proovid Minecrafti versiooni alandada. See <span class=\"inline font-semibold\">EI OLE TOETATUD</span> Mojangi ega Fabulously Optimized poolt ning see võib põhjustada maailmade korrumptsiooni või krahhe. <br /> Kui soovid seda turvaliselt teha, peaksid varundama kaustad <code class=\"inline-code\">mods</code>, <code class=\"inline-code\">config</code> ja <code class=\"inline-code\">saves</code> teise kohta ning kustutama need oma .minecraft kaustast.",
"ui.confirm-downgrade": "Jah, ma soovin FO versiooni alandada.",
"ui.downgrade-cancel": "Tagasi",
"ui.downgrade-continue": "Jätka",
"ui.confirm-exit": "Fabulously Optimized on paigaldamisel. Kas soovid kindlasti väljuda?"
}
6 changes: 4 additions & 2 deletions src/lib/lang/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import en from "./en.json";
import et from "./et.json";

export const langs: Record<string, Record<string, string>> = {
en
};
en,
et
};

0 comments on commit d860938

Please sign in to comment.