diff options
author | infirit <[email protected]> | 2014-11-19 18:26:09 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-19 21:02:22 +0100 |
commit | 9fdd4f50c9340ed86e60a90502d56e8eb060523d (patch) | |
tree | 2089082beb17a37d0461948b3ba673449ed28aff /src/fr-window.c | |
parent | 1bc5d202f5ec978626b1827fed6728be19a385cd (diff) | |
download | engrampa-9fdd4f50c9340ed86e60a90502d56e8eb060523d.tar.bz2 engrampa-9fdd4f50c9340ed86e60a90502d56e8eb060523d.tar.xz |
Several string improvements taken from file-roller
From commits:
Improvement suggestion for string in archive properties dialog: 93c9cafc8c0e053642cae85ec29c8fc2e6e7aeb1
Improvement suggestion for string in password dialog: b2329ca509b7e1e5cb767512904657468bcd3652
Improve string in error dialog: 2479dc30e9855cefbd23aa55215316528d318430
Bad string in the error dialog 'Could not rename the file': 689fb2dd268bc38a81cfd547656d74108b17ba60
Diffstat (limited to 'src/fr-window.c')
-rw-r--r-- | src/fr-window.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fr-window.c b/src/fr-window.c index 5041161..e52641c 100644 --- a/src/fr-window.c +++ b/src/fr-window.c @@ -7365,17 +7365,17 @@ valid_name (const char *new_name, if (*new_name == '\0') { /* Translators: the name references to a filename. This message can appear when renaming a file. */ - *reason = g_strdup_printf ("%s\n\n%s", _("The new name is void."), _("Please use a different name.")); + *reason = g_strdup (_("New name is void, please type a name.")); retval = FALSE; } else if (strcmp (new_name, old_name) == 0) { /* Translators: the name references to a filename. This message can appear when renaming a file. */ - *reason = g_strdup_printf ("%s\n\n%s", _("The new name is equal to the old one."), _("Please use a different name.")); + *reason = g_strdup (_("New name is the same as old one, please type other name.")); retval = FALSE; } else if (strchrs (new_name, BAD_CHARS)) { - /* Translators: the name references to a filename. This message can appear when renaming a file. */ - *reason = g_strdup_printf (_("The name \"%s\" is not valid because it cannot contain the characters: %s\n\n%s"), utf8_new_name, BAD_CHARS, _("Please use a different name.")); + /* Translators: the %s references to a filename. This message can appear when renaming a file. */ + *reason = g_strdup_printf (_("Name \"%s\" is not valid because it contains at least one of the following characters: %s, please type other name."), utf8_new_name, BAD_CHARS); retval = FALSE; } |