Make WordPress Core


Ignore:
Timestamp:
08/26/2020 01:33:45 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty: Add context to adjectives and homonyms.

This allows for better localization in languages where adjectives are translated differently depending on which noun they modify, or when a different translation is required for a noun vs. a verb.

Props dimadin, justinahinon.
Fixes #49797.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php

    r48782 r48861  
    123123                    'label'   => __( 'Primary Color', 'twentytwenty' ),
    124124                    'choices' => array(
    125                         'default' => __( 'Default', 'twentytwenty' ),
    126                         'custom'  => __( 'Custom', 'twentytwenty' ),
     125                        'default' => _x( 'Default', 'color', 'twentytwenty' ),
     126                        'custom'  => _x( 'Custom', 'color', 'twentytwenty' ),
    127127                    ),
    128128                )
Note: See TracChangeset for help on using the changeset viewer.