[libgweather] Fix a translator comment
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgweather] Fix a translator comment
- Date: Sat, 28 Jan 2017 00:34:47 +0000 (UTC)
commit ab5cb7e87b7b942fb1f66cfff803d07591d96ece
Author: Piotr Drąg <piotrdrag gmail com>
Date: Sat Jan 28 01:34:22 2017 +0100
Fix a translator comment
They need to be exactly one line above a string to show up in .po files.
libgweather/weather-metar.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgweather/weather-metar.c b/libgweather/weather-metar.c
index 9d782da..c469e4a 100644
--- a/libgweather/weather-metar.c
+++ b/libgweather/weather-metar.c
@@ -568,8 +568,8 @@ metar_finish (SoupSession *session, SoupMessage *msg, gpointer data)
if (SOUP_STATUS_IS_TRANSPORT_ERROR (msg->status_code))
priv->network_error = TRUE;
else {
- /* Translators: %d is an error code, and %s the error string */
if (msg->status_code != SOUP_STATUS_CANCELLED)
+ /* Translators: %d is an error code, and %s the error string */
g_warning (_("Failed to get METAR data: %d %s.\n"),
msg->status_code, msg->reason_phrase);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]