#104 Merged
Repository
shimizukawa/sphinx-fix-i18n-fork sphinx-fix-i18n-fork
Branch
default
Repository
birkenfeld/sphinx sphinx
Branch
default

#976: Fix gettext does not extract index entries.

Author
  1. Takayuki Shimizukawa avatarTakayuki Shimizukawa
Reviewers
Description

Extract/translate index-entries in index['entries']. These translations are performed by different processing with translatable node.

Comments (3)

  1. Jon Waltman

    Looks alright to me.

    What would you think about creating a separate tests/root directory to put all the i18n stuff instead of putting it all in the main one?

    The current approach of putting everything in a single tests/root directory slows down and interferes with other tests.

    Creating multiple tests/root directories might be useful for other tests as well.

    Here's a possible layout we could use:

    sphinx/tests/
    + roots/ 
      + i18n-test/
        - conf.py
        - contents.rst
      + other-test/
        - conf.py
        - contents.rst
    
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.