diff options
Diffstat (limited to 'docs/en/rst/integrating')
-rw-r--r-- | docs/en/rst/integrating/extensions.rst | 10 | ||||
-rw-r--r-- | docs/en/rst/integrating/faq.rst | 4 | ||||
-rw-r--r-- | docs/en/rst/integrating/languages.rst | 2 | ||||
-rw-r--r-- | docs/en/rst/integrating/skins.rst | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/docs/en/rst/integrating/extensions.rst b/docs/en/rst/integrating/extensions.rst index 50f204746..e9ae48630 100644 --- a/docs/en/rst/integrating/extensions.rst +++ b/docs/en/rst/integrating/extensions.rst @@ -49,7 +49,7 @@ To add new fields to a bug, you need to do the following: my $field = new Bugzilla::Field({ name => $name }); return if $field; - + $field = Bugzilla::Field->create({ name => $name, description => $description, @@ -67,12 +67,12 @@ To add new fields to a bug, you need to do the following: .. code-block:: perl - BEGIN { - *Bugzilla::Bug::is_foopy = \&_bug_is_foopy; + BEGIN { + *Bugzilla::Bug::is_foopy = \&_bug_is_foopy; } - + ... - + sub _bug_is_foopy { return $_[0]->{'is_foopy'}; } diff --git a/docs/en/rst/integrating/faq.rst b/docs/en/rst/integrating/faq.rst index 19f8b59ff..f50453df5 100644 --- a/docs/en/rst/integrating/faq.rst +++ b/docs/en/rst/integrating/faq.rst @@ -18,10 +18,10 @@ How do I... ...use a word other than 'bug' to describe bugs? :ref:`Edit or override <templates>` the appropriate values in the template :file:`template/en/default/global/variables.none.tmpl`. - + ...call the system something other than 'Bugzilla'? :ref:`Edit or override <templates>` the appropriate value in the template :file:`template/en/default/global/variables.none.tmpl`. - + ...alter who can change what field when? See :ref:`who-can-change-what`. diff --git a/docs/en/rst/integrating/languages.rst b/docs/en/rst/integrating/languages.rst index 4d087a721..d76a82a82 100644 --- a/docs/en/rst/integrating/languages.rst +++ b/docs/en/rst/integrating/languages.rst @@ -3,7 +3,7 @@ Languages Bugzilla's templates can be localized, although it's a `big job <https://wiki.mozilla.org/Bugzilla:L10n:Guide>`_. If you have -a localized set of templates for your version of Bugzilla, Bugzilla can +a localized set of templates for your version of Bugzilla, Bugzilla can support multiple languages at once. In that case, Bugzilla honours the user's ``Accept-Language`` HTTP header when deciding which language to serve. If multiple languages are installed, a menu will display in the header allowing diff --git a/docs/en/rst/integrating/skins.rst b/docs/en/rst/integrating/skins.rst index 2cd08b4c0..92bf60dfc 100644 --- a/docs/en/rst/integrating/skins.rst +++ b/docs/en/rst/integrating/skins.rst @@ -11,7 +11,7 @@ are a couple more which are part of `bugzilla.mozilla.org <http://git.mozilla.org/?p=webtools/bmo/bugzilla.git>`_. However, in each case you may need to check that the skin supports the version of Bugzilla -you have. +you have. To create a new custom skin, make a directory that contains all the same CSS file names as :file:`skins/standard/`, and put your directory in |