bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] Libgettextpo wrapper for Guile


From: Miguel
Subject: Re: [bug-gettext] Libgettextpo wrapper for Guile
Date: Sun, 5 May 2019 00:52:02 +0200

Hi again,

Miguel <address@hidden> escribió:
> Hi to all!
> 
> (...)
> I implemented a wrapper library for Guile and a couple of
> higher level functions, tests and I'm documenting everything.
> (...)

In that process I've seen that libgettextpo documentation is quite
outdated, and I'd like to take care of updating the manual. These are
the points I have in my TODO list:

    - [ ] Explain that libgettextpo now can be used for all kind of
          operations.
      - Some code paths can be a little bit inefficient, as removing
        one message implies the creation of a new po_file_t and the
        insertion of copies of each message except the removed one with
        the exposed interface.  At least, this should be documented.

    - [ ] Add error handling API documentation.

    - [ ] Update po_file_t API documentation.
      - [ ] Add po_file_create documentation.
      - [ ] Add po_file_read_v3 documentation.
        - [ ] Add a note about po_file_read kept for binary
              compatibility.
      - [ ] Add po_file_write_v2 documentation.
        - [ ] Add a note about po_file_write kept for binary
              compatibility.

    - [ ] Add header API documentation.
      - [ ] Add a usage description.  The header is the msgstr
            associated with msgid "" and it contains metadata from the
            translation unit.  Probably linking ``Header Entry'' would
            be enough.
      - [ ] Add po_file_domain_header documentation.
      - [ ] Add field manipulators.

    - [ ] Add missing po_message_t accessor API documentation.
      - [ ] Add msgctxt accessors.
      - [ ] Add comments accessors.
      - [ ] Add extracted comments accessors.
      - [ ] Add stored previous message accessors.
      - [ ] Add obsolete accessors.
      - [ ] Add fuzzy accessors.
      - [ ] Add format accessors.

    - [ ] Add check API documentation.
      - [ ] Add po_file_check_all documentation.
      - [ ] Add po_message_check_all documentation.
      - [ ] Add po_message_check_format_v2 documentation.
        - [ ] Add a note about po_message_check_format for binary
              compatibility.

What do you think?  I'll send the patches to the mailing list for
review as soon as I have anything if there is no objection to this
task.

Happy hacking!
Miguel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]