From 975b39716a97acb13d89c661b71f6dbdb97e5582 Mon Sep 17 00:00:00 2001 From: hallgren Date: Mon, 18 May 2015 15:58:57 +0000 Subject: [PATCH] minibar: speech output (experimental) (in browsers that support it) --- src/www/js/langcode.js | 1 + src/www/minibar/minibar.html | 3 +- src/www/minibar/minibar_translations.js | 60 ++++++++++++++++++++----- 3 files changed, 52 insertions(+), 12 deletions(-) diff --git a/src/www/js/langcode.js b/src/www/js/langcode.js index 57dce0bfe..e89b08319 100644 --- a/src/www/js/langcode.js +++ b/src/www/js/langcode.js @@ -52,6 +52,7 @@ function add_country(code) { case "ja": return "ja-JP" case "ro": return "ja-RO" case "el": return "el-GR" + case "th": return "th-TH" // ... default: return code } diff --git a/src/www/minibar/minibar.html b/src/www/minibar/minibar.html index 06aa77a54..3eea85c22 100644 --- a/src/www/minibar/minibar.html +++ b/src/www/minibar/minibar.html @@ -27,7 +27,7 @@ & Translator] -HTML Last modified: Fri Apr 12 20:06:19 CEST 2013 +HTML Last modified: Mon May 18 17:31:07 CEST 2015 @@ -35,6 +35,7 @@ HTML Last modified: Fri Apr 12 20:06:19 CEST 2013