[phodav] Consistent capitalization of translatable strings
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [phodav] Consistent capitalization of translatable strings
- Date: Sun, 19 Mar 2017 15:41:41 +0000 (UTC)
commit d116ddef40ef71a93646c46ec2eb50ab93b94b9e
Author: Piotr Drąg <piotrdrag gmail com>
Date: Sun Mar 19 16:35:06 2017 +0100
Consistent capitalization of translatable strings
libphodav/chezdav.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libphodav/chezdav.c b/libphodav/chezdav.c
index f31f1a5..1cdaeea 100644
--- a/libphodav/chezdav.c
+++ b/libphodav/chezdav.c
@@ -203,8 +203,8 @@ main (int argc, char *argv[])
{ "version", 0, 0, G_OPTION_ARG_NONE, &version, N_ ("Print program version"), NULL },
{ "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose, N_ ("Be verbose"), NULL },
{ "port", 'p', 0, G_OPTION_ARG_INT, &port, N_ ("Port to listen to"), NULL },
- { "local", 0, 0, G_OPTION_ARG_NONE, &local, N_ ("listen on loopback only"), NULL },
- { "public", 0, 0, G_OPTION_ARG_NONE, &public, N_ ("listen on all interfaces"), NULL },
+ { "local", 0, 0, G_OPTION_ARG_NONE, &local, N_ ("Listen on loopback only"), NULL },
+ { "public", 0, 0, G_OPTION_ARG_NONE, &public, N_ ("Listen on all interfaces"), NULL },
{ "path", 'P', 0, G_OPTION_ARG_FILENAME, &path, N_ ("Path to export"), NULL },
{ "htdigest", 'd', 0, G_OPTION_ARG_FILENAME, &htdigest, N_ ("Path to htdigest file"), NULL },
{ "readonly", 'r', 0, G_OPTION_ARG_NONE, &readonly, N_ ("Read-only access"), NULL },
@@ -229,11 +229,11 @@ main (int argc, char *argv[])
g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE);
g_option_context_set_translation_domain (context, GETTEXT_PACKAGE);
if (!g_option_context_parse (context, &argc, &argv, &error))
- my_error (_ ("option parsing failed: %s\n"), error->message);
+ my_error (_ ("Option parsing failed: %s\n"), error->message);
g_option_context_free (context);
if (argc != 1)
- my_error (_ ("unsupported extra arguments: %s ...\n"), argv[1]);
+ my_error (_ ("Unsupported extra arguments: %s ...\n"), argv[1]);
if (version)
{
@@ -266,7 +266,7 @@ main (int argc, char *argv[])
SoupServer *server;
if (!g_file_get_contents (htdigest, &htdigest, NULL, &error))
- my_error (_ ("failed to open htdigest: %s\n"), error->message);
+ my_error (_ ("Failed to open htdigest: %s\n"), error->message);
realm = get_realm ();
auth = soup_auth_domain_digest_new (SOUP_AUTH_DOMAIN_REALM, realm,
@@ -296,7 +296,7 @@ main (int argc, char *argv[])
else if (public)
res = soup_server_listen_all (server, port, 0, &error);
else
- my_error (_ ("internal error, should not happen\n"));
+ my_error (_ ("Internal error, should not happen\n"));
if (!res) {
my_error (_ ("Listen failed: %s\n"), error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]