View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000743 | Main CAcert Website | website content | public | 2009-06-14 16:26 | 2013-01-15 14:11 |
Reporter | NEOatNHNG | Assigned To | Sourcerer | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 2009 Q2 | ||||
Summary | 0000743: [Patch] cacert/pages/account/55.php: call to gettext inside a string | ||||
Description | In the file cacert/pages/account/55.php there's a call to gettext inside a string which obviously won't work and leads to text not displayable in the browser and therefore user confusion. The attached patch should fix this issue. | ||||
Tags | No tags attached. | ||||
Attached Files | CAcert-gettext-inside-string.patch (1,019 bytes)
diff --git a/pages/account/55.php b/pages/account/55.php index a310241..7925320 100644 --- a/pages/account/55.php +++ b/pages/account/55.php @@ -101,7 +101,7 @@ } ?> <td colspan="3" class="DataTD"><?=_("You have passed the Assurer Challenge and collected at least 100 Assurance Points, you are an Assurer.")?></td> <? } elseif (($row[2]>=100) && !$HaveTest) { -?> <td colspan="3" class="DataTD"><?=_("You have at least 100 Assurance Points, if you want to become an assurer try the ").'<a href="https://cats.cacert.org"><?=_("Assurer Challenge")?></a>!'?></td> +?> <td colspan="3" class="DataTD"><?=_("You have at least 100 Assurance Points, if you want to become an assurer try the ").'<a href="https://cats.cacert.org">'._("Assurer Challenge").'</a>!'?></td> <? } elseif ($HaveTest && ($row[2]<100)) { ?> <td colspan="3" class="DataTD"><?=_("You have passed the Assurer Challenge, but to become an Assurer you still have to reach 100 Assurance Points!")?></td> <? } | ||||
Reviewed by | |||||
Test Instructions | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-06-14 16:26 | NEOatNHNG | New Issue | |
2009-06-14 16:26 | NEOatNHNG | File Added: CAcert-gettext-inside-string.patch | |
2009-06-14 20:11 | Sourcerer | Note Added: 0001444 | |
2009-06-14 20:11 | Sourcerer | Status | new => solved? |
2009-07-01 08:07 | NEOatNHNG | Relationship added | has duplicate 0000752 |
2009-07-05 21:51 | Sourcerer | Status | solved? => closed |
2009-07-05 21:51 | Sourcerer | Fixed in Version | => production |
2009-07-05 21:51 | Sourcerer | Resolution | open => fixed |
2009-07-05 21:51 | Sourcerer | Assigned To | => Sourcerer |
2013-01-15 14:11 | Werner Dworak | Fixed in Version | => 2009 Q2 |