@@ -478,19 +478,19 @@ function dtutils_string.get_filetype(str)
478478 return parts [" filetype" ]
479479end
480480
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 ]] ,
483483 Synopsis = [[ build a list of variable substitutions]] ,
484484 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])
486486 image - dt_lua_image_t - the image being processed
487487 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
491491 [home] - string - optional - home directory. Will be determined if not supplied
492492 [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
494494 and determined from the system and darktable.]] ,
495495 Return_Value = [[ ]] ,
496496 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
10571057
10581058 dtutils_string .clear_substitute_list ()
10591059
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 )
10611061
10621062 local str = dtutils_string .substitute_list (variable_string )
10631063
0 commit comments