diff --git a/app/templates/progress.js b/app/templates/progress.js index fe0cf6b7..0e48dc95 100644 --- a/app/templates/progress.js +++ b/app/templates/progress.js @@ -1,4 +1,5 @@ const html = require('choo/html'); +const percent = require('../utils').percent; const radius = 73; const oRadius = radius + 10; @@ -7,7 +8,7 @@ const circumference = 2 * Math.PI * radius; module.exports = function(progressRatio) { const dashOffset = (1 - progressRatio) * circumference; - const percent = Math.floor(progressRatio * 100); + const percentComplete = percent(progressRatio); const div = html`
diff --git a/package.json b/package.json index 50fecee5..198bee4a 100644 --- a/package.json +++ b/package.json @@ -111,6 +111,7 @@ }, "availableLanguages": [ "en-US", + "ar", "ast", "az", "bs", @@ -131,6 +132,7 @@ "fy-NL", "hsb", "hu", + "ia", "id", "it", "ja", @@ -143,9 +145,11 @@ "nn-NO", "pt-BR", "pt-PT", + "ro", "ru", "sk", "sl", + "sq", "sr", "sv-SE", "tl",