Travis Tripp eabc23c3b8 Translate angular html with '-'.
The empty value of '-' needs to be translated.
This adds the translation for it with a new filter.

To test:

In local_settings.py

LAUNCH_INSTANCE_NG_ENABLED = True

update enabled/_1051_project_ng_images_panel.py
update enabled/_3031_identity_users_panel.py

set disabled=False

Then:
./run_tests.sh --makemessages
./run_tests.sh --pseudo de
./run_tests.sh --compilemessages
./run_tests.sh --runserver 0.0.0.0:8005

Go to: http://localhost:8005/settings/

Change Language to Deutsch (de)

Go to:
 http://localhost:8005/project/ngimages/
 http://localhost:8005/project/ngusers/

Launch an instance.
Go to security groups step.
Expand details for a security group.

All text on page should be fake localized where the english
is surrounded by other characters.
[~-~KanjiChars]

Change-Id: Ic004732a970d0af857534a1b3d367732be370979
Closes-Bug: #1496679
2015-09-16 22:52:18 -06:00
..
2015-07-11 11:52:17 -07:00