summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-11-06 21:42:04 +0200
committerVille Skyttä <ville.skytta@iki.fi>2011-11-06 21:42:04 +0200
commit9f1747227fde23001d3e4827b583012833c7e861 (patch)
treeac836c36a140dc9ed2564245c6548434871edffc
parent892f87348974e1087539b16247b7696a454a3d18 (diff)
downloadvdr-plugin-muggle-9f1747227fde23001d3e4827b583012833c7e861.tar.gz
vdr-plugin-muggle-9f1747227fde23001d3e4827b583012833c7e861.tar.bz2
Improve chdir failed message.
-rw-r--r--po/de.po6
-rw-r--r--po/fi.po4
-rw-r--r--po/fr.po6
-rw-r--r--po/it.po6
-rw-r--r--po/muggle.pot2
-rw-r--r--vdr_menu.c4
6 files changed, 14 insertions, 14 deletions
diff --git a/po/de.po b/po/de.po
index f20acc2..ab18dd9 100644
--- a/po/de.po
+++ b/po/de.po
@@ -266,9 +266,9 @@ msgstr "Datenbank %s anlegen?"
msgid "Import items?"
msgstr "Titel importieren?"
-#, c-format
-msgid "Cannot access directory %s:%d"
-msgstr "Kein Zugriff auf Verzeichnis %s:%d"
+#, fuzzy, c-format
+msgid "Cannot change to directory %s: %m"
+msgstr "Kein Zugriff auf Verzeichnis %s: %m"
#, c-format
msgid "%d tracks : %s"
diff --git a/po/fi.po b/po/fi.po
index b7b0294..dfb75a0 100644
--- a/po/fi.po
+++ b/po/fi.po
@@ -266,8 +266,8 @@ msgid "Import items?"
msgstr "Tuodaanko kappaleet?"
#, c-format
-msgid "Cannot access directory %s:%d"
-msgstr "Hakemistoon %s siirtyminen ei onnistu: %d"
+msgid "Cannot change to directory %s: %m"
+msgstr "Hakemistoon %s siirtyminen ei onnistu: %m"
#, c-format
msgid "%d tracks : %s"
diff --git a/po/fr.po b/po/fr.po
index 0fb5c22..1213120 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -265,9 +265,9 @@ msgstr "Générer la base des données %s?"
msgid "Import items?"
msgstr "Importer les titres?"
-#, c-format
-msgid "Cannot access directory %s:%d"
-msgstr "Ne peux pas lire %s:%d"
+#, fuzzy, c-format
+msgid "Cannot change to directory %s: %m"
+msgstr "Ne peux pas lire %s: %m"
#, c-format
msgid "%d tracks : %s"
diff --git a/po/it.po b/po/it.po
index 08aab60..394db46 100644
--- a/po/it.po
+++ b/po/it.po
@@ -263,9 +263,9 @@ msgstr "Creare database %s?"
msgid "Import items?"
msgstr "Importare elementi?"
-#, c-format
-msgid "Cannot access directory %s:%d"
-msgstr "Impossibile accedere alla dir. %s:%d"
+#, fuzzy, c-format
+msgid "Cannot change to directory %s: %m"
+msgstr "Impossibile accedere alla dir. %s: %m"
#, c-format
msgid "%d tracks : %s"
diff --git a/po/muggle.pot b/po/muggle.pot
index 5d3a8c3..8a8f2cd 100644
--- a/po/muggle.pot
+++ b/po/muggle.pot
@@ -263,7 +263,7 @@ msgid "Import items?"
msgstr ""
#, c-format
-msgid "Cannot access directory %s:%d"
+msgid "Cannot change to directory %s: %m"
msgstr ""
#, c-format
diff --git a/vdr_menu.c b/vdr_menu.c
index 05b71d2..3dfddb9 100644
--- a/vdr_menu.c
+++ b/vdr_menu.c
@@ -826,8 +826,8 @@ import() {
static const char *tld_arg[] = { ".", 0};
int res = chdir(the_setup.ToplevelDir);
if (res) {
- showmessage(2,tr("Cannot access directory %s:%d"),
- the_setup.ToplevelDir,errno);
+ showmessage(2,tr("Cannot change to directory %s: %m"),
+ the_setup.ToplevelDir);
return false;
}
s->Sync(tld_arg);