Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/examples/6_Maths_matchingAnglesAndShapes/js/lesson.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/6_Maths_matchingAnglesAndShapes/js/lesson.js')
-rwxr-xr-xexamples/6_Maths_matchingAnglesAndShapes/js/lesson.js18
1 files changed, 1 insertions, 17 deletions
diff --git a/examples/6_Maths_matchingAnglesAndShapes/js/lesson.js b/examples/6_Maths_matchingAnglesAndShapes/js/lesson.js
index 8aef7d8..ce105ba 100755
--- a/examples/6_Maths_matchingAnglesAndShapes/js/lesson.js
+++ b/examples/6_Maths_matchingAnglesAndShapes/js/lesson.js
@@ -6,7 +6,7 @@ Bugs (firefox 3.5.7):
recto iso angulo-recto)
* the text for angulo-obtuso is not displaying properly
* title in english: 'matching angles with shapes' should maybe be
-'matching angles and shapes'
+'matching angles and shapes'
Questions:
* how do we set locale? cfr beginning of $(document).ready()
@@ -96,22 +96,6 @@ $(document).ready(function() {
};
- // example of ngettext usage
- alert(function(clickCounter, h, m, s) {
- return format($.i18n.ngettext('You have completed the game in <span class="specialText">%d</span> clicks within <span class="specialText">%d</span> hour,',
- 'You have completed the game in <span class="specialText">%d</span> clicks within <span class="specialText">%d</span> hours,',
- h),
- clickCounter, h)
- + format($.i18n.ngettext('<span class="specialText">%d</span> minute and ',
- '<span class="specialText">%d</span> minutes and ',
- m),
- m)
- + format ($.i18n.ngettext('<span class="specialText">%d</span> second.',
- '<span class="specialText">%d</span> seconds.',
- s),
- s);
- }(10, 2, 3, 1));
-
var check_game_over = function(){
if(numMatched === NUM_OBJECTS){ //show all
play = 0;