mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
Removed exclamation marks from user-visible messages.
<EP-E358F00C1D9A449EAE69225B9D2530F8> According to rationale-"http://techbase.kde.org/Projects/Usability/HIG/Exclamation_points" as suggested in reported bug. Component: misc BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=78563 Signed-off-by: Deepak Srivastava <srivastava.d@samsung.com>
This commit is contained in:
parent
c37698ddf8
commit
a3bf429efd
4 changed files with 9 additions and 9 deletions
|
|
@ -709,18 +709,18 @@ int main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (conf->system_instance && !conf->disallow_exit)
|
if (conf->system_instance && !conf->disallow_exit)
|
||||||
pa_log_warn(_("Running in system mode, but --disallow-exit not set!"));
|
pa_log_warn(_("Running in system mode, but --disallow-exit not set."));
|
||||||
|
|
||||||
if (conf->system_instance && !conf->disallow_module_loading)
|
if (conf->system_instance && !conf->disallow_module_loading)
|
||||||
pa_log_warn(_("Running in system mode, but --disallow-module-loading not set!"));
|
pa_log_warn(_("Running in system mode, but --disallow-module-loading not set."));
|
||||||
|
|
||||||
if (conf->system_instance && !conf->disable_shm) {
|
if (conf->system_instance && !conf->disable_shm) {
|
||||||
pa_log_notice(_("Running in system mode, forcibly disabling SHM mode!"));
|
pa_log_notice(_("Running in system mode, forcibly disabling SHM mode."));
|
||||||
conf->disable_shm = true;
|
conf->disable_shm = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (conf->system_instance && conf->exit_idle_time >= 0) {
|
if (conf->system_instance && conf->exit_idle_time >= 0) {
|
||||||
pa_log_notice(_("Running in system mode, forcibly disabling exit idle time!"));
|
pa_log_notice(_("Running in system mode, forcibly disabling exit idle time."));
|
||||||
conf->exit_idle_time = -1;
|
conf->exit_idle_time = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -998,9 +998,9 @@ int main(int argc, char *argv[]) {
|
||||||
pa_disable_sigpipe();
|
pa_disable_sigpipe();
|
||||||
|
|
||||||
if (pa_rtclock_hrtimer())
|
if (pa_rtclock_hrtimer())
|
||||||
pa_log_info("Fresh high-resolution timers available! Bon appetit!");
|
pa_log_info("Fresh high-resolution timers available! Bon appetit.");
|
||||||
else
|
else
|
||||||
pa_log_info("Dude, your kernel stinks! The chef's recommendation today is Linux with high-resolution timers enabled!");
|
pa_log_info("Dude, your kernel stinks! The chef's recommendation today is Linux with high-resolution timers enabled.");
|
||||||
|
|
||||||
if (conf->lock_memory) {
|
if (conf->lock_memory) {
|
||||||
#if defined(HAVE_SYS_MMAN_H) && !defined(__ANDROID__)
|
#if defined(HAVE_SYS_MMAN_H) && !defined(__ANDROID__)
|
||||||
|
|
|
||||||
|
|
@ -567,7 +567,7 @@ static int mmap_write(struct userdata *u, pa_usec_t *sleep_usec, bool polled, bo
|
||||||
if (polled)
|
if (polled)
|
||||||
PA_ONCE_BEGIN {
|
PA_ONCE_BEGIN {
|
||||||
char *dn = pa_alsa_get_driver_name_by_pcm(u->pcm_handle);
|
char *dn = pa_alsa_get_driver_name_by_pcm(u->pcm_handle);
|
||||||
pa_log(_("ALSA woke us up to write new data to the device, but there was actually nothing to write!\n"
|
pa_log(_("ALSA woke us up to write new data to the device, but there was actually nothing to write.\n"
|
||||||
"Most likely this is a bug in the ALSA driver '%s'. Please report this issue to the ALSA developers.\n"
|
"Most likely this is a bug in the ALSA driver '%s'. Please report this issue to the ALSA developers.\n"
|
||||||
"We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail."),
|
"We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail."),
|
||||||
pa_strnull(dn));
|
pa_strnull(dn));
|
||||||
|
|
|
||||||
|
|
@ -526,7 +526,7 @@ static int mmap_read(struct userdata *u, pa_usec_t *sleep_usec, bool polled, boo
|
||||||
if (polled)
|
if (polled)
|
||||||
PA_ONCE_BEGIN {
|
PA_ONCE_BEGIN {
|
||||||
char *dn = pa_alsa_get_driver_name_by_pcm(u->pcm_handle);
|
char *dn = pa_alsa_get_driver_name_by_pcm(u->pcm_handle);
|
||||||
pa_log(_("ALSA woke us up to read new data from the device, but there was actually nothing to read!\n"
|
pa_log(_("ALSA woke us up to read new data from the device, but there was actually nothing to read.\n"
|
||||||
"Most likely this is a bug in the ALSA driver '%s'. Please report this issue to the ALSA developers.\n"
|
"Most likely this is a bug in the ALSA driver '%s'. Please report this issue to the ALSA developers.\n"
|
||||||
"We were woken up with POLLIN set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail."),
|
"We were woken up with POLLIN set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail."),
|
||||||
pa_strnull(dn));
|
pa_strnull(dn));
|
||||||
|
|
|
||||||
|
|
@ -438,7 +438,7 @@ static void stream_event_callback(pa_stream *s, const char *name, pa_proplist *p
|
||||||
pa_operation_unref(pa_stream_cork(s, 0, NULL, NULL));
|
pa_operation_unref(pa_stream_cork(s, 0, NULL, NULL));
|
||||||
}
|
}
|
||||||
if (cork_requests == 0)
|
if (cork_requests == 0)
|
||||||
pa_log(_("Warning: Received more uncork requests than cork requests!"));
|
pa_log(_("Warning: Received more uncork requests than cork requests."));
|
||||||
else
|
else
|
||||||
cork_requests--;
|
cork_requests--;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue