[gimp/metadata-improvements: 2/11] plug-ins: improve casing in metadata-tags.




commit 23fa5c7ef773251e116de017b8621f4d8b53c176
Author: Jacob Boerema <jgboerema gmail com>
Date:   Mon Nov 23 15:21:02 2020 -0500

    plug-ins: improve casing in metadata-tags.
    
    The abbreviations M for meter and FT for foot/feet were written in uppercase.
    However the offical abbreviations are lowercase so let's just follow that and
    make them lowercase here too.
    
    Above and Below Sea Level were using camel case with every word starting
    with an uppercase letter and were used on the label of a combobox option
    for gps altitude reference. Using standard casing with only the first word
    using a capital seems better in this case.
    a capital

 plug-ins/metadata/metadata-tags.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/metadata/metadata-tags.c b/plug-ins/metadata/metadata-tags.c
index fb4e8017d2..a65b8d7388 100644
--- a/plug-ins/metadata/metadata-tags.c
+++ b/plug-ins/metadata/metadata-tags.c
@@ -265,7 +265,7 @@ const gint n_dicom = G_N_ELEMENTS (dicom);
 /* GPS Altitude Ref */
 const gchar *gpsaltref[] =
 {
-  N_("Unknown"), N_("Above Sea Level"), N_("Below Sea Level")
+  N_("Unknown"), N_("Above sea level"), N_("Below sea level")
 };
 const gint n_gpsaltref = G_N_ELEMENTS (gpsaltref);
 
@@ -286,7 +286,7 @@ const gint n_gpslngref = G_N_ELEMENTS (gpslngref);
 /* GPS Measurement System */
 const gchar *gpsaltsys[] =
 {
-  "M", "FT"
+  "m", "ft"
 };
 const gint n_gpsaltsys = G_N_ELEMENTS (gpsaltsys);
 


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