summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-19 18:26:09 +0100
committerinfirit <[email protected]>2014-11-19 21:02:22 +0100
commit9fdd4f50c9340ed86e60a90502d56e8eb060523d (patch)
tree2089082beb17a37d0461948b3ba673449ed28aff
parent1bc5d202f5ec978626b1827fed6728be19a385cd (diff)
downloadengrampa-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
-rw-r--r--data/ui/password.ui2
-rw-r--r--src/dlg-prop.c2
-rw-r--r--src/fr-archive.c2
-rw-r--r--src/fr-window.c8
4 files changed, 7 insertions, 7 deletions
diff --git a/data/ui/password.ui b/data/ui/password.ui
index 964d54d..638f668 100644
--- a/data/ui/password.ui
+++ b/data/ui/password.ui
@@ -26,7 +26,7 @@
<property name="row_spacing">6</property>
<child>
<object class="GtkCheckButton" id="pw_encrypt_header_checkbutton">
- <property name="label" translatable="yes">_Encrypt the file list too</property>
+ <property name="label" translatable="yes">_Encrypt the file list</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
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;
}