Home
last modified time | relevance | path

Searched refs:langCode (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/chrome/browser/resources/translate_internals/
Dtranslate_internals.js94 function formatLanguageCode(langCode) { argument
95 var key = 'language-' + langCode;
98 return langCode + ' (' + langName + ')';
101 return langCode;
148 langs.forEach(function(langCode) { argument
149 var text = formatLanguageCode(langCode);
153 ['blocked_languages', langCode]);
165 langs.forEach(function(langCode) { argument
166 var text = formatLanguageCode(langCode);
170 ['language_blacklist', langCode]);
/external/chromium_org/chrome/browser/resources/options/
Dlanguage_options.js351 addBlockedLanguage_: function(langCode) { argument
352 langCode = this.convertLangCodeForTranslation_(langCode);
353 if (this.translateBlockedLanguages_.indexOf(langCode) == -1) {
354 this.translateBlockedLanguages_.push(langCode);
367 removeBlockedLanguage_: function(langCode) { argument
368 langCode = this.convertLangCodeForTranslation_(langCode);
369 if (this.translateBlockedLanguages_.indexOf(langCode) != -1) {
373 return langCodeNotTranslated != langCode;
887 var langCode = String(selection.value);
888 $('language-options-list').addLanguage(langCode);
[all …]