-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1399 from Automattic/fix/me-2fa-number-input
Me: Use FormTelInput instead of FormTextInput
- Loading branch information
Showing
5 changed files
with
45 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
import i18n from 'lib/mixins/i18n'; | ||
|
||
export default { | ||
sixDigit2faPlaceholder: i18n.translate( 'e.g. 123456', { | ||
context: '6 digit two factor code placeholder.', | ||
textOnly: true | ||
} ), | ||
sevenDigit2faPlaceholder: i18n.translate( 'e.g. 1234567', { | ||
context: '7 digit two factor code placeholder.', | ||
textOnly: true | ||
} ), | ||
eightDigitBackupCodePlaceholder: i18n.translate( 'e.g. 12345678', { | ||
context: '8 digit two factor backup code placeholder.', | ||
textOnly: true | ||
} ) | ||
}; |
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