WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51123, comment 6


Ignore:
Timestamp:
08/25/2020 02:25:00 AM (11 months ago)
Author:
TimothyBlynJacobs
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51123, comment 6

    initial v1  
    33> I am also very slightly concerned such an approach makes the changes in the earlier commits a little redundant as the `commonL10n` object remains in memory, it simply results in requiring the `wp-i18n` script as a dependency for each of the files.
    44
    5 Does `wp-i18n` cache translations? If not, there might be performance benefit to storing the translated version of an object.
     5Does `wp-i18n` cache translations? If not, there might be performance benefit to storing the translated version in an object.
    66
    77There is also the question of strings that were changed to use `_n` since it requires the number of results to give a result.