aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2010-02-10 22:05:04 +0100
committerJon Lund Steffensen <jonlst@gmail.com>2010-02-10 22:05:04 +0100
commite1f84c5c8dc3c45b453be80afcf6f20fb866a855 (patch)
treec308262e1da77bf69a53e6029dc8a2bce1ef1946
parentAdd update-po rule in top-level Makefile (diff)
downloadredshift-ng-e1f84c5c8dc3c45b453be80afcf6f20fb866a855.tar.gz
redshift-ng-e1f84c5c8dc3c45b453be80afcf6f20fb866a855.tar.bz2
redshift-ng-e1f84c5c8dc3c45b453be80afcf6f20fb866a855.tar.xz
Update help strings: --help does not actually work, change to -h.
Update po files.
-rw-r--r--po/da.po13
-rw-r--r--po/redshift.pot12
-rw-r--r--po/ru.po13
-rw-r--r--src/redshift.c20
4 files changed, 30 insertions, 28 deletions
diff --git a/po/da.po b/po/da.po
index 488e182..26c6a43 100644
--- a/po/da.po
+++ b/po/da.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: redshift\n"
"Report-Msgid-Bugs-To: https://bugs.launchpad.net/redshift\n"
-"POT-Creation-Date: 2010-02-10 21:19+0100\n"
+"POT-Creation-Date: 2010-02-10 22:03+0100\n"
"PO-Revision-Date: 2010-02-02 11:34+0000\n"
"Last-Translator: Jon Lund Steffensen <Unknown>\n"
"Language-Team: Danish <da@li.org>\n"
@@ -37,7 +37,7 @@ msgstr "Periode: Overgang (%.2f%% dag)\n"
msgid "Period: Daytime\n"
msgstr "Periode: Dag\n"
-#. TRANSLATORS: --help output 1
+#. TRANSLATORS: help output 1
#. LAT is latitude, LON is longitude,
#. DAY is temperature at daytime,
#. NIGHT is temperature at night
@@ -47,13 +47,13 @@ msgstr "Periode: Dag\n"
msgid "Usage: %s -l LAT:LON -t DAY:NIGHT [OPTIONS...]\n"
msgstr "Brug: %s -l BRED:LÆNG -t DAG:NAT [TILVALG...]\n"
-#. TRANSLATORS: --help output 2
+#. TRANSLATORS: help output 2
#. no-wrap
#: src/redshift.c:204
msgid "Set color temperature of display according to time of day.\n"
msgstr "Indstil skærmens farvetemperatur ud fra klokkeslæt.\n"
-#. TRANSLATORS: --help output 3
+#. TRANSLATORS: help output 3
#. no-wrap
#: src/redshift.c:210
msgid ""
@@ -63,7 +63,7 @@ msgstr ""
" -h\t\tVis denne hjælpebesked\n"
" -v\t\tUddybende udskrift\n"
-#. TRANSLATORS: --help output 4
+#. TRANSLATORS: help output 4
#. no-wrap
#: src/redshift.c:216
msgid ""
@@ -90,7 +90,8 @@ msgstr "Fejl i gamma-argument.\n"
#: src/redshift.c:280 src/redshift.c:299 src/redshift.c:350 src/redshift.c:363
#: src/redshift.c:373
-msgid "Try `--help' for more information.\n"
+#, fuzzy
+msgid "Try `-h' for more information.\n"
msgstr "Prøv `--help' for mere information.\n"
#: src/redshift.c:297
diff --git a/po/redshift.pot b/po/redshift.pot
index a0bf53b..6014150 100644
--- a/po/redshift.pot
+++ b/po/redshift.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: redshift 1.1\n"
"Report-Msgid-Bugs-To: https://bugs.launchpad.net/redshift\n"
-"POT-Creation-Date: 2010-02-10 21:19+0100\n"
+"POT-Creation-Date: 2010-02-10 22:03+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -31,7 +31,7 @@ msgstr ""
msgid "Period: Daytime\n"
msgstr ""
-#. TRANSLATORS: --help output 1
+#. TRANSLATORS: help output 1
#. LAT is latitude, LON is longitude,
#. DAY is temperature at daytime,
#. NIGHT is temperature at night
@@ -41,13 +41,13 @@ msgstr ""
msgid "Usage: %s -l LAT:LON -t DAY:NIGHT [OPTIONS...]\n"
msgstr ""
-#. TRANSLATORS: --help output 2
+#. TRANSLATORS: help output 2
#. no-wrap
#: src/redshift.c:204
msgid "Set color temperature of display according to time of day.\n"
msgstr ""
-#. TRANSLATORS: --help output 3
+#. TRANSLATORS: help output 3
#. no-wrap
#: src/redshift.c:210
msgid ""
@@ -55,7 +55,7 @@ msgid ""
" -v\t\tVerbose output\n"
msgstr ""
-#. TRANSLATORS: --help output 4
+#. TRANSLATORS: help output 4
#. no-wrap
#: src/redshift.c:216
msgid ""
@@ -74,7 +74,7 @@ msgstr ""
#: src/redshift.c:280 src/redshift.c:299 src/redshift.c:350 src/redshift.c:363
#: src/redshift.c:373
-msgid "Try `--help' for more information.\n"
+msgid "Try `-h' for more information.\n"
msgstr ""
#: src/redshift.c:297
diff --git a/po/ru.po b/po/ru.po
index feed06f..1d8890e 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: redshift\n"
"Report-Msgid-Bugs-To: https://bugs.launchpad.net/redshift\n"
-"POT-Creation-Date: 2010-02-10 21:19+0100\n"
+"POT-Creation-Date: 2010-02-10 22:03+0100\n"
"PO-Revision-Date: 2010-02-02 09:20+0000\n"
"Last-Translator: Gregory Petrosyan <gregory.petrosyan@gmail.com>\n"
"Language-Team: Russian <ru@li.org>\n"
@@ -37,7 +37,7 @@ msgstr "Период: Переходный (%.2f%% дневной)\n"
msgid "Period: Daytime\n"
msgstr "Период: День\n"
-#. TRANSLATORS: --help output 1
+#. TRANSLATORS: help output 1
#. LAT is latitude, LON is longitude,
#. DAY is temperature at daytime,
#. NIGHT is temperature at night
@@ -47,13 +47,13 @@ msgstr "Период: День\n"
msgid "Usage: %s -l LAT:LON -t DAY:NIGHT [OPTIONS...]\n"
msgstr "Использование: %s -l ШИР:ДОЛ -t ДЕНЬ:НОЧЬ [ОПЦИИ...]\n"
-#. TRANSLATORS: --help output 2
+#. TRANSLATORS: help output 2
#. no-wrap
#: src/redshift.c:204
msgid "Set color temperature of display according to time of day.\n"
msgstr "Установить цветовую температуру в соответствии со временем суток.\n"
-#. TRANSLATORS: --help output 3
+#. TRANSLATORS: help output 3
#. no-wrap
#: src/redshift.c:210
msgid ""
@@ -63,7 +63,7 @@ msgstr ""
" -h\t\tОтобразить это справочное сообщение\n"
" -v\t\tМногословный вывод\n"
-#. TRANSLATORS: --help output 4
+#. TRANSLATORS: help output 4
#. no-wrap
#: src/redshift.c:216
msgid ""
@@ -89,7 +89,8 @@ msgstr "Некорректная величина гаммы.\n"
#: src/redshift.c:280 src/redshift.c:299 src/redshift.c:350 src/redshift.c:363
#: src/redshift.c:373
-msgid "Try `--help' for more information.\n"
+#, fuzzy
+msgid "Try `-h' for more information.\n"
msgstr "Воспользуйтесь «--help» для получения дополнительной информации.\n"
#: src/redshift.c:297
diff --git a/src/redshift.c b/src/redshift.c
index ee9dae5..12390d3 100644
--- a/src/redshift.c
+++ b/src/redshift.c
@@ -190,7 +190,7 @@ calculate_temp(double elevation, int temp_day, int temp_night,
static void
print_help(const char *program_name)
{
- /* TRANSLATORS: --help output 1
+ /* TRANSLATORS: help output 1
LAT is latitude, LON is longitude,
DAY is temperature at daytime,
NIGHT is temperature at night
@@ -199,19 +199,19 @@ print_help(const char *program_name)
program_name);
fputs("\n", stdout);
- /* TRANSLATORS: --help output 2
+ /* TRANSLATORS: help output 2
no-wrap */
fputs(_("Set color temperature of display"
" according to time of day.\n"), stdout);
fputs("\n", stdout);
- /* TRANSLATORS: --help output 3
+ /* TRANSLATORS: help output 3
no-wrap */
fputs(_(" -h\t\tDisplay this help message\n"
" -v\t\tVerbose output\n"), stdout);
fputs("\n", stdout);
- /* TRANSLATORS: --help output 4
+ /* TRANSLATORS: help output 4
no-wrap */
fputs(_(" -g R:G:B\tAdditional gamma correction to apply\n"
" -l LAT:LON\tYour current location\n"
@@ -225,7 +225,7 @@ print_help(const char *program_name)
stdout);
fputs("\n", stdout);
- /* TRANSLATORS: --help output 5 */
+ /* TRANSLATORS: help output 5 */
printf("Please report bugs to <%s>\n", PACKAGE_BUGREPORT);
}
@@ -277,7 +277,7 @@ main(int argc, char *argv[])
if (s == NULL) {
fputs(_("Malformed gamma argument.\n"),
stderr);
- fputs(_("Try `--help' for more"
+ fputs(_("Try `-h' for more"
" information.\n"), stderr);
exit(EXIT_FAILURE);
}
@@ -296,7 +296,7 @@ main(int argc, char *argv[])
if (s == NULL) {
fputs(_("Malformed location argument.\n"),
stderr);
- fputs(_("Try `--help' for more"
+ fputs(_("Try `-h' for more"
" information.\n"), stderr);
exit(EXIT_FAILURE);
}
@@ -347,7 +347,7 @@ main(int argc, char *argv[])
if (s == NULL) {
fputs(_("Malformed temperature argument.\n"),
stderr);
- fputs(_("Try `--help' for more"
+ fputs(_("Try `-h' for more"
" information.\n"), stderr);
exit(EXIT_FAILURE);
}
@@ -360,7 +360,7 @@ main(int argc, char *argv[])
break;
default:
fprintf(stderr, _("Unknown parameter `%c'.\n"), opt);
- fputs(_("Try `--help' for more"
+ fputs(_("Try `-h' for more"
" information.\n"), stderr);
exit(EXIT_FAILURE);
break;
@@ -370,7 +370,7 @@ main(int argc, char *argv[])
/* Latitude and longitude must be set */
if (isnan(lat) || isnan(lon)) {
fputs(_("Latitude and longitude must be set.\n"), stderr);
- fputs(_("Try `--help' for more"
+ fputs(_("Try `-h' for more"
" information.\n"), stderr);
exit(EXIT_FAILURE);
}