Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -1498,6 +1498,20 @@ class="joystickBase" />
</ul>
</div>
</div>
<div id="warningsModal" class="modal hidden">
<a href="javascript:void(0);" class="modalClose">✖</a>
<div class="modalHeader">
<h1 class="modalTitle" data-i18n="[html]modal.warnings.title">Warnings</h1>
<h3 class="modalSubtitle" data-i18n="[html]modal.warnings.subtitle">Some games may contain the following content. Viewer discretion is advised.</h3>
</div>
<div class="modalContent">
<ul>
<li><span data-i18n="[html]modal.warnings.warning1">Some games contain flashing lights sequences or patterns that may affect photosensitive viewers.</span></li>
<li><span data-i18n="[html]modal.warnings.warning2">References to self-harm or suicide.</span></li>
<li><span data-i18n="[html]modal.warnings.warning3">Disturbing imagery.</span></li>
</ul>
</div>
</div>
<?php if ($gameId == "2kki"): ?>
<div id="explorerUndiscoveredLocationsModal" class="modal hidden">
<a href="javascript:void(0);" class="modalClose">✖</a>
Expand Down Expand Up @@ -2193,6 +2207,7 @@ class="joystickBase" />
<?php if ($gameId == "2kki"): ?>
<br>
<div class="notice version">Yume 2kki Version <span id="2kkiVersion"></span></div>
<br>
<div class="notice" data-i18n="[html]2kki.hostedWithPermission">Hosted with permission from the Yume 2kki developers</div>
<?php endif ?>
<?php if (in_array($gameId, $gameIdsWithDisclaimer)): ?>
Expand All @@ -2209,6 +2224,8 @@ class="joystickBase" />
<?php endif ?>
<br>
<a href="javascript:void(0);" class="notice" onclick="openModal('rulesModal')" data-i18n="[html]reviewRules">Review Rules</a>
<br>
<a href="javascript:void(0);" class="notice" onclick="openModal('warningsModal')" data-i18n="[html]reviewWarnings">Review Warnings</a>
</div>
<div id="footerIconContainer">
<a href="https://ynoproject.net/discord" target="_blank" class="icon fillIcon" title="Discord">
Expand Down
2 changes: 2 additions & 0 deletions init.js
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,8 @@ function loadOrInitConfig(configObj, global, configName) {
break;
case 'rulesReviewed':
break;
case 'warningsReviewed':
break;
}
} else {
switch (key) {
Expand Down
10 changes: 9 additions & 1 deletion lang/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,13 @@
"rule5": "لا غش من أي نوع ولأي سبب",
"rule6": "في حالة وجود مشكلة يرجى إبلاغ المشرفين"
},
"warnings": {
"title": "Warnings",
"subtitle": "Some games may contain the following content. Viewer discretion is advised.",
"warning1": "Flashing light sequences or patterns that may affect photosensitive viewers.",
"warning2": "References to self-harm or suicide.",
"warning3": "Disturbing imagery."
},
"explorerUndiscoveredLocations": {
"title": "اماكن غير مكتشفة",
"complete": "لقد قمت باكتشاف جميع الاماكن المتاحة :)"
Expand Down Expand Up @@ -638,7 +645,8 @@
"placeholders": {
"scheduleDescription": "Markdown syntax is accepted, use {\\{l:World,optional link name}} to insert a link to yume.wiki"
},
"reviewRules": "مراجعة القواعد"
"reviewRules": "مراجعة القواعد",
"reviewWarnings": "Review Warnings"
},
"messages": {
"games": {
Expand Down
10 changes: 9 additions & 1 deletion lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,13 @@
"rule5": "Kein cheaten jeglicher Art.",
"rule6": "Sollte es Probleme geben, kontaktiere die Moderatoren."
},
"warnings": {
"title": "Warnings",
"subtitle": "Some games may contain the following content. Viewer discretion is advised.",
"warning1": "Flashing light sequences or patterns that may affect photosensitive viewers.",
"warning2": "References to self-harm or suicide.",
"warning3": "Disturbing imagery."
},
"explorerUndiscoveredLocations": {
"title": "Unentdeckte Orte",
"complete": "Du hast jeden verfügbaren Standort gefunden! Gut gemacht!"
Expand Down Expand Up @@ -638,7 +645,8 @@
"placeholders": {
"scheduleDescription": "Markdown Syntax ist akzeptiert, benutze {\\{l:Welt,optionaler Linkname}} um einen Link auf yume.wiki einzufügen."
},
"reviewRules": "Regeln nochmal anzeigen"
"reviewRules": "Regeln nochmal anzeigen",
"reviewWarnings": "Review Warnings"
},
"messages": {
"games": {
Expand Down
10 changes: 9 additions & 1 deletion lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,13 @@
"rule5": "No cheating of any kind for any reason.",
"rule6": "If there's trouble, please inform the moderators."
},
"warnings": {
"title": "Warnings",
"subtitle": "Some games may contain the following content. Viewer discretion is advised.",
"warning1": "Flashing light sequences or patterns that may affect photosensitive viewers.",
"warning2": "References to self-harm or suicide.",
"warning3": "Disturbing imagery."
},
"explorerUndiscoveredLocations": {
"title": "Undiscovered Locations",
"complete": "You've discovered every available location! Congrats!!"
Expand Down Expand Up @@ -638,7 +645,8 @@
"placeholders": {
"scheduleDescription": "Markdown syntax is accepted, use {\\{l:World,optional link name}} to insert a link to yume.wiki"
},
"reviewRules": "Review Rules"
"reviewRules": "Review Rules",
"reviewWarnings": "Review Warnings"
},
"messages": {
"games": {
Expand Down
10 changes: 9 additions & 1 deletion lang/eo.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,13 @@
"rule5": "Ne trompu ial ajn.",
"rule6": "Se estas problemoj, bonvolu sciigi la kontrolantojn."
},
"warnings": {
"title": "Warnings",
"subtitle": "Some games may contain the following content. Viewer discretion is advised.",
"warning1": "Flashing light sequences or patterns that may affect photosensitive viewers.",
"warning2": "References to self-harm or suicide.",
"warning3": "Disturbing imagery."
},
"explorerUndiscoveredLocations": {
"title": "Nemalkovritaj Lokoj",
"complete": "Vi malkovris ĉiujn disponeblajn lokojn! Gratulon!!"
Expand Down Expand Up @@ -638,7 +645,8 @@
"placeholders": {
"scheduleDescription": "Markdown syntax is accepted, use {\\{l:World,optional link name}} to insert a link to yume.wiki"
},
"reviewRules": "Montri Regulojn"
"reviewRules": "Montri Regulojn",
"reviewWarnings": "Review Warnings"
},
"messages": {
"games": {
Expand Down
10 changes: 9 additions & 1 deletion lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,13 @@
"rule5": "No trampas de ningún tipo por ningún motivo.",
"rule6": "Si hay problemas, por favor informa a los moderadores."
},
"warnings": {
"title": "Warnings",
"subtitle": "Some games may contain the following content. Viewer discretion is advised.",
"warning1": "Flashing light sequences or patterns that may affect photosensitive viewers.",
"warning2": "References to self-harm or suicide.",
"warning3": "Disturbing imagery."
},
"explorerUndiscoveredLocations": {
"title": "Ubicaciones sin Descubrir",
"complete": "¡Has descubierto todas las Ubicaciones Disponibles! ¡¡Felicidades!!"
Expand Down Expand Up @@ -638,7 +645,8 @@
"placeholders": {
"scheduleDescription": "Sintaxis Markdown aceptada, usa {\\{l:Mundo,nombre de link opcional}} para insertar un link hacia yume.wiki"
},
"reviewRules": "Ver Reglas"
"reviewRules": "Ver Reglas",
"reviewWarnings": "Review Warnings"
},
"messages": {
"games": {
Expand Down
10 changes: 9 additions & 1 deletion lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,13 @@
"rule5": "Pas de triche de toute sorte, qu'importe la raison.",
"rule6": "Si il y a des problèmes, veuillez en informer les modérateurs."
},
"warnings": {
"title": "Warnings",
"subtitle": "Some games may contain the following content. Viewer discretion is advised.",
"warning1": "Flashing light sequences or patterns that may affect photosensitive viewers.",
"warning2": "References to self-harm or suicide.",
"warning3": "Disturbing imagery."
},
"explorerUndiscoveredLocations": {
"title": "Lieux non découverts",
"complete": "Vous avez découvert tous les lieux disponibles ! Félicitations !!"
Expand Down Expand Up @@ -638,7 +645,8 @@
"placeholders": {
"scheduleDescription": "La syntaxe Markdown est acceptée, utilisez {\\{l:Monde,nom de lien optionnel}} pour insérer un lien vers yume.wiki"
},
"reviewRules": "Relire les règles"
"reviewRules": "Relire les règles",
"reviewWarnings": "Review Warnings"
},
"messages": {
"games": {
Expand Down
10 changes: 9 additions & 1 deletion lang/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,13 @@
"rule5": "No cheating of any kind for any reason.",
"rule6": "If there's trouble, please inform the moderators."
},
"warnings": {
"title": "Warnings",
"subtitle": "Some games may contain the following content. Viewer discretion is advised.",
"warning1": "Flashing light sequences or patterns that may affect photosensitive viewers.",
"warning2": "References to self-harm or suicide.",
"warning3": "Disturbing imagery."
},
"explorerUndiscoveredLocations": {
"title": "Undiscovered Locations",
"complete": "You've discovered every available location! Congrats!!"
Expand Down Expand Up @@ -638,7 +645,8 @@
"placeholders": {
"scheduleDescription": "Markdown syntax is accepted, use {\\{l:World,optional link name}} to insert a link to yume.wiki"
},
"reviewRules": "Review Rules"
"reviewRules": "Review Rules",
"reviewWarnings": "Review Warnings"
},
"messages": {
"games": {
Expand Down
10 changes: 9 additions & 1 deletion lang/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,13 @@
"rule5": "Niente trucchi di nessun genere per nessun motivo.",
"rule6": "If there's trouble, please inform the moderators."
},
"warnings": {
"title": "Warnings",
"subtitle": "Some games may contain the following content. Viewer discretion is advised.",
"warning1": "Flashing light sequences or patterns that may affect photosensitive viewers.",
"warning2": "References to self-harm or suicide.",
"warning3": "Disturbing imagery."
},
"explorerUndiscoveredLocations": {
"title": "Undiscovered Locations",
"complete": "You've discovered every available location! Congrats!!"
Expand Down Expand Up @@ -638,7 +645,8 @@
"placeholders": {
"scheduleDescription": "Markdown syntax is accepted, use {\\{l:World,optional link name}} to insert a link to yume.wiki"
},
"reviewRules": "Riguarda le Regole"
"reviewRules": "Riguarda le Regole",
"reviewWarnings": "Review Warnings"
},
"messages": {
"games": {
Expand Down
10 changes: 9 additions & 1 deletion lang/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,13 @@
"rule5": "いかなる理由であれ、不正行為は禁止です。",
"rule6": "トラブルが発生した場合は、モデレーターにお知らせください。"
},
"warnings": {
"title": "注意事項",
"subtitle": "一部の作品には、以下の内容が含まれる場合があります。\nご注意ください。",
"warning1": "激しい光の点滅を伴う場面が、光過敏症のある方に影響を与える可能性があります。",
"warning2": "自傷行為や自殺についての表現。",
"warning3": "不快に感じる表現。"
},
"explorerUndiscoveredLocations": {
"title": "未発見の場所",
"complete": "あなたは到達可能なすべての場所を発見しました!おめでとう!!"
Expand Down Expand Up @@ -638,7 +645,8 @@
"placeholders": {
"scheduleDescription": "Markdown記法が使用可能で、{\\{l:英名,和名}}を使ってyume.wikiへのマップURLを記入する"
},
"reviewRules": "ルールを見る"
"reviewRules": "ルールを見る",
"reviewWarnings": "注意事項を見る"
},
"messages": {
"games": {
Expand Down
10 changes: 9 additions & 1 deletion lang/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,13 @@
"rule5": "어느 경우더라도 치트는 사용하지 마십시오.",
"rule6": "문제가 있으면 운영진에게 알려 주십시오."
},
"warnings": {
"title": "Warnings",
"subtitle": "Some games may contain the following content. Viewer discretion is advised.",
"warning1": "Flashing light sequences or patterns that may affect photosensitive viewers.",
"warning2": "References to self-harm or suicide.",
"warning3": "Disturbing imagery."
},
"explorerUndiscoveredLocations": {
"title": "미발견 장소",
"complete": "축하합니다!! 방문할 수 있는 모든 장소를 발견하셨습니다!"
Expand Down Expand Up @@ -638,7 +645,8 @@
"placeholders": {
"scheduleDescription": "하이퍼 링크 삽입이 가능합니다. {\\{l:월드, 세부 맵 링크}}를 입력하여 yume wiki 속 링크를 삽입하실 수 있습니다."
},
"reviewRules": "규칙 다시 보기"
"reviewRules": "규칙 다시 보기",
"reviewWarnings": "Review Warnings"
},
"messages": {
"games": {
Expand Down
10 changes: 9 additions & 1 deletion lang/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,13 @@
"rule5": "Zakaz używania cheatów z jakiegokolwiek powodu.",
"rule6": "Jeżeli wystąpi zamieszanie w czacie, poinformuj moderatorów."
},
"warnings": {
"title": "Warnings",
"subtitle": "Some games may contain the following content. Viewer discretion is advised.",
"warning1": "Flashing light sequences or patterns that may affect photosensitive viewers.",
"warning2": "References to self-harm or suicide.",
"warning3": "Disturbing imagery."
},
"explorerUndiscoveredLocations": {
"title": "Nieodkryte lokalizacje",
"complete": "Odkryto wszystkie lokalizacje! Gratulacje!"
Expand Down Expand Up @@ -638,7 +645,8 @@
"placeholders": {
"scheduleDescription": "Markdown syntax is accepted, use {\\{l:World,optional link name}} to insert a link to yume.wiki"
},
"reviewRules": "Sprawdź zasady"
"reviewRules": "Sprawdź zasady",
"reviewWarnings": "Review Warnings"
},
"messages": {
"games": {
Expand Down
10 changes: 9 additions & 1 deletion lang/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,13 @@
"rule5": "Sem trapaças de qualquer tipo por qualquer motivo.",
"rule6": "Se houver problemas, favor informar os moderadores."
},
"warnings": {
"title": "Warnings",
"subtitle": "Some games may contain the following content. Viewer discretion is advised.",
"warning1": "Flashing light sequences or patterns that may affect photosensitive viewers.",
"warning2": "References to self-harm or suicide.",
"warning3": "Disturbing imagery."
},
"explorerUndiscoveredLocations": {
"title": "Locais ainda Não Descobertos",
"complete": "Você descobriu todos os locais disponíveis! Parabéns!!!"
Expand Down Expand Up @@ -638,7 +645,8 @@
"placeholders": {
"scheduleDescription": "Syntax Markdown é aceito, use {\\{l:World,optional link name}} para inserir um link a yume.wiki"
},
"reviewRules": "Ver Regras"
"reviewRules": "Ver Regras",
"reviewWarnings": "Review Warnings"
},
"messages": {
"games": {
Expand Down
10 changes: 9 additions & 1 deletion lang/ro.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,13 @@
"rule5": "Fără trișat în orice fel, din oricare motiv.",
"rule6": "Dacă sunt probleme, te rugăm să informezi moderatorii."
},
"warnings": {
"title": "Warnings",
"subtitle": "Some games may contain the following content. Viewer discretion is advised.",
"warning1": "Flashing light sequences or patterns that may affect photosensitive viewers.",
"warning2": "References to self-harm or suicide.",
"warning3": "Disturbing imagery."
},
"explorerUndiscoveredLocations": {
"title": "Locații Nedescoperite",
"complete": "Ai descoperit toate locațiile valabile! Felicitări!!"
Expand Down Expand Up @@ -638,7 +645,8 @@
"placeholders": {
"scheduleDescription": "Sintaxa Markdown este acceptată, folosește {\\{l:World,optional link name}} pentru a insera un link către yume.wiki"
},
"reviewRules": "Revizionează Regulile"
"reviewRules": "Revizionează Regulile",
"reviewWarnings": "Review Warnings"
},
"messages": {
"games": {
Expand Down
10 changes: 9 additions & 1 deletion lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,13 @@
"rule5": "Запрещено читерство в любом виде под каким-бы то ни было предлогом.",
"rule6": "При возникновении проблем, пожалуйста, свяжитесь с модераторами."
},
"warnings": {
"title": "Warnings",
"subtitle": "Some games may contain the following content. Viewer discretion is advised.",
"warning1": "Flashing light sequences or patterns that may affect photosensitive viewers.",
"warning2": "References to self-harm or suicide.",
"warning3": "Disturbing imagery."
},
"explorerUndiscoveredLocations": {
"title": "Неисследованная локация",
"complete": "Вы исследовали все доступные локации! Поздравляем!!!"
Expand Down Expand Up @@ -638,7 +645,8 @@
"placeholders": {
"scheduleDescription": "Доступен Markdown, используйте {\\{l:World,имя ссылки (опционально)}} чтобы вставить ссылку на yume.wiki"
},
"reviewRules": "Просмотреть правила"
"reviewRules": "Просмотреть правила",
"reviewWarnings": "Review Warnings"
},
"messages": {
"games": {
Expand Down
Loading