Skip to content

Commit

Permalink
options describe : DISABLED_DEPENDED_PREV
Browse files Browse the repository at this point in the history
  • Loading branch information
lexxai committed Jun 24, 2023
1 parent 570c522 commit e5f1061
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,8 @@
},
"LASTCOURSE": {
"message": "The last saved course"
},
"DISABLED_DEPENDED_PREV": {
"message": "Locked because this menu depends on the previous menu, to unlock it, activate the previous menu"
}
}
3 changes: 3 additions & 0 deletions _locales/ru/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,8 @@
},
"LASTCOURSE": {
"message": "Останній збережний курс"
},
"DISABLED_DEPENDED_PREV": {
"message": "Зблоковано, тому що це це меню залежить від попереднього меню, для його розблокування активуйте попереднє меню"
}
}
3 changes: 3 additions & 0 deletions _locales/uk/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,8 @@
},
"LASTCOURSE": {
"message": "Останній збережний курс"
},
"DISABLED_DEPENDED_PREV": {
"message": "Зблоковано, тому що це це меню залежить від попереднього меню, для його розблокування активуйте попереднє меню"
}
}
2 changes: 2 additions & 0 deletions options.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,11 @@ function scrolltotitle_options(e) {
if (!t && automatic) {
automatic.checked = false;
automatic.disabled = true;
automatic.title = browser.i18n.getMessage("DISABLED_DEPENDED_PREV");
triggerEvent(automatic, "change");
} else {
automatic.disabled = false;
automatic.title = "";
triggerEvent(automatic, "change");
}
}
Expand Down

0 comments on commit e5f1061

Please sign in to comment.