-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FontSizePicker: Update hint text to match the design
- Loading branch information
1 parent
d6abde7
commit 64d696d
Showing
7 changed files
with
107 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/** | ||
* WordPress dependencies | ||
*/ | ||
import { __ } from '@wordpress/i18n'; | ||
|
||
/** | ||
* List of T-shirt abbreviations. | ||
* | ||
* When there are 5 font sizes or fewer, we assume that the font sizes are | ||
* ordered by size and show T-shirt labels. | ||
*/ | ||
export const T_SHIRT_ABBREVIATIONS = [ | ||
/* translators: S stands for 'small' and is a size label. */ | ||
__( 'S' ), | ||
/* translators: M stands for 'medium' and is a size label. */ | ||
__( 'M' ), | ||
/* translators: L stands for 'large' and is a size label. */ | ||
__( 'L' ), | ||
/* translators: XL stands for 'extra large' and is a size label. */ | ||
__( 'XL' ), | ||
/* translators: XXL stands for 'extra extra large' and is a size label. */ | ||
__( 'XXL' ), | ||
]; | ||
|
||
/** | ||
* List of T-shirt names. | ||
* | ||
* When there are 5 font sizes or fewer, we assume that the font sizes are | ||
* ordered by size and show T-shirt labels. | ||
*/ | ||
export const T_SHIRT_NAMES = [ | ||
__( 'Small' ), | ||
__( 'Medium' ), | ||
__( 'Large' ), | ||
__( 'Extra Large' ), | ||
__( 'Extra Extra Large' ), | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters