[sound-juicer/gnome-3-18] genres: Fix translated genre being compared to untranslated one
- From: Phillip Wood <pwood src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sound-juicer/gnome-3-18] genres: Fix translated genre being compared to untranslated one
- Date: Tue, 22 Mar 2016 10:18:35 +0000 (UTC)
commit feff7b6e6ddf15fafac26f85a105e927519b3694
Author: Bastien Nocera <hadess hadess net>
Date: Sat Nov 21 16:22:56 2015 +0100
genres: Fix translated genre being compared to untranslated one
If you're running in French, "Classique" will be in the known genres,
but we wouldn't have seen that because we'd compare it to the
untranslated "Classic".
https://bugzilla.gnome.org/show_bug.cgi?id=758457
src/sj-genres.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/sj-genres.c b/src/sj-genres.c
index fb63055..be654cd 100644
--- a/src/sj-genres.c
+++ b/src/sj-genres.c
@@ -52,7 +52,7 @@ static gboolean is_known_genre (const char *str) {
guint i;
for (i = 0; i < G_N_ELEMENTS(known_genres); i++) {
- if (strcasecmp (str, known_genres[i]) == 0)
+ if (strcasecmp (str, _(known_genres[i])) == 0)
return TRUE;
}
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]