Commit Graph

160 Commits

Author SHA1 Message Date
Bill Ferguson
f550822943 Added require "official/yield" to scripts that use dt.control.execute() so that they work correctly if you haven't required official/yield somewhere else. 2016-10-21 13:25:40 -04:00
chrik5
e51f1e0a82 copy_attach_detach_tags small updates on german translation 2016-10-18 15:37:54 +02:00
chrik5
b4b82906ea copy_attach_detach_tags make script translateable and added german translation by Holger Klemm 2016-10-18 15:30:45 +02:00
chrik5
f967e96aa5 exit attach tags function if there are no tags to attach 2016-10-04 16:03:35 +02:00
chrik5
c8713a7f38 cleanup the code and create UI elements before 2016-10-04 13:54:49 +02:00
Pascal Obry
c75c3d0734 Initial fr_FR translation of the contribution lua scripts. 2016-10-03 17:24:36 +02:00
supertobi
e74b253f64 Update clear_GPS.po
better german
2016-09-08 11:31:56 +02:00
Bill Ferguson
870ba65662 Missed an edit in the _() function 2016-09-07 22:56:11 -04:00
Bill Ferguson
80ace33af1 Created clear_GPS to clear GPS data from selected images. 2016-09-07 22:53:51 -04:00
supertobi
f69455bdb7 Merge pull request #65 from wpferguson/master
Added fileCopy and fileMove functions to replace os.rename which does…
2016-09-06 10:18:03 +02:00
Bill Ferguson
3dd415697a Removed extra end statement 2016-09-05 13:56:22 -04:00
Bill Ferguson
f7ce368b28 Reverted contrib/geo_uri.lua to previous version so that I can add it in it's own pull request. 2016-09-05 13:49:47 -04:00
Bill Ferguson
168236780d Incorporated supertobi's correction to the translations 2016-09-04 11:42:27 -04:00
Bill Ferguson
549e9ccd0b Changed fileMove per discussion to use os.rename first, os.execute(mv... second, and a lua solution third. The lua solution includes fileCopy with attempts os.execute(cp... first, then does a pure lua copy if that doesn't succeed 2016-08-31 20:18:29 -04:00
Bill Ferguson
21f31b403b Recoded fileMove to use os.execute and the system mv command. Removed fileCopy as it was no longer needed. 2016-08-25 22:49:59 -04:00
Bill Ferguson
3b42503bd3 Removed extra end statement 2016-08-23 21:14:39 -04:00
Bill Ferguson
95e15fc40c Changed poorly translated message to that suggested by supertobi, and took care of spacing issue. 2016-08-23 21:13:11 -04:00
Bill Ferguson
74e546c2ce Added fileCopy and fileMove functions to replace os.rename which doesn't work across filesystems. Added an error message if the move isn't accomplished so that the user knows what happened. Updated translations to reflect changes. 2016-08-23 00:09:27 -04:00
elman
33417454ed Reverted back to dt.control.execute() 2016-04-29 18:59:05 +02:00
elman
6ef06467b6 Added comments 2016-04-28 19:44:51 +02:00
elman
f5a624cfb2 Remove exported image if it has no GPS data 2016-04-27 19:35:44 +02:00
elman
d2762fae73 Fixed issue with exporting RAW images 2016-04-27 19:25:03 +02:00
chrik5
e22df23bc9 Tagging add label before clipboard list and make small enhancements 2016-04-21 17:08:44 +02:00
chrik5
200ef9a45e Tagging added new function replace and a modul 2016-04-21 15:54:59 +02:00
Jérémy Rosen
783194e253 update to newest API change in master 2016-04-17 20:46:32 +02:00
supertobi
204868d733 Use a file list instead of * to zip the images
kml_export - packs to kmz all files from dt.configuration.tmp_dir #53 
https://github.com/darktable-org/lua-scripts/issues/53
2016-04-17 12:33:39 +02:00
supertobi
f61a710e9b Merge pull request #55 from wpferguson/master
External editing with GIMP
2016-04-17 09:59:10 +02:00
Bill Ferguson
457731700c gimp doesn't like filenames with spaces in them, so added sanitize_filename to escape them. Updated gimp.po to reflect the changed line numbers. 2016-04-16 21:44:24 -04:00
Bill Ferguson
3dcb08cca3 Replaced checkIfFileExists with supertobi's fix and capitalized GIMP in gimp.po where I missed it. 2016-04-16 21:10:58 -04:00
supertobi
e3f1ff7d70 Strip accents from the filename, because GoogleEarth can't open them 2016-04-16 23:36:58 +02:00
Bill Ferguson
623b506691 Added check to see if the export would overwrite an existing file. If it would, the filename was incremented with _XX where XX was an increment starting at 01 and ending at 99. gimp.po line numbers adjusted to reflect the changes in code. 2016-04-15 23:58:33 -04:00
Bill Ferguson
6e5dbc0b83 Incorporated supertobi's suggestions. Replaced file and path splitting code with a regular expression (thanks Tobias Jakobs) to ensure filenames were handled correctly. Used the image data in the image table pairs instead of darktable.gui.action_images to ensure there were no mismatches as well as clean up the code nicely. Updated gimp.po to reflect the line number changes due to code refactoring. 2016-04-15 00:38:00 -04:00
Bill Ferguson
9dbd1d9bda Incorporated supertobi's comments. Changed os.execute to os.rename to handle spaces and special characters. Capitalized GIMP in all print strings. Added de_DE translation. 2016-04-14 16:34:37 -04:00
Bill Ferguson
9693b017c4 Changed back to string.format in show_status but coded it correctly this time. 2016-04-10 16:27:49 -04:00
Bill Ferguson
8224913b01 replaced string.format in show_status with the string and concatenation since string.format was having problems with the arguments. 2016-04-09 01:37:54 -04:00
Bill Ferguson
4556c9a055 Incorporated comments from supertobi, marking string for translation on line 128 and expanding variable names for lines 157-165 2016-04-07 11:59:41 -04:00
Bill Ferguson
679ce8b6ab Created gimp.lua to export an image to gimp for editing, then return the result and group it with the original image 2016-04-06 22:21:13 -04:00
supertobi
5006c9d6ea Added missing elevation vars, improved short distance view 2016-03-22 22:34:53 +01:00
supertobi
17a8c4f3d5 naming changes _ -> exported_image 2016-03-20 22:59:18 +01:00
supertobi
98cb1c2315 Merge pull request #52 from supertobi/patch-2
concertToThumbCommand -> convertToThumbCommand
2016-03-20 22:41:20 +01:00
supertobi
6cc5aa08e3 Merge pull request #49 from supertobi/patch-1
A geoJSON expor like the KML export
2016-03-20 22:40:45 +01:00
supertobi
ebda3865dc Update geoJSON_export.lua 2016-03-20 22:36:58 +01:00
supertobi
fb171a459e Update geoJSON_export.lua 2016-03-20 22:21:40 +01:00
supertobi
027a249837 _ -> exported_image 2016-03-20 22:03:41 +01:00
supertobi
2a2bb7199e concertToThumbCommand -> convertToThumbCommand 2016-03-20 21:51:26 +01:00
supertobi
f64892d010 concertToThumbCommand -> convertToThumbCommand 2016-03-20 21:50:25 +01:00
supertobi
ef96bfa98c marked vars as local 2016-03-17 22:35:47 +01:00
supertobi
b2ee46804b marked vars as local, changed gettext domain 2016-03-17 22:33:27 +01:00
supertobi
7c9c277cf8 A geoJSON expor like the KML export 2016-03-15 22:31:04 +01:00
supertobi
abbb740753 Update kml_export.lua
small changes (comments and spacing)
2016-03-11 23:57:13 +01:00