← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1496679] [NEW] Need to translate '-' for non-values in angular HTML

 

Public bug reported:

The empty value of '-' needs to be translated.
This adds a filter that can accomplish this and updates existing angular html that used the || '-'


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]

** Affects: horizon
     Importance: Undecided
     Assignee: Travis Tripp (travis-tripp)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1496679

Title:
  Need to translate '-' for non-values in angular HTML

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  The empty value of '-' needs to be translated.
  This adds a filter that can accomplish this and updates existing angular html that used the || '-'

  
  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]

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1496679/+subscriptions


Follow ups