string changes

This commit is contained in:
Kovid Goyal 2022-10-12 15:58:02 +05:30
parent 5893eea459
commit 2d6fe7a8b5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ fetching news. For more examples of plugins designed to add features to calibre,
Code layout
^^^^^^^^^^^^^^
All the calibre python code is in the ``calibre`` package. This package contains the following main sub-packages
All the calibre Python code is in the ``calibre`` package. This package contains the following main sub-packages
* devices - All the device drivers. Just look through some of the built-in drivers to get an idea for how they work.

View File

@ -827,7 +827,7 @@ def evaluate(book, context):
return (_('User defined Python template function') if longform else
_('User function'))
elif self.all_functions[name].object_type is StoredObjectType.StoredPythonTemplate:
return (_('Stored user defined python template') if longform else _('Stored template'))
return (_('Stored user defined Python template') if longform else _('Stored template'))
return (_('Stored user defined GPM template') if longform else _('Stored template'))
def function_changed(self, toWhat):

View File

@ -91,7 +91,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
either begin with the text '{0}' or be {1}. You retrieve arguments
passed to a GPM stored template using the '{2}()' template function, as
in '{2}(var1, var2, ...)'. The passed arguments are copied to the named
variables. Arguments passed to a python template are in the '{2}'
variables. Arguments passed to a Python template are in the '{2}'
parameter. Arguments are always strings.</p>
<p>For example, this stored template checks if any items are in a