feat: russian translation!

This commit is contained in:
neoapps-dev
2026-09-01 13:40:16 +03:00
parent df1ee637ff
commit 9e3b734335
18 changed files with 865 additions and 31 deletions
+15 -1
View File
@@ -256,6 +256,19 @@ const CreditsView = memo(function CreditsView() {
category: "SPECIAL THANKS",
icon: "",
subcategories: [
{
name: "Emerald Translations",
icon: "",
roles: [
{
role: "",
members: [
{ name: "dydymiku (French)", url: "#" },
{ name: "DimsMaybe/Hvrket (Russian)", url: "#" },
],
},
],
},
...(isAndroid
? [
{
@@ -341,7 +354,8 @@ const CreditsView = memo(function CreditsView() {
}}
>
{t("credits.backToMenu")}
</button> )}
</button>
)}
<motion.div
initial={{ y: "50%" }}
+1 -1
View File
@@ -443,7 +443,7 @@ const GoldMapperView = memo(function GoldMapperView() {
if (e.target === e.currentTarget) closeModal();
}}
>
<div className="relative w-[620px] max-w-[95vw] h-[580px] max-h-[88vh] p-5 flex flex-col font-['Mojangles'] mc-options-bg">
<div className="relative w-[620px] max-w-[95vw] h-[580px] max-h-[88vh] p-5 flex flex-col font-[var(--font-base)] mc-options-bg">
<h2 className="text-xl text-black mc-text-shadow mb-4 text-center">
{t("goldMapper.assign", { name: displayName(editing) })}
</h2>
+1 -1
View File
@@ -162,7 +162,7 @@ const ScreenshotsView = memo(function ScreenshotsView() {
animate={{ opacity: 1, scale: 1 }}
exit={{ opacity: 0, scale: 0.95 }}
transition={{ duration: animationsEnabled ? 0.3 : 0 }}
className="flex flex-col items-center w-full h-full max-w-6xl relative font-['Mojangles'] text-white select-none outline-none focus:outline-none"
className="flex flex-col items-center w-full h-full max-w-6xl relative font-[var(--font-base)] text-white select-none outline-none focus:outline-none"
>
<h2 className="text-2xl text-white mc-text-shadow mt-4 mb-6 border-b-2 border-[#373737] pb-2 w-[30%] max-w-[250px] text-center tracking-widest uppercase opacity-80 font-bold whitespace-nowrap px-4">
{t("screenshots.title")}
+4 -3
View File
@@ -590,6 +590,7 @@ const SettingsView = memo(function SettingsView() {
//neo: here goes the list, dont ask why its here
{ code: "en", label: "English" },
{ code: "fr", label: "Français (French)" }, // by Dydymiku (thanks!!)
{ code: "ru", label: "Pусский (Russian)" }, // by brnwvshed (thanks!!)
];
for (const lang of availableLanguages) {
const isCurrent = i18n.resolvedLanguage?.startsWith(lang.code);
@@ -1122,7 +1123,7 @@ const SettingsView = memo(function SettingsView() {
value={argsInput}
onChange={(e) => setArgsInput(e.target.value)}
placeholder="e.g. -quitondisconnect -ip 127.0.0.1"
className="w-full h-10 px-3 bg-black/40 border-2 border-[#373737] text-white text-base outline-none font-['Mojangles'] text-center"
className="w-full h-10 px-3 bg-black/40 border-2 border-[#373737] text-white text-base outline-none font-[var(--font-base)] text-center"
style={{ imageRendering: "pixelated" }}
/>
<div className="flex gap-4 mt-6 w-full justify-center">
@@ -1202,7 +1203,7 @@ const SettingsView = memo(function SettingsView() {
value={prefixInput}
onChange={(e) => setPrefixInput(e.target.value)}
placeholder="e.g. gamemoderun"
className="w-full h-10 px-3 bg-black/40 border-2 border-[#373737] text-white text-base outline-none font-['Mojangles'] text-center"
className="w-full h-10 px-3 bg-black/40 border-2 border-[#373737] text-white text-base outline-none font-[var(--font-base)] text-center"
style={{ imageRendering: "pixelated" }}
/>
<div className="flex gap-4 mt-6 w-full justify-center">
@@ -1282,7 +1283,7 @@ const SettingsView = memo(function SettingsView() {
onChange={(e) => setEnvVarsInput(e.target.value)}
placeholder="WINEDLLOVERRIDES=foo=n&#10;MANGOHUD=1"
rows={6}
className="w-full px-3 py-2 bg-black/40 border-2 border-[#373737] text-white text-sm outline-none font-['Mojangles'] resize-none"
className="w-full px-3 py-2 bg-black/40 border-2 border-[#373737] text-white text-sm outline-none font-[var(--font-base)] resize-none"
style={{ imageRendering: "pixelated" }}
/>
<div className="flex gap-4 mt-6 w-full justify-center">
+6 -6
View File
@@ -753,7 +753,7 @@ const WorkshopView = memo(function WorkshopView({
animate={{ opacity: 1, scale: 1 }}
exit={{ opacity: 0, scale: 0.95 }}
transition={{ duration: config.animationsEnabled ? 0.3 : 0 }}
className="flex flex-col items-center w-full h-full max-h-full relative font-['Mojangles'] text-white select-none outline-none focus:outline-none"
className="flex flex-col items-center w-full h-full max-h-full relative font-[var(--font-base)] text-white select-none outline-none focus:outline-none"
>
<div className="flex items-center justify-center gap-0 mb-4 w-full px-4">
<div
@@ -873,7 +873,7 @@ const WorkshopView = memo(function WorkshopView({
}
spellCheck={false}
autoFocus={isSearchTab}
className="bg-transparent border-none outline-none text-white text-lg mc-text-shadow w-full placeholder-white/40 font-['Mojangles'] tracking-widest"
className="bg-transparent border-none outline-none text-white text-lg mc-text-shadow w-full placeholder-white/40 font-[var(--font-base)] tracking-widest"
/>
{search && (
<button
@@ -1499,7 +1499,7 @@ function PackageModal({
>
<div
onClick={(e) => e.stopPropagation()}
className="flex flex-col w-[640px] max-h-[85vh] overflow-hidden font-['Mojangles'] mc-options-bg"
className="flex flex-col w-[640px] max-h-[85vh] overflow-hidden font-[var(--font-base)] mc-options-bg"
>
{isPluginTab ? (
<div className="w-full h-[100px] flex-shrink-0 bg-black/60 flex items-center px-6 border-b border-[#444]">
@@ -1926,7 +1926,7 @@ function PackageModal({
exit={{ y: 20, opacity: 0 }}
transition={{ duration: 0.15 }}
onClick={(e) => e.stopPropagation()}
className="flex flex-col w-[520px] font-['Mojangles'] text-white border-2 border-[#555] rounded-sm overflow-hidden"
className="flex flex-col w-[520px] font-[var(--font-base)] text-white border-2 border-[#555] rounded-sm overflow-hidden"
style={{
backgroundImage: "url('/images/frame_background.png')",
backgroundSize: "100% 100%",
@@ -2265,7 +2265,7 @@ function InstallModal({
exit={{ y: 20, opacity: 0 }}
transition={{ duration: 0.15 }}
onClick={(e) => e.stopPropagation()}
className="flex flex-col w-[520px] font-['Mojangles'] text-white border-2 border-[#555] rounded-sm overflow-hidden"
className="flex flex-col w-[520px] font-[var(--font-base)] text-white border-2 border-[#555] rounded-sm overflow-hidden"
style={{
backgroundImage: "url('/images/frame_background.png')",
backgroundSize: "100% 100%",
@@ -2543,7 +2543,7 @@ function UninstallModal({
exit={{ y: 20, opacity: 0 }}
transition={{ duration: 0.15 }}
onClick={(e) => e.stopPropagation()}
className="flex flex-col w-[520px] font-['Mojangles'] text-white border-2 border-[#555] rounded-sm overflow-hidden"
className="flex flex-col w-[520px] font-[var(--font-base)] text-white border-2 border-[#555] rounded-sm overflow-hidden"
style={{
backgroundImage: "url('/images/frame_background.png')",
backgroundSize: "100% 100%",