GNOME Bugzilla – Bug 610421
[gparted] unit translations
Last modified: 2011-08-30 19:28:27 UTC
Created attachment 154185 [details] Screenshot showing main window and resize dialog. Units are shown incorrectly. They are measured in gibibytes (GiB) but they are displayed as gigabytes (GB). This happens in the main window but not in the partition resize dialog. In the resize dialog box the units are correctly shown as MiB. This creates confusion when resizing partitions because someone could expect a different number on the main window than what is shown because wrong units are shown. A solution to this would be to change the main window units to GiB to match what the numbers are showing. Another, better, solution would be to change all the units to be calculated in gigabytes and to correctly show that using GB. I would say the second one is a better solution because on the box of a hard drive it is calculated in gigabytes not in gibibytes and when consumers want to partition the drive they don't understand why it shows a smaller number. I am using Ubuntu 9.10. I have downloaded version 0.5.1 of gparted and installed using: configure; make; checkinstall; dpkg I see on this page http://gparted.sourceforge.net/screenshots.php that the main window uses the GiB units but the resize dialog uses MB. I don't know what version those screenshots are of.
Created attachment 154228 [details] GParted Main Window Units in Use (MiB, GiB) Thank you for your interest in GParted and reporting this inconsistency. Next we need to determine the cause of the problem. To my knowledge all of the GParted C++ source code uses MiB or GiB, and not MB or GB. However, individual language translations are able to change these text strings. The language translation is often set by the LANG environment variable. To view this variable, you can open a terminal and enter the following command: env | grep LANG Which language translation are you using? As for the screen shots on the web site, these are quite old now. If you are interested in capturing new screen shots for the web site, the help would be appreciated. :)
I'd be interested in getting new sreenshots, after I have the correct units. My language: vlad@vlad-laptop:~$ env | grep LANG LANG=en_CA.UTF-8 GDM_LANG=en_CA.UTF-8
It looks like the problem is with the language translation. You can see for yourself if you visit the following link and search for "MB": http://git.gnome.org/browse/gparted/tree/po/en_CA.po All of the language translations are handled by the GNOME Translation Project. http://live.gnome.org/TranslationProject You could try editing the title to prefix it with "GParted:" and then redirecting this bug to: Product: l10n Component: Canadian English (en_CA) On the topic of screen shots, Thank you for your offer of help. To get the default units without language translation use the following steps: 1) Open a terminal window 2) Set the LANG environment variable to "C" $ LANG=C 3) Start up GParted as root $ sudo GParted 4) Capture screen shots similar to those already in use on the web page and use the same file names. 5) Create an archive / tarball / zip file of all the screen shots. 6) Email the screen shots to Curtis Gedak. The email address can be found at: http://gparted.sourceforge.net/contact.php After receiving updated screen shots I will be able to update the web pages accordingly.
-> l10n:en-ca
Thanks for the help. I just emailed the screenshots to the email address provided on the GParted site. Hope they help.
Created attachment 195238 [details] [review] This patch fixes this problem in the Canadian English translation.
pushed to master branch in git.gnome.