<!-- <?xml version="1.0" ?>
<!DOCTYPE chapter PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd"
> -->
<!-- Uncomment the previous two lines to validate this document -->
<!-- standalone.  Be sure to recomment them before attempting to -->
<!-- process index.docbook -->

<chapter id="using-catalogmanager">

<chapterinfo>
<!-- Fill in this section if this document has a different author -->
<authorgroup>
<author>
<personname
><firstname
></firstname
><surname
></surname
></personname>
</author>
</authorgroup>

<othercredit role="translator"
><firstname
>Malcolm</firstname
><surname
>Hunter</surname
><affiliation
><address
><email
>malcolm.hunter@gmx.co.uk</email
></address
></affiliation
><contrib
>Conversion to British English</contrib
></othercredit
> 
</chapterinfo>

<title
>Using &cataloguemanager;</title>
<anchor id="catalogmanager"/>

<screenshot>
<screeninfo
>Screenshot of &cataloguemanager;</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="snap_catalogmanager.png" format="PNG"/>
</imageobject>
<textobject
><phrase
>Screenshot of &cataloguemanager;</phrase
></textobject>
</mediaobject>
</screenshot>
<para
>The Catalogue Manager merges two folders into one tree and displays all the <acronym
>PO</acronym
> and <acronym
>POT</acronym
> files in these folders. The display allows you to easily see if a new template has been added or an old one has been removed. Some information is shown along with each file name: total number of entries, number of fuzzy entries, number of untranslated entries, the date of the last revision and the last translator of the file. </para>
<para
>To make it easier for you to find files that need work or are missing the status of each file is also displayed using an icon: </para>

<itemizedlist>
   <listitem>
      <para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="catalogmanager_ok.png" format="PNG"/>
</imageobject>
</inlinemediaobject
> All the messages in this file are translated.</para>
   </listitem>
   <listitem>
      <para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="catalogmanager_needwork.png" format="PNG"/>
</imageobject>
</inlinemediaobject
> Some of the messages in this file are fuzzy or untranslated </para>
   </listitem>
   <listitem>
      <para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="catalogmanager_missing.png" format="PNG"/>
</imageobject>
</inlinemediaobject
> This file does not exist in the folder of the <acronym
>PO</acronym
> files. </para>
   </listitem>
   <listitem>
      <para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="catalogmanager_broken.png" format="PNG"/>
</imageobject>
</inlinemediaobject
> This file contains syntax errors. </para>
   </listitem>
   <listitem>
      <para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="catalogmanager_reload.png" format="PNG"/>
</imageobject>
</inlinemediaobject
> Information about this file is being currently updated. When the update is finished, it will get one of the icons listed above to reflect its state. </para>
   </listitem>
</itemizedlist>

<para
>If an icon is marked with this icon <inlinemediaobject
> <imageobject
> <imagedata fileref="catalogmanager_nopot.png" format="PNG"/> </imageobject
> </inlinemediaobject
>, like <inlinemediaobject
> <imageobject
> <imagedata fileref="catalogmanager_nopot_ok.png" format="PNG"/> </imageobject
> </inlinemediaobject
>, it indicates that this file or folder does not exist in the folder of the <acronym
>POT</acronym
> files.</para>

<para
>You can mark or unmark a file by selecting <guimenuitem
>Toggle Marking</guimenuitem
> in the context menu of a file.</para>

<para
>If you want to toggle or remove all markings in a folder, press the right mouse button over the folder and select <guimenuitem
>Toggle Markings</guimenuitem
> or <guimenuitem
>Remove Markings</guimenuitem
>. The markings are automatically saved when leaving &kbabel;.</para>

<para
>To open a file either double-click on the file, select <menuchoice
><guimenuitem
>Open</guimenuitem
></menuchoice
> from the context menu or press either <keycap
>Return</keycap
> or <keycombo action="simul"
>&Ctrl;<keycap
>O</keycap
> </keycombo
>.</para>

<para
>You can configure the &cataloguemanager; by <menuchoice
><guimenu
>Settings</guimenu
><guimenuitem
> Configure &cataloguemanager;...</guimenuitem
></menuchoice
>. See section <link linkend="preferences-catalogmanager"
>Preferences</link
> for more details.</para>

<sect1 id="catman-features">
<title
>&cataloguemanager; Features</title>
<para
>Besides the main feature for opening the files in &kbabel; &cataloguemanager; supports number of other features for maintaining a tree of <acronym
>PO</acronym
>-files. </para>

<sect2 id="catman-find">
<title
>Find and replace in multiple files</title>
<para
>One of the most requested features for &kbabel; was a possibility to search and replace in multiple files at once. &cataloguemanager; supports this feature with a tight integration with &kbabel; </para>
</sect2>

<sect2 id="catman-statistics">
<title
>Statistics</title>
<para
>&cataloguemanager; can show you a number of statistics about a single file or about the whole folders. The statistics contain number of files, how many of the files have their templates, how many templates are missing. It also counts number of messages in the files and shows statistics about how large parts of the messages are translated, fuzzy-translated or untranslated. </para>
</sect2>

<sect2 id="catman-syntax">
<title
>Checking the syntax</title>
<para
>This allows you to check the syntax of multiple <acronym
>PO</acronym
>-files using <command
>msgfmt</command
>. If a file fails this check, it cannot be used for generating a <acronym
>MO</acronym
>-file for binary distribution. Such an incorrect file will typically result in failing compilation of the package the <acronym
>PO</acronym
>-file belongs to. </para>
</sect2>

<sect2 id="catman-commands">
<title
>User-defined commands</title>
<para
>Because &cataloguemanager; cannot provide any functionality you would like to use, you can extend it by defining your own commands. </para>
<para
>There are two sets of commands. One for folders and one for single files. You can set them in <link linkend="preferences-catalogmanager"
>configuration dialogue </link
> and access by pressing &RMB; on an entry in the file list.</para>
</sect2>

</sect1>
</chapter>
<!--
Local Variables:
mode: xml
sgml-minimize-attributes:nil
sgml-general-insert-case:lower
sgml-indent-step:0
sgml-indent-data:nil
End:

vim:tabstop=2:shiftwidth=2:expandtab 
-->
