locale: fix LC_MESSAGES variable name
authorLennart Poettering <lennart@poettering.net>
Mon, 28 Mar 2011 23:38:06 +0000 (01:38 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 28 Mar 2011 23:38:06 +0000 (01:38 +0200)
https://bugs.freedesktop.org/show_bug.cgi?id=35534

src/locale-setup.c

index 055c1fa..f6fd97e 100644 (file)
@@ -54,7 +54,7 @@ static const char * const variable_names[_VARIABLE_MAX] = {
         [VARIABLE_LC_TIME] = "LC_TIME",
         [VARIABLE_LC_COLLATE] = "LC_COLLATE",
         [VARIABLE_LC_MONETARY] = "LC_MONETARY",
-        [VARIABLE_LC_MESSAGES] = "LC_MESSAGE",
+        [VARIABLE_LC_MESSAGES] = "LC_MESSAGES",
         [VARIABLE_LC_PAPER] = "LC_PAPER",
         [VARIABLE_LC_NAME] = "LC_NAME",
         [VARIABLE_LC_ADDRESS] = "LC_ADDRESS",