mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
add translations for custom version actions
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
"open-folder": "Open folder",
|
||||
"verify-files": "Verify files",
|
||||
"clone": "Clone",
|
||||
"edit": "Edit",
|
||||
"uninstall": "Uninstall"
|
||||
}
|
||||
},
|
||||
@@ -156,6 +157,24 @@
|
||||
"EXE_NOT_FINDED": "Some files seem to be missing, try to verify the files."
|
||||
}
|
||||
}
|
||||
},
|
||||
"custom-version":{
|
||||
"errors":{
|
||||
"titles":{
|
||||
"CantEditSteam": "Unable to edit",
|
||||
"CantRename": "Renaming impossible",
|
||||
"VersionAlreadExist": "This version already exists",
|
||||
"CantClone": "Cloning impossible"
|
||||
},
|
||||
"msg":{
|
||||
"CantEditSteam": "You can't edit the Steam version. You can clone it though."
|
||||
}
|
||||
},
|
||||
"success":{
|
||||
"titles":{
|
||||
"CloningFinished": "Cloning complete 🎉"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"modals":{
|
||||
@@ -203,6 +222,19 @@
|
||||
"buttons":{
|
||||
"submit": "Choose folder"
|
||||
}
|
||||
},
|
||||
"edit-version":{
|
||||
"title": "Edit the version",
|
||||
"buttons":{
|
||||
"submit": "Edit"
|
||||
}
|
||||
},
|
||||
"clone-version":{
|
||||
"title": "Clone version",
|
||||
"description": "Cloning the version allows you to separate additional BeatSaber content between two versions.",
|
||||
"buttons":{
|
||||
"submit": "Clone"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -18,6 +18,7 @@
|
||||
"open-folder": "Abrir la carpeta",
|
||||
"verify-files": "Verificar los archivos",
|
||||
"clone": "Clonar",
|
||||
"edit": "Editar",
|
||||
"uninstall": "Desinstalar"
|
||||
}
|
||||
},
|
||||
@@ -157,6 +158,24 @@
|
||||
"EXE_NOT_FINDED": "Parece que faltan algunos archivos, intente verificar los archivos."
|
||||
}
|
||||
}
|
||||
},
|
||||
"custom-version":{
|
||||
"errors":{
|
||||
"titles":{
|
||||
"CantEditSteam": "Imposible editar",
|
||||
"CantRename": "El renombramiento es imposible",
|
||||
"VersionAlreadExist": "Esta versión ya existe",
|
||||
"CantClone": "Clonación imposible"
|
||||
},
|
||||
"msg":{
|
||||
"CantEditSteam": "No puedes editar la versión de Steam. Sin embargo, puedes clonarla."
|
||||
}
|
||||
},
|
||||
"success":{
|
||||
"titles":{
|
||||
"CloningFinished": "Clonación completa 🎉"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"modals":{
|
||||
@@ -204,6 +223,19 @@
|
||||
"buttons":{
|
||||
"submit": "Elija la carpeta"
|
||||
}
|
||||
},
|
||||
"edit-version":{
|
||||
"title": "Editar la versión",
|
||||
"buttons":{
|
||||
"submit": "Editar"
|
||||
}
|
||||
},
|
||||
"clone-version":{
|
||||
"title": "Versión clonada",
|
||||
"description": "La clonación de la versión le permite separar el contenido adicional de BeatSaber entre dos versiones.",
|
||||
"buttons":{
|
||||
"submit": "Clonar"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"open-folder": "Ouvrir le dossier",
|
||||
"verify-files": "Vérifier les fichiers",
|
||||
"clone": "Cloner",
|
||||
"edit": "Editer",
|
||||
"uninstall": "Désinstaller"
|
||||
}
|
||||
},
|
||||
@@ -156,6 +157,24 @@
|
||||
"EXE_NOT_FINDED": "Quelques fichiers semblent manquants. Essaye de vérifier les fichiers."
|
||||
}
|
||||
}
|
||||
},
|
||||
"custom-version":{
|
||||
"errors":{
|
||||
"titles":{
|
||||
"CantEditSteam": "Edition impossible",
|
||||
"CantRename": "Renommage impossible",
|
||||
"VersionAlreadExist": "Cette version existe déjà",
|
||||
"CantClone": "Clonage impossible"
|
||||
},
|
||||
"msg":{
|
||||
"CantEditSteam": "Tu ne peut pas éditer la version Steam. Tu peut la cloner par contre."
|
||||
}
|
||||
},
|
||||
"success":{
|
||||
"titles":{
|
||||
"CloningFinished": "Clonage terminer 🎉"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"modals":{
|
||||
@@ -203,6 +222,19 @@
|
||||
"buttons":{
|
||||
"submit": "Choisir un dossier"
|
||||
}
|
||||
},
|
||||
"edit-version":{
|
||||
"title": "Editer la version",
|
||||
"buttons":{
|
||||
"submit": "Editer"
|
||||
}
|
||||
},
|
||||
"clone-version":{
|
||||
"title": "Cloner la version",
|
||||
"description": "Cloner la version te permet de séparer les contenus additionnels de BeatSaber entre deux mêmes versions.",
|
||||
"buttons":{
|
||||
"submit": "Cloner"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,10 +30,10 @@ export function EditVersionModal({resolver, clone = false}: {resolver: (x: Modal
|
||||
|
||||
return (
|
||||
<form className="static" onSubmit={(e) => {e.preventDefault(); rename();}}>
|
||||
<h1 className="text-3xl uppercase tracking-wide w-full text-center text-gray-800 dark:text-gray-200">{t(!clone ? "Editer la version" : "Cloner_la_version")}</h1>
|
||||
<h1 className="text-3xl uppercase tracking-wide w-full text-center text-gray-800 dark:text-gray-200">{t(!clone ? "modals.edit-version.title" : "modals.clone-version.title")}</h1>
|
||||
<BsmIcon className="w-full h-11 my-3" icon="bsNote" style={{color: color}}/>
|
||||
{ clone && (
|
||||
<p className="max-w-sm mb-2 text-gray-800 dark:text-gray-200">Cloner la version te permet de séparer le contenu additionnel de BeatSaber entre deux même versions</p>
|
||||
<p className="max-w-sm mb-2 text-gray-800 dark:text-gray-200">{t("modals.clone-version.description")}</p>
|
||||
)}
|
||||
<div className="mb-3">
|
||||
<label className="block font-bold cursor-pointer tracking-wide text-gray-800 dark:text-gray-200" htmlFor="name">{t("Nom")}</label>
|
||||
@@ -50,7 +50,7 @@ export function EditVersionModal({resolver, clone = false}: {resolver: (x: Modal
|
||||
</div>
|
||||
<div className="grid grid-flow-col grid-cols-2 gap-4">
|
||||
<BsmButton className="rounded-md text-center bg-gray-500 hover:brightness-110 transition-all" onClick={() => {resolver({exitCode: ModalExitCode.CANCELED})}} withBar={false} text="misc.cancel"/>
|
||||
<BsmButton typeColor="primary" className="z-0 px-1 rounded-md text-center hover:brightness-110 transition-all" type="submit" withBar={false} text={t("Editer")}/>
|
||||
<BsmButton typeColor="primary" className="z-0 px-1 rounded-md text-center hover:brightness-110 transition-all" type="submit" withBar={false} text={!clone ? "modals.edit-version.buttons.submit" : "modals.clone-version.buttons.submit"}/>
|
||||
</div>
|
||||
</form>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user