dokuwiki / translate.dokuwiki.org

Web based tool to create and update translation patches for DokuWiki and DokuWiki plugins.
MIT License
8 stars 2 forks source link

spaces are not shown #54

Closed Klap-in closed 11 years ago

Klap-in commented 11 years ago

The nice display of the English text doesn't show the spaces after the string (and probably spaces before the string aren't shown too).

I guess these spaces are stripped by the html. One of the difficulties is of course that spaces are invisible.

Two ideas for a solution:

Similar issue, but about wikitexts is at #41

Example: $lang['import_userlistcsv'] = 'User list file (CSV): '; https://github.com/splitbrain/dokuwiki/blob/master/lib/plugins/usermanager/lang/en/lang.php

dom-mel commented 11 years ago

Related to #41

dom-mel commented 11 years ago

Trailing Whitespaces are now highlighted with a little note to translators in the title. (the changes aren't applied to translate.dokuwiki.org yet, but will be soon)

I removed the highlighting of heading whitespaces for two reasons:

  1. You'll see them (they are displayed correctly now)
  2. There are some places where the translation has a lot of whitespaces which assumed to be stripped by html. i.e. dokuwiki/en/lang.php#300