From 493d3bc7aa85401730e79ad6898b5b99aac6efc0 Mon Sep 17 00:00:00 2001 From: Badlop Date: Mon, 21 Jun 2010 22:50:29 +0200 Subject: [PATCH] Fix language string --- src/mod_muc/mod_muc_log.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod_muc/mod_muc_log.erl b/src/mod_muc/mod_muc_log.erl index 1b5175ec0..e59ea8eb4 100644 --- a/src/mod_muc/mod_muc_log.erl +++ b/src/mod_muc/mod_muc_log.erl @@ -482,8 +482,8 @@ get_dateweek(Date, Lang) -> 12 -> ?T("December") end, case Lang of - "en" -> io_lib:format("~s, ~s ~w, ~w", [Weekday, Month, D, Y]); - "es" -> io_lib:format("~s ~w de ~s de ~w", [Weekday, D, Month, Y]); + <<"en">> -> io_lib:format("~s, ~s ~w, ~w", [Weekday, Month, D, Y]); + <<"es">> -> io_lib:format("~s ~w de ~s de ~w", [Weekday, D, Month, Y]); _ -> io_lib:format("~s, ~w ~s ~w", [Weekday, D, Month, Y]) end.