-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff, thanks ! 👍
</span> | ||
) | ||
} } | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not having 2 span
s next to each other instead of this strange pattern?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question - the reality is that we cannot make any assumptions based on the order in any languages. This gives the flexibility to change the ordering.
Actually a real example - when we did the POC for German we ran into a number of issues like this, e.g. "the following" or "in the list below" - doesn't always make sense to go directly from the one to the other.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that's true, but here it's just an IdentityIcon
, so I guess it wouldn't make sense to put it on the right in english, and on the left in german, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point yes, I must must have dozed off.
</span> | ||
) | ||
} } | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
<span className={ styles.detail }> | ||
<FormattedMessage | ||
id='wallet.details.requiredOwnersNumber' | ||
defaultMessage='{number} owners' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have something to would be number dependant ? (owner vs. owners)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure I understand the question?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, upon re-reading I get it - plurals. Good point.
Part of https://github.com/ethcore/parity/issues/4704
~/views
folder~/ui/Icons
as applicable