Use 'Japanese byo-yomi' rather than 'Standard byo-yomi' everywhere ; fix afferent bug and translations

This commit is contained in:
Claude Brisson
2024-09-29 20:37:44 +02:00
parent 0f7c6dfadf
commit 9703b0867b
5 changed files with 7 additions and 7 deletions

View File

@@ -115,7 +115,7 @@ Since the project is still in beta, the sources are only available to FFG actors
Split and fold Faltpaarung
Split and random Halbieren und zufällig
Split and slip Halbieren und verschieben
Standard byo-yomi Standard-Byoyomi
Japanese byo-yomi Japanisches Byoyomi
Standings Ergebnisse
Standings after round Ergebnisse nach Runde
Stay in the browser Im Browser bleiben

View File

@@ -114,7 +114,7 @@ Since the project is still in beta, the sources are only available to FFG actors
Split and fold Couper-plier
Split and random Couper-aléatoire
Split and slip Couper-glisser
Standard byo-yomi Byo-yomi standard
Japanese byo-yomi Byo-yomi japonais
Standings Classement
Standings after round Classement après la ronde
Stay in the browser Rester dans le navigateur 

View File

@@ -116,7 +116,7 @@ Since the project is still in beta, the sources are only available to FFG actors
Split and fold 분할 및 접기
Split and random 분할 및 무작위
Split and slip 스플릿 앤 슬립
Standard byo-yomi 초읽기
Japanese byo-yomi 초읽기
Standings 순위
Standings after round 라운드 후 순위
Stay in the browser 브라우저에서 사용하기

View File

@@ -89,7 +89,7 @@ onLoad(() => {
$('#periods').addClass('hidden');
$('#stones').addClass('hidden');
break;
case 'STANDARD':
case 'JAPANESE':
$('#increment').addClass('hidden');
$('#maxTime').addClass('hidden');
$('#byoyomi').removeClass('hidden');

View File

@@ -181,7 +181,7 @@
<select name="timeSystemType">
<option value="FISCHER" #if(!$tour || $tour.timeSystem.type == 'FISCHER') selected #end>Fischer timing</option>
<option value="CANADIAN" #if($tour && $tour.timeSystem.type == 'CANADIAN') selected #end>Canadian byo-yomi</option>
<option value="STANDARD" #if($tour && $tour.timeSystem.type == 'STANDARD') selected #end>Standard byo-yomi</option>
<option value="JAPANESE" #if($tour && $tour.timeSystem.type == 'JAPANESE') selected #end>Japanese byo-yomi</option>
<option value="SUDDEN_DEATH" #if($tour && $tour.timeSystem.type == 'SUDDEN_DEATH') selected #end>Sudden death</option>
</select>
</div>
@@ -200,12 +200,12 @@
<span class="info"></span>
<input name="maxTime" type="text" class="duration" value="#if($tour && "$!tour.timeSystem.maxTime" != '' && "$!tour.timeSystem.maxTime" != '-1' && "$!tour.timeSystem.maxTime" != '0')#toHMS($tour.timeSystem.maxTime)#end"/>
</div>
<div id="byoyomi" class="three wide field #if(!$tour || $tour.timeSystem.type != 'CANADIAN' && $tour.timeSystem.type != 'STANDARD')hidden#end">
<div id="byoyomi" class="three wide field #if(!$tour || $tour.timeSystem.type != 'CANADIAN' && $tour.timeSystem.type != 'JAPANESE')hidden#end">
<label>Byo-yomi time</label>
<span class="info"></span>
<input name="byoyomi" type="text" class="duration" value="#if($tour && "$!tour.timeSystem.byoyomi" != "")#toHMS($tour.timeSystem.byoyomi)#{else}00:05:00#end"/>
</div>
<div id="periods" class="three wide field #if(!$tour || $tour.timeSystem.type != 'STANDARD')hidden#end">
<div id="periods" class="three wide field #if(!$tour || $tour.timeSystem.type != 'JAPANESE')hidden#end">
<label>Byo-yomi periods</label>
<span class="info"></span>
<input name="periods" type="number" min="0" value="#if($tour && "$!tour.timeSystem.periods" != "")$tour.timeSystem.periods#{else}3#end"/>