more terminology updates

This commit is contained in:
Damien Elmes 2012-04-25 11:44:13 +09:00
parent ee024a7252
commit bd2c109d15
6 changed files with 8 additions and 9 deletions

View file

@ -846,7 +846,7 @@ where id in %s""" % ids2str(
select count(distinct mid) from notes select count(distinct mid) from notes
where id in %s""" % ids2str(sf)) where id in %s""" % ids2str(sf))
if mods > 1: if mods > 1:
showInfo(_("Please select cards from only one model.")) showInfo(_("Please select cards from only one note type."))
return return
return sf return sf

View file

@ -60,8 +60,7 @@ or your deck may have a problem.
<p>If that doesn't fix the problem, please copy the following<br> <p>If that doesn't fix the problem, please copy the following<br>
into a bug report:""") into a bug report:""")
pluginText = _("""\ pluginText = _("""\
An error occurred in a plugin. Please contact the plugin author.<br> An error occurred in an add-on. Please contact the add-on author.<br>""")
Please do not file a bug report with Anki.<br>""")
if "addon" in error: if "addon" in error:
txt = pluginText txt = pluginText
else: else:

View file

@ -43,7 +43,7 @@ class ModelChooser(QHBoxLayout):
self.edit.setFixedWidth(32) self.edit.setFixedWidth(32)
self.edit.setIcon(QIcon(":/icons/gears.png")) self.edit.setIcon(QIcon(":/icons/gears.png"))
self.edit.setShortcut(_("Shift+Alt+e")) self.edit.setShortcut(_("Shift+Alt+e"))
self.edit.setToolTip(_("Customize Models")) self.edit.setToolTip(_("Customize Note Types"))
self.edit.setAutoDefault(False) self.edit.setAutoDefault(False)
self.addWidget(self.edit) self.addWidget(self.edit)
self.connect(self.edit, SIGNAL("clicked()"), self.onEdit) self.connect(self.edit, SIGNAL("clicked()"), self.onEdit)

View file

@ -14,7 +14,7 @@ class Models(QDialog):
QDialog.__init__(self, self.parent, Qt.Window) QDialog.__init__(self, self.parent, Qt.Window)
self.col = mw.col self.col = mw.col
self.mm = self.col.models self.mm = self.col.models
self.mw.checkpoint(_("Models")) self.mw.checkpoint(_("Note Types"))
self.form = aqt.forms.models.Ui_Dialog() self.form = aqt.forms.models.Ui_Dialog()
self.form.setupUi(self) self.form.setupUi(self)
self.connect(self.form.buttonBox, SIGNAL("helpRequested()"), self.connect(self.form.buttonBox, SIGNAL("helpRequested()"),
@ -82,11 +82,11 @@ class Models(QDialog):
def onDelete(self): def onDelete(self):
if len(self.models) < 2: if len(self.models) < 2:
showInfo(_("Please add another model first."), showInfo(_("Please add another note type first."),
parent=self) parent=self)
return return
if not askUser( if not askUser(
_("Delete this model and all its cards?"), _("Delete this note type and all its cards?"),
parent=self): parent=self):
return return
self.mm.rem(self.model) self.mm.rem(self.model)

View file

@ -75,7 +75,7 @@ to import your decks from previous Anki versions."""))
w.addPage(self._readyPage()) w.addPage(self._readyPage())
w.addPage(self._upgradePage()) w.addPage(self._upgradePage())
w.addPage(self._finishedPage()) w.addPage(self._finishedPage())
w.setWindowTitle("Upgrade Wizard") w.setWindowTitle(_("Upgrade Wizard"))
w.setWizardStyle(QWizard.ModernStyle) w.setWizardStyle(QWizard.ModernStyle)
w.setOptions(QWizard.NoCancelButton) w.setOptions(QWizard.NoCancelButton)
w.exec_() w.exec_()

View file

@ -190,7 +190,7 @@
<string>Browse &amp;&amp; Install...</string> <string>Browse &amp;&amp; Install...</string>
</property> </property>
<property name="statusTip"> <property name="statusTip">
<string>Download a plugin to add new features or change Anki's behaviour</string> <string></string>
</property> </property>
</action> </action>
<action name="actionFullDatabaseCheck"> <action name="actionFullDatabaseCheck">