KeyName: don't translate Fx
authorMax Kellermann <max@musicpd.org>
Fri, 7 Sep 2018 15:45:05 +0000 (17:45 +0200)
committerMax Kellermann <max@musicpd.org>
Fri, 7 Sep 2018 15:45:05 +0000 (17:45 +0200)
AFAIK this is the same name in all languages, and translators probably
don't know what "F%d" means anyway.

src/KeyName.cxx

index d7b9eb5..ea5cb2c 100644 (file)
@@ -64,7 +64,7 @@ key2str(int key)
        default:
                for (int i = 0; i <= 63; i++)
                        if (key == KEY_F(i)) {
-                               snprintf(buf, 32, _("F%d"), i );
+                               snprintf(buf, 32, "F%d", i );
                                return buf;
                        }
                if (!(key & ~037))