diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-05-23 14:30:30 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-05-23 14:30:30 +0200 |
commit | 08a646a00c61b354e2a3bc68affef9ced74bc789 (patch) | |
tree | 835d668a236f36c704ffd72f95476e27801ea142 /src | |
parent | 46776d0c309572f54b5c0d34026bd28296bf1a15 (diff) |
eh, actually remove logging
Diffstat (limited to 'src')
-rw-r--r-- | src/i18n.tsx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/i18n.tsx b/src/i18n.tsx index 8a31b2d91..656bb3a05 100644 --- a/src/i18n.tsx +++ b/src/i18n.tsx @@ -109,9 +109,7 @@ interface TranslateProps { export class Translate extends React.Component<TranslateProps,void> { render(): JSX.Element { let s = stringifyChildren(this.props.children); - console.log(`string "${s}"`); let tr = jed.ngettext(s, s, 1).split(/%(\d+)\$s/).filter((e: any, i: number) => i % 2 == 0); - console.log(`tr "${JSON.stringify(tr)}"`); let childArray = React.Children.toArray(this.props.children!); for (let i = 0; i < childArray.length - 1; ++i) { if ((typeof childArray[i]) == "string" && (typeof childArray[i+1]) == "string") { |