From 0540152826253d7b13d17445a5cb6c9c5b40dbbe Mon Sep 17 00:00:00 2001 From: Alexandra Date: Thu, 29 May 2025 17:18:01 -0600 Subject: [PATCH] Update translations --- config/locales/ar.json | 5 ++++- config/locales/bn.json | 5 ++++- config/locales/de.json | 5 ++++- config/locales/en.json | 2 +- config/locales/es.json | 5 ++++- config/locales/fr.json | 12 ++++++++++-- config/locales/hi.json | 6 +++++- config/locales/it.json | 5 ++++- config/locales/ja.json | 12 ++++++++++-- config/locales/ko.json | 15 ++++++++++++--- config/locales/pl.json | 8 ++++++-- config/locales/pt.json | 12 ++++++++++-- config/locales/romaji.json | 13 +++++++++++-- config/locales/ru.json | 5 ++++- config/locales/tr.json | 5 ++++- config/locales/zh.json | 12 ++++++++++-- server.js | 1 + views/pages/results.ejs | 4 ++++ views/pages/resultsold.ejs | 4 ++++ 19 files changed, 112 insertions(+), 24 deletions(-) diff --git a/config/locales/ar.json b/config/locales/ar.json index 44b8085..45494dd 100644 --- a/config/locales/ar.json +++ b/config/locales/ar.json @@ -36,7 +36,10 @@ "filename": "اسم الملف:", "release_group": "مجموعة الإصدار:", "upload_date": "تاريخ الرفع:", - "more_info": "المزيد من المعلومات" + "more_info": "المزيد من المعلومات", + "size": "الحجم:", + "old_experience": "استخدام تجربة البحث القديمة.", + "new_experience": "استخدام تجربة البحث الجديدة." }, "about": { "title": "حول الموقع", diff --git a/config/locales/bn.json b/config/locales/bn.json index fa98f31..9ed5628 100644 --- a/config/locales/bn.json +++ b/config/locales/bn.json @@ -36,7 +36,10 @@ "filename": "ফাইলের নাম:", "release_group": "রিলিজ গ্রুপ:", "upload_date": "আপলোডের তারিখ:", - "more_info": "আরও তথ্য" + "more_info": "আরও তথ্য", + "size": "সাইজ:", + "old_experience": "পুরানো অনুসন্ধান অভিজ্ঞতা ব্যবহার করা হচ্ছে।", + "new_experience": "নতুন অনুসন্ধান অভিজ্ঞতা ব্যবহার করা হচ্ছে।" }, "about": { "title": "সম্পর্কে", diff --git a/config/locales/de.json b/config/locales/de.json index 838a966..cd916a6 100644 --- a/config/locales/de.json +++ b/config/locales/de.json @@ -36,7 +36,10 @@ "filename": "Dateiname:", "release_group": "Release-Gruppe:", "upload_date": "Upload-Datum:", - "more_info": "Mehr Info" + "more_info": "Mehr Info", + "size": "Größe:", + "old_experience": "Alte Sucherfahrung wird verwendet.", + "new_experience": "Neue Sucherfahrung wird verwendet." }, "about": { "title": "Über uns", diff --git a/config/locales/en.json b/config/locales/en.json index e86876f..0941fc5 100644 --- a/config/locales/en.json +++ b/config/locales/en.json @@ -94,7 +94,7 @@ }, "use_old_results": { "label": "Old Search", - "tooltip": "Redirects your search to the old table formatted results. These will load faster as they will ignore pulling metadata." + "tooltip": "Controls whether your searches direct to the new or old results experience." } }, "save": "Save Settings" diff --git a/config/locales/es.json b/config/locales/es.json index 268476f..2e6a5ed 100644 --- a/config/locales/es.json +++ b/config/locales/es.json @@ -36,7 +36,10 @@ "filename": "Nombre del archivo:", "release_group": "Grupo de lanzamiento:", "upload_date": "Fecha de subida:", - "more_info": "Más información" + "more_info": "Más información", + "size": "Tamaño:", + "old_experience": "Usando la experiencia de búsqueda antigua.", + "new_experience": "Usando la nueva experiencia de búsqueda." }, "about": { "title": "Acerca de", diff --git a/config/locales/fr.json b/config/locales/fr.json index 155fe25..e8ba29c 100644 --- a/config/locales/fr.json +++ b/config/locales/fr.json @@ -36,7 +36,10 @@ "filename": "Nom du fichier :", "release_group": "Groupe de release :", "upload_date": "Date de téléchargement :", - "more_info": "Plus d'infos" + "more_info": "Plus d'infos", + "size": "Taille :", + "old_experience": "Utilisation de l'ancienne expérience de recherche.", + "new_experience": "Utilisation de la nouvelle expérience de recherche." }, "about": { "title": "À propos", @@ -88,6 +91,10 @@ "hide_non_game": { "label": "Masquer le contenu non-jeu", "tooltip": "Filtre les ROM hackées, les patches, les illustrations et autres contenus qui ne sont pas des jeux dans les résultats de recherche." + }, + "use_old_results": { + "label": "Ancienne recherche", + "tooltip": "Contrôle si vos recherches utilisent la nouvelle ou l'ancienne expérience de résultats." } }, "save": "Enregistrer les paramètres" @@ -114,7 +121,8 @@ "non_game": "Attention : Ce fichier n'est peut-être pas une ROM de jeu et pourrait ne pas fonctionner correctement dans l'émulateur web.", "see_about": "Consultez la page {{link}} pour plus d'informations.", "no_data": "Aucune donnée d'émulateur disponible.", - "https": "Connexion HTTP non sécurisée : Certains émulateurs nécessitent HTTPS pour fonctionner correctement. Ce site n'est pas configuré correctement." + "https": "Connexion HTTP non sécurisée : Certains émulateurs nécessitent HTTPS pour fonctionner correctement. Ce site n'est pas configuré correctement.", + "not_available_tooltip": "L'émulation web n'est pas disponible pour ce titre car ce n'est pas un jeu ou la plateforme n'est pas prise en charge." }, "console": { "about": "Cet émulateur en ligne exécute des jeux directement depuis l'archive publique de Myrient.", diff --git a/config/locales/hi.json b/config/locales/hi.json index 333fbae..780fe0e 100644 --- a/config/locales/hi.json +++ b/config/locales/hi.json @@ -36,7 +36,10 @@ "filename": "फ़ाइल का नाम:", "release_group": "रिलीज़ ग्रुप:", "upload_date": "अपलोड की तारीख:", - "more_info": "अधिक जानकारी" + "more_info": "अधिक जानकारी", + "size": "आकार:", + "old_experience": "पुरानी खोज अनुभव का उपयोग किया जा रहा है।", + "new_experience": "नई खोज अनुभव का उपयोग किया जा रहा है।" }, "about": { "title": "परिचय", @@ -126,6 +129,7 @@ "more_info": "इस सेवा के बारे में अधिक जानकारी के लिए, कृपया परिचय पृष्ठ पर जाएं।" }, "recommended": "अनुशंसित एमुलेटर्स", + "download": "डाउनलोड", "play": "खेलें", "not_available": "----", "not_available_tooltip": "इस शीर्षक के लिए वेब एमुलेशन उपलब्ध नहीं है क्योंकि यह या तो एक गेम नहीं है या प्लेटफ़ॉर्म समर्थित नहीं है।", diff --git a/config/locales/it.json b/config/locales/it.json index 98dfc78..21d4df7 100644 --- a/config/locales/it.json +++ b/config/locales/it.json @@ -36,7 +36,10 @@ "filename": "Nome file:", "release_group": "Gruppo di release:", "upload_date": "Data di caricamento:", - "more_info": "Più informazioni" + "more_info": "Più informazioni", + "size": "Dimensione:", + "old_experience": "Utilizzo della vecchia esperienza di ricerca.", + "new_experience": "Utilizzo della nuova esperienza di ricerca." }, "about": { "title": "Informazioni", diff --git a/config/locales/ja.json b/config/locales/ja.json index db0750c..ff6423c 100644 --- a/config/locales/ja.json +++ b/config/locales/ja.json @@ -36,7 +36,10 @@ "filename": "ファイル名:", "release_group": "リリースグループ:", "upload_date": "アップロード日:", - "more_info": "詳細情報" + "more_info": "詳細情報", + "size": "サイズ:", + "old_experience": "旧検索エクスペリエンスを使用中。", + "new_experience": "新検索エクスペリエンスを使用中。" }, "about": { "title": "サイトについて", @@ -88,6 +91,10 @@ "hide_non_game": { "label": "非ゲームコンテンツを非表示", "tooltip": "ROMハック、パッチ、アートワーク、その他のゲーム以外のコンテンツを検索結果から除外します。" + }, + "use_old_results": { + "label": "旧検索", + "tooltip": "検索結果を新しい表示形式と旧表示形式のどちらで表示するかを切り替えます。" } }, "save": "設定を保存" @@ -114,7 +121,8 @@ "non_game": "警告:このファイルはゲームROMではない可能性があり、Webエミュレーターで正しく動作しない場合があります。", "see_about": "詳細については{{link}}ページをご覧ください。", "no_data": "エミュレーターデータがありません。", - "https": "安全でないHTTP接続:一部のエミュレーターは正常に動作するためにHTTPSが必要です。このサイトは正しく設定されていません。" + "https": "安全でないHTTP接続:一部のエミュレーターは正常に動作するためにHTTPSが必要です。このサイトは正しく設定されていません。", + "not_available_tooltip": "このタイトルはゲームではないか、プラットフォームが非対応のため、Webエミュレーションを利用できません。" }, "console": { "about": "これはMyrientの公開アーカイブから直接ゲームを実行するオンラインエミュレータです。", diff --git a/config/locales/ko.json b/config/locales/ko.json index 498884e..a69d442 100644 --- a/config/locales/ko.json +++ b/config/locales/ko.json @@ -36,7 +36,10 @@ "filename": "파일명:", "release_group": "릴리즈 그룹:", "upload_date": "업로드 날짜:", - "more_info": "자세히 보기" + "more_info": "자세히 보기", + "size": "크기:", + "old_experience": "이전 검색 환경을 사용 중입니다.", + "new_experience": "새로운 검색 환경을 사용 중입니다." }, "about": { "title": "소개", @@ -88,6 +91,10 @@ "hide_non_game": { "label": "비게임 콘텐츠 숨기기", "tooltip": "ROM 해킹, 패치, 아트워크 등 게임이 아닌 콘텐츠를 검색 결과에서 제외합니다." + }, + "use_old_results": { + "label": "이전 검색", + "tooltip": "검색 결과를 새로운 방식과 이전 방식 중 어느 것으로 표시할지 선택합니다." } }, "save": "설정 저장" @@ -114,7 +121,8 @@ "non_game": "경고: 이 파일은 게임 ROM이 아닐 수 있으며 웹 에뮬레이터에서 제대로 작동하지 않을 수 있습니다.", "see_about": "자세한 내용은 {{link}} 페이지를 참조하세요.", "no_data": "사용 가능한 에뮬레이터 데이터가 없습니다.", - "https": "안전하지 않은 HTTP: 일부 에뮬레이터는 제대로 작동하려면 HTTPS가 필요합니다. 이 사이트는 올바르게 설정되지 않았습니다." + "https": "안전하지 않은 HTTP: 일부 에뮬레이터는 제대로 작동하려면 HTTPS가 필요합니다. 이 사이트는 올바르게 설정되지 않았습니다.", + "not_available_tooltip": "이 타이틀은 게임이 아니거나 지원되지 않는 플랫폼이기 때문에 웹 에뮬레이션을 사용할 수 없습니다." }, "console": { "about": "이 온라인 에뮬레이터는 Myrient의 공개 아카이브에서 직접 게임 롬을 실행합니다.", @@ -124,7 +132,8 @@ "recommended": "추천 에뮬레이터", "play": "플레이", "not_available": "----", - "disclaimer": "이 에뮬레이터는 {{link}}에서 직접 게임을 불러옵니다. {{about}} 페이지에서 더 자세히 알아보세요." + "disclaimer": "이 에뮬레이터는 {{link}}에서 직접 게임을 불러옵니다. {{about}} 페이지에서 더 자세히 알아보세요.", + "download": "다운로드" }, "results": { "table": { diff --git a/config/locales/pl.json b/config/locales/pl.json index 1284ad7..d7a2e84 100644 --- a/config/locales/pl.json +++ b/config/locales/pl.json @@ -36,7 +36,10 @@ "filename": "Nazwa pliku:", "release_group": "Grupa wydania:", "upload_date": "Data przesłania:", - "more_info": "Więcej informacji" + "more_info": "Więcej informacji", + "size": "Rozmiar:", + "old_experience": "Używanie starego interfejsu wyszukiwania.", + "new_experience": "Używanie nowego interfejsu wyszukiwania." }, "about": { "title": "O nas", @@ -129,7 +132,8 @@ "play": "Graj", "not_available": "----", "not_available_tooltip": "Emulacja internetowa nie jest dostępna dla tego tytułu, ponieważ nie jest to gra lub platforma nie jest obsługiwana.", - "disclaimer": "Ten emulator ładuje gry bezpośrednio z {{link}}. Dowiedz się więcej na stronie {{about}}." + "disclaimer": "Ten emulator ładuje gry bezpośrednio z {{link}}. Dowiedz się więcej na stronie {{about}}.", + "download": "Pobierz" }, "results": { "table": { diff --git a/config/locales/pt.json b/config/locales/pt.json index d01084d..e8a7a4b 100644 --- a/config/locales/pt.json +++ b/config/locales/pt.json @@ -36,7 +36,10 @@ "filename": "Nome do arquivo:", "release_group": "Grupo de lançamento:", "upload_date": "Data de upload:", - "more_info": "Mais informações" + "more_info": "Mais informações", + "size": "Tamanho:", + "old_experience": "Usando a experiência de busca antiga.", + "new_experience": "Usando a nova experiência de busca." }, "about": { "title": "Sobre", @@ -88,6 +91,10 @@ "hide_non_game": { "label": "Ocultar Conteúdo Não-Jogo", "tooltip": "Filtra ROMs hackeadas, patches, artes e qualquer outro conteúdo que não seja um jogo dos resultados da busca." + }, + "use_old_results": { + "label": "Busca Antiga", + "tooltip": "Controla se suas buscas usam a nova ou antiga experiência de resultados." } }, "save": "Salvar Configurações" @@ -114,7 +121,8 @@ "non_game": "Aviso: Este arquivo pode não ser uma ROM de jogo e pode não funcionar corretamente no emulador web.", "see_about": "Veja a página {{link}} para mais informações.", "no_data": "Não há dados de emulador disponíveis.", - "https": "Conexão insegura: Alguns emuladores precisam de HTTPS para funcionar corretamente. Esta página não está configurada corretamente." + "https": "Conexão insegura: Alguns emuladores precisam de HTTPS para funcionar corretamente. Esta página não está configurada corretamente.", + "not_available_tooltip": "A emulação web não está disponível para este título pois não é um jogo ou a plataforma não é suportada." }, "console": { "about": "Este é um emulador online que executa jogos diretamente do arquivo público do Myrient.", diff --git a/config/locales/romaji.json b/config/locales/romaji.json index 5b31368..e300ea8 100644 --- a/config/locales/romaji.json +++ b/config/locales/romaji.json @@ -36,7 +36,10 @@ "filename": "Fairu mei:", "release_group": "Rirīsu gurūpu:", "upload_date": "Apurōdo-bi:", - "more_info": "Kuwashii jōhō" + "more_info": "Kuwashii jōhō", + "size": "Saizu:", + "old_experience": "Kyū kensaku taiken wo shiyō chū desu.", + "new_experience": "Atarashii kensaku taiken wo shiyō chū desu." }, "about": { "title": "Saito ni tsuite", @@ -88,6 +91,10 @@ "hide_non_game": { "label": "Hi-gēmu Kontentsu wo Hyōji Shinai", "tooltip": "ROM hakku, patchi, ātowāku, sono ta no gēmu igai no kontentsu wo kensaku kekka kara jokyo shimasu." + }, + "use_old_results": { + "label": "Kyū Kensaku", + "tooltip": "Kensaku kekka wo kyū tēburu keishiki ni redirekuto shimasu. Kore wa metadēta no shutoku wo sukippu suru tame, yori hayaku rōdo saremasu." } }, "save": "Settei wo Hozon" @@ -124,7 +131,9 @@ "recommended": "Suishou Emyurēta", "play": "Purei", "not_available": "----", - "disclaimer": "Kono emyurēta wa {{link}} kara chokusetsu gēmu wo yomikomi masu. Kuwashiku wa {{about}} pēji wo goran kudasai." + "disclaimer": "Kono emyurēta wa {{link}} kara chokusetsu gēmu wo yomikomi masu. Kuwashiku wa {{about}} pēji wo goran kudasai.", + "download": "Daunrōdo", + "not_available_tooltip": "Kono taitoru wa gēmu de wa nai ka, purattofōmu ga sapōto sarete inai tame, webu emyurēshon wa riyō dekimasen." }, "results": { "table": { diff --git a/config/locales/ru.json b/config/locales/ru.json index 330aac6..4812af6 100644 --- a/config/locales/ru.json +++ b/config/locales/ru.json @@ -36,7 +36,10 @@ "filename": "Имя файла:", "release_group": "Релиз-группа:", "upload_date": "Дата загрузки:", - "more_info": "Подробнее" + "more_info": "Подробнее", + "size": "Размер:", + "old_experience": "Используется старый интерфейс поиска.", + "new_experience": "Используется новый интерфейс поиска." }, "about": { "title": "О сайте", diff --git a/config/locales/tr.json b/config/locales/tr.json index 4f9a19f..ac7a90d 100644 --- a/config/locales/tr.json +++ b/config/locales/tr.json @@ -36,7 +36,10 @@ "filename": "Dosya adı:", "release_group": "Yayın grubu:", "upload_date": "Yükleme tarihi:", - "more_info": "Daha fazla bilgi" + "more_info": "Daha fazla bilgi", + "size": "Boyut:", + "old_experience": "Eski arama deneyimi kullanılıyor.", + "new_experience": "Yeni arama deneyimi kullanılıyor." }, "about": { "title": "Hakkında", diff --git a/config/locales/zh.json b/config/locales/zh.json index 2da68ef..9d7f7d5 100644 --- a/config/locales/zh.json +++ b/config/locales/zh.json @@ -36,7 +36,10 @@ "filename": "文件名:", "release_group": "发布组:", "upload_date": "上传日期:", - "more_info": "更多信息" + "more_info": "更多信息", + "size": "大小:", + "old_experience": "正在使用旧版搜索体验。", + "new_experience": "正在使用新版搜索体验。" }, "about": { "title": "关于", @@ -88,6 +91,10 @@ "hide_non_game": { "label": "隐藏非游戏内容", "tooltip": "从搜索结果中过滤掉ROM修改、补丁、游戏插图等非游戏内容。" + }, + "use_old_results": { + "label": "旧版搜索", + "tooltip": "控制您的搜索是使用新版还是旧版结果体验。" } }, "save": "保存设置" @@ -114,7 +121,8 @@ "non_game": "警告:此文件可能不是游戏ROM,可能无法在网页模拟器中正常运行。", "see_about": "更多信息请参阅{{link}}页面。", "no_data": "没有可用的模拟器数据。", - "https": "不安全的HTTP连接:部分模拟器需要HTTPS才能正常运行。当前站点配置不正确。" + "https": "不安全的HTTP连接:部分模拟器需要HTTPS才能正常运行。当前站点配置不正确。", + "not_available_tooltip": "此标题无法使用网页模拟器,因为它不是游戏或平台不受支持。" }, "console": { "about": "这是一个在线模拟器,直接从Myrient的公共档案运行游戏ROM。", diff --git a/server.js b/server.js index b902ae1..ff0cdff 100644 --- a/server.js +++ b/server.js @@ -87,6 +87,7 @@ async function getFilesJob() { await metadataSearch.syncAllMetadata(); } optimizeDatabaseKws(); + //this is less important and needs to run last. metadataSearch.matchAllMetadata(true) } diff --git a/views/pages/results.ejs b/views/pages/results.ejs index 0a80e96..17fccca 100644 --- a/views/pages/results.ejs +++ b/views/pages/results.ejs @@ -30,6 +30,10 @@ <% } %> + + <%= __('search.new_experience') %> + +

diff --git a/views/pages/resultsold.ejs b/views/pages/resultsold.ejs index b298a6a..d775a1b 100644 --- a/views/pages/resultsold.ejs +++ b/views/pages/resultsold.ejs @@ -36,6 +36,10 @@ <% } %> + + <%= __('search.old_experience') %> + +