Commit Graph

19 Commits

Author SHA1 Message Date
Bill Ferguson
d123634679 Changed script names in metadata from filenames to names by
removing underscores, spelling out abbreviations, etc.
2024-10-22 00:13:30 -04:00
Bill Ferguson
ecff920537 contrib/[p-z]*.lua - cleaned up translatable strings 2024-09-17 15:29:16 -04:00
Bill Ferguson
55e68f8cd0 Added metadata fields to scripts that script_manager can access and
display as a tooltip.

Added script_manager integration to those scripts that didn't have it.
2024-05-15 21:23:13 -04:00
Bill Ferguson
cd3788f012 all scripts - added bindtextdomain back in because 4.8 isn't ready to
handle the translations yet.  In 5.0 this will be removed
              and darktable will handle translating the strings.
2024-05-14 22:39:22 -04:00
Bill Ferguson
66b33d6f48 updated contrib scripts to use darktable translation facilities 2024-01-20 20:22:32 -05:00
Bill Ferguson
14d5a79db2 Added script_data.show to script_data blocks 2023-07-16 13:04:00 -04:00
Bill Ferguson
5da64a7da0 [API 7.0.0 compatibility] Made changes to take advantage of the latest API changes
including the ability to start and stop most scripts.
2021-06-19 23:34:14 -04:00
Bill Ferguson
4ab20d8088 Removed official/yield.lua since it was only required for lua API 3.x and less (darktable 2.0 and before). Removed require from scripts that had included it. 2020-11-21 18:33:26 -05:00
Bill Ferguson
8b714edb67 Changed check_min_api_version() to print error messages and throw an error if the minimum api is not satisfied. Updated the scripts to reflect the changed check_min_api_version(). 2019-02-20 00:22:05 -05:00
Bill Ferguson
451c7fb956 Added check_min_api_function to dtutils.lua to check the minimum version of the lua API required for a script to run. This is intended to replace the API check done with darktable.configuration.check_version(), which requires changing each time the API version changes. check_min_api_version should work for all API version changes unless backward compatibility is broken. All the scripts using darktable.configuration.check_version() were changed to use check_min_api_version(). 2019-02-18 19:46:11 -05:00
Pascal Obry
c7ac974ab9 Ensure that a dot is used for decimal numbers.
This unbreak the slide show for acrobat reader.
2017-04-15 15:35:09 +02:00
Pascal Obry
76daa583b3 Move all translation into the main locale directory.
This is for consistency reason as the lib/dtutils/file.lua use this
directory. Also all translation into contrib where not usable as
not checked into this directory which was expected to be just lua.

All in all using locale directory will avoid clutter the main
directory with all possible languages and fixes the current scripts.
2017-04-10 16:56:59 +02:00
Pascal Obry
9a6c1510fd Another change to get better output.
This changeset gives better output for portrait and landscape pictures.
Now in both cases the image is properly center on the screen.
2017-04-09 18:46:21 +02:00
Pascal Obry
44c391cb5a Better renaming of the images to keep files in temp dir. 2017-04-09 11:07:29 +02:00
Pascal Obry
7d9bf8c729 Check for pdflatex tool.
If not present, exit.
2017-04-09 10:18:02 +02:00
Pascal Obry
1d72457dc1 Put author before title as this is what is rendered. 2017-04-09 10:17:39 +02:00
Pascal Obry
0e32d2b1b4 Rename jpeg files to use for the slideshow.
Some accents and weird characters could confuse pdflatex.
2017-04-09 10:17:00 +02:00
Pascal Obry
75165e8838 Ensure UTF-8 text from title or creator field are properly rendered. 2017-04-09 10:16:38 +02:00
Pascal Obry
d9536f1294 Initial version of PDF Slideshow.
A simple PDF slideshow generator. Each image is on a single slide and
a title bar at the bottom is added with the slide show general title,
the image author and title if defined in the metadata.

This script requires pdflatex.
2017-04-08 16:47:34 +02:00