Skip to content

Conversation

zinigor
Copy link
Contributor

@zinigor zinigor commented Feb 14, 2017

Fixes some common problems with i18n strings. No major changes here, but still creating a PR to raise awareness about proper use of translation functions :)

@zinigor zinigor added [Focus] i18n Internationalization / i18n, adaptation to different languages [Status] Needs Review This PR is ready for review. [Type] Bug When a feature is broken and / or not performing as intended labels Feb 14, 2017
@dereksmart
Copy link
Contributor

Nice, thank you.

@dereksmart dereksmart added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Review This PR is ready for review. labels Feb 15, 2017
isCompact={ true }
>
{ __( 'Updates Needed' ) }
{ __( 'Updates Needed', { context: 'Short warning message' } ) }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We agreed on using sentence case instead of title case

#6172 (comment)
#6394

<DashItem className="jp-connection-type" label={ __( 'Site Connection' ) }>
<DashItem
className="jp-connection-type"
label={ __( 'Site Connection', { context: 'Dashboard widget header' } ) }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use sentence case

<DashItem className="jp-connection-type" label={ __( 'Account Connection' ) }>
<DashItem
className="jp-connection-type"
label={ __( 'Account Connection', { context: 'Dashboard widget header' } ) }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use sentence case

isCompact={ true }
>
{ __( 'Invalid Key' ) }
{ __( 'Invalid Key', { context: 'Short warning message about an invalid key being used for Akismet.' } ) }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use sentence case

@eliorivero eliorivero added [Status] In Progress [Status] Needs Author Reply We need more details from you. This label will be auto-added until the PR meets all requirements. and removed [Status] Ready to Merge Go ahead, you can push that green button! labels Feb 15, 2017
@dereksmart dereksmart dismissed eliorivero’s stale review February 15, 2017 19:58

Used sentence case

@dereksmart
Copy link
Contributor

@eliorivero updated to use sentence case. Merge if LGTY

@dereksmart dereksmart added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] In Progress [Status] Needs Author Reply We need more details from you. This label will be auto-added until the PR meets all requirements. labels Feb 15, 2017
@eliorivero eliorivero merged commit 5cce34d into feature/settings-overhaul Feb 15, 2017
@eliorivero eliorivero deleted the fix/client-side-i18n branch February 15, 2017 20:28
@eliorivero eliorivero removed the [Status] Ready to Merge Go ahead, you can push that green button! label Feb 15, 2017
@jeherve jeherve added this to the Settings UI milestone Feb 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Focus] i18n Internationalization / i18n, adaptation to different languages [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants