completed translation extraction of profile and work

This commit is contained in:
Amruth Pillai
2020-03-29 23:28:24 +05:30
parent e75c0769c6
commit 9510d44949
18 changed files with 275 additions and 177 deletions

View File

@ -0,0 +1,20 @@
import React from 'react';
const AddItemButton = ({ onSubmit }) => {
return (
<div>
<button
type="button"
onClick={onSubmit}
className="bg-gray-600 hover:bg-gray-700 text-white text-sm font-medium py-2 px-5 rounded"
>
<div className="flex items-center">
<i className="material-icons mr-2 font-bold text-base">add</i>
<span className="text-sm">Add</span>
</div>
</button>
</div>
);
};
export default AddItemButton;

View File

@ -2,16 +2,16 @@ import React from 'react';
import Checkbox from './Checkbox';
const ItemActions = ({
item,
onChange,
type,
identifier,
dispatch,
deleteItem,
dispatch,
first,
moveItemUp,
identifier,
item,
last,
moveItemDown,
moveItemUp,
onChange,
type,
}) => {
return (
<div className="flex justify-between">
@ -20,7 +20,7 @@ const ItemActions = ({
size="2.25rem"
checked={item.enable}
onChange={v => {
onChange(`${identifier}.enable`, v);
onChange(`${identifier}enable`, v);
}}
/>

View File

@ -1,19 +1,22 @@
import React from 'react';
import { Trans } from 'react-i18next';
const MarkdownHelpText = ({ className }) => {
return (
<div className={className}>
<p className="text-gray-800 text-xs">
You can use{' '}
<a
className="text-blue-600 hover:underline"
target="_blank"
rel="noopener noreferrer"
href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet"
>
GitHub Flavored Markdown
</a>{' '}
to style this section of text.
<Trans i18nKey="markdownHelpText">
You can use
<a
className="text-blue-600 hover:underline"
target="_blank"
rel="noopener noreferrer"
href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet"
>
GitHub Flavored Markdown
</a>
to style this section of text.
</Trans>
</p>
</div>
);