@@ -478,19 +478,19 @@ function dtutils_string.get_filetype(str)
478
478
return parts [" filetype" ]
479
479
end
480
480
481
- dtutils_string .libdoc .functions [" build_substitution_list " ] = {
482
- Name = [[ build_substitution_list ]] ,
481
+ dtutils_string .libdoc .functions [" build_substitute_list " ] = {
482
+ Name = [[ build_substitute_list ]] ,
483
483
Synopsis = [[ build a list of variable substitutions]] ,
484
484
Usage = [[ local ds = require "lib/dtutils.string"
485
- ds.build_substitution_list (image, sequence, variable_string, [username], [pic_folder], [home], [desktop])
485
+ ds.build_substitute_list (image, sequence, variable_string, [username], [pic_folder], [home], [desktop])
486
486
image - dt_lua_image_t - the image being processed
487
487
sequence - integer - the sequence number of the image being processed (exported)
488
488
variable_string - string - the substitution variable string
489
489
[username] - string - optional - user name. Will be determined if not supplied
490
490
[pic_folder] - string - optional - pictures folder name. Will be determined if not supplied
491
491
[home] - string - optional - home directory. Will be determined if not supplied
492
492
[desktop] - string - optional - desktop directory. Will be determined if not supplied]] ,
493
- Description = [[ build_substitution_list populates variables with values from the arguments
493
+ Description = [[ build_substitute_list populates variables with values from the arguments
494
494
and determined from the system and darktable.]] ,
495
495
Return_Value = [[ ]] ,
496
496
Limitations = [[ If the value for a variable can not be determined, or if it is not supported,
@@ -1057,7 +1057,7 @@ function dtutils_string.substitute(image, sequence, variable_string, username, p
1057
1057
1058
1058
dtutils_string .clear_substitute_list ()
1059
1059
1060
- dtutils_string .build_substition_list (image , sequence , variable_string , username , pic_folder , home , desktop )
1060
+ dtutils_string .build_substitute_list (image , sequence , variable_string , username , pic_folder , home , desktop )
1061
1061
1062
1062
local str = dtutils_string .substitute_list (variable_string )
1063
1063
0 commit comments