diff src/preferences.c @ 298:cb93a982fcdd

Add the possibility to truncate overlay infos displayed: %fCamera:20% will truncate data displayed to 20 characters and add 3 dots at the end. For example, %name% -> some_file, %name:4% -> some...
author zas_
date Thu, 10 Apr 2008 10:43:15 +0000
parents 6a7298988a7a
children b16b9b8979e5
line wrap: on
line diff
--- a/src/preferences.c	Thu Apr 10 00:09:43 2008 +0000
+++ b/src/preferences.c	Thu Apr 10 10:43:15 2008 +0000
@@ -1354,6 +1354,7 @@
 	  "<i>%size%</i> (filesize), <i>%width%</i>, <i>%height%</i>, <i>%res%</i> (resolution)\n"
 	  "To access exif data use the exif name, e. g. <i>%fCamera%</i> is the formatted camera name,\n"
 	  "<i>%Exif.Photo.DateTimeOriginal%</i> the date of the original shot.\n"
+	  "<i>%fCamera:20</i> notation will truncate the displayed data to 20 characters and will add 3 dots at the end to denote the truncation.\n"
 	  "If two or more variables are connected with the |-sign, it prints available variables with a separator.\n"
 	  "<i>%fShutterSpeed%</i>|<i>%fISOSpeedRating%</i>|<i>%fFocalLength%</i> could show \"1/20s - 400 - 80 mm\" or \"1/200 - 80 mm\",\n"
 	  "if there's no ISO information in the Exif data.\n"