fix unstranslated errors
This commit is contained in:
parent
84dd3f482a
commit
d07ccf9329
2 changed files with 14 additions and 5 deletions
|
@ -156,7 +156,7 @@ class dcPackman
|
|||
{
|
||||
$root = (string) path::real($root);
|
||||
if (!is_dir($root) || !is_writable($root)) {
|
||||
throw new Exception('Directory is not writable');
|
||||
throw new Exception(__('Directory is not writable'));
|
||||
}
|
||||
|
||||
return $root;
|
||||
|
@ -168,7 +168,7 @@ class dcPackman
|
|||
|| !isset($info['id'])
|
||||
|| !is_dir($info['root'])
|
||||
) {
|
||||
throw new Exception('Failed to get module info');
|
||||
throw new Exception(__('Failed to get module info'));
|
||||
}
|
||||
|
||||
return $info;
|
||||
|
@ -231,7 +231,7 @@ class dcPackman
|
|||
@mkdir($c);
|
||||
}
|
||||
if (!is_writable($c)) {
|
||||
throw new Exception('Failed to get temporary directory');
|
||||
throw new Exception(__('Failed to get temporary directory'));
|
||||
}
|
||||
|
||||
return $c;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"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"
|
||||
"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"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
@ -52,6 +52,15 @@ msgstr "Retirer les commentaires des fichiers"
|
|||
msgid "Fix newline style from files content"
|
||||
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."
|
||||
msgstr "Le répertoire de cache n'est pas accessible en écriture."
|
||||
|
||||
|
|
Loading…
Reference in a new issue