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
ce7ddfa472
examples/*.lua - cleaned up translatable messages
2024-09-10 21:19:37 -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
e47ab34745
changed translatable strings to lower case
2024-03-29 13:10:41 -04:00
Bill Ferguson
c11845cbf9
updated example scripts to use darktable translation facilities
2024-01-19 18:57:18 -05: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
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
supertobi
63d3a34f46
added {5,0,0} to the check_version
2017-09-26 10:55:23 +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
Bill Ferguson
93e30a8542
Verified API 4.0.0 compatibility and made the necessary changes
2016-11-07 22:53:52 -05:00
supertobi
077a7de605
Update gettextExample.lua
...
function _(msgid)
2016-01-29 23:01:05 +01:00
supertobi
72a97ecbd6
Update gettextExample.lua
2016-01-29 22:18:54 +01:00
supertobi
87a6ed3e46
Update gettextExample.lua
...
bindtextdomain changed: ~/
2016-01-29 14:26:31 +01:00
supertobi
95d8e777db
Update gettextExample.lua
2016-01-29 14:21:46 +01:00
supertobi
d028ecfc55
Update gettextExample.lua
...
improved readability
2016-01-26 22:40:36 +01:00
supertobi
0812d96068
Rename contrib/gettextExample.lua to examples/gettextExample.lua
2016-01-22 09:48:23 +01:00