Skip to content

Commit 417c165

Browse files
committed
lib/dtutils/string - updated documentation
1 parent 232baab commit 417c165

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/dtutils/string.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ dtutils_string.libdoc.functions["build_substitution_list"] = {
484484
Usage = [[local ds = require "lib/dtutils.string"
485485
ds.build_substitution_list(image, sequence, variable_string, [username], [pic_folder], [home], [desktop])
486486
image - dt_lua_image_t - the image being processed
487-
sequence - integer - the sequence number of the image
487+
sequence - integer - the sequence number of the image being processed (exported)
488488
variable_string - string - the substitution variable string
489489
[username] - string - optional - user name. Will be determined if not supplied
490490
[pic_folder] - string - optional - pictures folder name. Will be determined if not supplied
@@ -496,7 +496,7 @@ dtutils_string.libdoc.functions["build_substitution_list"] = {
496496
Limitations = [[If the value for a variable can not be determined, or if it is not supported,
497497
then an empty string is used for the value.]],
498498
Example = [[]],
499-
See_Also = [[https://docs.darktable.org/usermanual/4.2/en/special-topics/variables/]],
499+
See_Also = [[https://docs.darktable.org/usermanual/4.6/en/special-topics/variables/]],
500500
Reference = [[]],
501501
License = [[]],
502502
Copyright = [[]],
@@ -613,7 +613,7 @@ local function get_colorlabels(image)
613613
return labels
614614
end
615615

616-
-- find the $CATEGORYn requests and add them to the substitute list
616+
-- find the $CATEGORYn and $CATEGORY[n,m] requests and add them to the substitute list
617617

618618
local function build_category_substitution_list(image, variable_string)
619619
local old_log_level = log.log_level()
@@ -974,7 +974,7 @@ dtutils_string.libdoc.functions["substitute_list"] = {
974974
Return_Value = [[result - string - the input string with values substituted for the variables]],
975975
Limitations = [[]],
976976
Example = [[]],
977-
See_Also = [[]],
977+
See_Also = [[https://docs.darktable.org/usermanual/4.6/en/special-topics/variables/]],
978978
Reference = [[]],
979979
License = [[]],
980980
Copyright = [[]],
@@ -1033,7 +1033,7 @@ dtutils_string.libdoc.functions["substitute"] = {
10331033
Usage = [[local ds = require "lib/dtutils.string"
10341034
ds.substitute(image, sequence, variable_string, [username], [pic_folder], [home], [desktop])
10351035
image - dt_lua_image_t - the image being processed
1036-
sequence - integer - the sequence number of the image
1036+
sequence - integer - the number of the image being processed (exported)
10371037
variable_string - string - the substitution variable string
10381038
[username] - string - optional - user name. Will be determined if not supplied
10391039
[pic_folder] - string - optional - pictures folder name. Will be determined if not supplied
@@ -1045,7 +1045,7 @@ dtutils_string.libdoc.functions["substitute"] = {
10451045
Return_Value = [[result - string - the input string with values substituted for the variables]],
10461046
Limitations = [[]],
10471047
Example = [[]],
1048-
See_Also = [[]],
1048+
See_Also = [[https://docs.darktable.org/usermanual/4.6/en/special-topics/variables/]],
10491049
Reference = [[]],
10501050
License = [[]],
10511051
Copyright = [[]],

0 commit comments

Comments
 (0)