Support "ID" lang code in place of "IN". am: fc61720cd5
am: 1e3157760a
Change-Id: I3c4a30979509fe8ddd2f9ca1e22834bf03add68e
diff --git a/tools/droiddoc/templates-sdk/assets/js/docs.js b/tools/droiddoc/templates-sdk/assets/js/docs.js
index 5ed947c..9709f50 100644
--- a/tools/droiddoc/templates-sdk/assets/js/docs.js
+++ b/tools/droiddoc/templates-sdk/assets/js/docs.js
@@ -3314,7 +3314,7 @@
var LANGUAGES = [
'en',
'es',
- 'in',
+ 'id',
'ja',
'ko',
'pt-br',
@@ -3351,7 +3351,7 @@
'languageValTarget': {
'en': 'English',
'ar': 'Arabic (العربيّة)',
- 'in': 'Indonesian (Bahasa)',
+ 'id': 'Indonesian (Bahasa)',
'fr': 'French (français)',
'de': 'German (Deutsch)',
'ja': 'Japanese (日本語)',
@@ -3609,7 +3609,7 @@
}
});
break;
- case 'in':
+ case 'id':
window.polyglot.extend({
'newsletter': {
'title': 'Receba as dicas e as notícias mais recentes para os desenvolvedores Android e seja bem-sucedido ' +
diff --git a/tools/droiddoc/templates-sdk/footer.cs b/tools/droiddoc/templates-sdk/footer.cs
index af34a1a..452a811 100644
--- a/tools/droiddoc/templates-sdk/footer.cs
+++ b/tools/droiddoc/templates-sdk/footer.cs
@@ -45,7 +45,7 @@
<select name="language" onchange="changeLangPref(this.value, true)">
<option value="en" selected="selected">English</option>
<option value="es">Español</option>
- <option value="in">Bahasa Indonesia</option>
+ <option value="id">Bahasa Indonesia</option>
<option value="ja">日本語</option>
<option value="ko">한국어</option>
<option value="pt-br">Português Brasileiro</option>