Skip to content
  • Eloy Lafuente (stronk7)'s avatar
    f8c54a74
    MDL-37516 Translate fieldnames on output only. · f8c54a74
    Eloy Lafuente (stronk7) authored
    This reverts a change performed by the previous commit where user
    fieldnames were being translated (and cached) when fetched,
    causing the information to remain static later, not responding
    to language switches (and perhaps leading to other problems if those
    structures are used lated for DB / $USER comparisons.
    
    With the commit, the translation happens on output, so no
    potential interferences will happen and, also, the information
    changes dynamically on lang switching.
    f8c54a74
    MDL-37516 Translate fieldnames on output only.
    Eloy Lafuente (stronk7) authored
    This reverts a change performed by the previous commit where user
    fieldnames were being translated (and cached) when fetched,
    causing the information to remain static later, not responding
    to language switches (and perhaps leading to other problems if those
    structures are used lated for DB / $USER comparisons.
    
    With the commit, the translation happens on output, so no
    potential interferences will happen and, also, the information
    changes dynamically on lang switching.
Loading