summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2016-03-10 16:49:30 +0200
committerTanu Kaskinen <tanuk@iki.fi>2016-03-10 17:35:58 +0200
commit092eb57974eca4e2f824934718256c394ef921ab (patch)
tree1a757e26c008c423d3548f7ff45f5785996bd48c
parent104e4adde49d88152a0ea2451029a647e0f27a07 (diff)
resampler-test: remove translations
Translators shouldn't be burdened with translating strings in tests. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=94435
-rw-r--r--src/tests/resampler-test.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/tests/resampler-test.c b/src/tests/resampler-test.c
index 9832a314d..8569ac745 100644
--- a/src/tests/resampler-test.c
+++ b/src/tests/resampler-test.c
@@ -252,26 +252,26 @@ static pa_memblock* generate_block(pa_mempool *pool, const pa_sample_spec *ss) {
}
static void help(const char *argv0) {
- printf(_("%s [options]\n\n"
- "-h, --help Show this help\n"
- "-v, --verbose Print debug messages\n"
- " --from-rate=SAMPLERATE From sample rate in Hz (defaults to 44100)\n"
- " --from-format=SAMPLEFORMAT From sample type (defaults to s16le)\n"
- " --from-channels=CHANNELS From number of channels (defaults to 1)\n"
- " --to-rate=SAMPLERATE To sample rate in Hz (defaults to 44100)\n"
- " --to-format=SAMPLEFORMAT To sample type (defaults to s16le)\n"
- " --to-channels=CHANNELS To number of channels (defaults to 1)\n"
- " --resample-method=METHOD Resample method (defaults to auto)\n"
- " --seconds=SECONDS From stream duration (defaults to 60)\n"
- "\n"
- "If the formats are not specified, the test performs all formats combinations,\n"
- "back and forth.\n"
- "\n"
- "Sample type must be one of s16le, s16be, u8, float32le, float32be, ulaw, alaw,\n"
- "s24le, s24be, s24-32le, s24-32be, s32le, s32be (defaults to s16ne)\n"
- "\n"
- "See --dump-resample-methods for possible values of resample methods.\n"),
- argv0);
+ printf("%s [options]\n\n"
+ "-h, --help Show this help\n"
+ "-v, --verbose Print debug messages\n"
+ " --from-rate=SAMPLERATE From sample rate in Hz (defaults to 44100)\n"
+ " --from-format=SAMPLEFORMAT From sample type (defaults to s16le)\n"
+ " --from-channels=CHANNELS From number of channels (defaults to 1)\n"
+ " --to-rate=SAMPLERATE To sample rate in Hz (defaults to 44100)\n"
+ " --to-format=SAMPLEFORMAT To sample type (defaults to s16le)\n"
+ " --to-channels=CHANNELS To number of channels (defaults to 1)\n"
+ " --resample-method=METHOD Resample method (defaults to auto)\n"
+ " --seconds=SECONDS From stream duration (defaults to 60)\n"
+ "\n"
+ "If the formats are not specified, the test performs all formats combinations,\n"
+ "back and forth.\n"
+ "\n"
+ "Sample type must be one of s16le, s16be, u8, float32le, float32be, ulaw, alaw,\n"
+ "s24le, s24be, s24-32le, s24-32be, s32le, s32be (defaults to s16ne)\n"
+ "\n"
+ "See --dump-resample-methods for possible values of resample methods.\n",
+ argv0);
}
enum {
@@ -350,7 +350,7 @@ int main(int argc, char *argv[]) {
break;
case ARG_VERSION:
- printf(_("%s %s\n"), argv[0], PACKAGE_VERSION);
+ printf("%s %s\n", argv[0], PACKAGE_VERSION);
ret = 0;
goto quit;