diff options
author | emkael <emkael@tlen.pl> | 2018-11-14 01:10:02 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-11-14 01:11:24 +0100 |
commit | 24a0c22e419c19b1a3b5538eb9d757badf92ea94 (patch) | |
tree | 9c24f6e20fd81610657a4a19ce888925ec30ccc1 | |
parent | 030773982c27583086bf93182b122fc5cefb8ad7 (diff) |
Internationalizing vulnerability
-rw-r--r-- | tdd/tdd-handrecord-tpl.php | 4 | ||||
-rw-r--r-- | tdd/translations.json | 3 |
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" } |