[Goodies-commits] r6016 - xfburn/trunk/xfburn

David Mohr squisher at xfce.org
Sat Nov 8 07:43:50 CET 2008


Author: squisher
Date: 2008-11-08 06:43:50 +0000 (Sat, 08 Nov 2008)
New Revision: 6016

Modified:
   xfburn/trunk/xfburn/xfburn-audio-composition.c
   xfburn/trunk/xfburn/xfburn-blank-dialog.c
   xfburn/trunk/xfburn/xfburn-burn-audio-cd-composition-dialog.c
   xfburn/trunk/xfburn/xfburn-burn-data-composition-base-dialog.c
   xfburn/trunk/xfburn/xfburn-burn-image-dialog.c
   xfburn/trunk/xfburn/xfburn-data-composition.c
   xfburn/trunk/xfburn/xfburn-device-list.c
   xfburn/trunk/xfburn/xfburn-format-dvd-dialog.c
   xfburn/trunk/xfburn/xfburn-main.c
   xfburn/trunk/xfburn/xfburn-perform-burn.c
   xfburn/trunk/xfburn/xfburn-transcoder-basic.c
Log:
Adding a full stop to sentences in dialogs and other string improvements

Modified: xfburn/trunk/xfburn/xfburn-audio-composition.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-audio-composition.c	2008-11-08 05:46:41 UTC (rev 6015)
+++ xfburn/trunk/xfburn/xfburn-audio-composition.c	2008-11-08 06:43:50 UTC (rev 6016)
@@ -555,7 +555,7 @@
     dialog = xfburn_burn_audio_cd_composition_dialog_new (src);
     break;
   case DVD_DISC:
-    xfce_err (_("Cannot burn audio onto a DVD"));
+    xfce_err (_("Cannot burn audio onto a DVD."));
     return;
     break;
   }
@@ -1100,7 +1100,7 @@
     
     gdk_threads_enter ();
     if (file_exists_on_same_level (model, tree_path, FALSE, name)) {
-      xfce_err (_("A file with the same name is already present in the composition"));
+      xfce_err (_("A file with the same name is already present in the composition."));
 
       gtk_tree_path_free (tree_path);
       gdk_threads_leave ();
@@ -1196,7 +1196,7 @@
 
       if (priv->n_tracks == 99) {
         gdk_threads_enter ();
-        xfce_err (_("You can only have a maximum of 99 tracks"));
+        xfce_err (_("You can only have a maximum of 99 tracks."));
         gdk_threads_leave ();
         return FALSE;
       }
@@ -1416,7 +1416,7 @@
     
       /*
       if (file_exists_on_same_level (model, path_level, FALSE, name)) {
-        xfce_warn (_("A file named \"%s\" already exists in this directory, the file hasn't been added"), name);
+        xfce_warn (_("A file named \"%s\" already exists in this directory, the file hasn't been added."), name);
         goto cleanup;
       }
       */

Modified: xfburn/trunk/xfburn/xfburn-blank-dialog.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-blank-dialog.c	2008-11-08 05:46:41 UTC (rev 6015)
+++ xfburn/trunk/xfburn/xfburn-blank-dialog.c	2008-11-08 06:43:50 UTC (rev 6016)
@@ -347,7 +347,7 @@
   case BURN_DISC_BLANK:
     if (params->blank_mode == XFBURN_BLANK_FAST || params->blank_mode == XFBURN_BLANK_COMPLETE) {
       /* blanking can only be performed on blank discs, format and deformat are allowed to be blank ones */
-      xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("The inserted disc is already blank"));
+      xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("The inserted disc is already blank."));
       return FALSE;
     }
   case BURN_DISC_FULL:
@@ -356,16 +356,16 @@
     xfburn_progress_dialog_set_status_with_text (XFBURN_PROGRESS_DIALOG (dialog_progress), XFBURN_PROGRESS_DIALOG_STATUS_RUNNING, _("Ready"));
     break;
   case BURN_DISC_EMPTY:
-    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("No disc detected in the drive"));
+    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("No disc detected in the drive."));
     return FALSE;
   default:
-    //xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Cannot recognize drive and media state"));
+    //xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Cannot recognize drive and disc state."));
     //return FALSE;
     break;
   }
 
   if (!burn_disc_erasable (drive)) {
-    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Media is not erasable"));
+    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Disc is not erasable."));
     return FALSE;
   }
 
@@ -458,7 +458,7 @@
   }
 
   if (!xfburn_device_grab (params->device, &drive_info)) {
-    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (params->dialog_progress), _("Unable to grab drive"));
+    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (params->dialog_progress), _("Unable to grab the drive."));
   } else {
     thread_blank_perform_blank (params, drive_info);
     burn_drive_release (drive_info->drive, params->eject ? 1 : 0);

Modified: xfburn/trunk/xfburn/xfburn-burn-audio-cd-composition-dialog.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-burn-audio-cd-composition-dialog.c	2008-11-08 05:46:41 UTC (rev 6015)
+++ xfburn/trunk/xfburn/xfburn-burn-audio-cd-composition-dialog.c	2008-11-08 06:43:50 UTC (rev 6016)
@@ -450,7 +450,8 @@
 
   ret = burn_disc_add_session (disc, session, BURN_POS_END);
   if (ret == 0) {
-    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Unable to create disc object"));
+    g_warning ("Unable to create disc object");
+    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("A problem with the burn backend occurred."));
     return;
   }
 
@@ -482,7 +483,7 @@
     burn_write_opts_set_write_type (burn_options, BURN_WRITE_RAW, BURN_BLOCK_RAW96R);
     break;
   default:
-    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("The write mode is not supported currently"));
+    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("The write mode is not supported currently."));
     return;
   }
 
@@ -560,7 +561,7 @@
 
   if (!abort) {
     if (!xfburn_device_grab (params->device, &drive_info)) {
-      xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Unable to grab drive"));
+      xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Unable to grab the drive."));
     } else {
       thread_burn_prep_and_burn (params, drive_info->drive, disc, session, n_tracks, track_sectors, tracks, srcs);
       burn_drive_release (drive_info->drive, params->eject ? 1 : 0);

Modified: xfburn/trunk/xfburn/xfburn-burn-data-composition-base-dialog.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-burn-data-composition-base-dialog.c	2008-11-08 05:46:41 UTC (rev 6015)
+++ xfburn/trunk/xfburn/xfburn-burn-data-composition-base-dialog.c	2008-11-08 06:43:50 UTC (rev 6016)
@@ -534,12 +534,14 @@
 
   ret = burn_disc_add_session (disc, session, BURN_POS_END);
   if (ret == 0) {
-    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Unable to create disc object"));
+    g_warning ("Unable to create disc object");
+    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("An error occurred in the burn backend."));
     return;
   }
 
   if (burn_track_set_source (track, params->src) != BURN_SOURCE_OK) {
-    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Cannot attach source object to track object"));
+    g_warning ("Cannot attach source object to track object");
+    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("An error occurred in the burn backend."));
     return;
   }
   
@@ -566,7 +568,7 @@
     burn_write_opts_set_write_type (burn_options, BURN_WRITE_RAW, BURN_BLOCK_RAW96R);
     break;
   default:
-    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("The write mode is not supported currently"));
+    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("The write mode is not supported currently."));
     return;
   }
 
@@ -614,7 +616,7 @@
   track = burn_track_create ();
 
   if (!xfburn_device_grab (params->device, &drive_info)) {
-    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Unable to grab drive"));
+    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Unable to grab the drive."));
   } else {
     thread_burn_prep_and_burn (params, drive_info->drive, disc, session, track);
     burn_drive_release (drive_info->drive, params->eject ? 1 : 0);
@@ -658,7 +660,7 @@
 
     if (iso_image_create_burn_source (priv->image, write_opts, &src) < 0) {
       /* could not create source */
-      xfce_err (_("Could not create ISO source structure"));
+      xfce_err (_("Could not create ISO source structure."));
       return;
     }
 

Modified: xfburn/trunk/xfburn/xfburn-burn-image-dialog.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-burn-image-dialog.c	2008-11-08 05:46:41 UTC (rev 6015)
+++ xfburn/trunk/xfburn/xfburn-burn-image-dialog.c	2008-11-08 06:43:50 UTC (rev 6016)
@@ -295,7 +295,8 @@
 
   ret = burn_disc_add_session (disc, session, BURN_POS_END);
   if (ret == 0) {
-    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Unable to create disc object"));
+    g_warning ("Unable to create disc object");
+    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("An error occurred in the burn backend"));
     goto end;
   }
 
@@ -308,14 +309,14 @@
 	fixed_size = stbuf.st_size;
 
   if (fixed_size == 0) {
-    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Unable to determine image size"));
+    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Unable to determine image size."));
     goto end;
   }
 
   data_src = burn_fd_source_new(fd, -1, fixed_size);
 
   if (data_src == NULL) {
-    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Cannot open image"));
+    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Cannot open image."));
     goto end;
   }
 
@@ -323,14 +324,15 @@
   burn_source_free (data_src);
 
   if (burn_track_set_source (track, fifo_src) != BURN_SOURCE_OK) {
-    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Cannot attach source object to track object"));
+    g_warning ("Cannot attach source object to track object");
+    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("An error occurred in the burn backend"));
     goto end;
   }
   
   burn_session_add_track (session, track, BURN_POS_END);
 
   if (!xfburn_device_grab (params->device, &drive_info)) {
-    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Unable to grab drive"));
+    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Unable to grab the drive."));
 
     goto end;
   }
@@ -339,7 +341,7 @@
 
   burn_options = make_burn_options (params, drive);
   if (burn_options == NULL) {
-    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Burn mode is not currently implemented"));
+    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Burn mode is not currently implemented."));
     goto cleanup;
   }
 
@@ -540,7 +542,7 @@
   }
 
   if (!xfburn_device_grab (device, &drive_info)) {
-    burn_image_dialog_error (dialog, _("Unable to grab drive"));
+    burn_image_dialog_error (dialog, _("Unable to grab the drive."));
 
     g_free (params->iso_path);
     g_free (params);

Modified: xfburn/trunk/xfburn/xfburn-data-composition.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-data-composition.c	2008-11-08 05:46:41 UTC (rev 6015)
+++ xfburn/trunk/xfburn/xfburn-data-composition.c	2008-11-08 06:43:50 UTC (rev 6016)
@@ -661,7 +661,7 @@
   GtkTreePath *real_path;
 
   if (strlen (newtext) == 0) {
-    xfce_err (_("You must give a name to the file"));
+    xfce_err (_("You must give a name to the file."));
     return;
   }
     
@@ -670,7 +670,7 @@
 
   if (gtk_tree_model_get_iter (model, &iter, real_path)) {
     if (file_exists_on_same_level (model, real_path, TRUE, newtext)) {
-      xfce_err (_("A file with the same name is already present in the composition"));
+      xfce_err (_("A file with the same name is already present in the composition."));
     }
     else {
       gtk_tree_store_set (GTK_TREE_STORE (model), &iter, DATA_COMPOSITION_COLUMN_CONTENT, newtext, -1);
@@ -1065,7 +1065,7 @@
     
     gdk_threads_enter ();
     if (file_exists_on_same_level (model, tree_path, FALSE, name)) {
-      xfce_err (_("A file with the same name is already present in the composition"));
+      xfce_err (_("A file with the same name is already present in the composition."));
 
       gtk_tree_path_free (tree_path);
       gdk_threads_leave ();
@@ -1386,7 +1386,7 @@
       }
     
       if (file_exists_on_same_level (model, path_level, FALSE, name)) {
-        xfce_warn (_("A file named \"%s\" already exists in this directory, the file hasn't been added"), name);
+        xfce_warn (_("A file named \"%s\" already exists in this directory, the file hasn't been added."), name);
         goto cleanup;
       }
       

Modified: xfburn/trunk/xfburn/xfburn-device-list.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-device-list.c	2008-11-08 05:46:41 UTC (rev 6015)
+++ xfburn/trunk/xfburn/xfburn-device-list.c	2008-11-08 06:43:50 UTC (rev 6016)
@@ -357,7 +357,7 @@
   }
 
   if (ret <= 0) {
-    g_warning ("Unable to grab drive at path '%s' (ret=%d).", device->addr, ret);
+    g_warning ("Unable to grab the drive at path '%s' (ret=%d).", device->addr, ret);
     return FALSE;
   }
 

Modified: xfburn/trunk/xfburn/xfburn-format-dvd-dialog.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-format-dvd-dialog.c	2008-11-08 05:46:41 UTC (rev 6015)
+++ xfburn/trunk/xfburn/xfburn-format-dvd-dialog.c	2008-11-08 06:43:50 UTC (rev 6016)
@@ -163,7 +163,7 @@
     */
     g_free (command);
 
-    xfce_warn ("Sorry i don't have DVD+RW discs in order to implement and test that function currently");
+    xfce_warn ("Sorry i don't have DVD+RW discs in order to implement and test that function currently.");
   }
 }
 

Modified: xfburn/trunk/xfburn/xfburn-main.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-main.c	2008-11-08 05:46:41 UTC (rev 6015)
+++ xfburn/trunk/xfburn/xfburn-main.c	2008-11-08 06:43:50 UTC (rev 6016)
@@ -316,7 +316,7 @@
       if (g_file_test (image_fullname, G_FILE_TEST_EXISTS))
 	xfburn_burn_image_dialog_set_filechooser_name (dialog, image_fullname);
       else
-	xfce_err ( g_strdup_printf ( _("Image file '%s' does not exist"), image_fullname));
+	xfce_err ( g_strdup_printf ( _("Image file '%s' does not exist."), image_fullname));
     }
 
     gtk_dialog_run (GTK_DIALOG (dialog));

Modified: xfburn/trunk/xfburn/xfburn-perform-burn.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-perform-burn.c	2008-11-08 05:46:41 UTC (rev 6015)
+++ xfburn/trunk/xfburn/xfburn-perform-burn.c	2008-11-08 06:43:50 UTC (rev 6016)
@@ -91,16 +91,16 @@
   while ((disc_state = burn_disc_get_status(drive)) == BURN_DISC_UNREADY)
     usleep(100001);
   if (disc_state == BURN_DISC_APPENDABLE && write_mode != WRITE_MODE_TAO) {
-    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Cannot append data to multisession disc in this write mode (use TAO instead)"));
+    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Cannot append data to multisession disc in this write mode (use TAO instead)."));
     return;
   } else if (disc_state != BURN_DISC_BLANK) {
     if (disc_state == BURN_DISC_FULL)
-      xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Closed disc with data detected. Need blank or appendable disc"));
+      xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Closed disc with data detected, a blank or appendable disc is needed."));
     else if (disc_state == BURN_DISC_EMPTY) 
-      xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("No disc detected in drive"));
+      xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("No disc detected in drive."));
     else {
       g_warning ("Cannot recognize state of drive and disc: disc_state = %d", disc_state);
-      xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Cannot recognize state of drive and disc"));
+      xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("Cannot recognize the state of the drive and disc."));
     }
     return;
   }
@@ -109,7 +109,7 @@
 
   disc_size = burn_disc_available_space (drive, burn_options);
   if (disc_size < ((off_t)total_sectors * sector_size)) {
-    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("There is not enough space available on the inserted disc"));
+    xfburn_progress_dialog_burning_failed (XFBURN_PROGRESS_DIALOG (dialog_progress), _("There is not enough space available on the inserted disc."));
     return;
   }
 

Modified: xfburn/trunk/xfburn/xfburn-transcoder-basic.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-transcoder-basic.c	2008-11-08 05:46:41 UTC (rev 6015)
+++ xfburn/trunk/xfburn/xfburn-transcoder-basic.c	2008-11-08 06:43:50 UTC (rev 6016)
@@ -226,7 +226,7 @@
   fd = open (path, 0);
 
   if (fd == -1) {
-    xfce_warn (_("Could not open %s"), path);
+    xfce_warn (_("Could not open %s."), path);
     return FALSE;
   }
 




More information about the Goodies-commits mailing list