+2000-09-21 Paul D. Smith <paul@paulandlesley.org>
+
+ * main.c (log_working_directory): Rework the text to use complete
+ sentences, to make life simpler for the translators.
+
2000-08-21 Paul D. Smith <paul@paulandlesley.org>
* variable.c (try_variable_definition): Change how we handle
#: main.c:2749
msgid "Entering"
-msgstr "Æþ¤ê¤Þ¤¹"
+msgstr "¤³¤³¤ËÆþ¤ê¤Þ¤¹: "
#: main.c:2749
msgid "Leaving"
-msgstr "½Ð¤Þ¤¹"
+msgstr "¤³¤³¤«¤é½Ð¤Þ¤¹: "
#: main.c:2768
msgid "an unknown directory"
-msgstr "¥Ç¥£¥ì¥¯¥È¥êÉÔÌÀ"
+msgstr "ÉÔÌÀ¤Ê¥Ç¥£¥ì¥¯¥È¥ê"
#: main.c:2770
#, c-format
int entering;
{
static int entered = 0;
- char *msg = entering ? _("Entering") : _("Leaving");
/* Print nothing without the flag. Don't print the entering message
again if we already have. Don't print the leaving message if we
fputs ("# ", stdout);
if (makelevel == 0)
- printf ("%s: %s ", program, msg);
+ printf ("%s: ", program);
else
- printf ("%s[%u]: %s ", program, makelevel, msg);
+ printf ("%s[%u]: ", program, makelevel);
+
+ /* Use entire sentences to give the translators a fighting chance. */
if (starting_directory == 0)
- puts (_("an unknown directory"));
+ if (entering)
+ puts (_("Entering an unknown directory"));
+ else
+ puts (_("Leaving an unknown directory"));
else
- printf (_("directory `%s'\n"), starting_directory);
+ if (entering)
+ printf (_("Entering directory `%s'\n"), starting_directory);
+ else
+ printf (_("Leaving directory `%s'\n"), starting_directory);
}