mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 21:01:24 +03:00
tweaks: update a translator hint, and add another
This commit is contained in:
parent
ba5a191f26
commit
d0501d0ebd
@ -134,7 +134,7 @@ bool write_lockfile(const char *lockfilename, const char *filename, bool modifie
|
||||
size_t wroteamt;
|
||||
|
||||
if (mypwuid == NULL) {
|
||||
/* TRANSLATORS: Keep the next eight messages at most 76 characters. */
|
||||
/* TRANSLATORS: Keep the next seven messages at most 76 characters. */
|
||||
statusline(MILD, _("Couldn't determine my identity for lock file"));
|
||||
return FALSE;
|
||||
}
|
||||
@ -337,6 +337,7 @@ bool has_valid_path(const char *filename)
|
||||
|
||||
if (stat(parentdir, &parentinfo) == -1) {
|
||||
if (errno == ENOENT)
|
||||
/* TRANSLATORS: Keep the next ten messages at most 76 characters. */
|
||||
statusline(ALERT, _("Directory '%s' does not exist"), parentdir);
|
||||
else
|
||||
statusline(ALERT, _("Path '%s': %s"), parentdir, strerror(errno));
|
||||
|
Loading…
Reference in New Issue
Block a user