diff options
| -rw-r--r-- | doc/developer-guidelines.sgml | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/doc/developer-guidelines.sgml b/doc/developer-guidelines.sgml index edadaad0..4186ed7f 100644 --- a/doc/developer-guidelines.sgml +++ b/doc/developer-guidelines.sgml | |||
| @@ -376,13 +376,6 @@ | |||
| 376 | <para>It is up to third party programs to convert the Monitoring Plugins | 376 | <para>It is up to third party programs to convert the Monitoring Plugins |
| 377 | performance data into graphs.</para> | 377 | performance data into graphs.</para> |
| 378 | </section> | 378 | </section> |
| 379 | |||
| 380 | <section><title>Translations</title> | ||
| 381 | <para>If possible, use translation tools for all output to respect the user's language | ||
| 382 | settings. See <xref linkend="translationsdevelopers"> for guidelines | ||
| 383 | for the core plugins. | ||
| 384 | </para> | ||
| 385 | </section> | ||
| 386 | </section> | 379 | </section> |
| 387 | 380 | ||
| 388 | <section id="SysCmdAuxFiles"><title>System Commands and Auxiliary Files</title> | 381 | <section id="SysCmdAuxFiles"><title>System Commands and Auxiliary Files</title> |
| @@ -749,32 +742,6 @@ setup the tests. Run "make test" to run all the tests. | |||
| 749 | <para>All commits will be written to a ChangeLog at release time. | 742 | <para>All commits will be written to a ChangeLog at release time. |
| 750 | </para> | 743 | </para> |
| 751 | </section> | 744 | </section> |
| 752 | |||
| 753 | <section id="translationsdevelopers"><title>Translations for developers</title> | ||
| 754 | <para>To make the job easier for translators, please follow these guidelines:</para> | ||
| 755 | <orderedlist> | ||
| 756 | <listitem><para> | ||
| 757 | Before creating new strings, check the po/monitoring-plugins.pot file to | ||
| 758 | see if a similar string | ||
| 759 | already exists | ||
| 760 | </para></listitem> | ||
| 761 | <listitem><para> | ||
| 762 | For help texts, break into individual options so that these can be reused | ||
| 763 | between plugins | ||
| 764 | </para></listitem> | ||
| 765 | <listitem><para>Try to avoid linefeeds unless you are working on a block of text</para></listitem> | ||
| 766 | <listitem><para>Short help is not translated</para></listitem> | ||
| 767 | <listitem><para>Long help has options in English language, but text translated</para></listitem> | ||
| 768 | <listitem><para>"Copyright" kept in English</para></listitem> | ||
| 769 | <listitem><para>Copyright holder names kept in original text</para></listitem> | ||
| 770 | <listitem><para>Debugging output does not need to be translated</para></listitem> | ||
| 771 | </orderedlist> | ||
| 772 | </section> | ||
| 773 | |||
| 774 | <section><title>Translations for translators</title> | ||
| 775 | <para>To create an up to date list of translatable strings, run: tools/gen_locale.sh</para> | ||
| 776 | </section> | ||
| 777 | |||
| 778 | </section> | 745 | </section> |
| 779 | 746 | ||
| 780 | <section id="SubmittingChanges"><title>Submission of new plugins and patches</title> | 747 | <section id="SubmittingChanges"><title>Submission of new plugins and patches</title> |
