Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1270)

Unified Diff: chrome/browser/resources/chromeos/chromevox/host/chrome/tts_background.js

Issue 1362223003: Improve braille related message descriptions and clean up message handling in Chromevox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@inputtypeexception
Patch Set: Move another braille message to Msgs.Untranslated Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/chromevox/host/chrome/tts_background.js
diff --git a/chrome/browser/resources/chromeos/chromevox/host/chrome/tts_background.js b/chrome/browser/resources/chromeos/chromevox/host/chrome/tts_background.js
index c323d8020b0acb9bba5c12204c7211186977f519..d4f1676e00a93ae9a0dbccd56d9cea8215e0aea6 100644
--- a/chrome/browser/resources/chromeos/chromevox/host/chrome/tts_background.js
+++ b/chrome/browser/resources/chromeos/chromevox/host/chrome/tts_background.js
@@ -133,7 +133,7 @@ cvox.TtsBackground = function(opt_enableMath) {
* @const
*/
this.PHONETIC_MAP_ = /** @type {Object<string>} */(
- JSON.parse(cvox.ChromeVox.msgs.getMsg('phonetic_map')));
+ JSON.parse(Msgs.getMsg('phonetic_map')));
} catch (e) {
console.log('Error; unable to parse phonetic map msg.');
}
@@ -646,7 +646,7 @@ cvox.TtsBackground.prototype.createPunctuationReplace_ = function(clear) {
var retain = this.retainPunctuation_.indexOf(match) != -1 ?
match : ' ';
return clear ? retain :
- ' ' + (new goog.i18n.MessageFormat(cvox.ChromeVox.msgs.getMsg(
+ ' ' + (new goog.i18n.MessageFormat(Msgs.getMsg(
cvox.AbstractTts.CHARACTER_DICTIONARY[match])))
.format({'COUNT': 1}) + retain + ' ';
}, this);

Powered by Google App Engine
This is Rietveld 408576698