$stdout.sync = true
def usage
- puts __("Usage: %s [OPTION]...", File.basename($0))
+ puts _("Usage: %s [OPTION]...") % File.basename($0)
$options.each { |ary|
printf " %3s, %-15s %s\n", ary[1], ary[0], ary[3]
}
when '--source'
$source = arg.sub(%r|/$|, '')
if !File.directory?($source)
- die __("Argument to --source must be a directory")
+ die _("Argument to --source must be a directory")
end
when '--destination'
$dest = arg.sub(%r|/$|, '')
if File.exists?($dest) && !File.directory?($dest)
- die __("If --destination exists, it must be a directory")
+ die _("If --destination exists, it must be a directory")
end
if $dest != make_dest_filename($dest)
- die __("Sorry, destination directory can't contain non simple alphanumeric characters.")
+ die _("Sorry, destination directory can't contain non simple alphanumeric characters.")
end
# when '--clean'
# system("rm -rf #{$dest}")
$xmldoc = REXML::Document.new File.new(arg)
$mode = 'use_config'
else
- die __('Config file does not exist or is unreadable.')
+ die _('Config file does not exist or is unreadable.')
end
when '--config-skel'
if File.exists?(arg)
- msg 1, __("Config skeleton file already exists, backuping to %s.backup", arg)
+ msg 1, _("Config skeleton file already exists, backuping to %s.backup") % arg
File.rename(arg, "#{arg}.backup")
end
$config_writeto = arg
$mode = 'gen_config'
when '--merge-config'
if File.readable?(arg)
- msg 2, __("Merge config notice: backuping current config file to %s.backup", arg)
+ msg 2, _("Merge config notice: backuping current config file to %s.backup") % arg
$xmldoc = REXML::Document.new File.new(arg)
File.rename(arg, "#{arg}.backup")
$config_writeto = arg
$mode = 'merge_config'
else
- die __('Config file does not exist or is unreadable.')
+ die _('Config file does not exist or is unreadable.')
end
when '--mproc'
end
if !$source
- die __("Missing --source or --config parameter.")
+ die _("Missing --source or --config parameter.")
end
if !$dest
- die __("Missing --destination parameter.")
+ die _("Missing --destination parameter.")
end
if !$theme
$theme = 'simple'
return
end
if missing = %w(convert identify exif transcode mencoder).delete_if { |prg| system("which #{prg} >/dev/null 2>/dev/null") }
- die __("The following programs are typically needed: `%s'. Re-run with --no-check if you're sure you're fine without them.", missing.join(', '))
+ die _("The following programs are typically needed: `%s'. Re-run with --no-check if you're sure you're fine without them.") % missing.join(', ')
end
end
contents = eval "$#{keyword}"
line.sub!(/#{surround}#{keyword}#{surround}/, contents)
rescue NameError
- die __("No `%s' found for substitution", keyword)
+ die _("No `%s' found for substitution") % keyword
end
end
`find #{$source} -type d`.sort.each { |dir|
dir.chomp!
if dir =~ /'/
- die __("Source directory or sub-directories can't contain a single-quote character, sorry.")
+ die _("Source directory or sub-directories can't contain a single-quote character, sorry.")
end
#- place xml document on proper node if exists, else create
#- read images/videos entries from config or from directories depending on mode
entries = []
if $mode == 'use_config'
- msg 2, __("Handling %s from config list...", dir)
+ msg 2, _("Handling %s from config list...") % dir
xmldir.elements.each { |element|
if %w(image video).include?(element.name)
entries << from_utf8(element.attributes['filename'])
end
}
else
- msg 2, __("Examining %s...", dir)
+ msg 2, _("Examining %s...") % dir
entries = Dir.entries(dir).sort
#- populate config in case of gen_config, add new files in case of merge_config
for file in entries
fullpath = "#{dir}/#{from_utf8(element.attributes['filename'])}"
if %w(image video).include?(element.name)
if !File.readable?(fullpath)
- msg 1, __("Config merge: removing #{fullpath} from config; use the backup file to retrieve caption info if this was a mistake")
+ msg 1, _("Config merge: removing %s from config; use the backup file to retrieve caption info if this was a mistake") % fullpath
xmldir.delete(element)
else
entries << from_utf8(element.attributes['filename'])
end
end
images = entries.find_all { |e| entry2type(e) == 'image' }
- msg 3, __("\t%s images", images.length)
+ msg 3, _("\t%s images") % images.length
videos = entries.find_all { |e| entry2type(e) == 'video' }
- msg 3, __("\t%s videos", videos.length)
+ msg 3, _("\t%s videos") % videos.length
dest_dir = make_dest_filename(dir.sub(/^#{Regexp.quote($source)}/, $dest))
system("mkdir -p '#{dest_dir}'")
next
end
- msg 2, __("Outputting in %s...", dest_dir)
+ msg 2, _("Outputting in %s...") % dest_dir
#- populate data structure with sizes from theme
for sizeobj in $images_size
thumbnail_videos[sizeobj['name']] = []
end
- images.size >= 1 and msg 3, __("\tcreating images thumbnails...")
+ images.size >= 1 and msg 3, _("\tcreating images thumbnails...")
#- create thumbnails for images
images.each { |img|
end
}
- videos.size >= 1 and msg 3, __("\tcreating videos thumbnails...")
+ videos.size >= 1 and msg 3, _("\tcreating videos thumbnails...")
#- create thumbnails for videos
videos.each { |video|
#- fake for gettext to find these; if themes need more sizes, english name for them should be added here
sizenames = { 'small' => utf8(_("small")), 'medium' => utf8(_("medium")), 'large' => utf8(_("large")) }
- msg 3, __("\tgenerating HTML pages...")
+ msg 3, _("\tgenerating HTML pages...")
#- generate thumbnails.html (page with thumbnails)
for sizeobj in $images_size
#- add attributes to <dir..> elements needing so
if $mode != 'use_config'
- msg 3, __("\tfixating configuration file...")
+ msg 3, _("\tfixating configuration file...")
$xmldoc.elements.each('//dir[@new]') { |element|
path = captionpath = element.attributes['path']
child = element
#- second pass to create index.html files
default_thumbnails = $images_size.detect { |sizeobj| sizeobj['default'] }
if !default_thumbnails
- die __("Theme `%s' has no default size.", $theme)
+ die _("Theme `%s' has no default size.") % $theme
else
default_thumbnails = default_thumbnails['name']
end
- msg 3, __("\trescanning directories to generate all `index.html' files...")
+ msg 3, _("\trescanning directories to generate all `index.html' files...")
`find #{$source} -type d`.each { |dir|
dir.chomp!
]
def usage
- puts __("Usage: %s [OPTION]...", File.basename($0))
+ puts _("Usage: %s [OPTION]...") % File.basename($0)
$options.each { |ary|
printf " %3s, %-15s %s\n", ary[1], ary[0], ary[3]
}
tooltips = Gtk::Tooltips.new
tipname = File.basename(filename).gsub(/-\d+x\d+\.jpg/, '')
- tooltips.set_tip(evtbox, utf8(type == 'video' ? __("%s (video)", tipname) : tipname), nil)
+ tooltips.set_tip(evtbox, utf8(type == 'video' ? (_("%s (video)") % tipname) : tipname), nil)
frame2 = Gtk::Frame.new
frame2.add(textview = Gtk::TextView.new.set_wrap_mode(Gtk::TextTag::WRAP_WORD))
tb = Gtk::Toolbar.new
tb.insert(-1, open = Gtk::ToolButton.new(Gtk::Stock::OPEN))
+ open.label = utf8(_("Open"))
tb.insert(-1, Gtk::SeparatorToolItem.new)
$r270.icon_widget = Gtk::Image.new("#{$FPATH}/images/stock-rotate-270-16.png")
$r270.label = utf8(_("Rotate"))
tb.insert(-1, $delete = Gtk::ToggleToolButton.new(Gtk::Stock::DELETE))
+ $delete.label = utf8(_("Delete"))
tb.insert(-1, nothing = Gtk::ToolButton.new(''))
nothing.icon_widget = Gtk::Image.new("#{$FPATH}/images/stock-none-16.png")
nothing.label = utf8(_("None"))
return orig_filename.unpack("C*").collect { |v| v.chr =~ /[a-zA-Z\-_0-9\.\/]/ ? v.chr : sprintf("%2X", v) }.to_s
end
- def __(string, *args)
- if args.size == 0
- _(string)
- elsif args.size == 1
- sprintf(_(string), args[0])
- elsif args.size == 2
- sprintf(_(string), args[0], args[1])
- end
- end
-
def msg(verbose_level, msg)
if verbose_level <= $verbose_level
if verbose_level == 0
- warn __("\t***ERROR***: %s\n", msg)
+ warn _("\t***ERROR***: %s\n") % msg
elsif verbose_level == 1
- warn __("\tWarning: %s\n", msg)
+ warn _("\tWarning: %s\n") % msg
else
puts msg
end
def msg_(verbose_level, msg)
if verbose_level <= $verbose_level
if verbose_level == 0
- warn __("\t***ERROR***: %s", msg)
+ warn _("\t***ERROR***: %s") % msg
elsif verbose_level == 1
- warn __("\tWarning: %s", msg)
+ warn _("\tWarning: %s") % msg
else
print msg
end
def select_theme(name)
$theme = name
- msg 3, __("Selecting theme `%s'", $theme)
+ msg 3, _("Selecting theme `%s'") % $theme
themedir = "#{$FPATH}/themes/#{$theme}"
if !File.directory?(themedir)
- die __("Theme was not found (tried %s directory).", themedir)
+ die _("Theme was not found (tried %s directory).") % themedir
end
require "#{themedir}/parameters.rb"
end
cmd = "transcode -a 0 -c #{frame_offset-5}-#{frame_offset} -i '#{orig}' -y jpg -o '#{dest_dir}/screenshot.jpg' 2>&1"
msg 2, cmd
if subproc_runaway_aware(cmd) =~ /V: import format.*unknown/ || !File.exists?("#{dest_dir}/screenshot.jpg000004.jpg")
- msg 2, __("* could not extract first image of video %s with transcode, will try first converting with mencoder", orig)
+ msg 2, _("* could not extract first image of video %s with transcode, will try first converting with mencoder") % orig
cmd = "mencoder '#{orig}' -nosound -ovc lavc -lavcopts vcodec=mjpeg -o '#{dest_dir}/foo.avi' -frames #{frame_offset} -fps 25 >/dev/null 2>/dev/null"
msg 2, cmd
system cmd
results = subproc_runaway_aware(cmd)
system("rm -f '#{dest_dir}/foo.avi'")
if results =~ /V: import format.*unknown/ || !File.exists?("#{dest_dir}/screenshot.jpg000004.jpg")
- msg 0, __("could not extract first image of video %s encoded by mencoder", "#{dest_dir}/foo.avi")
+ msg 0, _("could not extract first image of video %s encoded by mencoder") % "#{dest_dir}/foo.avi"
return false
end
else
- msg 0, __("could not make mencoder to encode %s to mpeg4", "#{orig}")
+ msg 0, _("could not make mencoder to encode %s to mpeg4") % orig
return false
end
end
$(PGOAL).pot: $(RB_FILES)
rm -f $@
- rgettext --keyword=__ -o $@ $(RB_FILES)
+ rgettext -o $@ $(RB_FILES)
clean:
@rm -rf $(PGOAL).pot
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2005-03-28 20:03+0200\n"
+"POT-Creation-Date: 2005-04-02 01:06+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
-#: ../bin/booh:37 ../bin/booh-gui:40
+#: ../bin/booh:36 ../bin/booh-gui:41
msgid "Get help message"
msgstr ""
-#: ../bin/booh:39
+#: ../bin/booh:38
msgid "Don't check for needed external programs at startup"
msgstr ""
-#: ../bin/booh:41
+#: ../bin/booh:40
msgid "Directory which contains original images/videos as files or subdirs"
msgstr ""
-#: ../bin/booh:42
+#: ../bin/booh:41
msgid "Directory which will contain the web-album"
msgstr ""
-#: ../bin/booh:45
+#: ../bin/booh:44
msgid "Select HTML theme to use"
msgstr ""
-#: ../bin/booh:46
+#: ../bin/booh:45
msgid "File containing config listing images and videos within directories with captions"
msgstr ""
-#: ../bin/booh:47
+#: ../bin/booh:46
msgid "Filename where the script will output a config skeleton"
msgstr ""
-#: ../bin/booh:48
+#: ../bin/booh:47
msgid "File containing config listing, where to merge new images/videos from --source"
msgstr ""
-#: ../bin/booh:50
+#: ../bin/booh:49
msgid "Specify the number of processors for multi-processors machines"
msgstr ""
-#: ../bin/booh:52 ../bin/booh-gui:42
+#: ../bin/booh:51 ../bin/booh-gui:43
msgid "Set max verbosity level (0: errors, 1: warnings, 2: important messages, 3: other messages)"
msgstr ""
-#: ../bin/booh:61 ../bin/booh-gui:46
+#: ../bin/booh:59 ../bin/booh-gui:47
msgid "Usage: %s [OPTION]..."
msgstr ""
-#: ../bin/booh:83
+#: ../bin/booh:81
msgid "Argument to --source must be a directory"
msgstr ""
-#: ../bin/booh:88
+#: ../bin/booh:86
msgid "If --destination exists, it must be a directory"
msgstr ""
-#: ../bin/booh:91
+#: ../bin/booh:89
msgid "Sorry, destination directory can't contain non simple alphanumeric characters."
msgstr ""
-#: ../bin/booh:103 ../bin/booh:120
+#: ../bin/booh:101 ../bin/booh:118
msgid "Config file does not exist or is unreadable."
msgstr ""
-#: ../bin/booh:107
+#: ../bin/booh:105
msgid "Config skeleton file already exists, backuping to %s.backup"
msgstr ""
-#: ../bin/booh:114
+#: ../bin/booh:112
msgid "Merge config notice: backuping current config file to %s.backup"
msgstr ""
-#: ../bin/booh:145
+#: ../bin/booh:143
msgid "Missing --source or --config parameter."
msgstr ""
-#: ../bin/booh:148
+#: ../bin/booh:146
msgid "Missing --destination parameter."
msgstr ""
-#: ../bin/booh:168
-msgid "The `%s' program is typically needed. Re-run with --no-check if you're sure you're fine without it."
+#: ../bin/booh:166
+msgid "The following programs are typically needed: `%s'. Re-run with --no-check if you're sure you're fine without them."
msgstr ""
-#: ../bin/booh:178
+#: ../bin/booh:175
msgid "No `%s' found for substitution"
msgstr ""
-#: ../bin/booh:233
-msgid "forgetting runaway process (transcode sucks again?)"
-msgstr ""
-
-#: ../bin/booh:285
-msgid "* could not extract first image of video %s with transcode, will try first converting with mencoder"
-msgstr ""
-
-#: ../bin/booh:295
-msgid "could not extract first image of video %s encoded by mencoder"
-msgstr ""
-
-#: ../bin/booh:299
-msgid "could not make mencoder to encode %s to mpeg4"
-msgstr ""
-
-#: ../bin/booh:394
+#: ../bin/booh:281
msgid "Source directory or sub-directories can't contain a single-quote character, sorry."
msgstr ""
-#: ../bin/booh:418
+#: ../bin/booh:305
msgid "Handling %s from config list..."
msgstr ""
-#: ../bin/booh:425
+#: ../bin/booh:312
msgid "Examining %s..."
msgstr ""
-#: ../bin/booh:451
+#: ../bin/booh:328
+msgid "Config merge: removing %s from config; use the backup file to retrieve caption info if this was a mistake"
+msgstr ""
+
+#: ../bin/booh:338
msgid "\t%s images"
msgstr ""
-#: ../bin/booh:453
+#: ../bin/booh:340
msgid "\t%s videos"
msgstr ""
-#: ../bin/booh:472
+#: ../bin/booh:359
msgid "Outputting in %s..."
msgstr ""
-#: ../bin/booh:484
+#: ../bin/booh:371
msgid "\tcreating images thumbnails..."
msgstr ""
-#: ../bin/booh:501
+#: ../bin/booh:388
msgid "\tcreating videos thumbnails..."
msgstr ""
-#: ../bin/booh:521
+#: ../bin/booh:408
msgid "small"
msgstr ""
-#: ../bin/booh:521
+#: ../bin/booh:408
msgid "medium"
msgstr ""
-#: ../bin/booh:521
+#: ../bin/booh:408
msgid "large"
msgstr ""
-#: ../bin/booh:523
+#: ../bin/booh:410
msgid "\tgenerating HTML pages..."
msgstr ""
-#: ../bin/booh:530 ../lib/booh/html-merges.rb:270 ../lib/booh/html-merges.rb:304
+#: ../bin/booh:417 ../lib/booh/html-merges.rb:270 ../lib/booh/html-merges.rb:304
msgid "Run slideshow!"
msgstr ""
-#: ../bin/booh:563
+#: ../bin/booh:450
msgid "(no preview)"
msgstr ""
-#: ../bin/booh:602
+#: ../bin/booh:489
msgid "Return to thumbnails"
msgstr ""
-#: ../bin/booh:624
+#: ../bin/booh:511
msgid "\tfixating configuration file..."
msgstr ""
-#: ../bin/booh:664
+#: ../bin/booh:551
msgid "Theme `%s' has no default size."
msgstr ""
-#: ../bin/booh:669
+#: ../bin/booh:556
msgid "\trescanning directories to generate all `index.html' files..."
msgstr ""
-#: ../bin/booh:755 ../bin/booh:758
+#: ../bin/booh:642 ../bin/booh:645
msgid "Return to albums"
msgstr ""
-#: ../bin/booh:770
+#: ../bin/booh:657
msgid " all done."
msgstr ""
msgid "Last ->>"
msgstr ""
-#: ../bin/booh-gui:180
+#: ../bin/booh-gui:183
msgid "%s (video)"
msgstr ""
-#: ../bin/booh-gui:311
+#: ../bin/booh-gui:389
msgid "Booh message"
msgstr ""
-#: ../bin/booh-gui:370
+#: ../bin/booh-gui:452
msgid "Not a booh file!"
msgstr ""
-#: ../bin/booh-gui:374 ../bin/booh-gui:378 ../bin/booh-gui:382 ../bin/booh-gui:391
+#: ../bin/booh-gui:456 ../bin/booh-gui:460 ../bin/booh-gui:464 ../bin/booh-gui:477
msgid "Corrupted booh file..."
msgstr ""
-#: ../bin/booh-gui:416
+#: ../bin/booh-gui:500
+msgid "Open file"
+msgstr ""
+
+#: ../bin/booh-gui:530
msgid "_File"
msgstr ""
-#: ../bin/booh-gui:418
+#: ../bin/booh-gui:532
msgid "_New (do nothing)"
msgstr ""
-#: ../bin/booh-gui:419
+#: ../bin/booh-gui:533
msgid "_Open"
msgstr ""
-#: ../bin/booh-gui:421
+#: ../bin/booh-gui:535
msgid "_Save (do nothing - autosave on quit)"
msgstr ""
-#: ../bin/booh-gui:422
+#: ../bin/booh-gui:536
msgid "Save _as... (do nothing)"
msgstr ""
-#: ../bin/booh-gui:424
+#: ../bin/booh-gui:538
msgid "_Quit"
msgstr ""
-#: ../bin/booh-gui:429
-msgid "Open file"
+#: ../bin/booh-gui:552
+msgid "Open"
+msgstr ""
+
+#: ../bin/booh-gui:558 ../bin/booh-gui:561
+msgid "Rotate"
+msgstr ""
+
+#: ../bin/booh-gui:563
+msgid "Delete"
+msgstr ""
+
+#: ../bin/booh-gui:566
+msgid "None"
msgstr ""
-#: ../bin/booh-gui:523
+#: ../bin/booh-gui:572
+msgid "<b>One-Click tools.</b>\n\nYou have just clicked on a One-Click tool. When such a tool is activated\n(<span foreground=darkblue>Rotate clockwise</span>, <span foreground=darkblue>Rotate counter-clockwise</span>, or <span foreground=darkblue>Delete</span>), clicking on a\nthumbnail will immediately apply the desired action.\n\nClick the <span foreground=darkblue>None</span> icon when you're finished with One-Click tools.\n"
+msgstr ""
+
+#: ../bin/booh-gui:692
msgid "Ready."
msgstr ""
-#: ../lib/booh/booh-lib.rb:63
+#: ../lib/booh/booh-lib.rb:55
msgid "\t***ERROR***: %s\n"
msgstr ""
-#: ../lib/booh/booh-lib.rb:65
+#: ../lib/booh/booh-lib.rb:57
msgid "\tWarning: %s\n"
msgstr ""
-#: ../lib/booh/booh-lib.rb:75
+#: ../lib/booh/booh-lib.rb:67
msgid "\t***ERROR***: %s"
msgstr ""
-#: ../lib/booh/booh-lib.rb:77
+#: ../lib/booh/booh-lib.rb:69
msgid "\tWarning: %s"
msgstr ""
-#: ../lib/booh/booh-lib.rb:91
+#: ../lib/booh/booh-lib.rb:83
msgid "Selecting theme `%s'"
msgstr ""
-#: ../lib/booh/booh-lib.rb:94
+#: ../lib/booh/booh-lib.rb:86
msgid "Theme was not found (tried %s directory)."
msgstr ""
+
+#: ../lib/booh/booh-lib.rb:134
+msgid "forgetting runaway process (transcode sucks again?)"
+msgstr ""
+
+#: ../lib/booh/booh-lib.rb:186
+msgid "* could not extract first image of video %s with transcode, will try first converting with mencoder"
+msgstr ""
+
+#: ../lib/booh/booh-lib.rb:196
+msgid "could not extract first image of video %s encoded by mencoder"
+msgstr ""
+
+#: ../lib/booh/booh-lib.rb:200
+msgid "could not make mencoder to encode %s to mpeg4"
+msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2005-03-28 20:03+0200\n"
-"PO-Revision-Date: 2005-03-28 20:04+0200\n"
+"POT-Creation-Date: 2005-04-02 01:06+0200\n"
+"PO-Revision-Date: 2005-04-02 00:57+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
-#: ../bin/booh:37 ../bin/booh-gui:40
+#: ../bin/booh:36 ../bin/booh-gui:41
msgid "Get help message"
msgstr "Obtenir le message d'aide"
-#: ../bin/booh:39
+#: ../bin/booh:38
msgid "Don't check for needed external programs at startup"
msgstr ""
"Ne pas vérifier la présence des programmes externes nécessaires au démarrage"
-#: ../bin/booh:41
+#: ../bin/booh:40
msgid "Directory which contains original images/videos as files or subdirs"
msgstr ""
"Répertoire qui contient les images et vidéos originales comme fichiers ou "
"sous-répetoires"
-#: ../bin/booh:42
+#: ../bin/booh:41
msgid "Directory which will contain the web-album"
msgstr "Répertoire qui va contenir le web-album"
-#: ../bin/booh:45
+#: ../bin/booh:44
msgid "Select HTML theme to use"
msgstr "Sélectionner le thème HTML à utiliser"
-#: ../bin/booh:46
+#: ../bin/booh:45
msgid ""
"File containing config listing images and videos within directories with "
"captions"
"Fichier contenant la configuration avec la liste des images et des vidéos au "
"sein des sous-répertoires avec légendes"
-#: ../bin/booh:47
+#: ../bin/booh:46
msgid "Filename where the script will output a config skeleton"
msgstr ""
"Nom de fichier à utiliser pour la création du squelette de configuration"
-#: ../bin/booh:48
+#: ../bin/booh:47
msgid ""
"File containing config listing, where to merge new images/videos from --"
"source"
"Fichier contenant la configuration, où fusionner les nouvelles images et "
"vidéos de --source"
-#: ../bin/booh:50
+#: ../bin/booh:49
msgid "Specify the number of processors for multi-processors machines"
msgstr ""
"Spécifier le nombre de processeurs pour les ordinateurs multi-processeurs"
-#: ../bin/booh:52 ../bin/booh-gui:42
+#: ../bin/booh:51 ../bin/booh-gui:43
msgid ""
"Set max verbosity level (0: errors, 1: warnings, 2: important messages, 3: "
"other messages)"
"Déterminer le niveau de verbosité maximal (0 : erreurs, 1: avertissements, "
"2 : messages importants, 3 : autres messages)"
-#: ../bin/booh:61 ../bin/booh-gui:46
+#: ../bin/booh:59 ../bin/booh-gui:47
msgid "Usage: %s [OPTION]..."
msgstr "Utilisation: %s [OPTION]..."
-#: ../bin/booh:83
+#: ../bin/booh:81
msgid "Argument to --source must be a directory"
msgstr "L'argument de --source doit être un répertoire"
-#: ../bin/booh:88
+#: ../bin/booh:86
msgid "If --destination exists, it must be a directory"
msgstr "Si --destination existe, il doit être un répertoire"
-#: ../bin/booh:91
+#: ../bin/booh:89
msgid ""
"Sorry, destination directory can't contain non simple alphanumeric "
"characters."
"Désolé, le répertoire de destination ne peut pas contenir des caractères non "
"alphanumériques."
-#: ../bin/booh:103 ../bin/booh:120
+#: ../bin/booh:101 ../bin/booh:118
msgid "Config file does not exist or is unreadable."
msgstr "Le fichier de configuration n'existe pas ou est non lisible."
-#: ../bin/booh:107
+#: ../bin/booh:105
msgid "Config skeleton file already exists, backuping to %s.backup"
-msgstr "Le fichier squelette de configuration existe déjà, sauvegarde de la version actuelle en %s.backup"
+msgstr ""
+"Le fichier squelette de configuration existe déjà, sauvegarde de la version "
+"actuelle en %s.backup"
-#: ../bin/booh:114
+#: ../bin/booh:112
msgid "Merge config notice: backuping current config file to %s.backup"
-msgstr "Fusion de la configuration : sauvegarde de la version actuelle en %s.backup"
+msgstr ""
+"Fusion de la configuration : sauvegarde de la version actuelle en %s.backup"
-#: ../bin/booh:145
+#: ../bin/booh:143
msgid "Missing --source or --config parameter."
msgstr "Il manque le paramètre --source ou le paramètre --config."
-#: ../bin/booh:148
+#: ../bin/booh:146
msgid "Missing --destination parameter."
msgstr "Il manque le paramètre --destination."
-#: ../bin/booh:168
+#: ../bin/booh:166
msgid ""
-"The `%s' program is typically needed. Re-run with --no-check if you're sure "
-"you're fine without it."
+"The following programs are typically needed: `%s'. Re-run with --no-check if "
+"you're sure you're fine without them."
msgstr ""
-"Le programme `%s' est typiquement nécessaire. Relancez avec --no-check si "
-"vous êtes sûr que vous n'en aurez pas besoin."
+"Les programms suivantes sont typiquement nécessaires : `%s'. Relancez avec --"
+"no-check si vous êtes sûr que vous n'en aurez pas besoin."
-#: ../bin/booh:178
+#: ../bin/booh:175
msgid "No `%s' found for substitution"
msgstr "`%s' non trouvé pour substitution"
-#: ../bin/booh:233
-msgid "forgetting runaway process (transcode sucks again?)"
-msgstr ""
-"laissons tomber ce processus qui tourne en rond (transcode sux encore une "
-"fois ?)"
-
-#: ../bin/booh:285
-msgid ""
-"* could not extract first image of video %s with transcode, will try first "
-"converting with mencoder"
-msgstr ""
-"* impossible d'extraire la première image de la vidéo %s avec transcode, je "
-"vais tenter le coup en convertissant d'abord avec mencoder"
-
-#: ../bin/booh:295
-msgid "could not extract first image of video %s encoded by mencoder"
-msgstr ""
-"impossible d'extraire la première image de la vidéo %s encodée par mencoder"
-
-#: ../bin/booh:299
-msgid "could not make mencoder to encode %s to mpeg4"
-msgstr "impossible d'encoder %s en mpeg4 avec mencoder"
-
-#: ../bin/booh:394
+#: ../bin/booh:281
msgid ""
"Source directory or sub-directories can't contain a single-quote character, "
"sorry."
"Le répertoire source ou un de ses sous-répertoires ne peuvent contenir de "
"caractère apostrophe, désolé."
-#: ../bin/booh:418
+#: ../bin/booh:305
msgid "Handling %s from config list..."
msgstr "Prise en charge de %s selon le fichier de configuration..."
-#: ../bin/booh:425
+#: ../bin/booh:312
msgid "Examining %s..."
msgstr "Examen de %s..."
-#: ../bin/booh:451
+#: ../bin/booh:328
+msgid ""
+"Config merge: removing %s from config; use the backup file to retrieve "
+"caption info if this was a mistake"
+msgstr ""
+"Fusion de la configuration : %s a été enlevé de la configuration ; utilisez "
+"le fichier de sauvegarde pour récupérer la légende si c'était une erreur"
+
+#: ../bin/booh:338
msgid "\t%s images"
msgstr "\t%s images"
-#: ../bin/booh:453
+#: ../bin/booh:340
msgid "\t%s videos"
msgstr "\t%s vidéos"
-#: ../bin/booh:472
+#: ../bin/booh:359
msgid "Outputting in %s..."
msgstr "Écriture dans %s..."
-#: ../bin/booh:484
+#: ../bin/booh:371
msgid "\tcreating images thumbnails..."
msgstr "\tcréation des vignettes des images..."
-#: ../bin/booh:501
+#: ../bin/booh:388
msgid "\tcreating videos thumbnails..."
msgstr "\tcréation des vignettes des vidéos..."
-#: ../bin/booh:521
+#: ../bin/booh:408
msgid "small"
msgstr "petit"
-#: ../bin/booh:521
+#: ../bin/booh:408
msgid "medium"
msgstr "moyen"
-#: ../bin/booh:521
+#: ../bin/booh:408
msgid "large"
msgstr "grand"
-#: ../bin/booh:523
+#: ../bin/booh:410
msgid "\tgenerating HTML pages..."
msgstr "\tgénération des pages HTML..."
-#: ../bin/booh:530 ../lib/booh/html-merges.rb:270
+#: ../bin/booh:417 ../lib/booh/html-merges.rb:270
#: ../lib/booh/html-merges.rb:304
msgid "Run slideshow!"
msgstr "Lancer la présentation !"
-#: ../bin/booh:563
+#: ../bin/booh:450
msgid "(no preview)"
msgstr "(aucune vignette)"
-#: ../bin/booh:602
+#: ../bin/booh:489
msgid "Return to thumbnails"
msgstr "Retourner aux vignettes"
-#: ../bin/booh:624
+#: ../bin/booh:511
msgid "\tfixating configuration file..."
msgstr "\tfixation du fichier de configuration..."
-#: ../bin/booh:664
+#: ../bin/booh:551
msgid "Theme `%s' has no default size."
msgstr "Le theme `%s' n'a pas de taille par défaut."
-#: ../bin/booh:669
+#: ../bin/booh:556
msgid "\trescanning directories to generate all `index.html' files..."
msgstr ""
"\trelecture des sous-répertoires pour générer tous les fichiers `index."
"html'..."
-#: ../bin/booh:755 ../bin/booh:758
+#: ../bin/booh:642 ../bin/booh:645
msgid "Return to albums"
msgstr "Retourner aux albums"
-#: ../bin/booh:770
+#: ../bin/booh:657
msgid " all done."
msgstr " fin."
msgid "Last ->>"
msgstr "Dernier ->>"
-#: ../bin/booh-gui:180
+#: ../bin/booh-gui:183
msgid "%s (video)"
msgstr "%s (vidéo)"
-#: ../bin/booh-gui:311
+#: ../bin/booh-gui:389
msgid "Booh message"
msgstr "Message de booh"
-#: ../bin/booh-gui:370
+#: ../bin/booh-gui:452
msgid "Not a booh file!"
msgstr "Ce n'est pas un fichier de booh !"
-#: ../bin/booh-gui:374 ../bin/booh-gui:378 ../bin/booh-gui:382
-#: ../bin/booh-gui:391
+#: ../bin/booh-gui:456 ../bin/booh-gui:460 ../bin/booh-gui:464
+#: ../bin/booh-gui:477
msgid "Corrupted booh file..."
msgstr "Le fichier booh est corrompu..."
-#: ../bin/booh-gui:416
+#: ../bin/booh-gui:500
+msgid "Open file"
+msgstr "Ouverture d'un fichier"
+
+#: ../bin/booh-gui:530
msgid "_File"
msgstr "_Fichier"
-#: ../bin/booh-gui:418
+#: ../bin/booh-gui:532
msgid "_New (do nothing)"
msgstr "_Nouveau (ne fait rien)"
-#: ../bin/booh-gui:419
+#: ../bin/booh-gui:533
msgid "_Open"
msgstr "_Ouvrir"
-#: ../bin/booh-gui:421
+#: ../bin/booh-gui:535
msgid "_Save (do nothing - autosave on quit)"
msgstr "_Sauver (ne fait rien - sauvegarde automatique au moment de quitter)"
-#: ../bin/booh-gui:422
+#: ../bin/booh-gui:536
msgid "Save _as... (do nothing)"
msgstr "Sauvegarder _sous... (ne fait rien)"
-#: ../bin/booh-gui:424
+#: ../bin/booh-gui:538
msgid "_Quit"
msgstr "_Quitter"
-#: ../bin/booh-gui:429
-msgid "Open file"
-msgstr "Ouverture d'un fichier"
+#: ../bin/booh-gui:552
+msgid "Open"
+msgstr "Ouvrir"
+
+#: ../bin/booh-gui:558 ../bin/booh-gui:561
+msgid "Rotate"
+msgstr "Tourner"
+
+#: ../bin/booh-gui:563
+msgid "Delete"
+msgstr "Supprimer"
-#: ../bin/booh-gui:523
+#: ../bin/booh-gui:566
+msgid "None"
+msgstr "Aucun"
+
+#: ../bin/booh-gui:572
+msgid ""
+"<b>One-Click tools.</b>\n"
+"\n"
+"You have just clicked on a One-Click tool. When such a tool is activated\n"
+"(<span foreground=\"darkblue\">Rotate clockwise</span>, <span "
+"foreground=\"darkblue\">Rotate counter-clockwise</span>, or <span "
+"foreground=\"darkblue\">Delete</span>), clicking on a\n"
+"thumbnail will immediately apply the desired action.\n"
+"\n"
+"Click the <span foreground=\"darkblue\">None</span> icon when you're finished "
+"with One-Click tools.\n"
+msgstr ""
+"<b>Outils Un-Click.</b>\n"
+"\n"
+"Vous venez de cliquer sur un outil Un-Click. Lorsqu'un tel outil est\n"
+"activé (<span foreground=\"darkblue\">Tourner dans le sens horaire</span>, "
+"<span foreground=\"darkblue\">Tourner dans le sens anti-horaire</span>,\n"
+"ou <span foreground=\"darkblue\">Supprimer</span>), un clic sur une vignette "
+"déclenchera immédiatement\n"
+"l'action désirée.\n"
+"\n"
+"Cliquez sur l'icône <span foreground=\"darkblue\">Aucun</span> lorsque vous "
+"aurez fini avec les outils\n"
+"Un-Click.\n"
+
+#: ../bin/booh-gui:692
msgid "Ready."
msgstr "Prêt."
-#: ../lib/booh/booh-lib.rb:63
+#: ../lib/booh/booh-lib.rb:55
msgid "\t***ERROR***: %s\n"
msgstr "\t***ERREUR*** : %s\n"
-#: ../lib/booh/booh-lib.rb:65
+#: ../lib/booh/booh-lib.rb:57
msgid "\tWarning: %s\n"
msgstr "\tAvertissement : %s\n"
-#: ../lib/booh/booh-lib.rb:75
+#: ../lib/booh/booh-lib.rb:67
msgid "\t***ERROR***: %s"
msgstr "\t***ERREUR*** : %s"
-#: ../lib/booh/booh-lib.rb:77
+#: ../lib/booh/booh-lib.rb:69
msgid "\tWarning: %s"
msgstr "\tAvertissement : %s"
-#: ../lib/booh/booh-lib.rb:91
+#: ../lib/booh/booh-lib.rb:83
msgid "Selecting theme `%s'"
msgstr "Sélection du thème `%s'"
-#: ../lib/booh/booh-lib.rb:94
+#: ../lib/booh/booh-lib.rb:86
msgid "Theme was not found (tried %s directory)."
msgstr "Thème non trouvé (le répertoire %s a été essayé)."
+
+#: ../lib/booh/booh-lib.rb:134
+msgid "forgetting runaway process (transcode sucks again?)"
+msgstr ""
+"laissons tomber ce processus qui tourne en rond (transcode sux encore une "
+"fois ?)"
+
+#: ../lib/booh/booh-lib.rb:186
+msgid ""
+"* could not extract first image of video %s with transcode, will try first "
+"converting with mencoder"
+msgstr ""
+"* impossible d'extraire la première image de la vidéo %s avec transcode, je "
+"vais tenter le coup en convertissant d'abord avec mencoder"
+
+#: ../lib/booh/booh-lib.rb:196
+msgid "could not extract first image of video %s encoded by mencoder"
+msgstr ""
+"impossible d'extraire la première image de la vidéo %s encodée par mencoder"
+
+#: ../lib/booh/booh-lib.rb:200
+msgid "could not make mencoder to encode %s to mpeg4"
+msgstr "impossible d'encoder %s en mpeg4 avec mencoder"