Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Add missing translation wrapper, also convert some spaces to tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
becdetat committed Jul 2, 2020
1 parent 5594dbe commit 6156c3f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion client/profile-wizard/steps/product-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function getLabel( description, yearlyPrice ) {

const monthlyPrice = ( yearlyPrice / 12.0 ).toFixed( 2 );
const priceDescription = sprintf(
'$%f per month, billed annually',
__( '$%f per month, billed annually', 'woocommerce-admin' ),
monthlyPrice
);

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/pill/docs/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ import { Pill } from '@woocommerce/components';

export default () => {
return (
<Pill>Content</Pill>
<Pill>Content</Pill>
);
};
6 changes: 3 additions & 3 deletions packages/components/src/pill/pill.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export function Pill( { children } ) {
return (
<span className="woocommerce-pill">
{ children }
</span>
<span className="woocommerce-pill">
{ children }
</span>
);
}
10 changes: 5 additions & 5 deletions packages/components/src/pill/stories/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
import Pill from '../';

export default {
title: 'WooCommerce Admin/components/Pill',
component: Pill,
title: 'WooCommerce Admin/components/Pill',
component: Pill,
}

export function Default() {
return (
<Pill>Content</Pill>
);
return (
<Pill>Content</Pill>
);
}

0 comments on commit 6156c3f

Please sign in to comment.