PLF-6058: Missing Generic User Popup in Catalan

Problem analysis:
* In Catalan, the label of user status contains a single quote/apostrophe.
  When it is assigned to JavaScript variable as String, the single quote is misinterpreted.

Fix description:
* Escape these labels before adding them to JavaScript variable.
Merge commit '0707ed66a49e8f6fdc81f14e9208a4dd0d9d86ab' into HEAD