cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mihaela Stoica" <>
Subject Re: Review Request 27878: CLOUDSTACK-7645: [UI] Fixed incorrect label issues caused the dictionary split
Date Tue, 11 Nov 2014 17:37:32 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Nov. 11, 2014, 5:37 p.m.)

Review request for cloudstack, Brian Federle and Jessica Wang.


Repository: cloudstack-git


In some cases the UI does not display the correct text, displaying '' instead of
the localized string.
This appears to be due to the dictionary split: entries in dictionary2.jsp are not found because
the dictionary has not been extended with dictionary2 as expected.

In this fix:
- Instead of extending the dictionary, we leave it as it is and change the localization function
to look in the dictionary first and, if the item is not found there, then look in dictionary2.
- This way we are not depending on the extent() function to be called at the 'right' time;
In turn, the localization function will be aware of both dictionaries.
- In the future, when we add another dictionary, we will have to modify this function only.


  ui/scripts/cloudStack.js c5aa89c 
  ui/scripts/sharedFunctions.js d463381 




Mihaela Stoica

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message