Skip to content

Commit

Permalink
Reword some of the texts
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoirotte committed Dec 17, 2016
1 parent eb30654 commit 052af18
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
25 changes: 13 additions & 12 deletions data/i18n/Erebot.pot
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Erebot 1.0.x-dev\n"
"Report-Msgid-Bugs-To: i18n@erebot.net\n"
"POT-Creation-Date: 2014-09-28 21:32+0200\n"
"POT-Creation-Date: 2016-12-17 13:35+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"
Expand Down Expand Up @@ -37,12 +37,12 @@ msgstr ""
msgid "Connection failed, removing it from the pool"
msgstr ""
#
# File: src/CLI.php, line: 389
msgid "Could not change umask"
# File: src/CLI.php, line: 420
msgid "Could not change directory to \"%(path)s\""
msgstr ""
#
# File: src/CLI.php, line: 420
msgid "Could not chdir to \"%(path)s\""
# File: src/CLI.php, line: 389
msgid "Could not change umask"
msgstr ""
#
# File: src/Core.php, line: 635
Expand All @@ -61,15 +61,15 @@ msgstr ""
msgid "Could not set user identity to \"%(name)s\" (%(id)d)"
msgstr ""
#
# File: src/CLI.php, line: 396
msgid "Could not start in the background (unable to create a new session)"
msgstr ""
#
# File: src/CLI.php, line: 359
# File: src/CLI.php, line: 408
msgid "Could not start in the background (unable to fork)"
msgstr ""
#
# File: src/CLI.php, line: 396
msgid "Could not start in the background (unable to setsid)"
msgstr ""
#
# File: src/IrcConnection.php, line: 759
msgid "Dispatching \"%(type)s\" event."
msgstr ""
Expand Down Expand Up @@ -118,7 +118,7 @@ msgstr ""
msgid "Limit:"
msgstr ""
#
# File: src/Config/Main.php, line: 264
# File: src/Config/Main.php, line: 263
msgid "Loaded configuration data"
msgstr ""
#
Expand Down Expand Up @@ -151,11 +151,12 @@ msgid "No such user \"%(user)s\""
msgstr ""
#
# File: src/CLI.php, line: 476
msgid "Only root can change group identity! Your current UID is %(uid)d"
msgid ""
"Only the root user may change group identity! Your current UID is %(uid)d"
msgstr ""
#
# File: src/CLI.php, line: 536
msgid "Only root can change user identity! Your current UID is %(uid)d"
msgid "Only the root user may change user identity! Your current UID is %(uid)d"
msgstr ""
#
# File: src/IrcConnection.php, line: 661
Expand Down
8 changes: 4 additions & 4 deletions src/CLI.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ public static function run()
if (posix_setsid() == -1) {
$logger->error(
$translator->gettext(
'Could not start in the background (unable to setsid)'
'Could not start in the background (unable to create a new session)'
)
);
exit(1);
Expand All @@ -417,7 +417,7 @@ public static function run()
// Avoid locking up the current directory.
if (!chdir(DIRECTORY_SEPARATOR)) {
$logger->error(
$translator->gettext('Could not chdir to "%(path)s"'),
$translator->gettext('Could not change directory to "%(path)s"'),
array('path' => DIRECTORY_SEPARATOR)
);
}
Expand Down Expand Up @@ -473,7 +473,7 @@ public static function run()
} elseif (posix_getuid() !== 0) {
$logger->warning(
$translator->gettext(
'Only root can change group identity! '.
'Only the root user may change group identity! '.
'Your current UID is %(uid)d'
),
array('uid' => posix_getuid())
Expand Down Expand Up @@ -533,7 +533,7 @@ public static function run()
} elseif (posix_getuid() !== 0) {
$logger->warning(
$translator->gettext(
'Only root can change user identity! '.
'Only the root user may change user identity! '.
'Your current UID is %(uid)d'
),
array('uid' => posix_getuid())
Expand Down

0 comments on commit 052af18

Please sign in to comment.