Git commit 29bbbe4933e1bfe307b7dfccdd95996a8cfc8afd by Wolfgang Rohdewald. Committed on 22/01/2017 at 13:42. Pushed by wrohdewald into branch 'master'.
docbook: update technical details about implementing voices M +6 -4 doc/index.docbook https://commits.kde.org/kajongg/29bbbe4933e1bfe307b7dfccdd95996a8cfc8afd diff --git a/doc/index.docbook b/doc/index.docbook index 84e005c1..f1d4b5d9 100644 --- a/doc/index.docbook +++ b/doc/index.docbook @@ -662,18 +662,20 @@ of the &kde; Fundamentals. </para> <para> </para><itemizedlist><listitem><para> - This is how you can generate voices yourself. There is a separate folder for every voice. There are two groups of voices + This is how you can generate voices yourself. There is a separate folder for every voice. Please note that those folders may + be somewhere else on your system, they depend on how KDE was installed. Only the part starting with <filename class="directory">kajongg</filename> + is always the same. There are two groups of voices with different places in the file system: <itemizedlist><listitem><para> Predefined voices for every language. They live in a folder like <filename class="directory">/usr/share/kajongg/voices/LANG</filename> where LANG is the code for your language. The voice directories directly under <filename class="directory">.../kajongg/voices/</filename> are the US-english - versions. Predefined voices are randomly assigned to players. Those voices have names like <literal>"male1 male2 female1 female2"</literal> but those names do not matter, the user will never see them. Also, it makes no sense to define more than four predefined voices per language. + versions. Predefined voices are randomly assigned to players. Those voices have names like <literal>"male1 male2 female1 female2"</literal> but those names do not matter, the user will never see them. </para></listitem><listitem><para> User voices can be defined for a specific user. If &kajongg; makes use of such a voice, it can automatically be transferred to other players over the internet. - Those voices live in a folder like <filename class="directory">~/.kde/share/apps/kajongg/voices/</filename>. - So if your login name is joe, this might be <filename class="directory">/home/joe/.kde/share/apps/kajongg/voices/joe/</filename>. + Those voices live in a folder like <filename class="directory">~/.local/share/apps/kajongg/voices/</filename>. + So if your login name is joe, this might be <filename class="directory">/home/joe/.local/share/apps/kajongg/voices/joe/</filename>. The folder <filename class="directory">voices/</filename> might not yet exist - if so, create it. </para></listitem></itemizedlist> </para></listitem><listitem><para>