View Issue Details

IDProjectCategoryView StatusLast Update
0000743Main CAcert Websitewebsite contentpublic2013-01-15 14:11
ReporterNEOatNHNG Assigned ToSourcerer  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version2009 Q2 
Summary0000743: [Patch] cacert/pages/account/55.php: call to gettext inside a string
DescriptionIn 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.
TagsNo tags attached.
Reviewed by
Test Instructions

Relationships

has duplicate 0000752 closedSourcerer Invalid message for users trying to assure without passed Assurer Challenge 

Activities

2009-06-14 16:26

 

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>
 <?        }

Sourcerer

2009-06-14 20:11

administrator   ~0001444

Please test and close the bug.

Issue History

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