Skip to content

Commit

Permalink
Localization
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Nov 29, 2015
1 parent 56109f0 commit 71bf5bd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
Expand Up @@ -61,12 +61,14 @@ const ExceptionInterface = React.createClass({
<a className={(stackView === 'raw' ? 'active' : '') + ' btn btn-default btn-sm'} onClick={this.toggleStack.bind(this, 'raw')}>{t('Raw')}</a>
</div>
<h3>
{'Exception '}
{newestFirst ?
<small>({t('most recent call first')})</small>
:
<small>({t('most recent call last')})</small>
}
{t('Exception')}
<small style={{marginLeft: 5}}>
{newestFirst ?
t('most recent call first')
:
t('most recent call last')
}
</small>
</h3>
</div>
);
Expand Down
Expand Up @@ -3,6 +3,7 @@ import GroupEventDataSection from '../eventDataSection';
import PropTypes from '../../../proptypes';
import RichHttpContent from './richHttpContent';
import {getCurlCommand} from './utils';
import {t} from '../../../locale';

import RequestActions from './requestActions';

Expand Down Expand Up @@ -71,7 +72,7 @@ const RequestInterface = React.createClass({
</div>,
<div className="btn-group">
<a className={(view === 'rich' ? 'active' : '') + ' btn btn-default btn-sm'}
onClick={this.toggleView.bind(this, 'rich')}>Rich</a>
onClick={this.toggleView.bind(this, 'rich')}>{t('Rich')}</a>
<a className={(view === 'curl' ? 'active' : '') + ' btn btn-default btn-sm'}
onClick={this.toggleView.bind(this, 'curl')}><code>curl</code></a>
</div>
Expand Down
8 changes: 4 additions & 4 deletions src/sentry/static/sentry/app/views/groupDetails/actions.jsx
Expand Up @@ -106,14 +106,14 @@ const GroupActions = React.createClass({
</a>
:
<a className={resolveClassName}
title="Unresolve"
title={t('Unresolve')}
onClick={this.onUpdate.bind(this, {status: 'unresolved'})}>
<span className="icon-checkmark" />
</a>
)
:
[<a className={resolveClassName}
title="Resolve"
title={t('Resolve')}
onClick={this.onUpdate.bind(this, {status: 'resolved'})}>
Resolve
</a>,
Expand Down Expand Up @@ -141,15 +141,15 @@ const GroupActions = React.createClass({
<div className="btn-group">
{group.status === 'muted' ?
<a className={snoozeClassName}
title="Remove Snooze"
title={t('Remove Snooze')}
onClick={this.onUpdate.bind(this, {status: 'unresolved'})}>
{t('Snooze')}
</a>
:
<DropdownLink
caret={false}
className={snoozeClassName}
title="Snooze">
title={t('Snooze')}>
<MenuItem noAnchor={true}>
<a onClick={this.onSnooze.bind(this, Snooze['30MINUTES'])}>{t('for 30 minutes')}</a>
</MenuItem>
Expand Down

0 comments on commit 71bf5bd

Please sign in to comment.