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
dt.preferences.register("preferenceExamples", -- script: This is a string used to avoid name collision in preferences (i.e namespace). Set it to something unique, usually the name of the script handling the preference.
39
39
"preferenceExamplesString", -- name
40
40
"string", -- type
41
-
_("Example String"), -- label
42
-
_("Example String Tooltip"), -- tooltip
41
+
_("example string"), -- label
42
+
_("example string tooltip"), -- tooltip
43
43
"String") -- default
44
44
45
45
dt.preferences.register("preferenceExamples", -- script: This is a string used to avoid name collision in preferences (i.e namespace). Set it to something unique, usually the name of the script handling the preference.
46
46
"preferenceExamplesBool", -- name
47
47
"bool", -- type
48
-
_("Example Boolean"), -- label
49
-
_("Example Boolean Tooltip"), -- tooltip
48
+
_("example boolean"), -- label
49
+
_("example boolean tooltip"), -- tooltip
50
50
true) -- default
51
51
52
52
dt.preferences.register("preferenceExamples", -- script: This is a string used to avoid name collision in preferences (i.e namespace). Set it to something unique, usually the name of the script handling the preference.
53
53
"preferenceExamplesInteger", -- name
54
54
"integer", -- type
55
-
_("Example Integer"), -- label
56
-
_("Example Integer Tooltip"), -- tooltip
55
+
_("example integer"), -- label
56
+
_("example integer tooltip"), -- tooltip
57
57
2, -- default
58
58
1, -- min
59
59
99) -- max
60
60
61
61
dt.preferences.register("preferenceExamples", -- script: This is a string used to avoid name collision in preferences (i.e namespace). Set it to something unique, usually the name of the script handling the preference.
62
62
"preferenceExamplesFloat", -- name
63
63
"float", -- type
64
-
_("Example Float"), -- label
65
-
_("Example Float Tooltip"), -- tooltip
64
+
_("example float"), -- label
65
+
_("example float tooltip"), -- tooltip
66
66
1.3, -- default
67
67
1, -- min
68
68
99, -- max
@@ -71,22 +71,22 @@ dt.preferences.register("preferenceExamples", -- script: This is a string
71
71
dt.preferences.register("preferenceExamples", -- script: This is a string used to avoid name collision in preferences (i.e namespace). Set it to something unique, usually the name of the script handling the preference.
72
72
"preferenceExamplesFile", -- name
73
73
"file", -- type
74
-
_("Example File"), -- label
75
-
_("Example File Tooltip"), -- tooltip
74
+
_("example file"), -- label
75
+
_("example file tooltip"), -- tooltip
76
76
"") -- default
77
77
78
78
dt.preferences.register("preferenceExamples", -- script: This is a string used to avoid name collision in preferences (i.e namespace). Set it to something unique, usually the name of the script handling the preference.
79
79
"preferenceExamplesDirectory", -- name
80
80
"directory", -- type
81
-
_("Example Directory"), -- label
82
-
_("Example Directory Tooltip"), -- tooltip
81
+
_("example directory"), -- label
82
+
_("example directory tooltip"), -- tooltip
83
83
"") -- default
84
84
85
85
dt.preferences.register("preferenceExamples", -- script: This is a string used to avoid name collision in preferences (i.e namespace). Set it to something unique, usually the name of the script handling the preference.
0 commit comments