File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ class LiveTranslatorManager {
181
181
if ( this . _options . persist ) {
182
182
localStorage . setItem ( 'live-translator-enabled' , JSON . stringify ( this . _enabled ) ) ;
183
183
}
184
+ console . log ( `%c Live Translator ${ this . _enabled ? 'ON' : 'OFF' } ` , 'background: #222; color: #bada55' ) ;
184
185
}
185
186
render ( ) {
186
187
const badges = document . querySelectorAll ( '.live-translator-badge' ) ;
Original file line number Diff line number Diff line change @@ -211,6 +211,7 @@ class LiveTranslatorManager {
211
211
if ( this . _options . persist ) {
212
212
localStorage . setItem ( 'live-translator-enabled' , JSON . stringify ( this . _enabled ) )
213
213
}
214
+ console . log ( `%c Live Translator ${ this . _enabled ? 'ON' : 'OFF' } ` , 'background: #222; color: #bada55' ) ;
214
215
}
215
216
216
217
render ( ) {
You can’t perform that action at this time.
0 commit comments