Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Fixes in translation generation (itstool) #300

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 9, 2015

  1. add: ITS rules for "monsters/*.xml" files.

    This avoid including unnecesary strings to be translated.
    Only the NAME of monster must to be translatable.
    
    Usage:
      Via "-i" command-line option.
        Just run this command:
    
          $ itstool monsters/monster*.xml -o "monsters.pot" -i "monsters/_monsters.its"
    
      Using XLink href attribute in *.xml files.
        - Add this line after root node (monsters) to ALL monster files:
    
          <its:rules version="1.0" xmlns:its="http://www.w3.org/2005/11/its"    xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="_monsters.its" xlink:type="simple"/>
    
        - Then run:
    
          $ itstool monsters/monster*.xml -o "monsters.pot"
    nelson6e65 committed Nov 9, 2015
    Configuration menu
    Copy the full SHA
    6969721 View commit details
    Browse the repository at this point in the history