>From f8992a864b5c64ca2bae76f7ba93711639ce769a Mon Sep 17 00:00:00 2001
From: Jiri Moskovcak <jmoskovc@redhat.com>
Date: Mon, 5 Sep 2011 14:27:46 +0200
Subject: [PATCH] wizard: make page titles translatable rhbz#734789

---
 po/cs.po                    |  943 ++++++++++++++++++++++++++++++++++++-------
 src/gui-wizard-gtk/wizard.c |   51 ++-
 2 files changed, 827 insertions(+), 167 deletions(-)

diff --git a/po/cs.po b/po/cs.po
index de84c3b..6086491 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -1,95 +1,85 @@
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
-# 
+#
 msgid ""
 msgstr ""
 "Project-Id-Version: libreport\n"
-"Report-Msgid-Bugs-To: https://fedorahosted.org/abrt/report\n"
-"POT-Creation-Date: 2011-06-16 12:17+0200\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-09-05 13:56+0200\n"
 "PO-Revision-Date: 2011-06-16 11:21+0000\n"
 "Last-Translator: jmoskovc <jmoskovc@redhat.com>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: cs\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Language: cs\n"
 "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2\n"
 
-#: ../src/cli/cli.c:167
+#: ../src/cli/cli.c:48
 msgid ""
-"\\1 [-vsp] -l[f] [-D BASE_DIR]...\n"
-"or: \\1 [-vsp] -i[f] DUMP_DIR\n"
-"or: \\1 [-vsp] -L[PREFIX] [DUMP_DIR]\n"
-"or: \\1 [-vsp] -e EVENT DUMP_DIR\n"
-"or: \\1 [-vsp] -a[y] DUMP_DIR\n"
-"or: \\1 [-vsp] -r[y] DUMP_DIR\n"
-"or: \\1 [-vsp] -d DUMP_DIR"
+" [-vsp] -L[PREFIX] [DUMP_DIR]\n"
+"   or:  [-vsp] -e EVENT DUMP_DIR\n"
+"   or:  [-vsp] -a[y] DUMP_DIR\n"
+"   or:  [-vsp] -c[y] DUMP_DIR\n"
+"   or:  [-vsp] -r[y|o|d] DUMP_DIR"
 msgstr ""
 
 #. short_name long_name  value    parameter_name  help
-#: ../src/cli/cli.c:196
-msgid "List not yet reported problems, or all with -f"
-msgstr ""
-
-#: ../src/cli/cli.c:197
-msgid "Directory to list problems from (default: -D $HOME/.abrt/spool -D "
-msgstr ""
-
-#: ../src/cli/cli.c:198
-msgid "Print information about DUMP_DIR (detailed with -f)"
-msgstr ""
-
-#: ../src/cli/cli.c:199
+#: ../src/cli/cli.c:73
 msgid "List possible events [which start with PREFIX]"
 msgstr ""
 
-#: ../src/cli/cli.c:200
+#: ../src/cli/cli.c:74
 msgid "Run EVENT on DUMP_DIR"
 msgstr ""
 
-#: ../src/cli/cli.c:201
+#: ../src/cli/cli.c:75
 msgid "Run analyze event(s) on DUMP_DIR"
 msgstr ""
 
-#: ../src/cli/cli.c:202
-msgid "Send a report about DUMP_DIR"
+#: ../src/cli/cli.c:76
+msgid "Run collect event(s) on DUMP_DIR"
 msgstr ""
 
-#: ../src/cli/cli.c:203
-msgid "Remove DUMP_DIR"
+#: ../src/cli/cli.c:77
+msgid "Analyze, collect and report problem data in DUMP_DIR"
 msgstr ""
 
-#: ../src/cli/cli.c:204
+#: ../src/cli/cli.c:78
 msgid "Display version and exit"
 msgstr ""
 
-#: ../src/cli/cli.c:205
-msgid "Full listing"
+#: ../src/cli/cli.c:79
+msgid "Remove DUMP_DIR after reporting"
 msgstr ""
 
-#: ../src/cli/cli.c:206
+#: ../src/cli/cli.c:80
 msgid "Noninteractive: don't ask questions, assume 'yes'"
 msgstr ""
 
-#: ../src/cli/cli.c:208
+#: ../src/cli/cli.c:81
+msgid "With -r: do not run analyzers, run only reporters"
+msgstr ""
+
+#: ../src/cli/cli.c:83
 msgid "Log to syslog"
 msgstr "Protokolovat do syslogu"
 
-#: ../src/cli/cli.c:209 ../src/gui-wizard-gtk/main.c:111
+#: ../src/cli/cli.c:84 ../src/gui-wizard-gtk/main.c:111
 msgid "Add program names to log"
 msgstr "Přidá názvy programů do protokolu"
 
-#: ../src/cli/report.c:131
+#: ../src/cli/cli-report.c:132
 #, c-format
 msgid "# This field is read only\n"
 msgstr "# Tento údaj je jen pro čtení\n"
 
-#: ../src/cli/report.c:151
+#: ../src/cli/cli-report.c:152
 msgid "# Describe the circumstances of this crash below"
 msgstr "# Okolnosti pádu popište níže"
 
-#: ../src/cli/report.c:153
+#: ../src/cli/cli-report.c:154
 msgid ""
 "# Backtrace\n"
 "# Check that it does not contain any sensitive data (passwords, etc.)"
@@ -97,48 +87,48 @@ msgstr ""
 "# Výpis volání\n"
 "# Ujistěte se, že neobsahuje žádné citlivé údaje (hesla atd.)"
 
-#: ../src/cli/report.c:155
+#: ../src/cli/cli-report.c:156
 msgid "# Architecture"
 msgstr "# Architektura"
 
-#: ../src/cli/report.c:156
+#: ../src/cli/cli-report.c:157
 msgid "# Command line"
 msgstr "# Příkaz"
 
-#: ../src/cli/report.c:157
+#: ../src/cli/cli-report.c:158
 msgid "# Component"
 msgstr "# Komponenta"
 
-#: ../src/cli/report.c:158
+#: ../src/cli/cli-report.c:159
 msgid "# Core dump"
 msgstr "# Obraz paměti"
 
-#: ../src/cli/report.c:159
+#: ../src/cli/cli-report.c:160
 msgid "# Executable"
 msgstr "# Program"
 
-#: ../src/cli/report.c:160
+#: ../src/cli/cli-report.c:161
 msgid "# Kernel version"
 msgstr "# Verze jádra"
 
-#: ../src/cli/report.c:161
+#: ../src/cli/cli-report.c:162
 msgid "# Package"
 msgstr "# Balíček"
 
-#: ../src/cli/report.c:162
+#: ../src/cli/cli-report.c:163
 msgid "# Reason of crash"
 msgstr "# Příčina pádu"
 
-#: ../src/cli/report.c:163
+#: ../src/cli/cli-report.c:164
 msgid "# Release string of the operating system"
 msgstr "# Název vydání operačního systému"
 
-#: ../src/cli/report.c:276
+#: ../src/cli/cli-report.c:277
 msgid "Cannot run vi: $TERM, $VISUAL and $EDITOR are not set"
 msgstr ""
 "Nebylo možné spustit vi: Ani $TERM, ani $VISUAL, ani $EDITOR není nastavena"
 
-#: ../src/cli/report.c:360
+#: ../src/cli/cli-report.c:361
 msgid ""
 "\n"
 "The report has been updated"
@@ -146,7 +136,7 @@ msgstr ""
 "\n"
 "Hlášení bylo aktualizováno"
 
-#: ../src/cli/report.c:362
+#: ../src/cli/cli-report.c:363
 msgid ""
 "\n"
 "No changes were detected in the report"
@@ -155,67 +145,82 @@ msgstr ""
 "V hlášení nebyly nalezeny žádné změny"
 
 #. The response might take more than 1 char in non-latin scripts.
-#: ../src/cli/report.c:394
+#: ../src/cli/cli-report.c:395 ../src/gui-wizard-gtk/wizard.c:1353
+#: ../src/lib/client.c:48 ../src/lib/run_event.c:476
 msgid "y"
 msgstr "a"
 
-#: ../src/cli/report.c:395
+#: ../src/cli/cli-report.c:396 ../src/lib/client.c:49
+#: ../src/lib/run_event.c:476
 msgid "N"
 msgstr "N"
 
-#: ../src/cli/report.c:517
+#: ../src/cli/cli-report.c:500
 msgid "Your input is not valid, because of:"
 msgstr "Váš vstup není platný, protože:"
 
-#: ../src/cli/report.c:520
+#: ../src/cli/cli-report.c:503
 #, c-format
 msgid "Bad value for '%s': %s"
 msgstr "Chybná hodnota „%s“: %s"
 
-#: ../src/cli/report.c:617
+#: ../src/cli/cli-report.c:605
 #, c-format
 msgid "How you would like to analyze the problem?\n"
 msgstr ""
 
-#: ../src/cli/report.c:635
+#: ../src/cli/cli-report.c:623
 msgid "Select analyzer: "
 msgstr ""
 
-#: ../src/cli/report.c:642
+#: ../src/cli/cli-report.c:630
 #, c-format
 msgid "You have chosen number out of range"
 msgstr ""
 
-#: ../src/cli/report.c:651
+#: ../src/cli/cli-report.c:639
 msgid "Invalid input, program exiting..."
 msgstr ""
 
-#: ../src/cli/report.c:761 ../src/gui-wizard-gtk/wizard.c:1301
+#: ../src/cli/cli-report.c:704
+msgid "What additional information would you like to collect?"
+msgstr ""
+
+#: ../src/cli/cli-report.c:717
+msgid "Select collector(s): "
+msgstr ""
+
+#: ../src/cli/cli-report.c:778
+#, c-format
+msgid "There were %d errors while collecting additional data\n"
+msgstr ""
+
+#: ../src/cli/cli-report.c:837 ../src/gui-wizard-gtk/wizard.c:1751
 msgid "Reporting..."
 msgstr "Nahlašuje se…"
 
-#: ../src/cli/report.c:774
+#: ../src/cli/cli-report.c:852 ../src/report-newt/report-newt.c:55
 msgid "How would you like to report the problem?"
 msgstr ""
 
-#: ../src/cli/report.c:784
+#: ../src/cli/cli-report.c:862
 msgid "Select reporter(s): "
 msgstr ""
 
-#: ../src/cli/report.c:804
+#: ../src/cli/cli-report.c:878
 msgid "Reporting disabled because the backtrace is unusable"
 msgstr "Nahlašování zakázáno, protože výpis volání není použitelný"
 
-#: ../src/cli/report.c:808
+#: ../src/cli/cli-report.c:882
 #, c-format
 msgid ""
 "Please try to install debuginfo manually using the command: \"debuginfo-"
 "install %s\" and try again\n"
 msgstr ""
-"Zkuste nainstalovat balíčky s ladicími údaji ručně pomocí „debuginfo-install"
-" %s“ a zkuste to znovu\n"
+"Zkuste nainstalovat balíčky s ladicími údaji ručně pomocí „debuginfo-install "
+"%s“ a zkuste to znovu\n"
 
-#: ../src/cli/report.c:830
+#: ../src/cli/cli-report.c:904
 #, c-format
 msgid "Problem reported via %d report events (%d errors)\n"
 msgstr ""
@@ -224,35 +229,25 @@ msgstr ""
 msgid "Show password"
 msgstr "Zobrazit heslo"
 
-#: ../src/gtk-helpers/event_config_dialog.c:343
+#: ../src/gtk-helpers/event_config_dialog.c:380
+msgid "Gnome Keyring is not available, your settings won't be saved!"
+msgstr ""
+
+#: ../src/gtk-helpers/event_config_dialog.c:413
 msgid "Event Configuration"
 msgstr "Nastavení událostí"
 
-#: ../src/gtk-helpers/event_config_dialog.c:368
+#: ../src/gtk-helpers/event_config_dialog.c:438
 msgid "Event"
 msgstr "Událost"
 
-#: ../src/gtk-helpers/event_config_dialog.c:402
+#: ../src/gtk-helpers/event_config_dialog.c:472
 msgid "Configure E_vent"
 msgstr "Nasta_vit událost"
 
-#: ../src/gtk-helpers/event_config_dialog.c:425
-#, c-format
-msgid ""
-"Wrong settings detected for %s, reporting will probably fail if you continue"
-" with the current configuration."
-msgstr ""
-
-#: ../src/gtk-helpers/event_config_dialog.c:429
-#, c-format
+#: ../src/gui-wizard-gtk/main.c:95
 msgid ""
-"Wrong settings detected for <b>%s</b>, reporting will probably fail if you "
-"continue with the current configuration."
-msgstr ""
-
-#: ../src/gui-wizard-gtk/main.c:96
-msgid ""
-"\\1 [-vp] [-g GUI_FILE] [-o|--report-only] [-n|--prgname] DIR\n"
+" [-vpod] [-g GUI_FILE] [-n PROG_NAME] DIR\n"
 "\n"
 "GUI tool to analyze and report problem saved in specified DIR"
 msgstr ""
@@ -262,18 +257,104 @@ msgid "Alternate GUI file"
 msgstr "Náhradní soubor s GUI"
 
 #. for use from 3rd party apps to show just a reporter selector
-#: ../src/gui-wizard-gtk/main.c:113
-msgid "Use wizard to report pre-filled problem data"
+#: ../src/gui-wizard-gtk/main.c:113 ../src/report-newt/report-newt.c:363
+msgid "Skip analyze steps, go through report steps only"
 msgstr ""
 
 #. override the default prgname, so it's the same as the application
-#. which is calling us
-#. 
+#. * which is calling us
+#.
 #: ../src/gui-wizard-gtk/main.c:117
 msgid "Override the default prgname"
 msgstr ""
 
-#: ../src/gui-wizard-gtk/wizard.c:233
+#: ../src/gui-wizard-gtk/main.c:118 ../src/report-newt/report-newt.c:364
+msgid "Remove DIR after reporting"
+msgstr ""
+
+#. Page types:
+#. * CONTENT: normal page (has all btns: [Cancel] [Last] [Back] [Fwd])
+#. * INTRO: only [Fwd] button is shown
+#. *   (we use these where we want to suppress [Back]-navigation)
+#. * CONFIRM: has [Apply] instead of [Fwd] and emits "apply" signal
+#. * PROGRESS: skipped on [Back] navigation
+#. * SUMMARY: has only [Close] button
+#. *
+#. * Note that we suppress [Cancel] everywhere once and for all
+#. * using gtk_assistant_commit at init time.
+#.
+#. glade element name     , on-screen text          , type
+#: ../src/gui-wizard-gtk/wizard.c:207
+#, fuzzy
+msgid "Problem description"
+msgstr "(žádný popis)"
+
+#: ../src/gui-wizard-gtk/wizard.c:208
+msgid "Provide additional information"
+msgstr ""
+
+#: ../src/gui-wizard-gtk/wizard.c:209
+msgid "Select analyzer"
+msgstr "Zvolte analyzer"
+
+#: ../src/gui-wizard-gtk/wizard.c:210
+#, fuzzy
+msgid "Analyzing"
+msgstr "Analyzuje se…"
+
+#: ../src/gui-wizard-gtk/wizard.c:211
+msgid "Select collector"
+msgstr ""
+
+#: ../src/gui-wizard-gtk/wizard.c:212
+msgid "Collecting"
+msgstr ""
+
+#. Some reporters don't need backtrace, we can skip bt page for them.
+#. * Therefore we want to know reporters _before_ we go to bt page
+#.
+#: ../src/gui-wizard-gtk/wizard.c:216
+msgid "Select reporter"
+msgstr "Zvolte reporter"
+
+#: ../src/gui-wizard-gtk/wizard.c:217
+#, fuzzy
+msgid "Review the backtrace"
+msgstr "Znovu vytvořit výpis volání"
+
+#: ../src/gui-wizard-gtk/wizard.c:218
+msgid "Confirm data to report"
+msgstr "Kontrola odesílaných dat"
+
+#. Was GTK_ASSISTANT_PAGE_PROGRESS, but we want to allow returning to it
+#: ../src/gui-wizard-gtk/wizard.c:220 ../src/report-newt/report-newt.c:256
+msgid "Reporting"
+msgstr "Nahlašuje se…"
+
+#: ../src/gui-wizard-gtk/wizard.c:221
+msgid "Reporting done"
+msgstr "Nahlášeno"
+
+#: ../src/gui-wizard-gtk/wizard.c:293
+#, c-format
+msgid ""
+"Wrong settings detected for %s, reporting will probably fail if you continue "
+"with the current configuration."
+msgstr ""
+
+#: ../src/gui-wizard-gtk/wizard.c:297
+#, c-format
+msgid ""
+"Wrong settings detected for <b>%s</b>, reporting will probably fail if you "
+"continue with the current configuration."
+msgstr ""
+
+#: ../src/gui-wizard-gtk/wizard.c:314
+#, fuzzy, c-format
+msgid "Con_figure %s"
+msgstr "Nas_tavit %s"
+
+#: ../src/gui-wizard-gtk/wizard.c:353
 #, c-format
 msgid ""
 "Need writable directory, but '%s' is not writable. Move it to '%s' and "
@@ -282,84 +363,112 @@ msgstr ""
 "Je třeba zapisovatelný adresář, ale do „%s“ nelze zapsat. Přesunout jej do "
 "„%s“ a pracovat nad přesunutou kopií?"
 
-#: ../src/gui-wizard-gtk/wizard.c:577
+#: ../src/gui-wizard-gtk/wizard.c:557
+msgid "View/edit a text file"
+msgstr "Zobrazit/editovat soubor"
+
+#: ../src/gui-wizard-gtk/wizard.c:816
 #, c-format
 msgid "(not needed, '%s' already exists)"
 msgstr ""
 
-#: ../src/gui-wizard-gtk/wizard.c:641
-msgid "Go to reporting step"
-msgstr ""
+#: ../src/gui-wizard-gtk/wizard.c:881
+msgid "Go to next step"
+msgstr "Další krok"
 
-#: ../src/gui-wizard-gtk/wizard.c:698
+#: ../src/gui-wizard-gtk/wizard.c:938
 msgid "(click here to view/edit)"
 msgstr "(kliknout zde pro zobrazení/úpravy)"
 
-#: ../src/gui-wizard-gtk/wizard.c:708
+#: ../src/gui-wizard-gtk/wizard.c:948
 #, c-format
 msgid "(binary file, %llu bytes)"
 msgstr "(binární soubor, %'llu bajtů)"
 
-#: ../src/gui-wizard-gtk/wizard.c:722
+#: ../src/gui-wizard-gtk/wizard.c:1016
 msgid "(no description)"
 msgstr "(žádný popis)"
 
-#: ../src/gui-wizard-gtk/wizard.c:727
+#: ../src/gui-wizard-gtk/wizard.c:1021
 #, c-format
 msgid "%llu bytes, %u files"
 msgstr "%'llu bajtů, %'u souborů"
 
 #. TODO: better msg?
-#: ../src/gui-wizard-gtk/wizard.c:1086
+#: ../src/gui-wizard-gtk/wizard.c:1526
 #, c-format
 msgid "No processing for event '%s' is defined"
 msgstr "Pro událost „%s“ není určen způsob zpracování"
 
-#. bt is usable, but not complete, so show a warning
-#: ../src/gui-wizard-gtk/wizard.c:1187
+#: ../src/gui-wizard-gtk/wizard.c:1631
+#, c-format
+msgid "Reporting disabled because the rating does not contain a number '%s'."
+msgstr "Odeslání hlášení není povoleno, protože rating obsahuje nepovolenou hodnotu: '%s'."
+
+#: ../src/gui-wizard-gtk/wizard.c:1640
 msgid ""
 "The backtrace is incomplete, please make sure you provide the steps to "
 "reproduce."
 msgstr ""
-"Výpis volání není úplný, prosím ujistěte se, že jste dostatečně popsaly "
+"Výpis volání není úplný, prosím ujistěte se, že jste dostatečně popsali "
 "postup, jak problém vyvolat."
 
 #. FIXME: see CreporterAssistant: 394 for ideas
-#: ../src/gui-wizard-gtk/wizard.c:1192
+#: ../src/gui-wizard-gtk/wizard.c:1647
 msgid "Reporting disabled because the backtrace is unusable."
 msgstr "Odeslání hlášení není povoleno, protože výpis volání je nepoužitelný."
 
-#: ../src/gui-wizard-gtk/wizard.c:1201
-msgid "You should check the backtrace for sensitive data."
-msgstr "Ve výpisu volání byste měli zkontrolovat citlivá data."
-
-#: ../src/gui-wizard-gtk/wizard.c:1202
-msgid "You must agree with sending the backtrace."
-msgstr "S odesláním výpisu volání musíte souhlasit."
-
-#: ../src/gui-wizard-gtk/wizard.c:1274
+#: ../src/gui-wizard-gtk/wizard.c:1724
 msgid "Analyzing..."
 msgstr "Analyzuje se…"
 
-#: ../src/gui-wizard-gtk/wizard.c:1275
+#: ../src/gui-wizard-gtk/wizard.c:1725
 #, c-format
 msgid "Analyzing finished with exit code %d"
 msgstr "Analýza skončila s návratovým kódem %d"
 
-#: ../src/gui-wizard-gtk/wizard.c:1302
+#: ../src/gui-wizard-gtk/wizard.c:1752
 #, c-format
 msgid "Reporting finished with exit code %d"
 msgstr "Nahlašování skončilo s návratovým kódem %d"
 
-#: ../src/gui-wizard-gtk/wizard.c:1704
+#: ../src/gui-wizard-gtk/wizard.c:1779
+msgid "Collecting..."
+msgstr "Sběr informací.."
+
+#: ../src/gui-wizard-gtk/wizard.c:1780
+#c-format
+msgid "Collecting finished with exit code %d"
+msgstr "Sběr informací skončil s návratovým kódem %d"
+
+#: ../src/gui-wizard-gtk/wizard.c:2113
+#, c-format
+msgid "'%s' is not an ordinary file"
+msgstr ""
+
+#: ../src/gui-wizard-gtk/wizard.c:2129
+msgid "You are trying to copy a file onto itself"
+msgstr ""
+
+#: ../src/gui-wizard-gtk/wizard.c:2136
+#, c-format
+msgid "Can't copy '%s': %s"
+msgstr ""
+
+#: ../src/gui-wizard-gtk/wizard.c:2150
+#, c-format
+msgid "Item '%s' already exists and is not modifiable"
+msgstr ""
+
+#: ../src/gui-wizard-gtk/wizard.c:2360
 msgid "Include"
 msgstr ""
 
-#: ../src/gui-wizard-gtk/wizard.c:1714
+#: ../src/gui-wizard-gtk/wizard.c:2370
 msgid "Name"
 msgstr "Název"
 
-#: ../src/gui-wizard-gtk/wizard.c:1721
+#: ../src/gui-wizard-gtk/wizard.c:2378
 msgid "Value"
 msgstr "Hodnota"
 
@@ -376,6 +485,10 @@ msgid "Analyzing did not start yet"
 msgstr "Analýza ještě nezačala"
 
 #: ../src/gui-wizard-gtk/wizard.glade.h:3
+msgid "Attach a file"
+msgstr ""
+
+#: ../src/gui-wizard-gtk/wizard.glade.h:4
 msgid ""
 "Backtrace provides developers with details of the crash, helping them track "
 "down the source of the problem. Please review it and remove any sensitive "
@@ -385,7 +498,7 @@ msgstr ""
 "příčiny problému. Prosím, prohlédněte jej a odstraňte jakékoliv citlivé "
 "údaje, které byste raději udrželi v soukromí:"
 
-#: ../src/gui-wizard-gtk/wizard.glade.h:4
+#: ../src/gui-wizard-gtk/wizard.glade.h:5
 msgid ""
 "Can create more informative backtrace if you installed additional debug "
 "packages"
@@ -393,36 +506,44 @@ msgstr ""
 "Bylo by možné vytvořit podrobnější výpis volání, kdybyste nainstalovali "
 "další ladicí balíčky"
 
-#: ../src/gui-wizard-gtk/wizard.glade.h:5
+#: ../src/gui-wizard-gtk/wizard.glade.h:6
 msgid "Click 'Apply' to start reporting"
 msgstr "Proces hlášení započnete kliknutím na „Aplikovat“."
 
-#: ../src/gui-wizard-gtk/wizard.glade.h:6
-msgid "Configure _Events"
-msgstr "Nastavit _události"
-
 #: ../src/gui-wizard-gtk/wizard.glade.h:7
+#, fuzzy
+msgid "Collecting did not start yet"
+msgstr "Ohlašování ještě nezapočalo"
+
+#: ../src/gui-wizard-gtk/wizard.glade.h:8
 msgid "Details"
 msgstr "Podrobnosti"
 
-#: ../src/gui-wizard-gtk/wizard.glade.h:8
+#: ../src/gui-wizard-gtk/wizard.glade.h:9
 msgid ""
 "How did this problem happen (step-by-step)? How can it be reproduced? Any "
 "additional comments useful for diagnosing the problem?"
 msgstr ""
 
-#: ../src/gui-wizard-gtk/wizard.glade.h:9
-msgid "I _agree with submitting the backtrace"
-msgstr "Souhl_asím s odesláním výpisu volání"
-
 #: ../src/gui-wizard-gtk/wizard.glade.h:10
+msgid "I reviewed the data and _agree with submitting it"
+msgstr ""
+
+#: ../src/gui-wizard-gtk/wizard.glade.h:11
+msgid ""
+"If you are reporting to a remote server, make sure you removed all private "
+"data (such as usernames and passwords). Backtrace, command line, environment "
+"variables are the typical items in need of examining."
+msgstr ""
+
+#: ../src/gui-wizard-gtk/wizard.glade.h:12
 msgid ""
 "If you want to report the problem to a different destination, collect "
 "additional information, or provide a better problem description and repeat "
 "reporting process, press 'Forward'."
 msgstr ""
 
-#: ../src/gui-wizard-gtk/wizard.glade.h:11
+#: ../src/gui-wizard-gtk/wizard.glade.h:13
 msgid ""
 "On the following screens, you will be asked to describe how the problem "
 "occurred, to choose how to analyze the problem (if needed), to review "
@@ -430,35 +551,39 @@ msgid ""
 "'Forward' to proceed."
 msgstr ""
 
-#: ../src/gui-wizard-gtk/wizard.glade.h:12
+#: ../src/gui-wizard-gtk/wizard.glade.h:14
 msgid "Regenerate backtrace"
 msgstr "Znovu vytvořit výpis volání"
 
-#: ../src/gui-wizard-gtk/wizard.glade.h:13
+#: ../src/gui-wizard-gtk/wizard.glade.h:15
 msgid "Reporter(s):"
 msgstr "Ohlašovatel(é):"
 
-#: ../src/gui-wizard-gtk/wizard.glade.h:14
+#: ../src/gui-wizard-gtk/wizard.glade.h:16
 msgid "Reporting did not start yet"
 msgstr "Ohlašování ještě nezapočalo"
 
-#: ../src/gui-wizard-gtk/wizard.glade.h:15
+#: ../src/gui-wizard-gtk/wizard.glade.h:17
 msgid "Reporting has finished. You can close this window now."
 msgstr ""
 
-#: ../src/gui-wizard-gtk/wizard.glade.h:16
+#: ../src/gui-wizard-gtk/wizard.glade.h:18
+msgid "Select additional files to attach to the report:"
+msgstr ""
+
+#: ../src/gui-wizard-gtk/wizard.glade.h:19
 msgid "Select how you would like to analyze the problem:"
 msgstr "Vyberte, jak byste chtěli problém analyzovat:"
 
-#: ../src/gui-wizard-gtk/wizard.glade.h:17
+#: ../src/gui-wizard-gtk/wizard.glade.h:20
 msgid "Select how you would like to report the problem:"
 msgstr "Vyberte, jak byste chtěli problém nahlásit:"
 
-#: ../src/gui-wizard-gtk/wizard.glade.h:18
+#: ../src/gui-wizard-gtk/wizard.glade.h:21
 msgid "Size:"
 msgstr "Velikost:"
 
-#: ../src/gui-wizard-gtk/wizard.glade.h:19
+#: ../src/gui-wizard-gtk/wizard.glade.h:22
 msgid ""
 "Use this button to generate more informative backtrace after you installed "
 "additional debug packages"
@@ -466,35 +591,561 @@ msgstr ""
 "Po instalaci dodatečných ladicích balíku lze tímto tlačítkem vytvořit "
 "podrobnější výpis volání."
 
-#: ../src/gui-wizard-gtk/wizard.glade.h:20
+#: ../src/gui-wizard-gtk/wizard.glade.h:23
 msgid "You need to fill the how to before you can proceed..."
 msgstr ""
 
-#: ../src/lib/event_config.c:298
+#: ../src/lib/event_config.c:300
 msgid "Missing mandatory value"
 msgstr "Chybí povinná hodnota"
 
-#: ../src/lib/event_config.c:306
+#: ../src/lib/event_config.c:308
 #, c-format
 msgid "Invalid utf8 character '%c'"
 msgstr "Neplatný UTF-8 znak „%c“"
 
-#: ../src/lib/event_config.c:319
+#: ../src/lib/event_config.c:321
 #, c-format
 msgid "Invalid number '%s'"
 msgstr "Neplatné číslo „%s“"
 
-#: ../src/lib/event_config.c:331
+#: ../src/lib/event_config.c:336
 #, c-format
 msgid "Invalid boolean value '%s'"
 msgstr "Neplatná pravdivostní hodnota „%s“"
 
-#: ../src/lib/event_config.c:337
+#: ../src/lib/event_config.c:342
 msgid "Unsupported option type"
 msgstr "Nepodporovaný druh přepínače"
 
-#: ../src/lib/parse_options.c:60
+#: ../src/lib/parse_options.c:58
 msgid "Usage: "
 msgstr ""
 
+#: ../src/lib/abrt_curl.c:170 ../src/plugins/reporter-upload.c:41
+#, c-format
+msgid "Uploaded: %llu of %llu kbytes"
+msgstr ""
+
+#: ../src/plugins/report.c:30
+msgid ""
+" [-v] --target TARGET --ticket ID FILE...\n"
+"\n"
+"Uploads FILEs to specified ticket on TARGET.\n"
+"\n"
+"This tool is provided to ease transition of users of report package\n"
+"to libreport. Recognized TARGETs are 'strata' and 'bugzilla',\n"
+"first one invokes upload to RHTSupport and second - to Bugzilla.\n"
+"\n"
+"Configuration (such as login data) can be supplied via files\n"
+msgstr ""
+
+#: ../src/plugins/report.c:52
+msgid "'strata' or 'bugzilla'"
+msgstr ""
+
+#: ../src/plugins/report.c:53
+msgid "Ticket/case ID"
+msgstr ""
+
+#: ../src/plugins/report_Bugzilla.xml.in.h:1
+msgid "Address of Bugzilla server"
+msgstr ""
+
+#: ../src/plugins/report_Bugzilla.xml.in.h:2
+msgid "Bugzilla"
+msgstr ""
+
+#: ../src/plugins/report_Bugzilla.xml.in.h:3
+msgid "Bugzilla URL"
+msgstr ""
+
+#: ../src/plugins/report_Bugzilla.xml.in.h:4
+msgid "Bugzilla account password"
+msgstr ""
+
+#: ../src/plugins/report_Bugzilla.xml.in.h:5
+msgid "Bugzilla account user name"
+msgstr ""
+
+#: ../src/plugins/report_Bugzilla.xml.in.h:6
+#: ../src/plugins/report_RHTSupport.xml.in.h:2
+msgid "Check SSL key validity"
+msgstr ""
+
+#: ../src/plugins/report_Bugzilla.xml.in.h:7
+#: ../src/plugins/report_RHTSupport.xml.in.h:3
+#, fuzzy
+msgid "Password"
+msgstr "Zobrazit heslo"
+
+#: ../src/plugins/report_Bugzilla.xml.in.h:8
+msgid "Report to Bugzilla bug tracker"
+msgstr ""
+
+#: ../src/plugins/report_Bugzilla.xml.in.h:9
+msgid "User name"
+msgstr ""
+
+#: ../src/plugins/report_Bugzilla.xml.in.h:10
+#: ../src/plugins/report_RHTSupport.xml.in.h:10
+msgid "Verify SSL"
+msgstr ""
+
+#: ../src/plugins/report_Bugzilla.xml.in.h:11
+msgid ""
+"You can create bugzilla.redhat.com account &lt;a href=\"https://bugzilla."
+"redhat.com/createaccount.cgi\"&gt;here&lt;/a&gt;"
+msgstr ""
+
+#: ../src/plugins/report_Kerneloops.xml.in.h:1
+msgid "Kerneloops URL"
+msgstr ""
+
+#: ../src/plugins/report_Kerneloops.xml.in.h:2
+msgid "Kerneloops.org"
+msgstr ""
+
+#: ../src/plugins/report_Kerneloops.xml.in.h:3
+msgid "Oops server url"
+msgstr ""
+
+#: ../src/plugins/report_Kerneloops.xml.in.h:4
+msgid "Send kernel problems to oops tracker"
+msgstr ""
+
+#: ../src/plugins/report_Logger.xml.in.h:1
+msgid "Append"
+msgstr ""
+
+#: ../src/plugins/report_Logger.xml.in.h:2
+msgid "Append new reports or overwrite the old one."
+msgstr ""
+
+#: ../src/plugins/report_Logger.xml.in.h:3
+msgid "Log File"
+msgstr ""
+
+#: ../src/plugins/report_Logger.xml.in.h:4
+msgid "Logger"
+msgstr ""
+
+#: ../src/plugins/report_Logger.xml.in.h:5
+msgid "Name of the logfile"
+msgstr ""
+
+#: ../src/plugins/report_Logger.xml.in.h:6
+msgid "Save the report locally"
+msgstr ""
+
+#: ../src/plugins/report_Mailx.xml.in.h:1
+msgid "Mailx"
+msgstr ""
+
+#: ../src/plugins/report_Mailx.xml.in.h:2
+msgid "Message subject"
+msgstr ""
+
+#: ../src/plugins/report_Mailx.xml.in.h:3
+msgid "Recipient"
+msgstr ""
+
+#: ../src/plugins/report_Mailx.xml.in.h:4
+msgid "Recipient's email"
+msgstr ""
+
+#: ../src/plugins/report_Mailx.xml.in.h:5
+msgid "Send Binary Data"
+msgstr ""
+
+#: ../src/plugins/report_Mailx.xml.in.h:6
+msgid "Send binary files like coredump"
+msgstr ""
+
+#: ../src/plugins/report_Mailx.xml.in.h:7
+msgid "Send via email"
+msgstr ""
+
+#: ../src/plugins/report_Mailx.xml.in.h:8
+msgid "Sender"
+msgstr ""
+
+#: ../src/plugins/report_Mailx.xml.in.h:9
+msgid "Sender's email"
+msgstr ""
+
+#: ../src/plugins/report_Mailx.xml.in.h:10
+msgid "Subject"
+msgstr ""
+
+#: ../src/plugins/report_RHTSupport.xml.in.h:1
+msgid "Address of the Red Hat support portal"
+msgstr ""
+
+#: ../src/plugins/report_RHTSupport.xml.in.h:4
+msgid "RH Portal URL"
+msgstr ""
+
+#: ../src/plugins/report_RHTSupport.xml.in.h:5
+msgid "Red Hat Customer Support"
+msgstr ""
+
+#: ../src/plugins/report_RHTSupport.xml.in.h:6
+msgid "Red Hat customer password"
+msgstr ""
+
+#: ../src/plugins/report_RHTSupport.xml.in.h:7
+msgid "Red Hat customer user name"
+msgstr ""
+
+#: ../src/plugins/report_RHTSupport.xml.in.h:8
+msgid "Report to Red Hat support"
+msgstr ""
+
+#: ../src/plugins/report_RHTSupport.xml.in.h:9
+msgid "Username"
+msgstr ""
+
+#: ../src/plugins/report_Uploader.xml.in.h:1
+msgid "Report uploader"
+msgstr ""
+
+#: ../src/plugins/report_Uploader.xml.in.h:2
+msgid "URL"
+msgstr ""
+
+#: ../src/plugins/report_Uploader.xml.in.h:3
+msgid "Upload compressed report to url of choice"
+msgstr ""
+
+#: ../src/plugins/report_Uploader.xml.in.h:4
+msgid ""
+"Where do you want to upload the tarball with report in form login:"
+"password@url"
+msgstr ""
+
+#: ../src/plugins/reporter-bugzilla.c:38
+#, c-format
+msgid "Essential file '%s' is missing, can't continue.."
+msgstr ""
+
+#: ../src/plugins/reporter-bugzilla.c:42
+#, c-format
+msgid "Essential file '%s' is empty, can't continue.."
+msgstr ""
+
+#: ../src/plugins/reporter-bugzilla.c:51
+#: ../src/plugins/reporter-bugzilla.c:339
+#, c-format
+msgid "Logging into Bugzilla at %s"
+msgstr ""
+
+#: ../src/plugins/reporter-bugzilla.c:54
+msgid "Checking for duplicates"
+msgstr ""
+
+#: ../src/plugins/reporter-bugzilla.c:70
+#, fuzzy
+msgid "Missing mandatory member 'bugs'"
+msgstr "Chybí povinná hodnota"
+
+#: ../src/plugins/reporter-bugzilla.c:109
+msgid "Creating a new bug"
+msgstr ""
+
+#. decision based on state
+#: ../src/plugins/reporter-bugzilla.c:128
+#, c-format
+msgid "Bug is already reported: %i"
+msgstr ""
+
+#: ../src/plugins/reporter-bugzilla.c:146
+#, c-format
+msgid "Add %s to CC list"
+msgstr ""
+
+#: ../src/plugins/reporter-bugzilla.c:167
+#, c-format
+msgid "Adding new comment to bug %d"
+msgstr ""
+
+#: ../src/plugins/reporter-bugzilla.c:179
+#: ../src/plugins/reporter-bugzilla.c:366
+msgid "Logging out"
+msgstr ""
+
+#: ../src/plugins/reporter-bugzilla.c:213
+msgid ""
+"\n"
+" [-vb] [-c CONFFILE] -d DIR\n"
+"or:\n"
+" [-v] [-c CONFFILE] [-d DIR] -t[ID] FILE...\n"
+"\n"
+"Reports problem to Bugzilla.\n"
+"\n"
+"The tool reads DIR. Then it logs in to Bugzilla and tries to find a bug\n"
+"with the same abrt_hash:HEXSTRING in 'Whiteboard'.\n"
+"\n"
+"If such bug is not found, then a new bug is created. Elements of DIR\n"
+"are stored in the bug as part of bug description or as attachments,\n"
+"depending on their type and size.\n"
+"\n"
+"Otherwise, if such bug is found and it is marked as CLOSED DUPLICATE,\n"
+"the tool follows the chain of duplicates until it finds a non-DUPLICATE "
+"bug.\n"
+"The tool adds a new comment to found bug.\n"
+"\n"
+"The URL to new or modified bug is printed to stdout and recorded in\n"
+"'reported_to' element.\n"
+"\n"
+"If not specified, CONFFILE defaults to "
+msgstr ""
+
+#: ../src/plugins/reporter-bugzilla.c:259
+#: ../src/plugins/reporter-kerneloops.c:152
+#: ../src/plugins/reporter-mailx.c:146 ../src/plugins/reporter-print.c:48
+#: ../src/plugins/reporter-rhtsupport.c:396
+#: ../src/plugins/reporter-upload.c:268
+msgid "Dump directory"
+msgstr ""
+
+#: ../src/plugins/reporter-bugzilla.c:260
+#: ../src/plugins/reporter-rhtsupport.c:397
+msgid "Configuration file (may be given many times)"
+msgstr ""
+
+#: ../src/plugins/reporter-bugzilla.c:261
+msgid "Attach FILEs [to bug with this ID]"
+msgstr ""
+
+#: ../src/plugins/reporter-bugzilla.c:262
+msgid "When creating bug, attach binary files too"
+msgstr ""
+
+#: ../src/plugins/reporter-bugzilla.c:321
+msgid "Empty login or password, please check your configuration"
+msgstr ""
+
+#: ../src/plugins/reporter-kerneloops.c:98
+#, c-format
+msgid "Submitting oops report to %s"
+msgstr ""
+
+#: ../src/plugins/reporter-kerneloops.c:133
+msgid ""
+" [-v] [-c CONFFILE]... -d DIR\n"
+"\n"
+"Reports kernel oops to kerneloops.org (or similar) site.\n"
+"\n"
+"Files with names listed in $EXCLUDE_FROM_REPORT are not included\n"
+"into the tarball.\n"
+"\n"
+"CONFFILE lines should have 'PARAM = VALUE' format.\n"
+"Recognized string parameter: SubmitURL.\n"
+"Parameter can be overridden via $KerneloopsReporter_SubmitURL."
+msgstr ""
+
+#: ../src/plugins/reporter-kerneloops.c:153
+#, fuzzy
+msgid "Configuration file"
+msgstr "Nastavení událostí"
+
+#: ../src/plugins/reporter-mailx.c:102
+msgid "Sending an email..."
+msgstr ""
+
+#: ../src/plugins/reporter-mailx.c:134
+msgid ""
+" [-v] -d DIR [-c CONFFILE]\n"
+"\n"
+"Sends contents of a dump directory DIR via email"
+msgstr ""
+
+#: ../src/plugins/reporter-mailx.c:147 ../src/plugins/reporter-upload.c:269
+msgid "Config file"
+msgstr ""
+
+#: ../src/plugins/reporter-print.c:34
+msgid ""
+" [-v] -d DIR [-o FILE] [-a yes/no] [-r]\n"
+"\n"
+"Prints problem information to standard output or FILE"
+msgstr ""
+
+#: ../src/plugins/reporter-print.c:49
+msgid "Output file"
+msgstr ""
+
+#: ../src/plugins/reporter-print.c:50
+msgid "Append to, or overwrite FILE"
+msgstr ""
+
+#: ../src/plugins/reporter-print.c:51
+msgid "Create reported_to in DIR"
+msgstr ""
+
+#: ../src/plugins/reporter-print.c:90
+#, fuzzy, c-format
+msgid "The report was appended to %s"
+msgstr ""
+"\n"
+"Hlášení bylo aktualizováno"
+
+#: ../src/plugins/reporter-print.c:90
+#, fuzzy, c-format
+msgid "The report was stored to %s"
+msgstr ""
+"\n"
+"Hlášení bylo aktualizováno"
+
+#. create_problem_data_for_reporting already emitted error msg
+#. Gzipping e.g. 0.5gig coredump takes a while. Let client know what we are doing
+#. error msg is already logged by dd_opendir
+#. Gzipping e.g. 0.5gig coredump takes a while. Let client know what we are doing
+#: ../src/plugins/reporter-rhtsupport.c:37
+#: ../src/plugins/reporter-upload.c:115
+msgid "Compressing data"
+msgstr ""
+
+#: ../src/plugins/reporter-rhtsupport.c:79
+msgid "Can't create a temporary directory in /tmp"
+msgstr ""
+
+#. Hopefully, by this time child emitted more meaningful
+#. * error message. But just in case it didn't:
+#.
+#: ../src/plugins/reporter-rhtsupport.c:105
+#: ../src/plugins/reporter-rhtsupport.c:136
+#: ../src/plugins/reporter-rhtsupport.c:170
+#: ../src/plugins/reporter-rhtsupport.c:186
+msgid "Can't create temporary file in /tmp"
+msgstr ""
+
+#. Send tempfile
+#: ../src/plugins/reporter-rhtsupport.c:191
+msgid "Creating a new case..."
+msgstr ""
+
+#: ../src/plugins/reporter-rhtsupport.c:285
+#, c-format
+msgid "Attaching '%s' to case '%s'"
+msgstr ""
+
+#: ../src/plugins/reporter-rhtsupport.c:367
+msgid ""
+"\n"
+" [-v] [-c CONFFILE] -d DIR\n"
+"or:\n"
+" [-v] [-c CONFFILE] [-d DIR] -t[ID] FILE...\n"
+"\n"
+"Reports a problem to RHTSupport.\n"
+"\n"
+"If not specified, CONFFILE defaults to "
+msgstr ""
+
+#: ../src/plugins/reporter-rhtsupport.c:398
+msgid "Upload FILEs [to case with this ID]"
+msgstr ""
+
+#: ../src/plugins/reporter-rhtsupport.c:427
+msgid "Empty RHTS login or password"
+msgstr ""
+
+#: ../src/plugins/reporter-upload.c:59
+#, c-format
+msgid "Sending %s to %s"
+msgstr ""
+
+#. This ends up a "reporting status message" in abrtd
+#: ../src/plugins/reporter-upload.c:92
+#, c-format
+msgid "Successfully sent %s to %s"
+msgstr ""
+
+#: ../src/plugins/reporter-upload.c:214
+#, c-format
+msgid "Archive is created: '%s'"
+msgstr ""
+
+#: ../src/plugins/reporter-upload.c:247
+msgid ""
+" [-v] -d DIR [-c CONFFILE] [-u URL]\n"
+"\n"
+"Uploads compressed tarball of dump directory DIR to URL.\n"
+"If URL is not specified, creates tarball in /tmp and exits.\n"
+"\n"
+"Files with names listed in $EXCLUDE_FROM_REPORT are not included\n"
+"into the tarball.\n"
+"\n"
+"CONFFILE lines should have 'PARAM = VALUE' format.\n"
+"Recognized string parameter: URL.\n"
+"Parameter can be overridden via $Upload_URL."
+msgstr ""
+
+#: ../src/plugins/reporter-upload.c:270
+msgid "Base URL to upload to"
+msgstr ""
+
+#: ../src/plugins/rhbz.c:191
+#, c-format
+msgid "Looks like corrupted xml response, because '%s' member is missing."
+msgstr ""
+
+#: ../src/plugins/rhbz.c:259
+#, c-format
+msgid "Bug %i is CLOSED, but it has no RESOLUTION"
+msgstr ""
+
+#: ../src/plugins/rhbz.c:267
+#, c-format
+msgid "Bug %i is CLOSED as DUPLICATE, but it has no DUP_ID"
+msgstr ""
+
+#: ../src/plugins/rhbz.c:378
+#, c-format
+msgid "New bug id: %i"
+msgstr ""
+
+#: ../src/plugins/rhbz.c:503
+#, c-format
+msgid "Bugzilla couldn't find parent of bug %d"
+msgstr ""
+
+#: ../src/report-newt/report-newt.c:68 ../src/report-newt/report-newt.c:146
+#: ../src/report-newt/report-newt.c:169 ../src/report-newt/report-newt.c:259
+#: ../src/report-newt/report-newt.c:331
+msgid "Ok"
+msgstr ""
+
+#: ../src/report-newt/report-newt.c:68 ../src/report-newt/report-newt.c:146
+msgid "Cancel"
+msgstr ""
+
+#: ../src/report-newt/report-newt.c:169
+msgid "Error"
+msgstr ""
+
+#: ../src/report-newt/report-newt.c:276
+#, c-format
+msgid "--- Running %s ---"
+msgstr ""
+
+#: ../src/report-newt/report-newt.c:331
+msgid "No reporters available"
+msgstr ""
+
+#: ../src/report-newt/report-newt.c:353
+msgid ""
+" -o [-d] DIR\n"
+"\n"
+"newt tool to report problem saved in specified DIR"
+msgstr ""
+
+#~ msgid "You should check the backtrace for sensitive data."
+#~ msgstr "Ve výpisu volání byste měli zkontrolovat citlivá data."
+
+#~ msgid "You must agree with sending the backtrace."
+#~ msgstr "S odesláním výpisu volání musíte souhlasit."
 
+#~ msgid "I _agree with submitting the backtrace"
+#~ msgstr "Souhl_asím s odesláním výpisu volání"
diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
index c313bcb..06a184a 100644
--- a/src/gui-wizard-gtk/wizard.c
+++ b/src/gui-wizard-gtk/wizard.c
@@ -175,7 +175,22 @@ typedef struct
     GtkWidget *page_widget;
 } page_obj_t;
 
-static page_obj_t pages[] =
+static page_obj_t pages[NUM_PAGES];
+
+static page_obj_t *added_pages[NUM_PAGES];
+
+static struct strbuf *line = NULL;
+
+/* Utility functions */
+
+static void init_page(page_obj_t *page, const char *name, const char *title, GtkAssistantPageType type)
+{
+   page->name = name;
+   page->title = title;
+   page->type = type;
+}
+
+static void init_pages()
 {
     /* Page types:
      * CONTENT: normal page (has all btns: [Cancel] [Last] [Back] [Fwd])
@@ -189,33 +204,26 @@ static page_obj_t pages[] =
      * using gtk_assistant_commit at init time.
      */
     /* glade element name     , on-screen text          , type */
-    { PAGE_SUMMARY            , "Problem description"   , GTK_ASSISTANT_PAGE_CONTENT  },
-    { PAGE_EDIT_COMMENT,"Provide additional information", GTK_ASSISTANT_PAGE_CONTENT  },
-    { PAGE_ANALYZE_SELECTOR   , "Select analyzer"       , GTK_ASSISTANT_PAGE_CONFIRM  },
-    { PAGE_ANALYZE_PROGRESS   , "Analyzing"             , GTK_ASSISTANT_PAGE_INTRO    },
-    { PAGE_COLLECT_SELECTOR   , "Select collector"      , GTK_ASSISTANT_PAGE_CONFIRM  },
-    { PAGE_COLLECT_PROGRESS   , "Collecting"            , GTK_ASSISTANT_PAGE_INTRO    },
+    init_page(&pages[0], PAGE_SUMMARY            , _("Problem description")   , GTK_ASSISTANT_PAGE_CONTENT );
+    init_page(&pages[1], PAGE_EDIT_COMMENT,_("Provide additional information"), GTK_ASSISTANT_PAGE_CONTENT );
+    init_page(&pages[2], PAGE_ANALYZE_SELECTOR   , _("Select analyzer")       , GTK_ASSISTANT_PAGE_CONFIRM );
+    init_page(&pages[3], PAGE_ANALYZE_PROGRESS   , _("Analyzing")             , GTK_ASSISTANT_PAGE_INTRO   );
+    init_page(&pages[4], PAGE_COLLECT_SELECTOR   , _("Select collector")      , GTK_ASSISTANT_PAGE_CONFIRM );
+    init_page(&pages[5], PAGE_COLLECT_PROGRESS   , _("Collecting")            , GTK_ASSISTANT_PAGE_INTRO   );
     /* Some reporters don't need backtrace, we can skip bt page for them.
      * Therefore we want to know reporters _before_ we go to bt page
      */
-    { PAGE_REPORTER_SELECTOR  , "Select reporter"       , GTK_ASSISTANT_PAGE_CONTENT  },
-    { PAGE_EDIT_BACKTRACE     , "Review the backtrace"  , GTK_ASSISTANT_PAGE_CONTENT  },
-    { PAGE_REVIEW_DATA        , "Confirm data to report", GTK_ASSISTANT_PAGE_CONFIRM  },
+    init_page(&pages[6], PAGE_REPORTER_SELECTOR  , _("Select reporter")       , GTK_ASSISTANT_PAGE_CONTENT );
+    init_page(&pages[7], PAGE_EDIT_BACKTRACE     , _("Review the backtrace")  , GTK_ASSISTANT_PAGE_CONTENT );
+    init_page(&pages[8], PAGE_REVIEW_DATA        , _("Confirm data to report"), GTK_ASSISTANT_PAGE_CONFIRM );
     /* Was GTK_ASSISTANT_PAGE_PROGRESS, but we want to allow returning to it */
-    { PAGE_REPORT_PROGRESS    , "Reporting"             , GTK_ASSISTANT_PAGE_INTRO    },
-    { PAGE_REPORT_DONE        , "Reporting done"        , GTK_ASSISTANT_PAGE_CONTENT  },
+    init_page(&pages[9], PAGE_REPORT_PROGRESS    , _("Reporting")             , GTK_ASSISTANT_PAGE_INTRO   );
+    init_page(&pages[10], PAGE_REPORT_DONE        , _("Reporting done")        , GTK_ASSISTANT_PAGE_CONTENT );
     /* We prevent user from reaching this page, as SUMMARY can't be navigated away
      * (must be always closed) and we don't want that
      */
-    { PAGE_NOT_SHOWN          , ""                      , GTK_ASSISTANT_PAGE_SUMMARY  },
-    { NULL }
-};
-
-static page_obj_t *added_pages[NUM_PAGES];
-
-static struct strbuf *line = NULL;
-
-/* Utility functions */
+    init_page(&pages[11], PAGE_NOT_SHOWN          , ""                      , GTK_ASSISTANT_PAGE_SUMMARY );
+}
 
 static void wrap_fixer(GtkWidget *widget, gpointer data_unused)
 {
@@ -2395,6 +2403,7 @@ static void create_details_treeview(void)
 
 void create_assistant(void)
 {
+    init_pages();
     monospace_font = pango_font_description_from_string("monospace");
 
     builder = gtk_builder_new();
-- 
1.7.6.1

