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

Unified Diff: chrome/browser/resources/chromeos/chromevox/braille/braille_table.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
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/chromevox.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/chromevox/braille/braille_table.js
diff --git a/chrome/browser/resources/chromeos/chromevox/braille/braille_table.js b/chrome/browser/resources/chromeos/chromevox/braille/braille_table.js
index 1095e6465fb3273fef102d755bb5ec17fe36e5a5..8957d1c241f6f486e18196e1db28cd03fac27ae1 100644
--- a/chrome/browser/resources/chromeos/chromevox/braille/braille_table.js
+++ b/chrome/browser/resources/chromeos/chromevox/braille/braille_table.js
@@ -116,18 +116,17 @@ cvox.BrailleTable.getUncontracted = function(tables, table) {
* @return {string} Localized display name.
*/
cvox.BrailleTable.getDisplayName = function(table) {
- var msgs = cvox.ChromeVox.msgs;
- var localeName = msgs.getLocaleDisplayName(table.locale);
+ var localeName = Msgs.getLocaleDisplayName(table.locale);
if (!table.grade && !table.variant) {
return localeName;
} else if (table.grade && !table.variant) {
- return msgs.getMsg('braille_table_name_with_grade',
+ return Msgs.getMsg('braille_table_name_with_grade',
[localeName, table.grade]);
} else if (!table.grade && table.variant) {
- return msgs.getMsg('braille_table_name_with_variant',
+ return Msgs.getMsg('braille_table_name_with_variant',
[localeName, table.variant]);
} else {
- return msgs.getMsg('braille_table_name_with_variant_and_grade',
+ return Msgs.getMsg('braille_table_name_with_variant_and_grade',
[localeName, table.variant, table.grade]);
}
};
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/chromevox.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698