Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

In 

Error rendering macro 'jira' : Unable to locate Jira server for this macro. It may be due to Application Link configuration.
 task we've added ability for 1 phrase to hold 3 translations at once:

  • main translation
  • hint translation
  • column translation

To allow getting out only a specific translation from a phrase by it's label we've added special prefixes, that can be used in m_Phrase tag:

  • <inp2:m_Phrase name="la_PhraseLabel"/> - main translation
  • <inp2:m_Phrase name="hint:la_PhraseLabel"/> - hint translation (added "hint:" before phrase label)
  • <inp2:m_Phrase name="column:la_PhraseLabel"/> - column translation (added "column:" before phrase label)

It turned out, that in PhrasesCache class, that is responsible for phrase translation management, we have a bug, that strips all text before first colon for phrases, that have it:

  • phrase in the template: la_permission_custom:tradeshows.advanced:view_all
  • phrase in phrase creation popup: tradeshows.advanced:view_all

This happens, because in PhrasesCache::LoadPhraseByLabel method we're not looking (for performance purposes) if text before colon is actually "column" or "hint" one.

  • No labels