Fix Gb -> GB confusion (thanks Rob van Nieuwkerk).
authorCarl Hetherington <cth@carlh.net>
Sun, 13 Jan 2019 20:16:12 +0000 (20:16 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 13 Jan 2019 20:16:12 +0000 (20:16 +0000)
src/lib/film.cc
src/tools/dcpomatic.cc
src/tools/dcpomatic_batch.cc

index 8080b9921ee4e0a32b44fd3797fa925230fcb7b8..11efcc7523575f2d927bdafd010fa26ddc231b09 100644 (file)
@@ -1382,7 +1382,7 @@ Film::required_disk_space () const
 /** This method checks the disk that the Film is on and tries to decide whether or not
  *  there will be enough space to make a DCP for it.  If so, true is returned; if not,
  *  false is returned and required and available are filled in with the amount of disk space
- *  required and available respectively (in Gb).
+ *  required and available respectively (in GB).
  *
  *  Note: the decision made by this method isn't, of course, 100% reliable.
  */
index 7b5696a1c1581b8007a4a69a8160d68b38fe1065..2e8a595ad206cf1fd778afab8123df15a5397f6b 100644 (file)
@@ -699,9 +699,9 @@ private:
                if (!_film->should_be_enough_disk_space (required, available, can_hard_link)) {
                        wxString message;
                        if (can_hard_link) {
-                               message = wxString::Format (_("The DCP for this film will take up about %.1f Gb, and the disk that you are using only has %.1f Gb available.  Do you want to continue anyway?"), required, available);
+                               message = wxString::Format (_("The DCP for this film will take up about %.1f GB, and the disk that you are using only has %.1f GB available.  Do you want to continue anyway?"), required, available);
                        } else {
-                               message = wxString::Format (_("The DCP and intermediate files for this film will take up about %.1f Gb, and the disk that you are using only has %.1f Gb available.  You would need half as much space if the filesystem supported hard links, but it does not.  Do you want to continue anyway?"), required, available);
+                               message = wxString::Format (_("The DCP and intermediate files for this film will take up about %.1f GB, and the disk that you are using only has %.1f GB available.  You would need half as much space if the filesystem supported hard links, but it does not.  Do you want to continue anyway?"), required, available);
                        }
                        if (!confirm_dialog (this, message)) {
                                return;
index 9488f728c873d4ff8830211b78e24c31681f30e8..2be37a38727324fa045486654b10e719b7ae1ab1 100644 (file)
@@ -196,8 +196,8 @@ public:
                                if (!confirm_dialog (
                                            this,
                                            wxString::Format(
-                                                   _("The DCPs for this film and the films already in the queue will take up about %.1f Gb.  The "
-                                                     "disks that you are using only have %.1f Gb available.  Do you want to add this film to the queue anyway?"),
+                                                   _("The DCPs for this film and the films already in the queue will take up about %.1f GB.  The "
+                                                     "disks that you are using only have %.1f GB available.  Do you want to add this film to the queue anyway?"),
                                                    total_required, available))) {
                                        return;
                                }