Failed and passed language strings
- Simon Kloostra
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 0
10 years 2 months ago #1154
by Simon Kloostra
Failed and passed language strings was created by Simon Kloostra
My site is in dutch and I mentioned to create a dutch language file with translations of the strings I need. However, the text "Passed" and "Failed" cannot be translated. I found the views for the quizresult default.php files in both site and administrator side, where these values have been hardcoded as:
<?php if($persentagescore>=$passed_score)
echo '<span style="color:green">Passed</span>';
else
echo '<span style="color:red">Failed</span>'; ?>
However, even translating this directly did not make my text be translated!
It seems this string is hidden somewhere?
<?php if($persentagescore>=$passed_score)
echo '<span style="color:green">Passed</span>';
else
echo '<span style="color:red">Failed</span>'; ?>
However, even translating this directly did not make my text be translated!
It seems this string is hidden somewhere?
Please Log in to join the conversation.
10 years 2 months ago #1156
by Daniel
Thanks
Daniel
Replied by Daniel on topic Failed and passed language strings
Looking into it, will update you soon
Thanks
Daniel
Please Log in to join the conversation.
10 years 2 months ago #1161
by Daniel
Thanks
Daniel
Replied by Daniel on topic Failed and passed language strings
The issue is corrected, Please download the latest package after logging into your account. After logging int you'll see a My Orders section at the top right corner.
Thanks
Daniel
Please Log in to join the conversation.
- Simon Kloostra
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 0
10 years 2 months ago #1165
by Simon Kloostra
Replied by Simon Kloostra on topic Failed and passed language strings
And also this issue is indeed corrected, thanks a lot again.
Please Log in to join the conversation.