autoRefreshList: add status indicator
In order to clarify when the feature is watching for updates in the
current thread list or not depending in the current sort options, this
change adds an indicator which states this.
It also adds styles for a "muted" state of the indicator which might
indicate in the future that the user has disabled it manually.
Apart from this, this also changes the option text to improve it.
Fixed: twpowertools:5
Change-Id: I77a65fa9091d6c9e18f09a3798eeb5197ced8647
diff --git a/src/static/_locales/es/messages.json b/src/static/_locales/es/messages.json
index e4f9e02..f9b65ac 100644
--- a/src/static/_locales/es/messages.json
+++ b/src/static/_locales/es/messages.json
@@ -104,7 +104,7 @@
"description": "Feature checkbox in the options page"
},
"options_autorefreshlist": {
- "message": "Actualiza las listas de hilos de la Consola de la Comunidad automáticamente.",
+ "message": "Muestra una notificación en la Consola de la Comunidad cuando una lista de hilos recibe actualizaciones.",
"description": "Feature checkbox in the options page"
},
"options_disableunifiedprofiles": {
@@ -242,5 +242,13 @@
"inject_autorefresh_list_snackbar_action": {
"message": "Actualizar",
"description": "Button shown in a snackbar asking users to refresh/reload the list to show the new threads."
+ },
+ "inject_autorefresh_list_status_indicator_label_active": {
+ "message": "Observando cambios en la lista de hilos...",
+ "description": "Helper text which appears when hovering the status indicator of the 'autorefresh list' feature to indicate that the feature is active and watching for updates in the current thread list."
+ },
+ "inject_autorefresh_list_status_indicator_label_disabled": {
+ "message": "No se pueden observar cambios en la lista de hilos. Por favor cambia las opciones de orden a 'Ordenar por: Última actualización' y orden descendiente.",
+ "description": "Helper text which appears when hovering the status indicator of the 'autorefresh list' feature to indicate that the feature is disabled in the current thread list because the sort options are incompatible with the feature."
}
}