comparison 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
comparison
equal deleted inserted replaced
297:76cdc3f1fe34 298:cb93a982fcdd
1352 _("<i>%name%</i> results in the filename of the picture.\n" 1352 _("<i>%name%</i> results in the filename of the picture.\n"
1353 "Also available: <i>%collection%</i>, <i>%number%</i>, <i>%total%</i>, <i>%date%</i>,\n" 1353 "Also available: <i>%collection%</i>, <i>%number%</i>, <i>%total%</i>, <i>%date%</i>,\n"
1354 "<i>%size%</i> (filesize), <i>%width%</i>, <i>%height%</i>, <i>%res%</i> (resolution)\n" 1354 "<i>%size%</i> (filesize), <i>%width%</i>, <i>%height%</i>, <i>%res%</i> (resolution)\n"
1355 "To access exif data use the exif name, e. g. <i>%fCamera%</i> is the formatted camera name,\n" 1355 "To access exif data use the exif name, e. g. <i>%fCamera%</i> is the formatted camera name,\n"
1356 "<i>%Exif.Photo.DateTimeOriginal%</i> the date of the original shot.\n" 1356 "<i>%Exif.Photo.DateTimeOriginal%</i> the date of the original shot.\n"
1357 "<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"
1357 "If two or more variables are connected with the |-sign, it prints available variables with a separator.\n" 1358 "If two or more variables are connected with the |-sign, it prints available variables with a separator.\n"
1358 "<i>%fShutterSpeed%</i>|<i>%fISOSpeedRating%</i>|<i>%fFocalLength%</i> could show \"1/20s - 400 - 80 mm\" or \"1/200 - 80 mm\",\n" 1359 "<i>%fShutterSpeed%</i>|<i>%fISOSpeedRating%</i>|<i>%fFocalLength%</i> could show \"1/20s - 400 - 80 mm\" or \"1/200 - 80 mm\",\n"
1359 "if there's no ISO information in the Exif data.\n" 1360 "if there's no ISO information in the Exif data.\n"
1360 "If a line is empty, it is removed. This allows to add lines that totally disappear when no data is available.\n" 1361 "If a line is empty, it is removed. This allows to add lines that totally disappear when no data is available.\n"
1361 )); 1362 ));