fix unstranslated errors
This commit is contained in:
parent
84dd3f482a
commit
d07ccf9329
@ -156,7 +156,7 @@ class dcPackman
|
|||||||
{
|
{
|
||||||
$root = (string) path::real($root);
|
$root = (string) path::real($root);
|
||||||
if (!is_dir($root) || !is_writable($root)) {
|
if (!is_dir($root) || !is_writable($root)) {
|
||||||
throw new Exception('Directory is not writable');
|
throw new Exception(__('Directory is not writable'));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $root;
|
return $root;
|
||||||
@ -168,7 +168,7 @@ class dcPackman
|
|||||||
|| !isset($info['id'])
|
|| !isset($info['id'])
|
||||||
|| !is_dir($info['root'])
|
|| !is_dir($info['root'])
|
||||||
) {
|
) {
|
||||||
throw new Exception('Failed to get module info');
|
throw new Exception(__('Failed to get module info'));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $info;
|
return $info;
|
||||||
@ -231,7 +231,7 @@ class dcPackman
|
|||||||
@mkdir($c);
|
@mkdir($c);
|
||||||
}
|
}
|
||||||
if (!is_writable($c)) {
|
if (!is_writable($c)) {
|
||||||
throw new Exception('Failed to get temporary directory');
|
throw new Exception(__('Failed to get temporary directory'));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $c;
|
return $c;
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Project-Id-Version: pacKman 2021.10.28\n"
|
"Project-Id-Version: pacKman 2022.11.20\n"
|
||||||
"POT-Creation-Date: \n"
|
"POT-Creation-Date: \n"
|
||||||
"PO-Revision-Date: 2021-11-05T00:45:06+00:00\n"
|
"PO-Revision-Date: 2022-11-26T21:19:33+00:00\n"
|
||||||
"Last-Translator: Jean-Christian Denis\n"
|
"Last-Translator: Jean-Christian Denis\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -52,6 +52,15 @@ msgstr "Retirer les commentaires des fichiers"
|
|||||||
msgid "Fix newline style from files content"
|
msgid "Fix newline style from files content"
|
||||||
msgstr "Corriger les retour chariot du contenu des fichiers"
|
msgstr "Corriger les retour chariot du contenu des fichiers"
|
||||||
|
|
||||||
|
msgid "Directory is not writable"
|
||||||
|
msgstr "Le répertoire n'est pas accessible en écriture"
|
||||||
|
|
||||||
|
msgid "Failed to get module info"
|
||||||
|
msgstr "Impossible de retrouver les informations du module"
|
||||||
|
|
||||||
|
msgid "Failed to get temporary directory"
|
||||||
|
msgstr "Impossible de retrouver le répertoire temporaire"
|
||||||
|
|
||||||
msgid "Cache directory is not writable."
|
msgid "Cache directory is not writable."
|
||||||
msgstr "Le répertoire de cache n'est pas accessible en écriture."
|
msgstr "Le répertoire de cache n'est pas accessible en écriture."
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user