From 1eb4e1aea556272f57ec77ddc91e790e228d7505 Mon Sep 17 00:00:00 2001 From: Curtis Gedak Date: Sun, 20 Apr 2008 16:11:23 +0000 Subject: [PATCH] Improved abilility to translate text svn path=/trunk/; revision=825 --- ChangeLog | 5 +++++ src/Dialog_Disklabel.cc | 15 +++------------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 83877bca..1a267a6a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-04-20 Curtis Gedak + + * src/Dialog_Disklabel.cc: Improved ability to translate text + - Closes GParted bug #529063 + 2008-04-18 Curtis Gedak * src/Dialog_Disklabel.cc, diff --git a/src/Dialog_Disklabel.cc b/src/Dialog_Disklabel.cc index 7b00992b..5434f970 100644 --- a/src/Dialog_Disklabel.cc +++ b/src/Dialog_Disklabel.cc @@ -78,23 +78,14 @@ Dialog_Disklabel::Dialog_Disklabel( const Glib::ustring & device_path, const std //standard warning str_temp = "\n" ; - str_temp += _("Choosing ") ; - str_temp += "" ; - /*TO TRANSLATORS: This is the name of the button Gtk::RESPONSE_OK below. */ - str_temp += _("Create") ; - str_temp += "" ; - str_temp += _(" will") ; - str_temp += ":\n - " ; - /*TO TRANSLATORS: looks like IMMEDIATELY ERASE ALL DATA on disk /dev/hda */ - str_temp += String::ucompose( _("IMMEDIATELY ERASE ALL DATA on disk %1"), device_path ) ; - str_temp += "\n - " ; - /*TO TRANSLATORS: looks like Create a new partition table on disk /dev/hda */ - str_temp += String::ucompose( _("Create a new partition table on disk %1"), device_path ) ; + /*TO TRANSLATORS: looks like Choosing the Create button will IMMEDIATELY ERASE ALL DATA on disk /dev/hda */ + str_temp += String::ucompose( _("Choosing the Create button will IMMEDIATELY ERASE ALL DATA on disk %1"), device_path ) ; str_temp += "\n"; vbox ->pack_start( * Utils::mk_label( str_temp, true, Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, true ), Gtk::PACK_SHRINK ); this ->add_button( Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL ); + /*TO TRANSLATORS: This is the name of the button referred to in the previous text Choosing the Create button will .... */ this ->add_button( _("Create"), Gtk::RESPONSE_OK ); this ->show_all_children() ;