You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
active_tab_id: Object.keys(tabs)[0]asstring,// Indicate that the first tab is active. This does not affect what tab is active in practise, it just reports the active tab.
67
+
// Indicate that the first tab is active.
68
+
// This does not affect what tab is active in practise, it just reports the active tab.
69
+
active_tab_id: Object.keys(tabs)[0]asstring,
67
70
buttons: tab_buttons,
68
71
contentContainers: tab_content_containers,
69
72
contentGeneratorPromises: {},
@@ -80,7 +83,9 @@ export function createTabs(
80
83
},
81
84
});
82
85
button.onclick=function(event: MouseEvent){
83
-
consttab_button=thisasHTMLElement;// Use 'this' instead of event.target because this way we'll always get a button element, not an element inside the button (i.e. an icon).
86
+
// Use 'this' instead of event.target because this way we'll always get a button element,
87
+
// not an element inside the button (i.e. an icon).
88
+
consttab_button=thisasHTMLElement;
84
89
85
90
// Hide all tab contents and get the max dimensions
86
91
letmax_width=0;
@@ -95,15 +100,19 @@ export function createTabs(
95
100
"Container element is missing. Did not get a parent from tab header.",
96
101
);
97
102
}
98
-
consttab_contents=container_element.findAll("div.sr-tab-content");// Do not get all tab contents that exist, because there might be multiple tab systems open at the same time.
103
+
104
+
// Do not get all tab contents that exist,
105
+
// because there might be multiple tab systems open at the same time.
// Get the maximum tab dimensions so that all tabs can have the same dimensions.
104
112
// But don't do it if this is the main settings modal
105
113
if(!is_main_settings_modal){
106
-
tab_content.addClass("sr-tab-active");// Need to make the tab visible temporarily in order to get the dimensions.
114
+
// Need to make the tab visible temporarily in order to get the dimensions.
115
+
tab_content.addClass("sr-tab-active");
107
116
if(tab_content.offsetHeight>max_height){
108
117
max_height=tab_content.offsetHeight;
109
118
}
@@ -117,7 +126,9 @@ export function createTabs(
117
126
}
118
127
119
128
// Remove active status from all buttons
120
-
constadjacent_tab_buttons=tab_header.findAll(".sr-tab-header-button");// Do not get all tab buttons that exist, because there might be multiple tab systems open at the same time.
129
+
// Do not get all tab buttons that exist,
130
+
// because there might be multiple tab systems open at the same time.
"Turn this off to hide the flashcard's review status in Obsidian's status bar",
@@ -153,6 +154,7 @@ export default {
153
154
"Vypněte toto, chcete-li sbalit vnořené balíčky na stejné kartě. To je užitečné, pokud máte kartičky, které patří k mnoha balíčkům ve stejném souboru.",
154
155
ALGORITHM: "Algoritmus",
155
156
CHECK_ALGORITHM_WIKI: 'Pro více informací jděte na <a href="${algo_url}">popis algoritmu</a>.',
157
+
SM2_OSR_VARIANT: "OSR's variant of SM-2",
156
158
BASE_EASE: "Základní složitost",
157
159
BASE_EASE_DESC: "minimum = 130, nejlépe přibližně 250.",
158
160
BASE_EASE_MIN_WARNING: "Základní složitost musí být minimálně 130.",
@@ -169,9 +171,12 @@ export default {
169
171
MAX_LINK_CONTRIB_DESC:
170
172
"Maximální příspěvek vážené složitosti prolinkovaných poznámek použitý pro určení počáteční složitosti.",
171
173
LOGGING: "Zaznamenávám",
172
-
DISPLAY_DEBUG_INFO: "Zobrazit informace pro ladění na vývojářské konzoli",
173
-
DISPLAY_PARSER_DEBUG_INFO:
174
-
"Display debugging information for the parser on the developer console",
174
+
DISPLAY_SCHEDULING_DEBUG_INFO: "Zobrazit informace pro ladění na vývojářské konzoli",
175
+
DISPLAY_PARSER_DEBUG_INFO: "Show the parser's debugging information on the developer console",
0 commit comments