Commit 5f50b4d3 authored by Michael Terry's avatar Michael Terry

use Backup for File menu, not File

parent 7453615a
......@@ -31,8 +31,8 @@ public class AssistantBackup : AssistantOperation
construct
{
title = _("Backup");
apply_text = _("_Backup");
title = C_("backup is verb", "Backup");
apply_text = C_("backup is verb", "_Backup");
resume_supported = DejaDup.DuplicityInfo.get_default().can_resume;
resumed.connect(do_resume);
}
......
......@@ -70,7 +70,7 @@ public class MainWindow : Gtk.Window
warning("%s\n", e.message);
}
var backup_label = new Gtk.Label(_("_Backup"));
var backup_label = new Gtk.Label(C_("backup is verb", "_Backup"));
backup_label.set("use-underline", true,
"mnemonic-widget", backup_button);
......@@ -181,10 +181,10 @@ public class MainWindow : Gtk.Window
{
var action_group = new Gtk.ActionGroup ("actions");
var action = new Gtk.Action ("FileMenuAction", _("_File"), null, null);
var action = new Gtk.Action ("FileMenuAction", C_("backup is noun", "_Backup"), null, null);
action_group.add_action (action);
action = new Gtk.Action ("BackupAction", _("_Backup"), null, null);
action = new Gtk.Action ("BackupAction", C_("backup is verb", "_Backup"), null, null);
action.set("icon-name", "deja-dup-backup");
action.activate.connect(on_backup);
action_group.add_action_with_accel (action, "<control>B");
......
......@@ -3,7 +3,7 @@
DOMAIN = $(PACKAGE)
subdir = po
top_builddir = ..
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=UTF-8
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --keyword=C_:1c,2 --from-code=UTF-8
COPYRIGHT_HOLDER = Michael Terry <mike@mterry.name>
MSGID_BUGS_ADDRESS = mike@mterry.name
EXTRA_LOCALE_CATEGORIES =
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: mike@mterry.name\n"
"POT-Creation-Date: 2009-09-07 20:32-0400\n"
"POT-Creation-Date: 2009-09-07 20:55-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -28,8 +28,8 @@ msgstr ""
#. Translators: Monitor in this sense means something akin to 'watcher', not
#. a computer monitor. This program acts like a daemon that kicks off
#. backups at scheduled times.
#: ../data/deja-dup-monitor.desktop.in.h:1 ../monitor/monitor.vala:46
#: ../monitor/monitor.vala:275
#: ../data/deja-dup-monitor.desktop.in.h:1 ../monitor/monitor.vala:102
#: ../monitor/monitor.vala:343
msgid "Déjà Dup Monitor"
msgstr ""
......@@ -152,7 +152,7 @@ msgid "Your Amazon S3 Access Key Identifier. This acts as your S3 username."
msgstr ""
#: ../applet/applet.vala:26 ../deja-dup/main.vala:32
#: ../monitor/monitor.vala:36 ../preferences/preferences.vala:26
#: ../monitor/monitor.vala:41 ../preferences/preferences.vala:26
msgid "Show version"
msgstr ""
......@@ -233,11 +233,13 @@ msgid "_Resume Later"
msgstr ""
#: ../deja-dup/AssistantBackup.vala:34
msgctxt "backup is verb"
msgid "Backup"
msgstr ""
#: ../deja-dup/AssistantBackup.vala:35 ../deja-dup/MainWindow.vala:73
#: ../deja-dup/MainWindow.vala:187
msgctxt "backup is verb"
msgid "_Backup"
msgstr ""
......@@ -460,7 +462,8 @@ msgid "No filenames provided"
msgstr ""
#: ../deja-dup/MainWindow.vala:184
msgid "_File"
msgctxt "backup is noun"
msgid "_Backup"
msgstr ""
#: ../deja-dup/MainWindow.vala:203
......@@ -616,7 +619,7 @@ msgstr ""
msgid "Select Backup Location"
msgstr ""
#: ../libdeja-dup/ConfigLocation.vala:67 ../libdeja-dup/libdeja-dup.vala:303
#: ../libdeja-dup/ConfigLocation.vala:67 ../libdeja-dup/libdeja-dup.vala:304
msgid "Amazon S3"
msgstr ""
......@@ -742,15 +745,15 @@ msgstr ""
msgid "Could not display %s"
msgstr ""
#: ../libdeja-dup/libdeja-dup.vala:140
#: ../libdeja-dup/libdeja-dup.vala:141
msgid "About Déjà Dup"
msgstr ""
#: ../libdeja-dup/libdeja-dup.vala:144
#: ../libdeja-dup/libdeja-dup.vala:145
msgid "translator-credits"
msgstr ""
#: ../libdeja-dup/libdeja-dup.vala:149
#: ../libdeja-dup/libdeja-dup.vala:150
#, c-format
msgid ""
"This program is free software; you can redistribute it and/or modify it "
......@@ -759,7 +762,7 @@ msgid ""
"any later version."
msgstr ""
#: ../libdeja-dup/libdeja-dup.vala:150
#: ../libdeja-dup/libdeja-dup.vala:151
msgid ""
"This program is distributed in the hope that it will be useful, but WITHOUT "
"ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
......@@ -767,13 +770,13 @@ msgid ""
"more details."
msgstr ""
#: ../libdeja-dup/libdeja-dup.vala:151
#: ../libdeja-dup/libdeja-dup.vala:152
msgid ""
"You should have received a copy of the GNU General Public License along with "
"this program. If not, see http://www.gnu.org/licenses/."
msgstr ""
#: ../libdeja-dup/libdeja-dup.vala:315
#: ../libdeja-dup/libdeja-dup.vala:316
msgid "Unknown"
msgstr ""
......
......@@ -209,7 +209,7 @@ def create_mount(path=None, mtype='ext3', size=20):
def quit():
if ldtp.guiexist('frmDéjàDup'):
ldtp.selectmenuitem('frmDéjàDup', 'mnuFile;mnuQuit')
ldtp.selectmenuitem('frmDéjàDup', 'mnuBackup;mnuQuit')
def run(method):
success = False
......
......@@ -20,3 +20,6 @@
[CCode (cheader_filename = "libintl.h")]
weak string ngettext(string msgid, string msgid_plural, ulong n);
[CCode (cheader_filename = "glib/gi18n.h")]
weak string C_(string context, string msgid);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment