diff options
author | Johnny Jacob <jjohnny@src.gnome.org> | 2007-08-11 02:12:33 +0800 |
---|---|---|
committer | Johnny Jacob <jjohnny@src.gnome.org> | 2007-08-11 02:12:33 +0800 |
commit | 6ce71a6da26b0b8284dbf0b81cfff6fc322982f5 (patch) | |
tree | 090d9ae5f259fd18cb43215fbed98d3c27a59850 /plugins/backup-restore/backup.c | |
parent | 4191c4884dd41fa624bf26c8a987f36e26962328 (diff) | |
download | gsoc2013-evolution-6ce71a6da26b0b8284dbf0b81cfff6fc322982f5.tar gsoc2013-evolution-6ce71a6da26b0b8284dbf0b81cfff6fc322982f5.tar.gz gsoc2013-evolution-6ce71a6da26b0b8284dbf0b81cfff6fc322982f5.tar.bz2 gsoc2013-evolution-6ce71a6da26b0b8284dbf0b81cfff6fc322982f5.tar.lz gsoc2013-evolution-6ce71a6da26b0b8284dbf0b81cfff6fc322982f5.tar.xz gsoc2013-evolution-6ce71a6da26b0b8284dbf0b81cfff6fc322982f5.tar.zst gsoc2013-evolution-6ce71a6da26b0b8284dbf0b81cfff6fc322982f5.zip |
Backup-restore-plugin: string issues resolved. Bug #458508.
committing on behalf of Anand V M <avmuttagi@gmail.com>
svn path=/trunk/; revision=33980
Diffstat (limited to 'plugins/backup-restore/backup.c')
-rw-r--r-- | plugins/backup-restore/backup.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/backup-restore/backup.c b/plugins/backup-restore/backup.c index d49bb9f744..90d389e239 100644 --- a/plugins/backup-restore/backup.c +++ b/plugins/backup-restore/backup.c @@ -41,11 +41,11 @@ static const GOptionEntry options[] = { { "restore", '\0', 0, G_OPTION_ARG_NONE, &restore_op, N_("Restore Evolution directory"), NULL }, { "check", '\0', 0, G_OPTION_ARG_NONE, &check_op, - N_("Check Evolution archive"), NULL }, + N_("Check Evolution Backup"), NULL }, { "restart", '\0', 0, G_OPTION_ARG_NONE, &restart_arg, N_("Restart Evolution"), NULL }, { "gui", '\0', 0, G_OPTION_ARG_NONE, &gui_arg, - N_("With GUI"), NULL }, + N_("With Graphical User Interface"), NULL }, { G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_STRING_ARRAY, &opt_remaining }, { NULL } @@ -79,7 +79,7 @@ backup (const char *filename) /* FIXME stay on this file system ,other options?" */ /* FIXME compression type?" */ /* FIXME date/time stamp?" */ - /* FIXME archive location?" */ + /* FIXME backup location?" */ command = g_strdup_printf ("cd ~ && tar zpcf %s .evolution .camel_certs", filename); s (command); g_free (command); @@ -113,7 +113,7 @@ restore (const char *filename) s ("mv ~/.camel_certs ~/.camel_certs_old"); CANCEL (complete); - txt = _("Extracting files from the archive"); + txt = _("Extracting files from backup"); command = g_strdup_printf ("cd ~ && tar zxf %s", filename); s (command); g_free (command); @@ -241,13 +241,13 @@ main (int argc, char **argv) for (i = 0; i < g_strv_length (opt_remaining); i++) { if (backup_op) { - oper = _("Backing up to %s"); - d(g_message ("Backing up to %s", (char *) opt_remaining[i])); + oper = _("Backing up to the folder %s"); + d(g_message ("Backing up to the folder %s", (char *) opt_remaining[i])); bk_file = g_strdup ((char *) opt_remaining[i]); file = bk_file; } else if (restore_op) { - oper = _("Restoring from %s"); - d(g_message ("Restoring from %s", (char *) opt_remaining[i])); + oper = _("Restoring from the folder %s"); + d(g_message ("Restoring from the folder %s", (char *) opt_remaining[i])); res_file = g_strdup ((char *) opt_remaining[i]); file = res_file; } else if (check_op) { |