[gparted] Remove full stops from the end of primary text in dialogs



commit fbc4e9e941f8b8d4b90a19e3f05fceeadeb27717
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Fri Jul 27 12:05:49 2012 +0100

    Remove full stops from the end of primary text in dialogs
    
    The GNOME HIG, 3.4.1 "Alert Text" states:
    
        ...  The primary text is punctuated in 'newspaper headline' style,
        that is, it has no terminating period, but it may have a terminating
        question mark.
    
    http://developer.gnome.org/hig-book/3.0/windows-alert.html.en#alert-text

 src/Dialog_Rescue_Data.cc |    2 +-
 src/Win_GParted.cc        |   34 +++++++++++++++++-----------------
 src/fat16.cc              |    2 +-
 src/ntfs.cc               |    2 +-
 4 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/src/Dialog_Rescue_Data.cc b/src/Dialog_Rescue_Data.cc
index fcc3f90..f1dff88 100644
--- a/src/Dialog_Rescue_Data.cc
+++ b/src/Dialog_Rescue_Data.cc
@@ -257,7 +257,7 @@ void Dialog_Rescue_Data::check_overlaps(int nPart)
 	if(is_overlaping(nPart))
 	{
 		Gtk::MessageDialog overlapDialog(*this, "", true, Gtk::MESSAGE_QUESTION, Gtk::BUTTONS_YES_NO, true);
-		overlapDialog.set_message(_("Warning: The detected file system area overlaps with at least one existing partition."));
+		overlapDialog.set_message(_("Warning: The detected file system area overlaps with at least one existing partition"));
 
 		Glib::ustring sec_text=_("It is recommended that you do not use any overlapping file systems to avoid disturbing existing data.");
 		sec_text+="\n";
diff --git a/src/Win_GParted.cc b/src/Win_GParted.cc
index 4ada754..f3bb8ff 100644
--- a/src/Win_GParted.cc
+++ b/src/Win_GParted.cc
@@ -722,7 +722,7 @@ void Win_GParted::Add_Operation( Operation * operation, int index )
 		else
 		{
 			Gtk::MessageDialog dialog( *this,
-				   _("Could not add this operation to the list."),
+				   _("Could not add this operation to the list"),
 				   false,
 				   Gtk::MESSAGE_ERROR,
 				   Gtk::BUTTONS_OK,
@@ -1381,7 +1381,7 @@ void Win_GParted::show_help_dialog( const Glib::ustring & filename /* E.g., gpar
 	if ( error != NULL )
 	{
 		Gtk::MessageDialog dialog( *this
-		                         , _( "Unable to open GParted Manual help file." )
+		                         , _( "Unable to open GParted Manual help file" )
 		                         , false
 		                         , Gtk::MESSAGE_ERROR
 		                         , Gtk::BUTTONS_OK
@@ -1397,7 +1397,7 @@ void Win_GParted::menu_help_contents()
 #ifdef HAVE_DISABLE_DOC
 	//GParted was configured with --disable-doc
 	Gtk::MessageDialog dialog( *this,
-			_( "Documentation is not available." ),
+			_( "Documentation is not available" ),
 			false,
 			Gtk::MESSAGE_INFO,
 			Gtk::BUTTONS_OK,
@@ -1588,7 +1588,7 @@ void Win_GParted::activate_resize()
 			{
 				//Warn that move operation might break boot process
 				Gtk::MessageDialog dialog( *this
-				                         , _( "Moving a partition might cause your operating system to fail to boot." )
+				                         , _( "Moving a partition might cause your operating system to fail to boot" )
 				                         , false
 				                         , Gtk::MESSAGE_WARNING
 				                         , Gtk::BUTTONS_OK
@@ -1709,7 +1709,7 @@ void Win_GParted::activate_paste()
 			//Only warn that this paste operation will overwrite data in the existing
 			//  partition if not already shown the remove non-empty LVM2 PV dialog.
 			Gtk::MessageDialog dialog( *this
-			                         , _( "You have pasted into an existing partition." )
+			                         , _( "You have pasted into an existing partition" )
 			                         , false
 			                         , Gtk::MESSAGE_WARNING
 			                         , Gtk::BUTTONS_OK
@@ -1891,7 +1891,7 @@ void Win_GParted::activate_format( GParted::FILESYSTEM new_fs )
 							/* TO TRANSLATORS: looks like
 							* Cannot format this file system to fat16.
 							*/
-							_( "Cannot format this file system to %1." ),
+							_( "Cannot format this file system to %1" ),
 							   Utils::get_filesystem_string( new_fs ) ) ,
 					   false,
 					   Gtk::MESSAGE_ERROR,
@@ -2082,8 +2082,8 @@ void Win_GParted::toggle_busy_state()
 
 		/*TO TRANSLATORS: Singular case looks like   1 operation is currently pending for partition /dev/sdd8. */
 		Glib::ustring tmp_msg =
-		    String::ucompose( ngettext( "%1 operation is currently pending for partition %2."
-		                              , "%1 operations are currently pending for partition %2."
+		    String::ucompose( ngettext( "%1 operation is currently pending for partition %2"
+		                              , "%1 operations are currently pending for partition %2"
 		                              , operation_count
 		                              )
 		                    , operation_count
@@ -2203,8 +2203,8 @@ void Win_GParted::activate_mount_partition( unsigned int index )
 	{
 		/*TO TRANSLATORS: Plural case looks like   4 operations are currently pending for partition /dev/sdd8. */
 		Glib::ustring tmp_msg =
-		    String::ucompose( ngettext( "%1 operation is currently pending for partition %2."
-		                              , "%1 operations are currently pending for partition %2."
+		    String::ucompose( ngettext( "%1 operation is currently pending for partition %2"
+		                              , "%1 operations are currently pending for partition %2"
 		                              , operation_count
 		                              )
 		                    , operation_count
@@ -2269,10 +2269,10 @@ void Win_GParted::activate_disklabel()
 	if ( active_count > 0 )
 	{
 		Glib::ustring tmp_msg =
-		    String::ucompose( /*TO TRANSLATORS: Singular case looks like  1 partition is currently active on device /dev/sda. */
-		                      ngettext( "%1 partition is currently active on device %2."
-		                      /*TO TRANSLATORS: Plural case looks like    3 partitions are currently active on device /dev/sda. */
-		                              , "%1 partitions are currently active on device %2."
+		    String::ucompose( /*TO TRANSLATORS: Singular case looks like  1 partition is currently active on device /dev/sda */
+		                      ngettext( "%1 partition is currently active on device %2"
+		                      /*TO TRANSLATORS: Plural case looks like    3 partitions are currently active on device /dev/sda */
+		                              , "%1 partitions are currently active on device %2"
 		                              , active_count
 		                              )
 		                    , active_count
@@ -2301,8 +2301,8 @@ void Win_GParted::activate_disklabel()
 	if ( operations .size() )
 	{
 		Glib::ustring tmp_msg =
-		    String::ucompose( ngettext( "%1 operation is currently pending."
-		                              , "%1 operations are currently pending."
+		    String::ucompose( ngettext( "%1 operation is currently pending"
+		                              , "%1 operations are currently pending"
 		                              , operations .size()
 		                              )
 		                    , operations .size()
@@ -2331,7 +2331,7 @@ void Win_GParted::activate_disklabel()
 		if ( ! gparted_core .set_disklabel( devices[ current_device ] .get_path(), dialog .Get_Disklabel() ) )
 		{
 			Gtk::MessageDialog dialog( *this,
-						   _("Error while creating partition table."),
+						   _("Error while creating partition table"),
 						   true,
 						   Gtk::MESSAGE_ERROR,
 						   Gtk::BUTTONS_OK,
diff --git a/src/fat16.cc b/src/fat16.cc
index d5e1fa2..aed3fa1 100644
--- a/src/fat16.cc
+++ b/src/fat16.cc
@@ -30,7 +30,7 @@ namespace GParted
 {
 
 const Glib::ustring fat16::Change_UUID_Warning [] =
-	{ _( "Changing the UUID might invalidate the Windows Product Activation (WPA) key."
+	{ _( "Changing the UUID might invalidate the Windows Product Activation (WPA) key"
 	   )
 	, _( "On FAT and NTFS file systems, the"
 	     " Volume Serial Number is used as the UUID."
diff --git a/src/ntfs.cc b/src/ntfs.cc
index 32195c2..9ad7bca 100644
--- a/src/ntfs.cc
+++ b/src/ntfs.cc
@@ -23,7 +23,7 @@ namespace GParted
 {
 
 const Glib::ustring ntfs::Change_UUID_Warning [] =
-	{ _( "Changing the UUID might invalidate the Windows Product Activation (WPA) key."
+	{ _( "Changing the UUID might invalidate the Windows Product Activation (WPA) key"
 	   )
 	, _( "On FAT and NTFS file systems, the"
 	     " Volume Serial Number is used as the UUID."



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]