summaryrefslogtreecommitdiff
path: root/tdd
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-11-14 01:10:02 +0100
committeremkael <emkael@tlen.pl>2018-11-14 01:11:24 +0100
commit24a0c22e419c19b1a3b5538eb9d757badf92ea94 (patch)
tree9c24f6e20fd81610657a4a19ce888925ec30ccc1 /tdd
parent030773982c27583086bf93182b122fc5cefb8ad7 (diff)
Internationalizing vulnerability
Diffstat (limited to 'tdd')
-rw-r--r--tdd/tdd-handrecord-tpl.php4
-rw-r--r--tdd/translations.json3
2 files changed, 4 insertions, 3 deletions
diff --git a/tdd/tdd-handrecord-tpl.php b/tdd/tdd-handrecord-tpl.php
index da2335a..c9e9b84 100644
--- a/tdd/tdd-handrecord-tpl.php
+++ b/tdd/tdd-handrecord-tpl.php
@@ -3,7 +3,7 @@
<td>
<h4>
<?php echo $this->dealer; ?><br>
- <?php echo $this->vuln; ?>
+ <?php echo Protocol::__($this->vuln); ?>
</h4>
</td>
<td><?php echo $this->format_hand(0); ?></td>
@@ -12,7 +12,7 @@
<tr>
<td><?php echo $this->format_hand(3); ?></td>
<td><img src="images/<?php echo ($this->deal_num)%16 ? ($this->deal_num)%16 : 16; ?>.gif"
- alt="<?php echo $this->dealer.'/'.$this->vuln; ?>" /></td>
+ alt="<?php echo $this->dealer.'/'.Protocol::__($this->vuln); ?>" /></td>
<td><?php echo $this->format_hand(1); ?></td>
</tr>
<tr>
diff --git a/tdd/translations.json b/tdd/translations.json
index 9761aeb..e4cc46c 100644
--- a/tdd/translations.json
+++ b/tdd/translations.json
@@ -1,5 +1,6 @@
{
"Stół": "Table",
"Rozdanie": "Board",
- "Maksymalna liczba lew": "Makeable tricks"
+ "Maksymalna liczba lew": "Makeable tricks",
+ "Obie": "All"
}