From 9fdd4f50c9340ed86e60a90502d56e8eb060523d Mon Sep 17 00:00:00 2001 From: infirit Date: Wed, 19 Nov 2014 18:26:09 +0100 Subject: 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 --- src/dlg-prop.c | 2 +- src/fr-archive.c | 2 +- src/fr-window.c | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/dlg-prop.c b/src/dlg-prop.c index 3a2529a..969819a 100644 --- a/src/dlg-prop.c +++ b/src/dlg-prop.c @@ -131,7 +131,7 @@ dlg_prop (FrWindow *window) /**/ label_label = _gtk_builder_get_widget (data->builder, "p_date_label_label"); - set_label (label_label, _("Modified on:")); + set_label (label_label, _("Last modified:")); label = _gtk_builder_get_widget (data->builder, "p_date_label"); s = get_time_string (get_file_mtime (fr_window_get_archive_uri (window))); diff --git a/src/fr-archive.c b/src/fr-archive.c index 75bfdf5..ab3e417 100644 --- a/src/fr-archive.c +++ b/src/fr-archive.c @@ -1226,7 +1226,7 @@ copy_remote_file (FrArchive *archive, if (! g_file_query_exists (archive->file, NULL)) { GError *error; - error = g_error_new (G_IO_ERROR, G_IO_ERROR_NOT_FOUND, _("The file doesn't exist")); + error = g_error_new (G_IO_ERROR, G_IO_ERROR_NOT_FOUND, _("Archive not found")); fr_archive_copy_done (archive, FR_ACTION_LOADING_ARCHIVE, error); g_error_free (error); return; 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; } -- cgit v1.2.1