mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 01:58:41 +01:00
Use dropzone and add button in upload modal
This commit is contained in:
@@ -10,6 +10,7 @@ import storeScanning from "@/stores/scanning";
|
||||
import storeUpload from "@/stores/upload";
|
||||
import type { Events } from "@/types/emitter";
|
||||
import { formatBytes } from "@/utils";
|
||||
import { useDropZone } from "@vueuse/core";
|
||||
import type { Emitter } from "mitt";
|
||||
import { inject, ref } from "vue";
|
||||
import { useI18n } from "vue-i18n";
|
||||
@@ -24,6 +25,8 @@ const selectedPlatform = ref<Platform | null>(null);
|
||||
const supportedPlatforms = ref<Platform[]>();
|
||||
const heartbeat = storeHeartbeat();
|
||||
const uploadStore = storeUpload();
|
||||
const dropZoneRef = ref<HTMLDivElement>();
|
||||
|
||||
const HEADERS = [
|
||||
{
|
||||
title: "Name",
|
||||
@@ -33,6 +36,7 @@ const HEADERS = [
|
||||
},
|
||||
{ title: "", align: "end", key: "actions", sortable: false },
|
||||
] as const;
|
||||
|
||||
const emitter = inject<Emitter<Events>>("emitter");
|
||||
emitter?.on("showUploadRomDialog", (platformWhereUpload) => {
|
||||
if (platformWhereUpload) {
|
||||
@@ -147,6 +151,23 @@ function triggerFileInput() {
|
||||
fileInput?.click();
|
||||
}
|
||||
|
||||
function handleFileInputChange(event: Event) {
|
||||
const target = event.target as HTMLInputElement;
|
||||
if (target.files && target.files.length > 0) {
|
||||
const newFiles = Array.from(target.files);
|
||||
// Add new files to existing list, avoiding duplicates
|
||||
const uniqueNewFiles = newFiles.filter(
|
||||
(newFile) =>
|
||||
!filesToUpload.value.some(
|
||||
(existingFile) => existingFile.name === newFile.name,
|
||||
),
|
||||
);
|
||||
filesToUpload.value = [...filesToUpload.value, ...uniqueNewFiles];
|
||||
}
|
||||
// Clear the input so the same files can be selected again if needed
|
||||
target.value = "";
|
||||
}
|
||||
|
||||
function removeRomFromList(romName: string) {
|
||||
filesToUpload.value = filesToUpload.value.filter(
|
||||
(rom) => rom.name !== romName,
|
||||
@@ -158,6 +179,25 @@ function closeDialog() {
|
||||
filesToUpload.value = [];
|
||||
selectedPlatform.value = null;
|
||||
}
|
||||
|
||||
function onDrop(files: File[] | null) {
|
||||
if (files && files.length > 0) {
|
||||
// Add new files to existing list, avoiding duplicates
|
||||
const newFiles = files.filter(
|
||||
(newFile) =>
|
||||
!filesToUpload.value.some(
|
||||
(existingFile) => existingFile.name === newFile.name,
|
||||
),
|
||||
);
|
||||
filesToUpload.value = [...filesToUpload.value, ...newFiles];
|
||||
}
|
||||
}
|
||||
|
||||
const { isOverDropZone } = useDropZone(dropZoneRef, {
|
||||
onDrop,
|
||||
multiple: true,
|
||||
preventDefaultForUnhandled: true,
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -165,12 +205,12 @@ function closeDialog() {
|
||||
@close="closeDialog"
|
||||
v-model="show"
|
||||
icon="mdi-cloud-upload-outline"
|
||||
:width="mdAndUp ? '50vw' : '95vw'"
|
||||
:width="mdAndUp ? '40vw' : '95vw'"
|
||||
scroll-content
|
||||
>
|
||||
<template #toolbar>
|
||||
<v-row class="align-center" no-gutters>
|
||||
<v-col cols="10" sm="8" lg="9">
|
||||
<v-col>
|
||||
<v-autocomplete
|
||||
v-model="selectedPlatform"
|
||||
:label="t('common.platform')"
|
||||
@@ -213,66 +253,116 @@ function closeDialog() {
|
||||
</template>
|
||||
</v-autocomplete>
|
||||
</v-col>
|
||||
<v-col>
|
||||
<v-btn
|
||||
block
|
||||
icon=""
|
||||
class="text-primary bg-toplayer"
|
||||
variant="text"
|
||||
rounded="0"
|
||||
@click="triggerFileInput"
|
||||
>
|
||||
<v-icon :class="{ 'mr-2': !xs }"> mdi-plus </v-icon
|
||||
><span v-if="!xs">{{ t("common.add") }}</span>
|
||||
</v-btn>
|
||||
<v-file-input
|
||||
id="file-input"
|
||||
v-model="filesToUpload"
|
||||
class="file-input"
|
||||
multiple
|
||||
required
|
||||
/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</template>
|
||||
<template #content>
|
||||
<v-data-table-virtual
|
||||
v-if="filesToUpload.length > 0"
|
||||
:item-value="(item) => item.name"
|
||||
:items="filesToUpload"
|
||||
:width="mdAndUp ? '60vw' : '95vw'"
|
||||
:headers="HEADERS"
|
||||
hide-default-header
|
||||
<!-- Dropzone Area -->
|
||||
<div
|
||||
ref="dropZoneRef"
|
||||
class="dropzone-container min-h-[200px] rounded-lg transition-all duration-300 ease-in-out ma-3"
|
||||
:class="{
|
||||
'dropzone-active': isOverDropZone,
|
||||
'dropzone-has-files': filesToUpload.length > 0,
|
||||
}"
|
||||
>
|
||||
<template #item.name="{ item }">
|
||||
<v-list-item class="px-0">
|
||||
<v-row no-gutters>
|
||||
<v-col>
|
||||
{{ item.name }}
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row no-gutters v-if="!smAndUp">
|
||||
<v-col>
|
||||
<v-chip size="x-small" label>{{
|
||||
formatBytes(item.size)
|
||||
}}</v-chip>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<template #append>
|
||||
<v-chip v-if="smAndUp" class="ml-2" size="x-small" label>{{
|
||||
formatBytes(item.size)
|
||||
}}</v-chip>
|
||||
</template>
|
||||
</v-list-item>
|
||||
</template>
|
||||
<template #item.actions="{ item }">
|
||||
<v-btn-group divided density="compact">
|
||||
<v-btn @click="removeRomFromList(item.name)">
|
||||
<v-icon class="text-romm-red"> mdi-close </v-icon>
|
||||
<!-- Dropzone Visual Feedback -->
|
||||
<div
|
||||
v-if="filesToUpload.length === 0"
|
||||
class="flex flex-col items-center justify-center h-full min-h-[250px] p-8 text-center transition-all duration-300 ease-in-out"
|
||||
>
|
||||
<v-icon
|
||||
:class="{ 'animate-pulse-glow': isOverDropZone }"
|
||||
size="48"
|
||||
color="primary"
|
||||
class="transition-all duration-300 ease-in-out"
|
||||
>
|
||||
{{
|
||||
isOverDropZone ? "mdi-cloud-upload" : "mdi-cloud-upload-outline"
|
||||
}}
|
||||
</v-icon>
|
||||
<h3 class="text-h6 mt-4 mb-2">
|
||||
{{
|
||||
isOverDropZone
|
||||
? t("common.dropzone-drag-over")
|
||||
: t("common.dropzone-title")
|
||||
}}
|
||||
</h3>
|
||||
<p class="text-body-2 text-medium-emphasis mb-4">
|
||||
{{ t("common.dropzone-description") }}
|
||||
</p>
|
||||
<v-btn color="primary" variant="outlined" @click="triggerFileInput">
|
||||
<v-icon start>mdi-plus</v-icon>
|
||||
{{ t("common.add") }}
|
||||
</v-btn>
|
||||
</div>
|
||||
|
||||
<!-- Files List -->
|
||||
<div v-if="filesToUpload.length > 0" class="p-4">
|
||||
<div class="d-flex align-center justify-space-between mb-3">
|
||||
<h4 class="text-h6">
|
||||
{{
|
||||
t("common.upload-files-selected", {
|
||||
count: filesToUpload.length,
|
||||
})
|
||||
}}
|
||||
</h4>
|
||||
<v-btn
|
||||
color="primary"
|
||||
variant="outlined"
|
||||
size="small"
|
||||
@click="triggerFileInput"
|
||||
>
|
||||
<v-icon start>mdi-plus</v-icon>
|
||||
{{ t("common.add") }}
|
||||
</v-btn>
|
||||
</v-btn-group>
|
||||
</template>
|
||||
</v-data-table-virtual>
|
||||
</div>
|
||||
|
||||
<v-data-table-virtual
|
||||
:item-value="(item) => item.name"
|
||||
:items="filesToUpload"
|
||||
:headers="HEADERS"
|
||||
hide-default-header
|
||||
class="elevation-1"
|
||||
>
|
||||
<template #item.name="{ item }">
|
||||
<v-list-item class="pa-0">
|
||||
<v-row no-gutters>
|
||||
<v-col>
|
||||
{{ item.name }}
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row no-gutters v-if="!smAndUp">
|
||||
<v-col>
|
||||
<v-chip size="x-small" label>{{
|
||||
formatBytes(item.size)
|
||||
}}</v-chip>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<template #append>
|
||||
<v-chip v-if="smAndUp" class="ml-2" size="x-small" label>{{
|
||||
formatBytes(item.size)
|
||||
}}</v-chip>
|
||||
</template>
|
||||
</v-list-item>
|
||||
</template>
|
||||
<template #item.actions="{ item }">
|
||||
<v-btn @click="removeRomFromList(item.name)">
|
||||
<v-icon class="text-romm-red"> mdi-close </v-icon>
|
||||
</v-btn>
|
||||
</template>
|
||||
</v-data-table-virtual>
|
||||
</div>
|
||||
|
||||
<!-- Hidden file input -->
|
||||
<input
|
||||
id="file-input"
|
||||
type="file"
|
||||
multiple
|
||||
class="opacity-0 pointer-events-none"
|
||||
style="display: none"
|
||||
@change="handleFileInputChange"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
<template #append>
|
||||
<v-divider />
|
||||
@@ -298,3 +388,39 @@ function closeDialog() {
|
||||
</template>
|
||||
</r-dialog>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.dropzone-container {
|
||||
border: 2px dashed rgba(var(--v-theme-primary), 0.3);
|
||||
}
|
||||
|
||||
.dropzone-container.dropzone-active {
|
||||
border: 2px dashed rgba(var(--v-theme-primary));
|
||||
background-color: rgba(var(--v-theme-primary), 0.05);
|
||||
}
|
||||
|
||||
.dropzone-container.dropzone-has-files {
|
||||
border: none;
|
||||
background-color: rgba(var(--v-theme-surface), 0.5);
|
||||
}
|
||||
|
||||
.animate-pulse-glow {
|
||||
animation: pulse-glow 1.5s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse-glow {
|
||||
0% {
|
||||
transform: scale(1);
|
||||
filter: brightness(1) drop-shadow(0 0 0 rgba(var(--v-theme-primary), 0));
|
||||
}
|
||||
50% {
|
||||
transform: scale(1.1);
|
||||
filter: brightness(1.2)
|
||||
drop-shadow(0 0 20px rgba(var(--v-theme-primary), 0.6));
|
||||
}
|
||||
100% {
|
||||
transform: scale(1);
|
||||
filter: brightness(1) drop-shadow(0 0 0 rgba(var(--v-theme-primary), 0));
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -87,7 +87,7 @@ onMounted(() => {
|
||||
</v-toolbar>
|
||||
<v-divider />
|
||||
|
||||
<v-card-text v-if="hasPrependSlot" class="pa-1">
|
||||
<v-card-text v-if="hasPrependSlot" class="pa-0">
|
||||
<slot name="prepend"></slot>
|
||||
</v-card-text>
|
||||
|
||||
@@ -125,7 +125,7 @@ onMounted(() => {
|
||||
name="content"
|
||||
></slot>
|
||||
</v-card-text>
|
||||
<v-card-text v-if="hasAppendSlot" class="pa-1">
|
||||
<v-card-text v-if="hasAppendSlot" class="pa-0">
|
||||
<slot name="append"></slot>
|
||||
</v-card-text>
|
||||
|
||||
|
||||
@@ -10,11 +10,16 @@
|
||||
"confirm": "Bestätigen",
|
||||
"core": "Core",
|
||||
"create": "Erstellen",
|
||||
"dropzone-description": "Ziehen Sie Ihre ROM-Dateien hierher oder klicken Sie zum Durchsuchen",
|
||||
"dropzone-drag-over": "Loslassen zum Hochladen",
|
||||
"dropzone-title": "Dateien hier ablegen",
|
||||
"edit": "Bearbeiten",
|
||||
"exclude-on-delete": "Beim Löschen ausschließen",
|
||||
"filter": "Filter",
|
||||
"firmware": "Firmware",
|
||||
"games-n": "{n} Spiel | {n} Spiele",
|
||||
"invalid-email": "Ungültige E-Mail",
|
||||
"invalid-name": "Ungültiger Name",
|
||||
"library-management": "Bibliothek verwalten",
|
||||
"logout": "Ausloggen",
|
||||
"name": "Name",
|
||||
@@ -25,8 +30,6 @@
|
||||
"profile": "Profil",
|
||||
"random": "Zufällig",
|
||||
"required": "Erforderlich",
|
||||
"invalid-name": "Ungültiger Name",
|
||||
"invalid-email": "Ungültige E-Mail",
|
||||
"save": "Speichern",
|
||||
"saves": "Speicherstände",
|
||||
"saves-n": "{n} Speichern | {n} Speicherstände",
|
||||
@@ -35,15 +38,16 @@
|
||||
"server-stats": "Serverstatistiken",
|
||||
"size-on-disk": "Größe auf Festplatte",
|
||||
"slug": "Slug",
|
||||
"smart-collection": "Intelligente Sammlung",
|
||||
"smart-collections": "Intelligente Sammlungen",
|
||||
"state": "Spielstand",
|
||||
"states": "Spielstände",
|
||||
"states-n": "{n} Spielstand | {n} Spielstände",
|
||||
"sync": "Synchronisieren",
|
||||
"update": "Update",
|
||||
"upload": "Hochladen",
|
||||
"upload-files-selected": "{count} Datei ausgewählt | {count} Dateien ausgewählt",
|
||||
"user-interface": "Benutzeroberfläche",
|
||||
"virtual-collection": "Autogenerierte Sammlung",
|
||||
"virtual-collections": "Autogenerierte Sammlungen",
|
||||
"smart-collection": "Intelligente Sammlung",
|
||||
"smart-collections": "Intelligente Sammlungen",
|
||||
"sync": "Synchronisieren"
|
||||
"virtual-collections": "Autogenerierte Sammlungen"
|
||||
}
|
||||
|
||||
@@ -10,11 +10,16 @@
|
||||
"confirm": "Confirm",
|
||||
"core": "Core",
|
||||
"create": "Create",
|
||||
"dropzone-description": "Drag and drop your ROM files here, or click to browse",
|
||||
"dropzone-drag-over": "Release to upload",
|
||||
"dropzone-title": "Drop files here",
|
||||
"edit": "Edit",
|
||||
"exclude-on-delete": "Exclude on delete",
|
||||
"filter": "Filter",
|
||||
"firmware": "Firmware",
|
||||
"games-n": "{n} Game | {n} Games",
|
||||
"invalid-email": "Invalid email",
|
||||
"invalid-name": "Invalid name",
|
||||
"library-management": "Library management",
|
||||
"logout": "Logout",
|
||||
"name": "Name",
|
||||
@@ -25,8 +30,6 @@
|
||||
"profile": "Profile",
|
||||
"random": "Random",
|
||||
"required": "Required",
|
||||
"invalid-name": "Invalid name",
|
||||
"invalid-email": "Invalid email",
|
||||
"save": "Save",
|
||||
"saves": "Saves",
|
||||
"saves-n": "{n} Save | {n} Saves",
|
||||
@@ -35,15 +38,16 @@
|
||||
"server-stats": "Server stats",
|
||||
"size-on-disk": "Size on disk",
|
||||
"slug": "Slug",
|
||||
"smart-collection": "Smart Collection",
|
||||
"smart-collections": "Smart Collections",
|
||||
"state": "State",
|
||||
"states": "States",
|
||||
"states-n": "{n} State | {n} States",
|
||||
"sync": "Sync",
|
||||
"update": "Update",
|
||||
"upload": "Upload",
|
||||
"upload-files-selected": "{count} file selected | {count} files selected",
|
||||
"user-interface": "User interface",
|
||||
"virtual-collection": "Autogenerated collection",
|
||||
"virtual-collections": "Autogenerated collections",
|
||||
"smart-collection": "Smart Collection",
|
||||
"smart-collections": "Smart Collections"
|
||||
"virtual-collections": "Autogenerated collections"
|
||||
}
|
||||
|
||||
@@ -10,11 +10,16 @@
|
||||
"confirm": "Confirm",
|
||||
"core": "Core",
|
||||
"create": "Create",
|
||||
"dropzone-description": "Drag and drop your ROM files here, or click to browse",
|
||||
"dropzone-drag-over": "Release to upload",
|
||||
"dropzone-title": "Drop files here",
|
||||
"edit": "Edit",
|
||||
"exclude-on-delete": "Exclude on delete",
|
||||
"filter": "Filter",
|
||||
"firmware": "Firmware",
|
||||
"games-n": "{n} Game | {n} Games",
|
||||
"invalid-email": "Invalid email",
|
||||
"invalid-name": "Invalid name",
|
||||
"library-management": "Library management",
|
||||
"logout": "Logout",
|
||||
"name": "Name",
|
||||
@@ -25,8 +30,6 @@
|
||||
"profile": "Profile",
|
||||
"random": "Random",
|
||||
"required": "Required",
|
||||
"invalid-name": "Invalid name",
|
||||
"invalid-email": "Invalid email",
|
||||
"save": "Save",
|
||||
"saves": "Saves",
|
||||
"saves-n": "{n} Save | {n} Saves",
|
||||
@@ -35,15 +38,16 @@
|
||||
"server-stats": "Server stats",
|
||||
"size-on-disk": "Size on disk",
|
||||
"slug": "Slug",
|
||||
"smart-collection": "Smart Collection",
|
||||
"smart-collections": "Smart Collections",
|
||||
"state": "State",
|
||||
"states": "States",
|
||||
"states-n": "{n} State | {n} States",
|
||||
"sync": "Sync",
|
||||
"update": "Update",
|
||||
"upload": "Upload",
|
||||
"upload-files-selected": "{count} file selected | {count} files selected",
|
||||
"user-interface": "User interface",
|
||||
"virtual-collection": "Autogenerated collection",
|
||||
"virtual-collections": "Autogenerated collections",
|
||||
"smart-collection": "Smart Collection",
|
||||
"smart-collections": "Smart Collections"
|
||||
"virtual-collections": "Autogenerated collections"
|
||||
}
|
||||
|
||||
@@ -10,11 +10,16 @@
|
||||
"confirm": "Confirmar",
|
||||
"core": "Núcleo",
|
||||
"create": "Crear",
|
||||
"dropzone-description": "Arrastra y suelta tus archivos ROM aquí, o haz clic para explorar",
|
||||
"dropzone-drag-over": "Suelta para subir",
|
||||
"dropzone-title": "Suelta archivos aquí",
|
||||
"edit": "Editar",
|
||||
"exclude-on-delete": "Excluir al eliminar",
|
||||
"filter": "Filtrar",
|
||||
"firmware": "Firmware",
|
||||
"games-n": "{n} Juego | {n} Juegos",
|
||||
"invalid-email": "Correo electrónico inválido",
|
||||
"invalid-name": "Nombre inválido",
|
||||
"library-management": "Gestionar biblioteca",
|
||||
"logout": "Cerrar sesión",
|
||||
"name": "Nombre",
|
||||
@@ -25,8 +30,6 @@
|
||||
"profile": "Perfil",
|
||||
"random": "Aleatorio",
|
||||
"required": "Requerido",
|
||||
"invalid-name": "Nombre inválido",
|
||||
"invalid-email": "Correo electrónico inválido",
|
||||
"save": "Guardado",
|
||||
"saves": "Guardados",
|
||||
"saves-n": "{n} Guardado | {n} Guardados",
|
||||
@@ -35,15 +38,16 @@
|
||||
"server-stats": "Estadísticas del servidor",
|
||||
"size-on-disk": "Tamaño en disco",
|
||||
"slug": "Slug",
|
||||
"smart-collection": "Colección Inteligente",
|
||||
"smart-collections": "Colecciones Inteligentes",
|
||||
"state": "Estado",
|
||||
"states": "Estados",
|
||||
"states-n": "{n} Estado | {n} Estados",
|
||||
"sync": "Sincronizar",
|
||||
"update": "Actualizar",
|
||||
"upload": "Subir",
|
||||
"upload-files-selected": "{count} archivo seleccionado | {count} archivos seleccionados",
|
||||
"user-interface": "Interfaz de usuario",
|
||||
"virtual-collection": "Colección autogenerada",
|
||||
"virtual-collections": "Colecciones autogeneradas",
|
||||
"smart-collection": "Colección Inteligente",
|
||||
"smart-collections": "Colecciones Inteligentes",
|
||||
"sync": "Sincronizar"
|
||||
"virtual-collections": "Colecciones autogeneradas"
|
||||
}
|
||||
|
||||
@@ -10,11 +10,16 @@
|
||||
"confirm": "Confirmer",
|
||||
"core": "Noyau",
|
||||
"create": "Créer",
|
||||
"dropzone-description": "Glissez-déposez vos fichiers ROM ici, ou cliquez pour parcourir",
|
||||
"dropzone-drag-over": "Relâchez pour téléverser",
|
||||
"dropzone-title": "Déposez les fichiers ici",
|
||||
"edit": "Éditer",
|
||||
"exclude-on-delete": "Exclure lors de la suppression",
|
||||
"filter": "Filtrer",
|
||||
"firmware": "Micrologiciel",
|
||||
"games-n": "{n} Jeu | {n} Jeux",
|
||||
"invalid-email": "E-mail invalide",
|
||||
"invalid-name": "Nom invalide",
|
||||
"library-management": "Gestion de la bibliothèque",
|
||||
"logout": "Se déconnecter",
|
||||
"name": "Nom",
|
||||
@@ -25,8 +30,6 @@
|
||||
"profile": "Profil",
|
||||
"random": "Aléatoire",
|
||||
"required": "Requis",
|
||||
"invalid-name": "Nom invalide",
|
||||
"invalid-email": "E-mail invalide",
|
||||
"save": "Sauvegarder",
|
||||
"saves": "Sauvegardes",
|
||||
"saves-n": "{n} Sauvegarder | {n} Sauvegardes",
|
||||
@@ -35,15 +38,16 @@
|
||||
"server-stats": "Statistiques du serveur",
|
||||
"size-on-disk": "Taille sur le disque",
|
||||
"slug": "Slug",
|
||||
"smart-collection": "Collection Intelligente",
|
||||
"smart-collections": "Collections Intelligentes",
|
||||
"state": "État",
|
||||
"states": "États",
|
||||
"states-n": "{n} État | {n} États",
|
||||
"sync": "Synchroniser",
|
||||
"update": "Mettre à jour",
|
||||
"upload": "Téléverser",
|
||||
"upload-files-selected": "{count} fichier sélectionné | {count} fichiers sélectionnés",
|
||||
"user-interface": "Interface utilisateur",
|
||||
"virtual-collection": "Collection autogénérée",
|
||||
"virtual-collections": "Collections autogénérées",
|
||||
"smart-collection": "Collection Intelligente",
|
||||
"smart-collections": "Collections Intelligentes",
|
||||
"sync": "Synchroniser"
|
||||
"virtual-collections": "Collections autogénérées"
|
||||
}
|
||||
|
||||
@@ -10,11 +10,16 @@
|
||||
"confirm": "Conferma",
|
||||
"core": "Core",
|
||||
"create": "Crea",
|
||||
"dropzone-description": "Trascina e rilascia i tuoi file ROM qui, o clicca per sfogliare",
|
||||
"dropzone-drag-over": "Rilascia per caricare",
|
||||
"dropzone-title": "Rilascia i file qui",
|
||||
"edit": "Modifica",
|
||||
"exclude-on-delete": "Escludi al momento dell'eliminazione",
|
||||
"filter": "Filtro",
|
||||
"firmware": "Firmware",
|
||||
"games-n": "{n} Gioco | {n} Giochi",
|
||||
"invalid-email": "Email non valida",
|
||||
"invalid-name": "Nome non valido",
|
||||
"library-management": "Gestione Libreria",
|
||||
"logout": "Logout",
|
||||
"name": "Nome",
|
||||
@@ -25,8 +30,6 @@
|
||||
"profile": "Profilo",
|
||||
"random": "Casuale",
|
||||
"required": "Obbligatorio",
|
||||
"invalid-name": "Nome non valido",
|
||||
"invalid-email": "Email non valida",
|
||||
"save": "Salvataggio",
|
||||
"saves": "Salvataggi",
|
||||
"saves-n": "{n} Salvataggio | {n} Salvataggi",
|
||||
@@ -35,15 +38,16 @@
|
||||
"server-stats": "Statistiche del server",
|
||||
"size-on-disk": "Dimensione sul disco",
|
||||
"slug": "Slug",
|
||||
"smart-collection": "Collezione Intelligente",
|
||||
"smart-collections": "Collezioni Intelligenti",
|
||||
"state": "Stato",
|
||||
"states": "Stati",
|
||||
"states-n": "{n} Stato | {n} Stati",
|
||||
"sync": "Sincronizza",
|
||||
"update": "Aggiorna",
|
||||
"upload": "Carica",
|
||||
"upload-files-selected": "{count} file selezionato | {count} file selezionati",
|
||||
"user-interface": "Interfaccia Utente",
|
||||
"virtual-collection": "Collezione generata automaticamente",
|
||||
"virtual-collections": "Collezioni generate automaticamente",
|
||||
"smart-collection": "Collezione Intelligente",
|
||||
"smart-collections": "Collezioni Intelligenti",
|
||||
"sync": "Sincronizza"
|
||||
"virtual-collections": "Collezioni generate automaticamente"
|
||||
}
|
||||
|
||||
@@ -10,11 +10,16 @@
|
||||
"confirm": "確定",
|
||||
"core": "コア",
|
||||
"create": "作成",
|
||||
"dropzone-description": "ROMファイルをここにドラッグ&ドロップするか、クリックして参照してください",
|
||||
"dropzone-drag-over": "アップロードするには離してください",
|
||||
"dropzone-title": "ファイルをここにドロップ",
|
||||
"edit": "編集",
|
||||
"exclude-on-delete": "削除時に除外",
|
||||
"filter": "フィルタ",
|
||||
"firmware": "ファームウェア",
|
||||
"games-n": "{n} ゲーム | {n} ゲーム",
|
||||
"invalid-email": "無効なメールアドレス",
|
||||
"invalid-name": "無効な名前",
|
||||
"library-management": "ライブラリ管理",
|
||||
"logout": "ログアウト",
|
||||
"name": "名前",
|
||||
@@ -25,8 +30,6 @@
|
||||
"profile": "プロファイル",
|
||||
"random": "ランダム",
|
||||
"required": "必須",
|
||||
"invalid-name": "無効な名前",
|
||||
"invalid-email": "無効なメールアドレス",
|
||||
"save": "セーブ",
|
||||
"saves": "セーブ",
|
||||
"saves-n": "{n} セーブ | {n} セーブ",
|
||||
@@ -35,15 +38,16 @@
|
||||
"server-stats": "サーバーステータス",
|
||||
"size-on-disk": "ディスク上のサイズ",
|
||||
"slug": "スラッグ",
|
||||
"smart-collection": "スマートコレクション",
|
||||
"smart-collections": "スマートコレクション",
|
||||
"state": "ステートセーブ",
|
||||
"states": "ステートセーブ",
|
||||
"states-n": "{n} ステートセーブ | {n} ステートセーブ",
|
||||
"sync": "同期",
|
||||
"update": "アップデート",
|
||||
"upload": "アップロード",
|
||||
"upload-files-selected": "{count} ファイルが選択されました",
|
||||
"user-interface": "ユーザーインターフェイス",
|
||||
"virtual-collection": "自動生成コレクション",
|
||||
"virtual-collections": "自動生成コレクション",
|
||||
"smart-collection": "スマートコレクション",
|
||||
"smart-collections": "スマートコレクション",
|
||||
"sync": "同期"
|
||||
"virtual-collections": "自動生成コレクション"
|
||||
}
|
||||
|
||||
@@ -10,11 +10,16 @@
|
||||
"confirm": "확인",
|
||||
"core": "코어",
|
||||
"create": "생성",
|
||||
"dropzone-description": "ROM 파일을 여기에 드래그 앤 드롭하거나 클릭하여 탐색하세요",
|
||||
"dropzone-drag-over": "업로드하려면 놓으세요",
|
||||
"dropzone-title": "파일을 여기에 드롭하세요",
|
||||
"edit": "수정",
|
||||
"exclude-on-delete": "삭제 시 제외",
|
||||
"filter": "필터",
|
||||
"firmware": "펌웨어",
|
||||
"games-n": "게임 {n}개 | 게임 {n}개",
|
||||
"invalid-email": "유효하지 않은 이메일",
|
||||
"invalid-name": "유효하지 않은 이름",
|
||||
"library-management": "라이브러리 관리",
|
||||
"logout": "로그아웃",
|
||||
"name": "이름",
|
||||
@@ -25,8 +30,6 @@
|
||||
"profile": "프로필",
|
||||
"random": "무작위",
|
||||
"required": "필수",
|
||||
"invalid-name": "유효하지 않은 이름",
|
||||
"invalid-email": "유효하지 않은 이메일",
|
||||
"save": "세이브",
|
||||
"saves": "세이브",
|
||||
"saves-n": "세이브 {n}개 | 세이브 {n}개",
|
||||
@@ -35,15 +38,16 @@
|
||||
"server-stats": "서버 통계",
|
||||
"size-on-disk": "디스크 크기",
|
||||
"slug": "슬러그",
|
||||
"smart-collection": "스마트 모음집",
|
||||
"smart-collections": "스마트 모음집",
|
||||
"state": "저장 상태",
|
||||
"states": "저장 상태",
|
||||
"states-n": "저장 상태 {n}개 | 저장 상태 {n}개",
|
||||
"sync": "동기화",
|
||||
"update": "업데이트",
|
||||
"upload": "업로드",
|
||||
"upload-files-selected": "{count}개 파일이 선택되었습니다",
|
||||
"user-interface": "사용자 인터페이스",
|
||||
"virtual-collection": "자동 생성된 모음집",
|
||||
"virtual-collections": "자동 생성된 모음집",
|
||||
"smart-collection": "스마트 모음집",
|
||||
"smart-collections": "스마트 모음집",
|
||||
"sync": "동기화"
|
||||
"virtual-collections": "자동 생성된 모음집"
|
||||
}
|
||||
|
||||
@@ -10,11 +10,16 @@
|
||||
"confirm": "Potwierdź",
|
||||
"core": "Rdzeń",
|
||||
"create": "Utwórz",
|
||||
"dropzone-description": "Przeciągnij i upuść swoje pliki ROM tutaj, lub kliknij aby przeglądać",
|
||||
"dropzone-drag-over": "Puść aby przesłać",
|
||||
"dropzone-title": "Upuść pliki tutaj",
|
||||
"edit": "Edytuj",
|
||||
"exclude-on-delete": "Wyklucz przy usunięciu",
|
||||
"filter": "Filtruj",
|
||||
"firmware": "Oprogramowanie",
|
||||
"games-n": "{n} Gra | {n} Gry | {n} Gier",
|
||||
"invalid-email": "Nieprawidłowy email",
|
||||
"invalid-name": "Nieprawidłowa nazwa",
|
||||
"library-management": "Zarządzanie biblioteką",
|
||||
"logout": "Wyloguj się",
|
||||
"name": "Nazwa",
|
||||
@@ -25,8 +30,6 @@
|
||||
"profile": "Profil",
|
||||
"random": "Losowo",
|
||||
"required": "Wymagane",
|
||||
"invalid-name": "Nieprawidłowa nazwa",
|
||||
"invalid-email": "Nieprawidłowy email",
|
||||
"save": "Zapisz",
|
||||
"saves": "Zapisane stany",
|
||||
"saves-n": "{n} Zapis | {n} Zapisy | {n} Zapisów",
|
||||
@@ -43,6 +46,7 @@
|
||||
"sync": "Synchronizuj",
|
||||
"update": "Aktualizuj",
|
||||
"upload": "Prześlij",
|
||||
"upload-files-selected": "{count} plik wybrany | {count} pliki wybrane | {count} plików wybranych",
|
||||
"user-interface": "Interfejs użytkownika",
|
||||
"virtual-collection": "Automatycznie wygenerowana kolekcja",
|
||||
"virtual-collections": "Automatycznie wygenerowane kolekcje"
|
||||
|
||||
@@ -10,11 +10,16 @@
|
||||
"confirm": "Confirmar",
|
||||
"core": "Núcleo",
|
||||
"create": "Criar",
|
||||
"dropzone-description": "Arraste e solte seus arquivos ROM aqui, ou clique para navegar",
|
||||
"dropzone-drag-over": "Solte para carregar",
|
||||
"dropzone-title": "Solte os arquivos aqui",
|
||||
"edit": "Editar",
|
||||
"exclude-on-delete": "Excluir ao excluir",
|
||||
"filter": "Filtrar",
|
||||
"firmware": "Firmware",
|
||||
"games-n": "{n} Jogo | {n} Jogos",
|
||||
"invalid-email": "Email inválido",
|
||||
"invalid-name": "Nome inválido",
|
||||
"library-management": "Gerenciamento de biblioteca",
|
||||
"logout": "Sair",
|
||||
"name": "Nome",
|
||||
@@ -25,8 +30,6 @@
|
||||
"profile": "Perfil",
|
||||
"random": "Aleatório",
|
||||
"required": "Requerido",
|
||||
"invalid-name": "Nome inválido",
|
||||
"invalid-email": "Email inválido",
|
||||
"save": "Salvar",
|
||||
"saves": "Salvar",
|
||||
"saves-n": "{n} Salvar | {n} Salvar",
|
||||
@@ -35,15 +38,16 @@
|
||||
"server-stats": "Estatísticas do servidor",
|
||||
"size-on-disk": "Tamanho no disco",
|
||||
"slug": "Slug",
|
||||
"smart-collection": "Coleção Inteligente",
|
||||
"smart-collections": "Coleções Inteligentes",
|
||||
"state": "Estado",
|
||||
"states": "Estados",
|
||||
"states-n": "{n} Estado | {n} Estados",
|
||||
"sync": "Sincronizar",
|
||||
"update": "Atualizar",
|
||||
"upload": "Carregar",
|
||||
"upload-files-selected": "{count} arquivo selecionado | {count} arquivos selecionados",
|
||||
"user-interface": "Interface do usuário",
|
||||
"virtual-collection": "Coleção autogerada",
|
||||
"virtual-collections": "Coleções autogeradas",
|
||||
"smart-collection": "Coleção Inteligente",
|
||||
"smart-collections": "Coleções Inteligentes",
|
||||
"sync": "Sincronizar"
|
||||
"virtual-collections": "Coleções autogeradas"
|
||||
}
|
||||
|
||||
@@ -10,11 +10,16 @@
|
||||
"confirm": "Confirmă",
|
||||
"core": "Nucleu",
|
||||
"create": "Creează",
|
||||
"dropzone-description": "Trageți și eliberați fișierele ROM aici, sau faceți clic pentru a naviga",
|
||||
"dropzone-drag-over": "Eliberați pentru a încărca",
|
||||
"dropzone-title": "Trageți fișierele aici",
|
||||
"edit": "Editează",
|
||||
"exclude-on-delete": "Excluzând la ștergere",
|
||||
"filter": "Filtru",
|
||||
"firmware": "Firmware",
|
||||
"games-n": "{n} Joc | {n} Jocuri",
|
||||
"invalid-email": "Email invalid",
|
||||
"invalid-name": "Nume invalid",
|
||||
"library-management": "Gestionare bibliotecă",
|
||||
"logout": "Deconectare",
|
||||
"name": "Nume",
|
||||
@@ -25,8 +30,6 @@
|
||||
"profile": "Profil",
|
||||
"random": "Aleatoriu",
|
||||
"required": "Obligatoriu",
|
||||
"invalid-name": "Nume invalid",
|
||||
"invalid-email": "Email invalid",
|
||||
"save": "Salvare",
|
||||
"saves": "Salvări",
|
||||
"saves-n": "{n} Salvare | {n} Salvări",
|
||||
@@ -35,15 +38,16 @@
|
||||
"server-stats": "Statistici server",
|
||||
"size-on-disk": "Dimensiune pe disc",
|
||||
"slug": "Slug",
|
||||
"smart-collection": "Colecție Inteligentă",
|
||||
"smart-collections": "Colecții Inteligente",
|
||||
"state": "Stare",
|
||||
"states": "Stări",
|
||||
"states-n": "{n} Stare | {n} Stări",
|
||||
"sync": "Sincronizează",
|
||||
"update": "Actualizează",
|
||||
"upload": "Încarcă",
|
||||
"upload-files-selected": "{count} fișier selectat | {count} fișiere selectate",
|
||||
"user-interface": "Interfață utilizator",
|
||||
"virtual-collection": "Colecție autogenerată",
|
||||
"virtual-collections": "Colecții autogenerate",
|
||||
"smart-collection": "Colecție Inteligentă",
|
||||
"smart-collections": "Colecții Inteligente",
|
||||
"sync": "Sincronizează"
|
||||
"virtual-collections": "Colecții autogenerate"
|
||||
}
|
||||
|
||||
@@ -10,11 +10,16 @@
|
||||
"confirm": "Подтвердить",
|
||||
"core": "Ядро",
|
||||
"create": "Создать",
|
||||
"dropzone-description": "Перетащите ваши ROM файлы сюда или нажмите для просмотра",
|
||||
"dropzone-drag-over": "Отпустите для загрузки",
|
||||
"dropzone-title": "Перетащите файлы сюда",
|
||||
"edit": "Редактировать",
|
||||
"exclude-on-delete": "Исключить при удалении",
|
||||
"filter": "Фильтр",
|
||||
"firmware": "Прошивка",
|
||||
"games-n": "{n} Игра | {n} Игры",
|
||||
"invalid-email": "Недопустимый адрес электронной почты",
|
||||
"invalid-name": "Недопустимое имя",
|
||||
"library-management": "Управление библиотекой",
|
||||
"logout": "Выйти",
|
||||
"name": "Имя",
|
||||
@@ -25,8 +30,6 @@
|
||||
"profile": "Профиль",
|
||||
"random": "Случайный",
|
||||
"required": "Обязательное поле",
|
||||
"invalid-name": "Недопустимое имя",
|
||||
"invalid-email": "Недопустимый адрес электронной почты",
|
||||
"save": "Сохранить",
|
||||
"saves": "Сохранения",
|
||||
"saves-n": "{n} Сохранить | {n} Сохранения",
|
||||
@@ -35,15 +38,16 @@
|
||||
"server-stats": "Статистика сервера",
|
||||
"size-on-disk": "Размер на диске",
|
||||
"slug": "Слаг",
|
||||
"smart-collection": "Умная коллекция",
|
||||
"smart-collections": "Умные коллекции",
|
||||
"state": "Состояние",
|
||||
"states": "Состояния",
|
||||
"states-n": "{n} Состояние | {n} Состояния",
|
||||
"sync": "Синхронизировать",
|
||||
"update": "Обновить",
|
||||
"upload": "Загрузить",
|
||||
"upload-files-selected": "{count} файл выбран | {count} файла выбрано | {count} файлов выбрано",
|
||||
"user-interface": "Пользовательский интерфейс",
|
||||
"virtual-collection": "Автосгенерированная коллекция",
|
||||
"virtual-collections": "Автосгенерированные коллекции",
|
||||
"smart-collection": "Умная коллекция",
|
||||
"smart-collections": "Умные коллекции",
|
||||
"sync": "Синхронизировать"
|
||||
"virtual-collections": "Автосгенерированные коллекции"
|
||||
}
|
||||
|
||||
@@ -10,11 +10,16 @@
|
||||
"confirm": "确认",
|
||||
"core": "核心",
|
||||
"create": "创建",
|
||||
"dropzone-description": "将您的ROM文件拖放到此处,或点击浏览",
|
||||
"dropzone-drag-over": "释放以上传",
|
||||
"dropzone-title": "将文件拖放到此处",
|
||||
"edit": "编辑",
|
||||
"exclude-on-delete": "删除时排除",
|
||||
"filter": "筛选",
|
||||
"firmware": "固件",
|
||||
"games-n": "{n} 游戏 | {n} 游戏",
|
||||
"invalid-email": "无效的电子邮件",
|
||||
"invalid-name": "无效的名称",
|
||||
"library-management": "游戏库管理",
|
||||
"logout": "注销",
|
||||
"name": "名称",
|
||||
@@ -25,8 +30,6 @@
|
||||
"profile": "简介",
|
||||
"random": "随机",
|
||||
"required": "必填",
|
||||
"invalid-name": "无效的名称",
|
||||
"invalid-email": "无效的电子邮件",
|
||||
"save": "存档",
|
||||
"saves": "存档",
|
||||
"saves-n": "{n} 存档 | {n} 存档",
|
||||
@@ -35,15 +38,16 @@
|
||||
"server-stats": "服务器状态",
|
||||
"size-on-disk": "磁盘大小",
|
||||
"slug": "Slug",
|
||||
"smart-collection": "智能收藏",
|
||||
"smart-collections": "智能收藏",
|
||||
"state": "状态",
|
||||
"states": "状态",
|
||||
"states-n": "{n} 状态 | {n} 状态",
|
||||
"sync": "同步",
|
||||
"update": "更新",
|
||||
"upload": "上传",
|
||||
"upload-files-selected": "已选择 {count} 个文件",
|
||||
"user-interface": "用户界面",
|
||||
"virtual-collection": "自动生成的收藏",
|
||||
"virtual-collections": "自动生成的收藏",
|
||||
"smart-collection": "智能收藏",
|
||||
"smart-collections": "智能收藏",
|
||||
"sync": "同步"
|
||||
"virtual-collections": "自动生成的收藏"
|
||||
}
|
||||
|
||||
@@ -10,11 +10,16 @@
|
||||
"confirm": "確認",
|
||||
"core": "核心",
|
||||
"create": "建立",
|
||||
"dropzone-description": "將您的ROM檔案拖放到此處,或點擊瀏覽",
|
||||
"dropzone-drag-over": "釋放以上傳",
|
||||
"dropzone-title": "將檔案拖放到此處",
|
||||
"edit": "編輯",
|
||||
"exclude-on-delete": "刪除時排除",
|
||||
"filter": "篩選",
|
||||
"firmware": "韌體",
|
||||
"games-n": "{n} 遊戲 | {n} 遊戲",
|
||||
"invalid-email": "無效的電子郵件",
|
||||
"invalid-name": "無效的名稱",
|
||||
"library-management": "管理遊戲庫",
|
||||
"logout": "登出",
|
||||
"name": "名稱",
|
||||
@@ -25,8 +30,6 @@
|
||||
"profile": "用戶資料",
|
||||
"random": "隨機",
|
||||
"required": "必填",
|
||||
"invalid-name": "無效的名稱",
|
||||
"invalid-email": "無效的電子郵件",
|
||||
"save": "存檔",
|
||||
"saves": "存檔",
|
||||
"saves-n": "{n} 存檔 | {n} 存檔",
|
||||
@@ -35,15 +38,16 @@
|
||||
"server-stats": "伺服器狀態",
|
||||
"size-on-disk": "占用磁碟空間",
|
||||
"slug": "網址關鍵字",
|
||||
"smart-collection": "智能收藏庫",
|
||||
"smart-collections": "智能收藏庫",
|
||||
"state": "即時存檔",
|
||||
"states": "即時存檔",
|
||||
"states-n": "{n} 即時存檔 | {n} 即時存檔",
|
||||
"sync": "同步",
|
||||
"update": "更新",
|
||||
"upload": "上傳",
|
||||
"upload-files-selected": "已選擇 {count} 個檔案",
|
||||
"user-interface": "使用界面",
|
||||
"virtual-collection": "自動生成的收藏庫",
|
||||
"virtual-collections": "自動生成的收藏庫",
|
||||
"smart-collection": "智能收藏庫",
|
||||
"smart-collections": "智能收藏庫",
|
||||
"sync": "同步"
|
||||
"virtual-collections": "自動生成的收藏庫"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user