fancy plural form.
authorRobin Gareus <robin@gareus.org>
Tue, 31 Mar 2015 02:15:21 +0000 (04:15 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 31 Mar 2015 02:16:24 +0000 (04:16 +0200)
gtk2_ardour/engine_dialog.cc

index a0cfee8089ea6489d1a4b4bb2b66691f0ba1a36f..3e1337e62a1b841e6dc0f7157ab4f3d3496361df 100644 (file)
@@ -1035,8 +1035,8 @@ EngineControl::bufsize_as_string (uint32_t sz)
        /* Translators: "samples" is always plural here, so no
           need for plural+singular forms.
         */
-       char buf[32];
-       snprintf (buf, sizeof (buf), _("%u samples"), sz);
+       char buf[64];
+       snprintf (buf, sizeof (buf), "%u %s", sz, P_("sample", "samples", sz));
        return buf;
 }