Deprecate bulk duplicate option

This feature is now enabled by default in the Community Console, so this
commit removes the option which let users enable the feature manually.

Change-Id: I57c5e20a446ee784b72018ca71735fd40fa31471
diff --git a/src/_locales/ca/messages.json b/src/_locales/ca/messages.json
index 42487c3..a4c45e2 100644
--- a/src/_locales/ca/messages.json
+++ b/src/_locales/ca/messages.json
@@ -51,10 +51,6 @@
     "message": "Mostra un enllaç \"historial de publicacions\" als perfils d'usuari.",
     "description": "Feature checkbox in the options page"
   },
-  "options_batchduplicate": {
-    "message": "Afegeix l'opció per duplicar diversos fils alhora a la llista de fils de la Consola de la Comunitat.",
-    "description": "Feature checkbox in the options page"
-  },
   "options_escalatethreads":{
     "message": "Activa la <i>flag</i> <code class=\"help\" title=\"Aquesta flag activa la funcionalitat d'escalar fils del fòrum públic als privats a la Consola de la Comunitat.\">enableEscalateThread</code> de la Consola de la Comunitat.",
     "description": "Feature checkbox in the options page"
@@ -82,29 +78,5 @@
   "inject_previousposts": {
     "message": "Historial de publicacions",
     "description": "Link shown in a user profile (in TW and the Community Console) which points to a search showing the user's posts and messages"
-  },
-  "inject_duplicatebtn": {
-    "message": "Duplicar fils",
-    "description": "Tooltip of the 'duplicate treads' icon shown when selecting multiple threads in the Community Console."
-  },
-  "inject_duplicateinto": {
-    "message": "Duplicar a:",
-    "description": "Label for the text field in which the user has to enter the thread they want to duplicate into."
-  },
-  "inject_duplicateinto_placeholder": {
-    "message": "Introdueix la URL de la Consola de la Comunitat",
-    "description": "Placeholder for the URL field."
-  },
-  "inject_duplicate_cancel": {
-    "message": "Cancel·lar",
-    "description": "Button to cancel the duplication process."
-  },
-  "inject_duplicate_confirm": {
-    "message": "Duplicar",
-    "description": "Button to duplicate all the threads."
-  },
-  "inject_duplicate_progress": {
-    "message": "Progrés",
-    "description": "Title for a progress bar which indicates how many threads were duplicated."
   }
 }
diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json
index 0778af3..43b6de9 100644
--- a/src/_locales/en/messages.json
+++ b/src/_locales/en/messages.json
@@ -51,10 +51,6 @@
     "message": "Show a \"previous posts\" link in user profiles.",
     "description": "Feature checkbox in the options page"
   },
-  "options_batchduplicate": {
-    "message": "Add the option to duplicate multiple threads at the same time from the Community Console thread list.",
-    "description": "Feature checkbox in the options page"
-  },
   "options_escalatethreads":{
     "message": "Enables the <code class=\"help\" title=\"This flag activates the functionality which allows a PE to escalate threads from the public forums to the private ones in the Community Console.\">enableEscalateThread</code> Community Console flag.",
     "description": "Feature checkbox in the options page"
@@ -82,29 +78,5 @@
   "inject_previousposts": {
     "message": "Previous posts",
     "description": "Link shown in a user profile (in TW and the Community Console) which points to a search showing the user's posts and messages"
-  },
-  "inject_duplicatebtn": {
-    "message": "Mark as duplicate",
-    "description": "Tooltip of the 'duplicate treads' icon shown when selecting multiple threads in the Community Console."
-  },
-  "inject_duplicateinto": {
-    "message": "Duplicate into:",
-    "description": "Label for the text field in which the user has to enter the thread they want to duplicate into."
-  },
-  "inject_duplicateinto_placeholder": {
-    "message": "Enter the Community Console URL",
-    "description": "Placeholder for the URL field."
-  },
-  "inject_duplicate_cancel": {
-    "message": "Cancel",
-    "description": "Button to cancel the duplication process."
-  },
-  "inject_duplicate_confirm": {
-    "message": "Duplicate",
-    "description": "Button to duplicate all the threads."
-  },
-  "inject_duplicate_progress": {
-    "message": "Progress",
-    "description": "Title for a progress bar which indicates how many threads were duplicated."
   }
 }
diff --git a/src/_locales/es/messages.json b/src/_locales/es/messages.json
index 2ea91e6..89941c0 100644
--- a/src/_locales/es/messages.json
+++ b/src/_locales/es/messages.json
@@ -51,10 +51,6 @@
     "message": "Muestra un enlace \"historial de publicaciones\" en los perfiles de usuario.",
     "description": "Feature checkbox in the options page"
   },
-  "options_batchduplicate": {
-    "message": "Añade la opción para duplicar varios hilos a la vez en la lista de hilos de la Consola de la Comunidad.",
-    "description": "Feature checkbox in the options page"
-  },
   "options_escalatethreads":{
     "message": "Activa la <i>flag</i> <code class=\"help\" title=\"Esta flag activa la funcionalidad de escalar hilos del foro público a los privados en la Consola de la Comunidad.\">enableEscalateThread</code> de la Consola de la Comunidad.",
     "description": "Feature checkbox in the options page"
@@ -82,29 +78,5 @@
   "inject_previousposts": {
     "message": "Historial de publicaciones",
     "description": "Link shown in a user profile (in TW and the Community Console) which points to a search showing the user's posts and messages"
-  },
-  "inject_duplicatebtn": {
-    "message": "Duplicar hilos",
-    "description": "Tooltip of the 'duplicate treads' icon shown when selecting multiple threads in the Community Console."
-  },
-  "inject_duplicateinto": {
-    "message": "Duplicar a:",
-    "description": "Label for the text field in which the user has to enter the thread they want to duplicate into."
-  },
-  "inject_duplicateinto_placeholder": {
-    "message": "Introduce la URL de la Consola de la Comunidad",
-    "description": "Placeholder for the URL field."
-  },
-  "inject_duplicate_cancel": {
-    "message": "Cancelar",
-    "description": "Button to cancel the duplication process."
-  },
-  "inject_duplicate_confirm": {
-    "message": "Duplicar",
-    "description": "Button to duplicate all the threads."
-  },
-  "inject_duplicate_progress": {
-    "message": "Progreso",
-    "description": "Title for a progress bar which indicates how many threads were duplicated."
   }
 }
diff --git a/src/_locales/ru/messages.json b/src/_locales/ru/messages.json
index a0ba81d..8c5626e 100644
--- a/src/_locales/ru/messages.json
+++ b/src/_locales/ru/messages.json
@@ -51,10 +51,6 @@
     "message": "Показывать ссылку \"Сообщения пользователя\" в профилях пользователей.",
     "description": "Опция на странице настроек."
   },
-  "options_batchduplicate": {
-    "message": "Добавляет опцию одновременного дублирования нескольких потоков из списка потоков в Консоли сообщества.",
-    "description": "Опция на странице настроек."
-  },
   "options_escalatethreads":{
     "message": "Включает <code class=\"help\" title=\"Этот флаг активирует функциональность, которая позволяет PE эскалировать потоки из открытых форумов в частные в Консоли сообщества.\">enableEscalateThread</code> флаг Консоли сообщества.",
     "description": "Опция на странице настроек."
@@ -74,29 +70,5 @@
   "inject_previousposts": {
     "message": "Сообщения пользователя",
     "description": "Ссылка отображаемая в профиле пользователя (в TW и в Консоли сообщества), которая указывает на поиск, показывающий посты и ответы пользователя."
-  },
-  "inject_duplicatebtn": {
-    "message": "Отметить как дубликат",
-    "description": "Подсказка о значке \"дубликат\", отображаемом при выборе нескольких потоков в консоли сообщества."
-  },
-  "inject_duplicateinto": {
-    "message": "Дубликат:",
-    "description": "Метка для текстового поля, в котором пользователь должен ввести поток, в который он хочет привязать дубликат."
-  },
-  "inject_duplicateinto_placeholder": {
-    "message": "Введите URL-адрес консоли сообщества",
-    "description": "Заполнитель для поля URL."
-  },
-  "inject_duplicate_cancel": {
-    "message": "Отмена",
-    "description": "Кнопка, чтобы отменить процесс отметки дубликата."
-  },
-  "inject_duplicate_confirm": {
-    "message": "Дубликат",
-    "description": "Кнопка для дублирования всех потоков."
-  },
-  "inject_duplicate_progress": {
-    "message": "Прогресс",
-    "description": "Название для индикатора выполнения, который указывает, сколько потоков было продублировано."
   }
 }
diff --git a/src/console_inject_start.js b/src/console_inject_start.js
index 047f2b7..4b6a7ba 100644
--- a/src/console_inject_start.js
+++ b/src/console_inject_start.js
@@ -1,15 +1,11 @@
 chrome.storage.sync.get(null, function(items) {
-  if (items.loaddrafts || items.batchduplicate) {
+  if (items.loaddrafts) {
     var startup = JSON.parse(document.querySelector("html").getAttribute("data-startup"));
 
     if (items.loaddrafts) {
       startup[4][13] = true;
     }
 
-    if (items.batchduplicate) {
-      startup[4][58] = true;
-    }
-
     document.querySelector("html").setAttribute("data-startup", JSON.stringify(startup));
   }
 });
diff --git a/src/options.html b/src/options.html
index 5bdb675..8edaea2 100644
--- a/src/options.html
+++ b/src/options.html
@@ -16,7 +16,6 @@
       <input type="checkbox" id="redirect"> <label for="redirect" data-i18n="redirect"></label> <span style="color: gray;" data-i18n="experimental_label"></span><br>
       <input type="checkbox" id="history"> <label for="history" data-i18n="history"></label><br>
       <input type="checkbox" id="loaddrafts"> <label for="loaddrafts" data-i18n="loaddrafts"></label> <span style="color: gray;" data-i18n="experimental_label"></span><br>
-      <input type="checkbox" id="batchduplicate"> <label for="batchduplicate" data-i18n="batchduplicate"></label> <span style="color: gray;" data-i18n="experimental_label"></span><br>
       <input type="checkbox" id="increasecontrast"> <label for="increasecontrast" data-i18n="increasecontrast"></label><br>
       <input type="checkbox" id="stickysidebarheaders"> <label for="stickysidebarheaders" data-i18n="stickysidebarheaders"></label><br>
     </p>
diff --git a/src/options.js b/src/options.js
index 2bcd96f..1a321b4 100644
--- a/src/options.js
+++ b/src/options.js
@@ -20,7 +20,8 @@
 const deprecatedOptions = [
   "list",
   "escalatethreads",
-  "movethreads"
+  "movethreads",
+  "batchduplicate"
 ];
 
 function cleanUpOptions(options) {