Merge branch 'master' into feature/screenscraper-integration

This commit is contained in:
zurdi
2025-01-02 10:51:07 +00:00
14 changed files with 239 additions and 4 deletions

View File

@@ -5,10 +5,12 @@ import storePlatforms from "@/stores/platforms";
import { isNull } from "lodash";
import { views } from "@/utils";
import { useI18n } from "vue-i18n";
import { storeToRefs } from "pinia";
// Props
const { t } = useI18n();
const platforms = storePlatforms();
const platformsStore = storePlatforms();
const { filledPlatforms } = storeToRefs(platformsStore);
const gridPlatforms = isNull(localStorage.getItem("settings.gridPlatforms"))
? true
: localStorage.getItem("settings.gridPlatforms") === "true";
@@ -21,7 +23,7 @@ const gridPlatforms = isNull(localStorage.getItem("settings.gridPlatforms"))
no-gutters
>
<v-col
v-for="platform in platforms.filledPlatforms"
v-for="platform in filledPlatforms"
:key="platform.slug"
class="pa-1"
:cols="views[0]['size-cols']"

View File

@@ -1,4 +1,4 @@
{
"recently-added": "Añadido recientemente",
"coneinue-playing": "Continuar jugando"
"continue-playing": "Continuar jugando"
}

View File

@@ -0,0 +1,16 @@
{
"search-collection": "모음집에서 찾기",
"add-collection": "모음집 추가",
"edit-collection": "모음집 수정",
"name": "이름",
"description": "설명",
"owner": "소유자",
"public": "공개",
"public-desc": "공개 (모든 사람이 볼 수 있음)",
"private": "비공개",
"private-desc": "비공개 (나만 볼 수 있음)",
"danger-zone": "위험 구역",
"delete-collection": "모음집 삭제",
"removing-collection-1": "모음집",
"removing-collection-2": "을(를) RomM에서 삭제합니다. 정말 삭제하시겠습니까?"
}

View File

@@ -0,0 +1,32 @@
{
"platform": "플랫폼",
"platforms": "플랫폼",
"platforms-n": "{n}가지 플랫폼 | {n}가지 플랫폼",
"firmware": "펌웨어",
"games-n": "게임 {n}개 | 게임 {n}개",
"collection": "모음집",
"collections": "모음집",
"save": "세이브",
"saves": "세이브",
"saves-n": "세이브 {n}개 | 세이브 {n}개",
"state": "저장 상태",
"states": "저장 상태",
"states-n": "저장 상태 {n}개 | 저장 상태 {n}개",
"screenshots-n": "스크린샷 {n}개 | 스크린샷 {n}개",
"search": "검색",
"filter": "필터",
"add": "추가",
"upload": "업로드",
"edit": "수정",
"cancel": "취소",
"confirm": "확인",
"apply": "적용",
"update": "업데이트",
"create": "생성",
"profile": "프로필",
"user-interface": "사용자 인터페이스",
"library-management": "라이브러리 관리",
"administration": "유저 관리",
"logout": "로그아웃",
"name": "이름"
}

View File

@@ -0,0 +1,5 @@
{
"404-title": "페이지 찾을 수 없음",
"404-subtitle": "찾으려고 하는 페이지가 존재하지 않습니다",
"search-for-games": "모든 기종에서 게임 찾기"
}

View File

@@ -0,0 +1,4 @@
{
"recently-added": "최근에 추가됨",
"continue-playing": "계속 재생"
}

View File

@@ -0,0 +1,7 @@
{
"username": "아이디",
"password": "패스워드",
"login": "로그인",
"login-oidc": "{oidc}로 로그인",
"or": "또는"
}

View File

@@ -0,0 +1,32 @@
{
"search-platform": "플랫폼 검색",
"upload-roms": "롬 업로드",
"filesystem-folder-name": "저장소 폴더 이름",
"category": "분류",
"generation": "세대",
"family": "계열",
"settings": "설정",
"cover-style": "커버 스타일",
"old-squared-cases": "옛날 정사각 케이스",
"danger-zone": "위험 구역",
"delete-platform": "플랫폼 지우기",
"removing-platform-1": "플랫폼",
"removing-platform-2": "] 을(를) RomM에서 지웁니다. 정말 삭제하시겠습니까?",
"show-firmwares": "펌웨어/바이오스 보여주기",
"filter-gallery": "갤러리 필터",
"show-unmatched": "DB 대응 안됨",
"show-matched": "DB 대응 됨",
"show-favourites": "즐겨찾기",
"show-duplicates": "중복",
"genre": "장르",
"genres": "장르",
"franchise": "프랜차이즈",
"collection": "모음집",
"company": "개발사",
"age-rating": "연령 제한",
"status": "플레이 상태",
"reset-filters": "필터 초기화",
"active-multi-select": "다중선택 활성화",
"change-view": "배열 방식 변경",
"no-firmware-found": "펌웨어 없음"
}

View File

@@ -0,0 +1,7 @@
{
"full-screen": "전체 화면",
"play": "실행",
"reset-session": "세션 초기화",
"back-to-game-details": "게임 설명으로 가기",
"back-to-gallery": "갤러리로 가기"
}

View File

@@ -0,0 +1,55 @@
{
"manual-match": "수동으로 DB 대응",
"by": "분류",
"results-found": "검색 결과",
"select-cover-image": "커버 이미지 선택",
"rename-file-part1": "파일을 {source}에서의 이름과 동일하게 맞춥니다",
"rename-file-part2": "파일 이름을",
"rename-file-part3": "",
"rename-file-part4": "에서 다음으로 변경합니다:",
"rename-file-part5": "파일 이름 태그에는 영향을 주지 않습니다",
"no-metadata-source": "메타데이터 DB 연동 안됨",
"edit-rom": "수정",
"filename": "파일 이름",
"foldername": "폴더 이름",
"summary": "요약",
"unmatch-rom": "DB 대응 해제",
"add-to-fav": "즐겨찾기에 추가",
"remove-from-fav": "즐겨찾기에서 제거",
"add-to-collection": "모음집에 추가",
"adding-to-collection-part1": "",
"adding-to-collection-part2": "개의 롬을 모음집에 추가합니다",
"remove-from-collection-part1": "",
"remove-from-collection-part2": "개의 롬을 모음집에서 제거합니다",
"delete-rom": "삭제",
"copy-link": "다운로드 링크 복사",
"cant-copy-link": "링크를 클립보드에 복사할 수 없습니다. 수동으로 복사합니다",
"details": "자세히",
"personal": "개인",
"version": "버전",
"default": "기본으로",
"set-as-default": "기본 롬으로 설정",
"file": "파일",
"files": "파일",
"info": "정보",
"size": "크기",
"tags": "태그",
"genres": "장르",
"franchises": "프랜차이즈",
"collections": "시리즈",
"companies": "개발사",
"age-rating": "연령 제한",
"no-saves-found": "세이브 없음",
"no-states-found": "저장 상태 없음",
"status": "상태",
"backlogged": "나중에 플레이",
"now-playing": "현재 플레이중",
"hidden": "숨김",
"rating": "평가",
"difficulty": "난이도",
"completion": "완료율",
"my-notes": "개인 노트",
"public-notes": "공개 노트",
"additional-content": "추가 컨텐츠",
"related-content": "관련 컨텐츠"
}

View File

@@ -0,0 +1,24 @@
{
"scan": "스캔",
"abort": "중지",
"manage-library": "라이브러리 관리",
"metadata-sources": "메타데이터 DB",
"api-key-missing": "API 키가 없거나 올바르지 않습니다",
"scan-options": "스캔 옵션",
"select-one-source": "표지와 메타데이터로 라이브러리를 꾸미고 싶으시면 메타데이터 DB를 하나 이상 선택해주세요",
"new-platforms": "새 플랫폼",
"new-platforms-desc": "새 플랫폼에서만 스캔 (가장 빠름)",
"quick-scan": "빠른 스캔",
"quick-scan-desc": "새 파일만 검색",
"unidentified-games": "확인되지 않은 게임",
"unidentified-games-desc": "메타데이터와 대응되지 않은 게임들만 스캔",
"partial-metadata": "일부 메타데이터",
"partial-metadata-desc": "일부 메타데이터와 대응된 게임들 스캔",
"complete-rescan": "모두 재스캔",
"complete-rescan-desc": "모든 플랫폼과 파일 재스캔 (가장 느림)",
"no-new-roms": "새로운/수정된 롬이 없습니다",
"platforms-scanned-n": "플랫폼: {n}개 스캔됨",
"platforms-scanned-with-details": "플랫폼: {n_platforms}개 스캔됨, 새로운 플랫폼: {n_added_platforms}개, 확인된 플랫폼:{n_identified_platforms}개",
"roms-scanned-n": "롬: {n}개 스캔됨",
"roms-scanned-with-details": "롬: {n_roms}개 스캔됨, 새로운 롬: {n_added_roms}개, 확인된 롬: {n_identified_roms}개"
}

View File

@@ -0,0 +1,48 @@
{
"username": "아이디",
"password": "패스워드",
"role": "역할",
"language": "언어",
"theme": "테마",
"theme-auto": "자동",
"theme-dark": "다크",
"theme-light": "라이트",
"interface": "인터페이스",
"home": "홈",
"gallery": "갤러리",
"show-recently-added": "최근 추가된 롬 보이기",
"show-recently-added-desc": "홈페이지에 최근에 추가됨 페이지를 보여줍니다",
"recently-added-as-grid": "최근에 추가된 롬을 그리드 뷰로",
"recently-added-as-grid-desc": "홈페이지에 최근에 추가된 롬을 그리드 뷰로 보여줍니다",
"show-platforms": "플랫폼 보이기",
"show-platforms-desc": "홈페이지에 플랫폼 페이지를 보여줍니다",
"show-platforms-as-grid": "플랫폼을 그리드 뷰로",
"show-platforms-as-grid-desc": "홈페이지에 플랫폼들을 그리드 뷰로 보여줍니다",
"show-collections": "모음집 보이기",
"show-collections-desc": "홈페이지에 모음집 페이지를 보여줍니다",
"show-collections-as-grid": "모음집을 그리드 뷰로",
"show-collections-as-grid-desc": "홈페이지에 모음집들을 그리드 뷰로 보여줍니다",
"group-roms": "롬 묶음",
"group-roms-desc": "갤러리에서 같은 롬의 다른 버전들을 하나로 묶습니다",
"show-siblings": "파생롬 보이기",
"show-siblings-desc": "\"롬 묶음\" 옵션이 활성화되었을 때 파생롬의 개수를 갤러리에서 보여줍니다",
"show-regions": "지역 보이기",
"show-regions-desc": "갤러리에서 지역을 보여줍니다",
"show-languages": "언어 보이기",
"show-languages-desc": "갤러리에서 언어를 보여줍니다",
"show-status": "상태 보이기",
"show-status-desc": "갤러리에서 상태 아이콘을 보여줍니다(플레이중, 완료됨 등)",
"platforms-bindings": "플랫폼 연결",
"platforms-versions": "플랫폼 버전",
"excluded": "제외됨",
"excluded-single-rom-files": "단일 롬 파일",
"excluded-single-rom-extensions": "단일 롬 확장자",
"excluded-multi-rom-files": "멀티 롬 파일",
"excluded-multi-rom-parts-files": "멀티 롬 부분 파일",
"excluded-multi-rom-parts-extensions": "멀티 롬 부분 확장자",
"folder-name": "폴더 이름",
"romm-platform": "RomM 플랫폼",
"platform-version": "플랫폼 버전",
"main-platform": "메인 플랫폼",
"join-discord": "디스코드에 참여"
}

View File

@@ -12,6 +12,7 @@ export default defineStore("language", {
{ value: "pt_BR", name: "Português (Brasil)" },
{ value: "es_ES", name: "Español (España)" },
{ value: "zh_CN", name: "简体中文 (中国)" },
{ value: "ko_KR", name: "한국어 (대한민국)" },
].sort((a, b) => a.name.localeCompare(b.name)),
}),

View File

@@ -15,7 +15,9 @@ export default defineStore("platforms", {
totalGames: ({ allPlatforms: value }) =>
value.reduce((count, p) => count + p.rom_count, 0),
filledPlatforms: ({ allPlatforms: all }) =>
all.filter((p) => p.rom_count > 0),
all
.filter((p) => p.rom_count > 0)
.sort((a, b) => a.display_name.localeCompare(b.display_name)),
filteredPlatforms: ({ allPlatforms: all, searchText }) =>
all
.filter(