Merge pull request #7260 from MetaMask/notranslate-seed-phrases

Do not transate on seed phrases
feature/default_network_editable
Thomas Huang 5 years ago committed by GitHub
commit d7a4dfebeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui/app/components/ui/export-text-container/export-text-container.component.js
  2. 2
      ui/app/pages/first-time-flow/seed-phrase/confirm-seed-phrase/draggable-seed.component.js
  3. 2
      ui/app/pages/first-time-flow/seed-phrase/reveal-seed-phrase/reveal-seed-phrase.component.js

@ -12,7 +12,7 @@ class ExportTextContainer extends Component {
return ( return (
h('.export-text-container', [ h('.export-text-container', [
h('.export-text-container__text-container', [ h('.export-text-container__text-container', [
h('.export-text-container__text', text), h('.export-text-container__text.notranslate', text),
]), ]),
h('.export-text-container__buttons-container', [ h('.export-text-container__buttons-container', [
h('.export-text-container__button.export-text-container__button--copy', { h('.export-text-container__button.export-text-container__button--copy', {

@ -52,7 +52,7 @@ class DraggableSeed extends Component {
return connectDropTarget(connectDragSource( return connectDropTarget(connectDragSource(
<div <div
key={index} key={index}
className={classnames('btn-secondary confirm-seed-phrase__seed-word', className, { className={classnames('btn-secondary notranslate confirm-seed-phrase__seed-word', className, {
'confirm-seed-phrase__seed-word--selected btn-primary': selected, 'confirm-seed-phrase__seed-word--selected btn-primary': selected,
'confirm-seed-phrase__seed-word--dragging': isDragging, 'confirm-seed-phrase__seed-word--dragging': isDragging,
'confirm-seed-phrase__seed-word--empty': !word, 'confirm-seed-phrase__seed-word--empty': !word,

@ -73,7 +73,7 @@ export default class RevealSeedPhrase extends PureComponent {
return ( return (
<div className="reveal-seed-phrase__secret"> <div className="reveal-seed-phrase__secret">
<div className={classnames( <div className={classnames(
'reveal-seed-phrase__secret-words', 'reveal-seed-phrase__secret-words notranslate',
{ 'reveal-seed-phrase__secret-words--hidden': !isShowingSeedPhrase } { 'reveal-seed-phrase__secret-words--hidden': !isShowingSeedPhrase }
)}> )}>
{ seedPhrase } { seedPhrase }

Loading…
Cancel
Save