Merge branch 'master' into glitch-soc/merge-upstream
Conflicts: - README.md Kept our version - app/javascript/mastodon/features/compose/components/compose_form.js Two changes too close to each other, took both changes
This commit is contained in:
		
						commit
						aaf98669a5
					
				
					 46 changed files with 259 additions and 116 deletions
				
			
		| 
						 | 
				
			
			@ -41,6 +41,11 @@ module.exports = {
 | 
			
		|||
      'node_modules',
 | 
			
		||||
      '\\.(css|scss|json)$',
 | 
			
		||||
    ],
 | 
			
		||||
    'import/resolver': {
 | 
			
		||||
      node: {
 | 
			
		||||
        paths: ['app/javascript'],
 | 
			
		||||
      },
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  rules: {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -271,7 +271,7 @@ GEM
 | 
			
		|||
    httplog (1.2.0)
 | 
			
		||||
      rack (>= 1.0)
 | 
			
		||||
      rainbow (>= 2.0.0)
 | 
			
		||||
    i18n (1.5.2)
 | 
			
		||||
    i18n (1.5.3)
 | 
			
		||||
      concurrent-ruby (~> 1.0)
 | 
			
		||||
    i18n-tasks (0.9.28)
 | 
			
		||||
      activesupport (>= 4.0.2)
 | 
			
		||||
| 
						 | 
				
			
			@ -457,7 +457,7 @@ GEM
 | 
			
		|||
      nokogiri (>= 1.6)
 | 
			
		||||
    rails-html-sanitizer (1.0.4)
 | 
			
		||||
      loofah (~> 2.2, >= 2.2.2)
 | 
			
		||||
    rails-i18n (5.1.2)
 | 
			
		||||
    rails-i18n (5.1.3)
 | 
			
		||||
      i18n (>= 0.7, < 2)
 | 
			
		||||
      railties (>= 5.0, < 6)
 | 
			
		||||
    rails-settings-cached (0.6.6)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -176,7 +176,7 @@ module StreamEntriesHelper
 | 
			
		|||
    when 'public'
 | 
			
		||||
      fa_icon 'globe fw'
 | 
			
		||||
    when 'unlisted'
 | 
			
		||||
      fa_icon 'unlock-alt fw'
 | 
			
		||||
      fa_icon 'unlock fw'
 | 
			
		||||
    when 'private'
 | 
			
		||||
      fa_icon 'lock fw'
 | 
			
		||||
    when 'direct'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -88,7 +88,7 @@ class Account extends ImmutablePureComponent {
 | 
			
		|||
      if (requested) {
 | 
			
		||||
        buttons = <IconButton disabled icon='hourglass' title={intl.formatMessage(messages.requested)} />;
 | 
			
		||||
      } else if (blocking) {
 | 
			
		||||
        buttons = <IconButton active icon='unlock-alt' title={intl.formatMessage(messages.unblock, { name: account.get('username') })} onClick={this.handleBlock} />;
 | 
			
		||||
        buttons = <IconButton active icon='unlock' title={intl.formatMessage(messages.unblock, { name: account.get('username') })} onClick={this.handleBlock} />;
 | 
			
		||||
      } else if (muting) {
 | 
			
		||||
        let hidingNotificationsButton;
 | 
			
		||||
        if (account.getIn(['relationship', 'muting_notifications'])) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,6 +2,7 @@ import React from 'react';
 | 
			
		|||
import ImmutablePropTypes from 'react-immutable-proptypes';
 | 
			
		||||
import PropTypes from 'prop-types';
 | 
			
		||||
import ImmutablePureComponent from 'react-immutable-pure-component';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const filename = url => url.split('/').pop().split('#')[0].split('?')[0];
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -24,7 +25,7 @@ export default class AttachmentList extends ImmutablePureComponent {
 | 
			
		|||
 | 
			
		||||
              return (
 | 
			
		||||
                <li key={attachment.get('id')}>
 | 
			
		||||
                  <a href={displayUrl} target='_blank' rel='noopener'><i className='fa fa-link' /> {filename(displayUrl)}</a>
 | 
			
		||||
                  <a href={displayUrl} target='_blank' rel='noopener'><Icon id='link' /> {filename(displayUrl)}</a>
 | 
			
		||||
                </li>
 | 
			
		||||
              );
 | 
			
		||||
            })}
 | 
			
		||||
| 
						 | 
				
			
			@ -36,7 +37,7 @@ export default class AttachmentList extends ImmutablePureComponent {
 | 
			
		|||
    return (
 | 
			
		||||
      <div className='attachment-list'>
 | 
			
		||||
        <div className='attachment-list__icon'>
 | 
			
		||||
          <i className='fa fa-link' />
 | 
			
		||||
          <Icon id='link' />
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        <ul className='attachment-list__list'>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,7 @@
 | 
			
		|||
import React from 'react';
 | 
			
		||||
import { FormattedMessage } from 'react-intl';
 | 
			
		||||
import PropTypes from 'prop-types';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
export default class ColumnBackButton extends React.PureComponent {
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -19,7 +20,7 @@ export default class ColumnBackButton extends React.PureComponent {
 | 
			
		|||
  render () {
 | 
			
		||||
    return (
 | 
			
		||||
      <button onClick={this.handleClick} className='column-back-button'>
 | 
			
		||||
        <i className='fa fa-fw fa-chevron-left column-back-button__icon' />
 | 
			
		||||
        <Icon id='chevron-left' className='column-back-button__icon' fixedWidth />
 | 
			
		||||
        <FormattedMessage id='column_back_button.label' defaultMessage='Back' />
 | 
			
		||||
      </button>
 | 
			
		||||
    );
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,7 @@
 | 
			
		|||
import React from 'react';
 | 
			
		||||
import { FormattedMessage } from 'react-intl';
 | 
			
		||||
import ColumnBackButton from './column_back_button';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
export default class ColumnBackButtonSlim extends ColumnBackButton {
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -8,7 +9,7 @@ export default class ColumnBackButtonSlim extends ColumnBackButton {
 | 
			
		|||
    return (
 | 
			
		||||
      <div className='column-back-button--slim'>
 | 
			
		||||
        <div role='button' tabIndex='0' onClick={this.handleClick} className='column-back-button column-back-button--slim-button'>
 | 
			
		||||
          <i className='fa fa-fw fa-chevron-left column-back-button__icon' />
 | 
			
		||||
          <Icon id='chevron-left' className='column-back-button__icon' fixedWidth />
 | 
			
		||||
          <FormattedMessage id='column_back_button.label' defaultMessage='Back' />
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,6 +2,7 @@ import React from 'react';
 | 
			
		|||
import PropTypes from 'prop-types';
 | 
			
		||||
import classNames from 'classnames';
 | 
			
		||||
import { FormattedMessage, injectIntl, defineMessages } from 'react-intl';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  show: { id: 'column_header.show_settings', defaultMessage: 'Show settings' },
 | 
			
		||||
| 
						 | 
				
			
			@ -109,22 +110,22 @@ class ColumnHeader extends React.PureComponent {
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    if (multiColumn && pinned) {
 | 
			
		||||
      pinButton = <button key='pin-button' className='text-btn column-header__setting-btn' onClick={this.handlePin}><i className='fa fa fa-times' /> <FormattedMessage id='column_header.unpin' defaultMessage='Unpin' /></button>;
 | 
			
		||||
      pinButton = <button key='pin-button' className='text-btn column-header__setting-btn' onClick={this.handlePin}><Icon id='times' /> <FormattedMessage id='column_header.unpin' defaultMessage='Unpin' /></button>;
 | 
			
		||||
 | 
			
		||||
      moveButtons = (
 | 
			
		||||
        <div key='move-buttons' className='column-header__setting-arrows'>
 | 
			
		||||
          <button title={formatMessage(messages.moveLeft)} aria-label={formatMessage(messages.moveLeft)} className='text-btn column-header__setting-btn' onClick={this.handleMoveLeft}><i className='fa fa-chevron-left' /></button>
 | 
			
		||||
          <button title={formatMessage(messages.moveRight)} aria-label={formatMessage(messages.moveRight)} className='text-btn column-header__setting-btn' onClick={this.handleMoveRight}><i className='fa fa-chevron-right' /></button>
 | 
			
		||||
          <button title={formatMessage(messages.moveLeft)} aria-label={formatMessage(messages.moveLeft)} className='text-btn column-header__setting-btn' onClick={this.handleMoveLeft}><Icon id='chevron-left' /></button>
 | 
			
		||||
          <button title={formatMessage(messages.moveRight)} aria-label={formatMessage(messages.moveRight)} className='text-btn column-header__setting-btn' onClick={this.handleMoveRight}><Icon id='chevron-right' /></button>
 | 
			
		||||
        </div>
 | 
			
		||||
      );
 | 
			
		||||
    } else if (multiColumn) {
 | 
			
		||||
      pinButton = <button key='pin-button' className='text-btn column-header__setting-btn' onClick={this.handlePin}><i className='fa fa fa-plus' /> <FormattedMessage id='column_header.pin' defaultMessage='Pin' /></button>;
 | 
			
		||||
      pinButton = <button key='pin-button' className='text-btn column-header__setting-btn' onClick={this.handlePin}><Icon id='plus' /> <FormattedMessage id='column_header.pin' defaultMessage='Pin' /></button>;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (!pinned && (multiColumn || showBackButton)) {
 | 
			
		||||
      backButton = (
 | 
			
		||||
        <button onClick={this.handleBackClick} className='column-header__back-button'>
 | 
			
		||||
          <i className='fa fa-fw fa-chevron-left column-back-button__icon' />
 | 
			
		||||
          <Icon id='chevron-left' className='column-back-button__icon' fixedWidth />
 | 
			
		||||
          <FormattedMessage id='column_back_button.label' defaultMessage='Back' />
 | 
			
		||||
        </button>
 | 
			
		||||
      );
 | 
			
		||||
| 
						 | 
				
			
			@ -140,7 +141,7 @@ class ColumnHeader extends React.PureComponent {
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    if (children || multiColumn) {
 | 
			
		||||
      collapseButton = <button className={collapsibleButtonClassName} title={formatMessage(collapsed ? messages.show : messages.hide)} aria-label={formatMessage(collapsed ? messages.show : messages.hide)} aria-pressed={collapsed ? 'false' : 'true'} onClick={this.handleToggleClick}><i className='fa fa-sliders' /></button>;
 | 
			
		||||
      collapseButton = <button className={collapsibleButtonClassName} title={formatMessage(collapsed ? messages.show : messages.hide)} aria-label={formatMessage(collapsed ? messages.show : messages.hide)} aria-pressed={collapsed ? 'false' : 'true'} onClick={this.handleToggleClick}><Icon id='sliders' /></button>;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    const hasTitle = icon && title;
 | 
			
		||||
| 
						 | 
				
			
			@ -150,7 +151,7 @@ class ColumnHeader extends React.PureComponent {
 | 
			
		|||
        <h1 className={buttonClassName}>
 | 
			
		||||
          {hasTitle && (
 | 
			
		||||
            <button onClick={this.handleTitleClick}>
 | 
			
		||||
              <i className={`fa fa-fw fa-${icon} column-header__icon`} />
 | 
			
		||||
              <Icon id={icon} fixedWidth className='column-header__icon' />
 | 
			
		||||
              {title}
 | 
			
		||||
            </button>
 | 
			
		||||
          )}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -32,7 +32,7 @@ class Account extends ImmutablePureComponent {
 | 
			
		|||
          </span>
 | 
			
		||||
 | 
			
		||||
          <div className='domain__buttons'>
 | 
			
		||||
            <IconButton active icon='unlock-alt' title={intl.formatMessage(messages.unblockDomain, { domain })} onClick={this.handleDomainUnblock} />
 | 
			
		||||
            <IconButton active icon='unlock' title={intl.formatMessage(messages.unblockDomain, { domain })} onClick={this.handleDomainUnblock} />
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										21
									
								
								app/javascript/mastodon/components/icon.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								app/javascript/mastodon/components/icon.js
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,21 @@
 | 
			
		|||
import React from 'react';
 | 
			
		||||
import PropTypes from 'prop-types';
 | 
			
		||||
import classNames from 'classnames';
 | 
			
		||||
 | 
			
		||||
export default class Icon extends React.PureComponent {
 | 
			
		||||
 | 
			
		||||
  static propTypes = {
 | 
			
		||||
    id: PropTypes.string.isRequired,
 | 
			
		||||
    className: PropTypes.string,
 | 
			
		||||
    fixedWidth: PropTypes.bool,
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  render () {
 | 
			
		||||
    const { id, className, fixedWidth, ...other } = this.props;
 | 
			
		||||
 | 
			
		||||
    return (
 | 
			
		||||
      <i role='img' className={classNames('fa', `fa-${id}`, className, { 'fa-fw': fixedWidth })} {...other} />
 | 
			
		||||
    );
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -3,6 +3,7 @@ import Motion from '../features/ui/util/optional_motion';
 | 
			
		|||
import spring from 'react-motion/lib/spring';
 | 
			
		||||
import PropTypes from 'prop-types';
 | 
			
		||||
import classNames from 'classnames';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
export default class IconButton extends React.PureComponent {
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -86,7 +87,7 @@ export default class IconButton extends React.PureComponent {
 | 
			
		|||
          style={style}
 | 
			
		||||
          tabIndex={tabIndex}
 | 
			
		||||
        >
 | 
			
		||||
          <i className={`fa fa-fw fa-${icon}`} aria-hidden='true' />
 | 
			
		||||
          <Icon id={icon} fixedWidth aria-hidden='true' />
 | 
			
		||||
        </button>
 | 
			
		||||
      );
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			@ -104,7 +105,7 @@ export default class IconButton extends React.PureComponent {
 | 
			
		|||
            style={style}
 | 
			
		||||
            tabIndex={tabIndex}
 | 
			
		||||
          >
 | 
			
		||||
            <i style={{ transform: `rotate(${rotate}deg)` }} className={`fa fa-fw fa-${icon}`} aria-hidden='true' />
 | 
			
		||||
            <Icon id={icon} style={{ transform: `rotate(${rotate}deg)` }} fixedWidth aria-hidden='true' />
 | 
			
		||||
          </button>
 | 
			
		||||
        )}
 | 
			
		||||
      </Motion>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,7 @@
 | 
			
		|||
import React from 'react';
 | 
			
		||||
import PropTypes from 'prop-types';
 | 
			
		||||
import { injectIntl, defineMessages } from 'react-intl';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  load_more: { id: 'status.load_more', defaultMessage: 'Load more' },
 | 
			
		||||
| 
						 | 
				
			
			@ -25,7 +26,7 @@ class LoadGap extends React.PureComponent {
 | 
			
		|||
 | 
			
		||||
    return (
 | 
			
		||||
      <button className='load-more load-gap' disabled={disabled} onClick={this.handleClick} aria-label={intl.formatMessage(messages.load_more)}>
 | 
			
		||||
        <i className='fa fa-ellipsis-h' />
 | 
			
		||||
        <Icon id='ellipsis-h' />
 | 
			
		||||
      </button>
 | 
			
		||||
    );
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,6 +15,7 @@ import ImmutablePureComponent from 'react-immutable-pure-component';
 | 
			
		|||
import { MediaGallery, Video } from '../features/ui/util/async-components';
 | 
			
		||||
import { HotKeys } from 'react-hotkeys';
 | 
			
		||||
import classNames from 'classnames';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
// We use the component (and not the container) since we do not want
 | 
			
		||||
// to use the progress bar to show download progress
 | 
			
		||||
| 
						 | 
				
			
			@ -204,7 +205,7 @@ class Status extends ImmutablePureComponent {
 | 
			
		|||
    if (featured) {
 | 
			
		||||
      prepend = (
 | 
			
		||||
        <div className='status__prepend'>
 | 
			
		||||
          <div className='status__prepend-icon-wrapper'><i className='fa fa-fw fa-thumb-tack status__prepend-icon' /></div>
 | 
			
		||||
          <div className='status__prepend-icon-wrapper'><Icon id='thumb-tack' className='status__prepend-icon' fixedWidth /></div>
 | 
			
		||||
          <FormattedMessage id='status.pinned' defaultMessage='Pinned toot' />
 | 
			
		||||
        </div>
 | 
			
		||||
      );
 | 
			
		||||
| 
						 | 
				
			
			@ -213,7 +214,7 @@ class Status extends ImmutablePureComponent {
 | 
			
		|||
 | 
			
		||||
      prepend = (
 | 
			
		||||
        <div className='status__prepend'>
 | 
			
		||||
          <div className='status__prepend-icon-wrapper'><i className='fa fa-fw fa-retweet status__prepend-icon' /></div>
 | 
			
		||||
          <div className='status__prepend-icon-wrapper'><Icon id='retweet' className='status__prepend-icon' fixedWidth /></div>
 | 
			
		||||
          <FormattedMessage id='status.reblogged_by' defaultMessage='{name} boosted' values={{ name: <a onClick={this.handleAccountClick} data-id={status.getIn(['account', 'id'])} href={status.getIn(['account', 'url'])} className='status__display-name muted'><bdi><strong dangerouslySetInnerHTML={display_name_html} /></bdi></a> }} />
 | 
			
		||||
        </div>
 | 
			
		||||
      );
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ import { isRtl } from '../rtl';
 | 
			
		|||
import { FormattedMessage } from 'react-intl';
 | 
			
		||||
import Permalink from './permalink';
 | 
			
		||||
import classnames from 'classnames';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const MAX_HEIGHT = 642; // 20px * 32 (+ 2px padding at the top)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -160,7 +161,7 @@ export default class StatusContent extends React.PureComponent {
 | 
			
		|||
 | 
			
		||||
    const readMoreButton = (
 | 
			
		||||
      <button className='status__content__read-more-button' onClick={this.props.onClick} key='read-more'>
 | 
			
		||||
        <FormattedMessage id='status.read_more' defaultMessage='Read more' /><i className='fa fa-fw fa-angle-right' />
 | 
			
		||||
        <FormattedMessage id='status.read_more' defaultMessage='Read more' /><Icon id='angle-right' fixedWidth />
 | 
			
		||||
      </button>
 | 
			
		||||
    );
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,7 @@ import spring from 'react-motion/lib/spring';
 | 
			
		|||
import ImmutablePureComponent from 'react-immutable-pure-component';
 | 
			
		||||
import { autoPlayGif, me } from '../../../initial_state';
 | 
			
		||||
import classNames from 'classnames';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  unfollow: { id: 'account.unfollow', defaultMessage: 'Unfollow' },
 | 
			
		||||
| 
						 | 
				
			
			@ -132,7 +133,7 @@ class Header extends ImmutablePureComponent {
 | 
			
		|||
      } else if (account.getIn(['relationship', 'blocking'])) {
 | 
			
		||||
        actionBtn = (
 | 
			
		||||
          <div className='account--action-button'>
 | 
			
		||||
            <IconButton size={26} icon='unlock-alt' title={intl.formatMessage(messages.unblock, { name: account.get('username') })} onClick={this.props.onBlock} />
 | 
			
		||||
            <IconButton size={26} icon='unlock' title={intl.formatMessage(messages.unblock, { name: account.get('username') })} onClick={this.props.onBlock} />
 | 
			
		||||
          </div>
 | 
			
		||||
        );
 | 
			
		||||
      }
 | 
			
		||||
| 
						 | 
				
			
			@ -149,7 +150,7 @@ class Header extends ImmutablePureComponent {
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    if (account.get('locked')) {
 | 
			
		||||
      lockedIcon = <i className='fa fa-lock' title={intl.formatMessage(messages.account_locked)} />;
 | 
			
		||||
      lockedIcon = <Icon id='lock' title={intl.formatMessage(messages.account_locked)} />;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    const content         = { __html: account.get('note_emojified') };
 | 
			
		||||
| 
						 | 
				
			
			@ -176,7 +177,7 @@ class Header extends ImmutablePureComponent {
 | 
			
		|||
                  <dt dangerouslySetInnerHTML={{ __html: pair.get('name_emojified') }} title={pair.get('name')} />
 | 
			
		||||
 | 
			
		||||
                  <dd className={pair.get('verified_at') && 'verified'} title={pair.get('value_plain')}>
 | 
			
		||||
                    {pair.get('verified_at') && <span title={intl.formatMessage(messages.linkVerifiedOn, { date: intl.formatDate(pair.get('verified_at'), dateFormatOptions) })}><i className='fa fa-check verified__mark' /></span>} <span dangerouslySetInnerHTML={{ __html: pair.get('value_emojified') }} />
 | 
			
		||||
                    {pair.get('verified_at') && <span title={intl.formatMessage(messages.linkVerifiedOn, { date: intl.formatDate(pair.get('verified_at'), dateFormatOptions) })}><Icon id='check' className='verified__mark' /></span>} <span dangerouslySetInnerHTML={{ __html: pair.get('value_emojified') }} />
 | 
			
		||||
                  </dd>
 | 
			
		||||
                </dl>
 | 
			
		||||
              ))}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,6 +3,7 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
 | 
			
		|||
import ImmutablePureComponent from 'react-immutable-pure-component';
 | 
			
		||||
import Permalink from '../../../components/permalink';
 | 
			
		||||
import { displayMedia } from '../../../initial_state';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
export default class MediaItem extends ImmutablePureComponent {
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -45,7 +46,7 @@ export default class MediaItem extends ImmutablePureComponent {
 | 
			
		|||
    } else {
 | 
			
		||||
      icon = (
 | 
			
		||||
        <span className='account-gallery__item__icons'>
 | 
			
		||||
          <i className='fa fa-eye-slash' />
 | 
			
		||||
          <Icon id='eye-slash' />
 | 
			
		||||
        </span>
 | 
			
		||||
      );
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ import { FormattedMessage } from 'react-intl';
 | 
			
		|||
import ImmutablePureComponent from 'react-immutable-pure-component';
 | 
			
		||||
import AvatarOverlay from '../../../components/avatar_overlay';
 | 
			
		||||
import DisplayName from '../../../components/display_name';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
export default class MovedNote extends ImmutablePureComponent {
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -33,7 +34,7 @@ export default class MovedNote extends ImmutablePureComponent {
 | 
			
		|||
    return (
 | 
			
		||||
      <div className='account__moved-note'>
 | 
			
		||||
        <div className='account__moved-note__message'>
 | 
			
		||||
          <div className='account__moved-note__icon-wrapper'><i className='fa fa-fw fa-suitcase account__moved-note__icon' /></div>
 | 
			
		||||
          <div className='account__moved-note__icon-wrapper'><Icon id='suitcase' className='account__moved-note__icon' fixedWidth /></div>
 | 
			
		||||
          <FormattedMessage id='account.moved_to' defaultMessage='{name} has moved to:' values={{ name: <bdi><strong dangerouslySetInnerHTML={displayNameHtml} /></bdi> }} />
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,6 +17,7 @@ import { isMobile } from '../../../is_mobile';
 | 
			
		|||
import ImmutablePureComponent from 'react-immutable-pure-component';
 | 
			
		||||
import { length } from 'stringz';
 | 
			
		||||
import { countableText } from '../util/counter';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
import { maxChars } from '../../../initial_state';
 | 
			
		||||
 | 
			
		||||
const allowedAroundShortCode = '><\u0085\u0020\u00a0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\u0009\u000a\u000b\u000c\u000d';
 | 
			
		||||
| 
						 | 
				
			
			@ -166,7 +167,7 @@ class ComposeForm extends ImmutablePureComponent {
 | 
			
		|||
    let publishText = '';
 | 
			
		||||
 | 
			
		||||
    if (this.props.privacy === 'private' || this.props.privacy === 'direct') {
 | 
			
		||||
      publishText = <span className='compose-form__publish-private'><i className='fa fa-lock' /> {intl.formatMessage(messages.publish)}</span>;
 | 
			
		||||
      publishText = <span className='compose-form__publish-private'><Icon id='lock' /> {intl.formatMessage(messages.publish)}</span>;
 | 
			
		||||
    } else {
 | 
			
		||||
      publishText = this.props.privacy !== 'unlisted' ? intl.formatMessage(messages.publishLoud, { publish: intl.formatMessage(messages.publish) }) : intl.formatMessage(messages.publish);
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,6 +7,7 @@ import Motion from '../../ui/util/optional_motion';
 | 
			
		|||
import spring from 'react-motion/lib/spring';
 | 
			
		||||
import detectPassiveEvents from 'detect-passive-events';
 | 
			
		||||
import classNames from 'classnames';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  public_short: { id: 'privacy.public.short', defaultMessage: 'Public' },
 | 
			
		||||
| 
						 | 
				
			
			@ -132,7 +133,7 @@ class PrivacyDropdownMenu extends React.PureComponent {
 | 
			
		|||
            {items.map(item => (
 | 
			
		||||
              <div role='option' tabIndex='0' key={item.value} data-index={item.value} onKeyDown={this.handleKeyDown} onClick={this.handleClick} className={classNames('privacy-dropdown__option', { active: item.value === value })} aria-selected={item.value === value} ref={item.value === value ? this.setFocusRef : null}>
 | 
			
		||||
                <div className='privacy-dropdown__option__icon'>
 | 
			
		||||
                  <i className={`fa fa-fw fa-${item.icon}`} />
 | 
			
		||||
                  <Icon id={item.icon} fixedWidth />
 | 
			
		||||
                </div>
 | 
			
		||||
 | 
			
		||||
                <div className='privacy-dropdown__option__content'>
 | 
			
		||||
| 
						 | 
				
			
			@ -214,7 +215,7 @@ class PrivacyDropdown extends React.PureComponent {
 | 
			
		|||
 | 
			
		||||
    this.options = [
 | 
			
		||||
      { icon: 'globe', value: 'public', text: formatMessage(messages.public_short), meta: formatMessage(messages.public_long) },
 | 
			
		||||
      { icon: 'unlock-alt', value: 'unlisted', text: formatMessage(messages.unlisted_short), meta: formatMessage(messages.unlisted_long) },
 | 
			
		||||
      { icon: 'unlock', value: 'unlisted', text: formatMessage(messages.unlisted_short), meta: formatMessage(messages.unlisted_long) },
 | 
			
		||||
      { icon: 'lock', value: 'private', text: formatMessage(messages.private_short), meta: formatMessage(messages.private_long) },
 | 
			
		||||
      { icon: 'envelope', value: 'direct', text: formatMessage(messages.direct_short), meta: formatMessage(messages.direct_long) },
 | 
			
		||||
    ];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ import Overlay from 'react-overlays/lib/Overlay';
 | 
			
		|||
import Motion from '../../ui/util/optional_motion';
 | 
			
		||||
import spring from 'react-motion/lib/spring';
 | 
			
		||||
import { searchEnabled } from '../../../initial_state';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  placeholder: { id: 'search.placeholder', defaultMessage: 'Search' },
 | 
			
		||||
| 
						 | 
				
			
			@ -116,8 +117,8 @@ class Search extends React.PureComponent {
 | 
			
		|||
        </label>
 | 
			
		||||
 | 
			
		||||
        <div role='button' tabIndex='0' className='search__icon' onClick={this.handleClear}>
 | 
			
		||||
          <i className={`fa fa-search ${hasValue ? '' : 'active'}`} />
 | 
			
		||||
          <i aria-label={intl.formatMessage(messages.placeholder)} className={`fa fa-times-circle ${hasValue ? 'active' : ''}`} />
 | 
			
		||||
          <Icon id='search' className={hasValue ? '' : 'active'} />
 | 
			
		||||
          <Icon id='times-circle' className={hasValue ? 'active' : ''} aria-label={intl.formatMessage(messages.placeholder)} />
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        <Overlay show={expanded && !hasValue} placement='bottom' target={this}>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,6 +6,7 @@ import AccountContainer from '../../../containers/account_container';
 | 
			
		|||
import StatusContainer from '../../../containers/status_container';
 | 
			
		||||
import ImmutablePureComponent from 'react-immutable-pure-component';
 | 
			
		||||
import Hashtag from '../../../components/hashtag';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  dismissSuggestion: { id: 'suggestions.dismiss', defaultMessage: 'Dismiss suggestion' },
 | 
			
		||||
| 
						 | 
				
			
			@ -34,7 +35,7 @@ class SearchResults extends ImmutablePureComponent {
 | 
			
		|||
        <div className='search-results'>
 | 
			
		||||
          <div className='trends'>
 | 
			
		||||
            <div className='trends__header'>
 | 
			
		||||
              <i className='fa fa-user-plus fa-fw' />
 | 
			
		||||
              <Icon id='user-plus' fixedWidth />
 | 
			
		||||
              <FormattedMessage id='suggestions.header' defaultMessage='You might be interested in…' />
 | 
			
		||||
            </div>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -59,7 +60,7 @@ class SearchResults extends ImmutablePureComponent {
 | 
			
		|||
      count   += results.get('accounts').size;
 | 
			
		||||
      accounts = (
 | 
			
		||||
        <div className='search-results__section'>
 | 
			
		||||
          <h5><i className='fa fa-fw fa-users' /><FormattedMessage id='search_results.accounts' defaultMessage='People' /></h5>
 | 
			
		||||
          <h5><Icon id='users' fixedWidth /><FormattedMessage id='search_results.accounts' defaultMessage='People' /></h5>
 | 
			
		||||
 | 
			
		||||
          {results.get('accounts').map(accountId => <AccountContainer key={accountId} id={accountId} />)}
 | 
			
		||||
        </div>
 | 
			
		||||
| 
						 | 
				
			
			@ -70,7 +71,7 @@ class SearchResults extends ImmutablePureComponent {
 | 
			
		|||
      count   += results.get('statuses').size;
 | 
			
		||||
      statuses = (
 | 
			
		||||
        <div className='search-results__section'>
 | 
			
		||||
          <h5><i className='fa fa-fw fa-quote-right' /><FormattedMessage id='search_results.statuses' defaultMessage='Toots' /></h5>
 | 
			
		||||
          <h5><Icon id='quote-right' fixedWidth /><FormattedMessage id='search_results.statuses' defaultMessage='Toots' /></h5>
 | 
			
		||||
 | 
			
		||||
          {results.get('statuses').map(statusId => <StatusContainer key={statusId} id={statusId} />)}
 | 
			
		||||
        </div>
 | 
			
		||||
| 
						 | 
				
			
			@ -81,7 +82,7 @@ class SearchResults extends ImmutablePureComponent {
 | 
			
		|||
      count += results.get('hashtags').size;
 | 
			
		||||
      hashtags = (
 | 
			
		||||
        <div className='search-results__section'>
 | 
			
		||||
          <h5><i className='fa fa-fw fa-hashtag' /><FormattedMessage id='search_results.hashtags' defaultMessage='Hashtags' /></h5>
 | 
			
		||||
          <h5><Icon id='hashtag' fixedWidth /><FormattedMessage id='search_results.hashtags' defaultMessage='Hashtags' /></h5>
 | 
			
		||||
 | 
			
		||||
          {results.get('hashtags').map(hashtag => <Hashtag key={hashtag.get('name')} hashtag={hashtag} />)}
 | 
			
		||||
        </div>
 | 
			
		||||
| 
						 | 
				
			
			@ -91,7 +92,7 @@ class SearchResults extends ImmutablePureComponent {
 | 
			
		|||
    return (
 | 
			
		||||
      <div className='search-results'>
 | 
			
		||||
        <div className='search-results__header'>
 | 
			
		||||
          <i className='fa fa-search fa-fw' />
 | 
			
		||||
          <Icon id='search' fixedWidth />
 | 
			
		||||
          <FormattedMessage id='search_results.total' defaultMessage='{count, number} {count, plural, one {result} other {results}}' values={{ count }} />
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,6 +6,7 @@ import spring from 'react-motion/lib/spring';
 | 
			
		|||
import ImmutablePureComponent from 'react-immutable-pure-component';
 | 
			
		||||
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
 | 
			
		||||
import classNames from 'classnames';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  description: { id: 'upload_form.description', defaultMessage: 'Describe for the visually impaired' },
 | 
			
		||||
| 
						 | 
				
			
			@ -99,8 +100,8 @@ class Upload extends ImmutablePureComponent {
 | 
			
		|||
          {({ scale }) => (
 | 
			
		||||
            <div className='compose-form__upload-thumbnail' style={{ transform: `scale(${scale})`, backgroundImage: `url(${media.get('preview_url')})`, backgroundPosition: `${x}% ${y}%` }}>
 | 
			
		||||
              <div className={classNames('compose-form__upload__actions', { active })}>
 | 
			
		||||
                <button className='icon-button' onClick={this.handleUndoClick}><i className='fa fa-times' /> <FormattedMessage id='upload_form.undo' defaultMessage='Delete' /></button>
 | 
			
		||||
                {media.get('type') === 'image' && <button className='icon-button' onClick={this.handleFocalPointClick}><i className='fa fa-crosshairs' /> <FormattedMessage id='upload_form.focus' defaultMessage='Crop' /></button>}
 | 
			
		||||
                <button className='icon-button' onClick={this.handleUndoClick}><Icon id='times' /> <FormattedMessage id='upload_form.undo' defaultMessage='Delete' /></button>
 | 
			
		||||
                {media.get('type') === 'image' && <button className='icon-button' onClick={this.handleFocalPointClick}><Icon id='crosshairs' /> <FormattedMessage id='upload_form.focus' defaultMessage='Crop' /></button>}
 | 
			
		||||
              </div>
 | 
			
		||||
 | 
			
		||||
              <div className={classNames('compose-form__upload-description', { active })}>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
 | 
			
		|||
import Motion from '../../ui/util/optional_motion';
 | 
			
		||||
import spring from 'react-motion/lib/spring';
 | 
			
		||||
import { FormattedMessage } from 'react-intl';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
export default class UploadProgress extends React.PureComponent {
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -21,7 +22,7 @@ export default class UploadProgress extends React.PureComponent {
 | 
			
		|||
    return (
 | 
			
		||||
      <div className='upload-progress'>
 | 
			
		||||
        <div className='upload-progress__icon'>
 | 
			
		||||
          <i className='fa fa-upload' />
 | 
			
		||||
          <Icon id='upload' />
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        <div className='upload-progress__message'>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,6 +14,7 @@ import SearchResultsContainer from './containers/search_results_container';
 | 
			
		|||
import { changeComposing } from '../../actions/compose';
 | 
			
		||||
import elephantUIPlane from '../../../images/elephant_ui_plane.svg';
 | 
			
		||||
import { mascot } from '../../initial_state';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  start: { id: 'getting_started.heading', defaultMessage: 'Getting started' },
 | 
			
		||||
| 
						 | 
				
			
			@ -77,21 +78,21 @@ class Compose extends React.PureComponent {
 | 
			
		|||
      const { columns } = this.props;
 | 
			
		||||
      header = (
 | 
			
		||||
        <nav className='drawer__header'>
 | 
			
		||||
          <Link to='/getting-started' className='drawer__tab' title={intl.formatMessage(messages.start)} aria-label={intl.formatMessage(messages.start)}><i role='img' className='fa fa-fw fa-bars' /></Link>
 | 
			
		||||
          <Link to='/getting-started' className='drawer__tab' title={intl.formatMessage(messages.start)} aria-label={intl.formatMessage(messages.start)}><Icon id='bars' fixedWidth /></Link>
 | 
			
		||||
          {!columns.some(column => column.get('id') === 'HOME') && (
 | 
			
		||||
            <Link to='/timelines/home' className='drawer__tab' title={intl.formatMessage(messages.home_timeline)} aria-label={intl.formatMessage(messages.home_timeline)}><i role='img' className='fa fa-fw fa-home' /></Link>
 | 
			
		||||
            <Link to='/timelines/home' className='drawer__tab' title={intl.formatMessage(messages.home_timeline)} aria-label={intl.formatMessage(messages.home_timeline)}><Icon id='home' fixedWidth /></Link>
 | 
			
		||||
          )}
 | 
			
		||||
          {!columns.some(column => column.get('id') === 'NOTIFICATIONS') && (
 | 
			
		||||
            <Link to='/notifications' className='drawer__tab' title={intl.formatMessage(messages.notifications)} aria-label={intl.formatMessage(messages.notifications)}><i role='img' className='fa fa-fw fa-bell' /></Link>
 | 
			
		||||
            <Link to='/notifications' className='drawer__tab' title={intl.formatMessage(messages.notifications)} aria-label={intl.formatMessage(messages.notifications)}><Icon id='bell' fixedWidth /></Link>
 | 
			
		||||
          )}
 | 
			
		||||
          {!columns.some(column => column.get('id') === 'COMMUNITY') && (
 | 
			
		||||
            <Link to='/timelines/public/local' className='drawer__tab' title={intl.formatMessage(messages.community)} aria-label={intl.formatMessage(messages.community)}><i role='img' className='fa fa-fw fa-users' /></Link>
 | 
			
		||||
            <Link to='/timelines/public/local' className='drawer__tab' title={intl.formatMessage(messages.community)} aria-label={intl.formatMessage(messages.community)}><Icon id='users' fixedWidth /></Link>
 | 
			
		||||
          )}
 | 
			
		||||
          {!columns.some(column => column.get('id') === 'PUBLIC') && (
 | 
			
		||||
            <Link to='/timelines/public' className='drawer__tab' title={intl.formatMessage(messages.public)} aria-label={intl.formatMessage(messages.public)}><i role='img' className='fa fa-fw fa-globe' /></Link>
 | 
			
		||||
            <Link to='/timelines/public' className='drawer__tab' title={intl.formatMessage(messages.public)} aria-label={intl.formatMessage(messages.public)}><Icon id='globe' fixedWidth /></Link>
 | 
			
		||||
          )}
 | 
			
		||||
          <a href='/settings/preferences' className='drawer__tab' title={intl.formatMessage(messages.preferences)} aria-label={intl.formatMessage(messages.preferences)}><i role='img' className='fa fa-fw fa-cog' /></a>
 | 
			
		||||
          <a href='/auth/sign_out' className='drawer__tab' data-method='delete' title={intl.formatMessage(messages.logout)} aria-label={intl.formatMessage(messages.logout)}><i role='img' className='fa fa-fw fa-sign-out' /></a>
 | 
			
		||||
          <a href='/settings/preferences' className='drawer__tab' title={intl.formatMessage(messages.preferences)} aria-label={intl.formatMessage(messages.preferences)}><Icon id='cog' fixedWidth /></a>
 | 
			
		||||
          <a href='/auth/sign_out' className='drawer__tab' data-method='delete' title={intl.formatMessage(messages.logout)} aria-label={intl.formatMessage(messages.logout)}><Icon id='sign-out' fixedWidth /></a>
 | 
			
		||||
        </nav>
 | 
			
		||||
      );
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,6 +12,7 @@ import { fetchFollowRequests } from '../../actions/accounts';
 | 
			
		|||
import { List as ImmutableList } from 'immutable';
 | 
			
		||||
import { Link } from 'react-router-dom';
 | 
			
		||||
import NavigationBar from '../compose/components/navigation_bar';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  home_timeline: { id: 'tabs_bar.home', defaultMessage: 'Home' },
 | 
			
		||||
| 
						 | 
				
			
			@ -140,7 +141,7 @@ class GettingStarted extends ImmutablePureComponent {
 | 
			
		|||
        {multiColumn && <div className='column-header__wrapper'>
 | 
			
		||||
          <h1 className='column-header'>
 | 
			
		||||
            <button>
 | 
			
		||||
              <i className='fa fa-bars fa-fw column-header__icon' />
 | 
			
		||||
              <Icon id='bars' className='column-header__icon' fixedWidth />
 | 
			
		||||
              <FormattedMessage id='getting_started.heading' defaultMessage='Getting started' />
 | 
			
		||||
            </button>
 | 
			
		||||
          </h1>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,6 +6,7 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
 | 
			
		|||
import IconButton from '../../../components/icon_button';
 | 
			
		||||
import { defineMessages, injectIntl } from 'react-intl';
 | 
			
		||||
import { removeFromListAdder, addToListAdder } from '../../../actions/lists';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  remove: { id: 'lists.account.remove', defaultMessage: 'Remove from list' },
 | 
			
		||||
| 
						 | 
				
			
			@ -53,7 +54,7 @@ class List extends ImmutablePureComponent {
 | 
			
		|||
      <div className='list'>
 | 
			
		||||
        <div className='list__wrapper'>
 | 
			
		||||
          <div className='list__display-name'>
 | 
			
		||||
            <i className='fa fa-fw fa-list-ul column-link__icon' />
 | 
			
		||||
            <Icon id='list-ul' className='column-link__icon' fixedWidth />
 | 
			
		||||
            {list.get('title')}
 | 
			
		||||
          </div>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,6 +4,7 @@ import { connect } from 'react-redux';
 | 
			
		|||
import { defineMessages, injectIntl } from 'react-intl';
 | 
			
		||||
import { fetchListSuggestions, clearListSuggestions, changeListSuggestions } from '../../../actions/lists';
 | 
			
		||||
import classNames from 'classnames';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  search: { id: 'lists.search', defaultMessage: 'Search among people you follow' },
 | 
			
		||||
| 
						 | 
				
			
			@ -65,8 +66,8 @@ class Search extends React.PureComponent {
 | 
			
		|||
        </label>
 | 
			
		||||
 | 
			
		||||
        <div role='button' tabIndex='0' className='search__icon' onClick={this.handleClear}>
 | 
			
		||||
          <i className={classNames('fa fa-search', { active: !hasValue })} />
 | 
			
		||||
          <i aria-label={intl.formatMessage(messages.search)} className={classNames('fa fa-times-circle', { active: hasValue })} />
 | 
			
		||||
          <Icon id='search' className={classNames({ active: !hasValue })} />
 | 
			
		||||
          <Icon id='times-circle' aria-label={intl.formatMessage(messages.search)} className={classNames({ active: hasValue })} />
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    );
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,6 +14,7 @@ import { fetchList, deleteList } from '../../actions/lists';
 | 
			
		|||
import { openModal } from '../../actions/modal';
 | 
			
		||||
import MissingIndicator from '../../components/missing_indicator';
 | 
			
		||||
import LoadingIndicator from '../../components/loading_indicator';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  deleteMessage: { id: 'confirmations.delete_list.message', defaultMessage: 'Are you sure you want to permanently delete this list?' },
 | 
			
		||||
| 
						 | 
				
			
			@ -150,11 +151,11 @@ class ListTimeline extends React.PureComponent {
 | 
			
		|||
        >
 | 
			
		||||
          <div className='column-header__links'>
 | 
			
		||||
            <button className='text-btn column-header__setting-btn' tabIndex='0' onClick={this.handleEditClick}>
 | 
			
		||||
              <i className='fa fa-pencil' /> <FormattedMessage id='lists.edit' defaultMessage='Edit list' />
 | 
			
		||||
              <Icon id='pencil' /> <FormattedMessage id='lists.edit' defaultMessage='Edit list' />
 | 
			
		||||
            </button>
 | 
			
		||||
 | 
			
		||||
            <button className='text-btn column-header__setting-btn' tabIndex='0' onClick={this.handleDeleteClick}>
 | 
			
		||||
              <i className='fa fa-trash' /> <FormattedMessage id='lists.delete' defaultMessage='Delete list' />
 | 
			
		||||
              <Icon id='trash' /> <FormattedMessage id='lists.delete' defaultMessage='Delete list' />
 | 
			
		||||
            </button>
 | 
			
		||||
          </div>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,7 @@
 | 
			
		|||
import React from 'react';
 | 
			
		||||
import PropTypes from 'prop-types';
 | 
			
		||||
import { FormattedMessage } from 'react-intl';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
export default class ClearColumnButton extends React.PureComponent {
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -10,7 +11,7 @@ export default class ClearColumnButton extends React.PureComponent {
 | 
			
		|||
 | 
			
		||||
  render () {
 | 
			
		||||
    return (
 | 
			
		||||
      <button className='text-btn column-header__setting-btn' tabIndex='0' onClick={this.props.onClick}><i className='fa fa-eraser' /> <FormattedMessage id='notifications.clear' defaultMessage='Clear notifications' /></button>
 | 
			
		||||
      <button className='text-btn column-header__setting-btn' tabIndex='0' onClick={this.props.onClick}><Icon id='eraser' /> <FormattedMessage id='notifications.clear' defaultMessage='Clear notifications' /></button>
 | 
			
		||||
    );
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,7 @@
 | 
			
		|||
import React from 'react';
 | 
			
		||||
import PropTypes from 'prop-types';
 | 
			
		||||
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const tooltips = defineMessages({
 | 
			
		||||
  mentions: { id: 'notifications.filter.mentions', defaultMessage: 'Mentions' },
 | 
			
		||||
| 
						 | 
				
			
			@ -62,28 +63,28 @@ class FilterBar extends React.PureComponent {
 | 
			
		|||
          onClick={this.onClick('mention')}
 | 
			
		||||
          title={intl.formatMessage(tooltips.mentions)}
 | 
			
		||||
        >
 | 
			
		||||
          <i className='fa fa-fw fa-at' />
 | 
			
		||||
          <Icon id='at' fixedWidth />
 | 
			
		||||
        </button>
 | 
			
		||||
        <button
 | 
			
		||||
          className={selectedFilter === 'favourite' ? 'active' : ''}
 | 
			
		||||
          onClick={this.onClick('favourite')}
 | 
			
		||||
          title={intl.formatMessage(tooltips.favourites)}
 | 
			
		||||
        >
 | 
			
		||||
          <i className='fa fa-fw fa-star' />
 | 
			
		||||
          <Icon id='star' fixedWidth />
 | 
			
		||||
        </button>
 | 
			
		||||
        <button
 | 
			
		||||
          className={selectedFilter === 'reblog' ? 'active' : ''}
 | 
			
		||||
          onClick={this.onClick('reblog')}
 | 
			
		||||
          title={intl.formatMessage(tooltips.boosts)}
 | 
			
		||||
        >
 | 
			
		||||
          <i className='fa fa-fw fa-retweet' />
 | 
			
		||||
          <Icon id='retweet' fixedWidth />
 | 
			
		||||
        </button>
 | 
			
		||||
        <button
 | 
			
		||||
          className={selectedFilter === 'follow' ? 'active' : ''}
 | 
			
		||||
          onClick={this.onClick('follow')}
 | 
			
		||||
          title={intl.formatMessage(tooltips.follows)}
 | 
			
		||||
        >
 | 
			
		||||
          <i className='fa fa-fw fa-user-plus' />
 | 
			
		||||
          <Icon id='user-plus' fixedWidth />
 | 
			
		||||
        </button>
 | 
			
		||||
      </div>
 | 
			
		||||
    );
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,6 +7,7 @@ import { injectIntl, FormattedMessage } from 'react-intl';
 | 
			
		|||
import Permalink from '../../../components/permalink';
 | 
			
		||||
import ImmutablePureComponent from 'react-immutable-pure-component';
 | 
			
		||||
import { HotKeys } from 'react-hotkeys';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const notificationForScreenReader = (intl, message, timestamp) => {
 | 
			
		||||
  const output = [message];
 | 
			
		||||
| 
						 | 
				
			
			@ -105,7 +106,7 @@ class Notification extends ImmutablePureComponent {
 | 
			
		|||
        <div className='notification notification-follow focusable' tabIndex='0' aria-label={notificationForScreenReader(intl, intl.formatMessage({ id: 'notification.follow', defaultMessage: '{name} followed you' }, { name: account.get('acct') }), notification.get('created_at'))}>
 | 
			
		||||
          <div className='notification__message'>
 | 
			
		||||
            <div className='notification__favourite-icon-wrapper'>
 | 
			
		||||
              <i className='fa fa-fw fa-user-plus' />
 | 
			
		||||
              <Icon id='user-plus' fixedWidth />
 | 
			
		||||
            </div>
 | 
			
		||||
 | 
			
		||||
            <span title={notification.get('created_at')}>
 | 
			
		||||
| 
						 | 
				
			
			@ -140,7 +141,7 @@ class Notification extends ImmutablePureComponent {
 | 
			
		|||
        <div className='notification notification-favourite focusable' tabIndex='0' aria-label={notificationForScreenReader(intl, intl.formatMessage({ id: 'notification.favourite', defaultMessage: '{name} favourited your status' }, { name: notification.getIn(['account', 'acct']) }), notification.get('created_at'))}>
 | 
			
		||||
          <div className='notification__message'>
 | 
			
		||||
            <div className='notification__favourite-icon-wrapper'>
 | 
			
		||||
              <i className='fa fa-fw fa-star star-icon' />
 | 
			
		||||
              <Icon id='star' className='star-icon' fixedWidth />
 | 
			
		||||
            </div>
 | 
			
		||||
 | 
			
		||||
            <span title={notification.get('created_at')}>
 | 
			
		||||
| 
						 | 
				
			
			@ -162,7 +163,7 @@ class Notification extends ImmutablePureComponent {
 | 
			
		|||
        <div className='notification notification-reblog focusable' tabIndex='0' aria-label={notificationForScreenReader(intl, intl.formatMessage({ id: 'notification.reblog', defaultMessage: '{name} boosted your status' }, { name: notification.getIn(['account', 'acct']) }), notification.get('created_at'))}>
 | 
			
		||||
          <div className='notification__message'>
 | 
			
		||||
            <div className='notification__favourite-icon-wrapper'>
 | 
			
		||||
              <i className='fa fa-fw fa-retweet' />
 | 
			
		||||
              <Icon id='retweet' fixedWidth />
 | 
			
		||||
            </div>
 | 
			
		||||
 | 
			
		||||
            <span title={notification.get('created_at')}>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,6 +4,7 @@ import Immutable from 'immutable';
 | 
			
		|||
import ImmutablePropTypes from 'react-immutable-proptypes';
 | 
			
		||||
import punycode from 'punycode';
 | 
			
		||||
import classnames from 'classnames';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const IDNA_PREFIX = 'xn--';
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -175,8 +176,8 @@ export default class Card extends React.PureComponent {
 | 
			
		|||
 | 
			
		||||
            <div className='status-card__actions'>
 | 
			
		||||
              <div>
 | 
			
		||||
                <button onClick={this.handleEmbedClick}><i className={`fa fa-${iconVariant}`} /></button>
 | 
			
		||||
                {horizontal && <a href={card.get('url')} target='_blank' rel='noopener'><i className='fa fa-external-link' /></a>}
 | 
			
		||||
                <button onClick={this.handleEmbedClick}><Icon id={iconVariant} /></button>
 | 
			
		||||
                {horizontal && <a href={card.get('url')} target='_blank' rel='noopener'><Icon id='external-link' /></a>}
 | 
			
		||||
              </div>
 | 
			
		||||
            </div>
 | 
			
		||||
          </div>
 | 
			
		||||
| 
						 | 
				
			
			@ -198,7 +199,7 @@ export default class Card extends React.PureComponent {
 | 
			
		|||
    } else {
 | 
			
		||||
      embed = (
 | 
			
		||||
        <div className='status-card__image'>
 | 
			
		||||
          <i className='fa fa-file-text' />
 | 
			
		||||
          <Icon id='file-text' />
 | 
			
		||||
        </div>
 | 
			
		||||
      );
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,6 +13,7 @@ import ImmutablePureComponent from 'react-immutable-pure-component';
 | 
			
		|||
import Video from '../../video';
 | 
			
		||||
import scheduleIdleTask from '../../ui/util/schedule_idle_task';
 | 
			
		||||
import classNames from 'classnames';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
export default class DetailedStatus extends ImmutablePureComponent {
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -148,11 +149,11 @@ export default class DetailedStatus extends ImmutablePureComponent {
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    if (status.get('visibility') === 'private') {
 | 
			
		||||
      reblogLink = <i className={`fa fa-${reblogIcon}`} />;
 | 
			
		||||
      reblogLink = <Icon id={reblogIcon} />;
 | 
			
		||||
    } else if (this.context.router) {
 | 
			
		||||
      reblogLink = (
 | 
			
		||||
        <Link to={`/statuses/${status.get('id')}/reblogs`} className='detailed-status__link'>
 | 
			
		||||
          <i className={`fa fa-${reblogIcon}`} />
 | 
			
		||||
          <Icon id={reblogIcon} />
 | 
			
		||||
          <span className='detailed-status__reblogs'>
 | 
			
		||||
            <FormattedNumber value={status.get('reblogs_count')} />
 | 
			
		||||
          </span>
 | 
			
		||||
| 
						 | 
				
			
			@ -161,7 +162,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
 | 
			
		|||
    } else {
 | 
			
		||||
      reblogLink = (
 | 
			
		||||
        <a href={`/interact/${status.get('id')}?type=reblog`} className='detailed-status__link' onClick={this.handleModalLink}>
 | 
			
		||||
          <i className={`fa fa-${reblogIcon}`} />
 | 
			
		||||
          <Icon id={reblogIcon} />
 | 
			
		||||
          <span className='detailed-status__reblogs'>
 | 
			
		||||
            <FormattedNumber value={status.get('reblogs_count')} />
 | 
			
		||||
          </span>
 | 
			
		||||
| 
						 | 
				
			
			@ -172,7 +173,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
 | 
			
		|||
    if (this.context.router) {
 | 
			
		||||
      favouriteLink = (
 | 
			
		||||
        <Link to={`/statuses/${status.get('id')}/favourites`} className='detailed-status__link'>
 | 
			
		||||
          <i className='fa fa-star' />
 | 
			
		||||
          <Icon id='star' />
 | 
			
		||||
          <span className='detailed-status__favorites'>
 | 
			
		||||
            <FormattedNumber value={status.get('favourites_count')} />
 | 
			
		||||
          </span>
 | 
			
		||||
| 
						 | 
				
			
			@ -181,7 +182,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
 | 
			
		|||
    } else {
 | 
			
		||||
      favouriteLink = (
 | 
			
		||||
        <a href={`/interact/${status.get('id')}?type=favourite`} className='detailed-status__link' onClick={this.handleModalLink}>
 | 
			
		||||
          <i className='fa fa-star' />
 | 
			
		||||
          <Icon id='star' />
 | 
			
		||||
          <span className='detailed-status__favorites'>
 | 
			
		||||
            <FormattedNumber value={status.get('favourites_count')} />
 | 
			
		||||
          </span>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -44,6 +44,7 @@ import { HotKeys } from 'react-hotkeys';
 | 
			
		|||
import { boostModal, deleteModal } from '../../initial_state';
 | 
			
		||||
import { attachFullscreenListener, detachFullscreenListener, isFullscreen } from '../ui/util/fullscreen';
 | 
			
		||||
import { textForScreenReader } from '../../components/status';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  deleteConfirm: { id: 'confirmations.delete.confirm', defaultMessage: 'Delete' },
 | 
			
		||||
| 
						 | 
				
			
			@ -425,7 +426,7 @@ class Status extends ImmutablePureComponent {
 | 
			
		|||
        <ColumnHeader
 | 
			
		||||
          showBackButton
 | 
			
		||||
          extraButton={(
 | 
			
		||||
            <button className='column-header__button' title={intl.formatMessage(status.get('hidden') ? messages.revealAll : messages.hideAll)} aria-label={intl.formatMessage(status.get('hidden') ? messages.revealAll : messages.hideAll)} onClick={this.handleToggleAll} aria-pressed={status.get('hidden') ? 'false' : 'true'}><i className={`fa fa-${status.get('hidden') ? 'eye-slash' : 'eye'}`} /></button>
 | 
			
		||||
            <button className='column-header__button' title={intl.formatMessage(status.get('hidden') ? messages.revealAll : messages.hideAll)} aria-label={intl.formatMessage(status.get('hidden') ? messages.revealAll : messages.hideAll)} onClick={this.handleToggleAll} aria-pressed={status.get('hidden') ? 'false' : 'true'}><Icon id={status.get('hidden') ? 'eye-slash' : 'eye'} /></button>
 | 
			
		||||
          )}
 | 
			
		||||
        />
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,7 @@ import Avatar from '../../../components/avatar';
 | 
			
		|||
import RelativeTimestamp from '../../../components/relative_timestamp';
 | 
			
		||||
import DisplayName from '../../../components/display_name';
 | 
			
		||||
import ImmutablePureComponent from 'react-immutable-pure-component';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  reblog: { id: 'status.reblog', defaultMessage: 'Boost' },
 | 
			
		||||
| 
						 | 
				
			
			@ -74,7 +75,7 @@ class BoostModal extends ImmutablePureComponent {
 | 
			
		|||
        </div>
 | 
			
		||||
 | 
			
		||||
        <div className='boost-modal__action-bar'>
 | 
			
		||||
          <div><FormattedMessage id='boost_modal.combo' defaultMessage='You can press {combo} to skip this next time' values={{ combo: <span>Shift + <i className='fa fa-retweet' /></span> }} /></div>
 | 
			
		||||
          <div><FormattedMessage id='boost_modal.combo' defaultMessage='You can press {combo} to skip this next time' values={{ combo: <span>Shift + <Icon id='retweet' /></span> }} /></div>
 | 
			
		||||
          <Button text={intl.formatMessage(messages.reblog)} onClick={this.handleReblog} ref={this.setRef} />
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,7 @@
 | 
			
		|||
import React from 'react';
 | 
			
		||||
import PropTypes from 'prop-types';
 | 
			
		||||
import classNames from 'classnames';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
export default class ColumnHeader extends React.PureComponent {
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -21,7 +22,7 @@ export default class ColumnHeader extends React.PureComponent {
 | 
			
		|||
    let iconElement = '';
 | 
			
		||||
 | 
			
		||||
    if (icon) {
 | 
			
		||||
      iconElement = <i className={`fa fa-fw fa-${icon} column-header__icon`} />;
 | 
			
		||||
      iconElement = <Icon id={icon} fixedWidth className='column-header__icon' />;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    return (
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,7 @@
 | 
			
		|||
import React from 'react';
 | 
			
		||||
import PropTypes from 'prop-types';
 | 
			
		||||
import { Link } from 'react-router-dom';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const ColumnLink = ({ icon, text, to, href, method, badge }) => {
 | 
			
		||||
  const badgeElement = typeof badge !== 'undefined' ? <span className='column-link__badge'>{badge}</span> : null;
 | 
			
		||||
| 
						 | 
				
			
			@ -8,7 +9,7 @@ const ColumnLink = ({ icon, text, to, href, method, badge }) => {
 | 
			
		|||
  if (href) {
 | 
			
		||||
    return (
 | 
			
		||||
      <a href={href} className='column-link' data-method={method}>
 | 
			
		||||
        <i className={`fa fa-fw fa-${icon} column-link__icon`} />
 | 
			
		||||
        <Icon id={icon} fixedWidth className='column-link__icon' />
 | 
			
		||||
        {text}
 | 
			
		||||
        {badgeElement}
 | 
			
		||||
      </a>
 | 
			
		||||
| 
						 | 
				
			
			@ -16,7 +17,7 @@ const ColumnLink = ({ icon, text, to, href, method, badge }) => {
 | 
			
		|||
  } else {
 | 
			
		||||
    return (
 | 
			
		||||
      <Link to={to} className='column-link'>
 | 
			
		||||
        <i className={`fa fa-fw fa-${icon} column-link__icon`} />
 | 
			
		||||
        <Icon id={icon} fixedWidth className='column-link__icon' />
 | 
			
		||||
        {text}
 | 
			
		||||
        {badgeElement}
 | 
			
		||||
      </Link>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,6 +13,7 @@ import ColumnLoading from './column_loading';
 | 
			
		|||
import DrawerLoading from './drawer_loading';
 | 
			
		||||
import BundleColumnError from './bundle_column_error';
 | 
			
		||||
import { Compose, Notifications, HomeTimeline, CommunityTimeline, PublicTimeline, HashtagTimeline, DirectTimeline, FavouritedStatuses, ListTimeline } from '../../ui/util/async-components';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
import detectPassiveEvents from 'detect-passive-events';
 | 
			
		||||
import { scrollRight } from '../../../scroll';
 | 
			
		||||
| 
						 | 
				
			
			@ -160,7 +161,7 @@ class ColumnsArea extends ImmutablePureComponent {
 | 
			
		|||
    this.pendingIndex = null;
 | 
			
		||||
 | 
			
		||||
    if (singleColumn) {
 | 
			
		||||
      const floatingActionButton = shouldHideFAB(this.context.router.history.location.pathname) ? null : <Link key='floating-action-button' to='/statuses/new' className='floating-action-button' aria-label={intl.formatMessage(messages.publish)}><i className='fa fa-pencil' /></Link>;
 | 
			
		||||
      const floatingActionButton = shouldHideFAB(this.context.router.history.location.pathname) ? null : <Link key='floating-action-button' to='/statuses/new' className='floating-action-button' aria-label={intl.formatMessage(messages.publish)}><Icon id='pencil' /></Link>;
 | 
			
		||||
 | 
			
		||||
      return columnIndex !== -1 ? [
 | 
			
		||||
        <ReactSwipeableViews key='content' index={columnIndex} onChangeIndex={this.handleSwipe} onTransitionEnd={this.handleAnimationEnd} animateTransitions={shouldAnimate} springConfig={{ duration: '400ms', delay: '0s', easeFunction: 'ease' }} style={{ height: '100%' }}>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,6 +9,7 @@ import { defineMessages, injectIntl } from 'react-intl';
 | 
			
		|||
import IconButton from '../../../components/icon_button';
 | 
			
		||||
import ImmutablePureComponent from 'react-immutable-pure-component';
 | 
			
		||||
import ImageLoader from './image_loader';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  close: { id: 'lightbox.close', defaultMessage: 'Close' },
 | 
			
		||||
| 
						 | 
				
			
			@ -108,8 +109,8 @@ class MediaModal extends ImmutablePureComponent {
 | 
			
		|||
    const index = this.getIndex();
 | 
			
		||||
    let pagination = [];
 | 
			
		||||
 | 
			
		||||
    const leftNav  = media.size > 1 && <button tabIndex='0' className='media-modal__nav media-modal__nav--left' onClick={this.handlePrevClick} aria-label={intl.formatMessage(messages.previous)}><i className='fa fa-fw fa-chevron-left' /></button>;
 | 
			
		||||
    const rightNav = media.size > 1 && <button tabIndex='0' className='media-modal__nav  media-modal__nav--right' onClick={this.handleNextClick} aria-label={intl.formatMessage(messages.next)}><i className='fa fa-fw fa-chevron-right' /></button>;
 | 
			
		||||
    const leftNav  = media.size > 1 && <button tabIndex='0' className='media-modal__nav media-modal__nav--left' onClick={this.handlePrevClick} aria-label={intl.formatMessage(messages.previous)}><Icon id='chevron-left' fixedWidth /></button>;
 | 
			
		||||
    const rightNav = media.size > 1 && <button tabIndex='0' className='media-modal__nav  media-modal__nav--right' onClick={this.handleNextClick} aria-label={intl.formatMessage(messages.next)}><Icon id='chevron-right' fixedWidth /></button>;
 | 
			
		||||
 | 
			
		||||
    if (media.size > 1) {
 | 
			
		||||
      pagination = media.map((item, i) => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,16 +4,17 @@ import { NavLink, withRouter } from 'react-router-dom';
 | 
			
		|||
import { FormattedMessage, injectIntl } from 'react-intl';
 | 
			
		||||
import { debounce } from 'lodash';
 | 
			
		||||
import { isUserTouching } from '../../../is_mobile';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
export const links = [
 | 
			
		||||
  <NavLink className='tabs-bar__link primary' to='/timelines/home' data-preview-title-id='column.home' data-preview-icon='home' ><i className='fa fa-fw fa-home' /><FormattedMessage id='tabs_bar.home' defaultMessage='Home' /></NavLink>,
 | 
			
		||||
  <NavLink className='tabs-bar__link primary' to='/notifications' data-preview-title-id='column.notifications' data-preview-icon='bell' ><i className='fa fa-fw fa-bell' /><FormattedMessage id='tabs_bar.notifications' defaultMessage='Notifications' /></NavLink>,
 | 
			
		||||
  <NavLink className='tabs-bar__link primary' to='/timelines/home' data-preview-title-id='column.home' data-preview-icon='home' ><Icon id='home' fixedWidth /><FormattedMessage id='tabs_bar.home' defaultMessage='Home' /></NavLink>,
 | 
			
		||||
  <NavLink className='tabs-bar__link primary' to='/notifications' data-preview-title-id='column.notifications' data-preview-icon='bell' ><Icon id='bell' fixedWidth /><FormattedMessage id='tabs_bar.notifications' defaultMessage='Notifications' /></NavLink>,
 | 
			
		||||
 | 
			
		||||
  <NavLink className='tabs-bar__link secondary' to='/timelines/public/local' data-preview-title-id='column.community' data-preview-icon='users' ><i className='fa fa-fw fa-users' /><FormattedMessage id='tabs_bar.local_timeline' defaultMessage='Local' /></NavLink>,
 | 
			
		||||
  <NavLink className='tabs-bar__link secondary' exact to='/timelines/public' data-preview-title-id='column.public' data-preview-icon='globe' ><i className='fa fa-fw fa-globe' /><FormattedMessage id='tabs_bar.federated_timeline' defaultMessage='Federated' /></NavLink>,
 | 
			
		||||
  <NavLink className='tabs-bar__link primary' to='/search' data-preview-title-id='tabs_bar.search' data-preview-icon='bell' ><i className='fa fa-fw fa-search' /><FormattedMessage id='tabs_bar.search' defaultMessage='Search' /></NavLink>,
 | 
			
		||||
  <NavLink className='tabs-bar__link secondary' to='/timelines/public/local' data-preview-title-id='column.community' data-preview-icon='users' ><Icon id='users' fixedWidth /><FormattedMessage id='tabs_bar.local_timeline' defaultMessage='Local' /></NavLink>,
 | 
			
		||||
  <NavLink className='tabs-bar__link secondary' exact to='/timelines/public' data-preview-title-id='column.public' data-preview-icon='globe' ><Icon id='globe' fixedWidth /><FormattedMessage id='tabs_bar.federated_timeline' defaultMessage='Federated' /></NavLink>,
 | 
			
		||||
  <NavLink className='tabs-bar__link primary' to='/search' data-preview-title-id='tabs_bar.search' data-preview-icon='bell' ><Icon id='search' fixedWidth /><FormattedMessage id='tabs_bar.search' defaultMessage='Search' /></NavLink>,
 | 
			
		||||
 | 
			
		||||
  <NavLink className='tabs-bar__link primary' style={{ flexGrow: '0', flexBasis: '30px' }} to='/getting-started' data-preview-title-id='getting_started.heading' data-preview-icon='bars' ><i className='fa fa-fw fa-bars' /></NavLink>,
 | 
			
		||||
  <NavLink className='tabs-bar__link primary' style={{ flexGrow: '0', flexBasis: '30px' }} to='/getting-started' data-preview-title-id='getting_started.heading' data-preview-icon='bars' ><Icon id='bars' fixedWidth /></NavLink>,
 | 
			
		||||
];
 | 
			
		||||
 | 
			
		||||
export function getIndex (path) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,6 +6,7 @@ import { throttle } from 'lodash';
 | 
			
		|||
import classNames from 'classnames';
 | 
			
		||||
import { isFullscreen, requestFullscreen, exitFullscreen } from '../ui/util/fullscreen';
 | 
			
		||||
import { displayMedia } from '../../initial_state';
 | 
			
		||||
import Icon from 'mastodon/components/icon';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  play: { id: 'video.play', defaultMessage: 'Play' },
 | 
			
		||||
| 
						 | 
				
			
			@ -416,8 +417,8 @@ class Video extends React.PureComponent {
 | 
			
		|||
 | 
			
		||||
          <div className='video-player__buttons-bar'>
 | 
			
		||||
            <div className='video-player__buttons left'>
 | 
			
		||||
              <button type='button' aria-label={intl.formatMessage(paused ? messages.play : messages.pause)} onClick={this.togglePlay}><i className={classNames('fa fa-fw', { 'fa-play': paused, 'fa-pause': !paused })} /></button>
 | 
			
		||||
              <button type='button' aria-label={intl.formatMessage(muted ? messages.unmute : messages.mute)} onClick={this.toggleMute}><i className={classNames('fa fa-fw', { 'fa-volume-off': muted, 'fa-volume-up': !muted })} /></button>
 | 
			
		||||
              <button type='button' aria-label={intl.formatMessage(paused ? messages.play : messages.pause)} onClick={this.togglePlay}><Icon id={paused ? 'play' : 'pause'} fixedWidth /></button>
 | 
			
		||||
              <button type='button' aria-label={intl.formatMessage(muted ? messages.unmute : messages.mute)} onClick={this.toggleMute}><Icon id={muted ? 'volume-off' : 'volume-up'} fixedWidth /></button>
 | 
			
		||||
              <div className='video-player__volume' onMouseDown={this.handleVolumeMouseDown} ref={this.setVolumeRef}>
 | 
			
		||||
                <div className='video-player__volume__current' style={{ width: `${volumeWidth}px` }} />
 | 
			
		||||
                <span
 | 
			
		||||
| 
						 | 
				
			
			@ -437,10 +438,10 @@ class Video extends React.PureComponent {
 | 
			
		|||
            </div>
 | 
			
		||||
 | 
			
		||||
            <div className='video-player__buttons right'>
 | 
			
		||||
              {!onCloseVideo && <button type='button' aria-label={intl.formatMessage(messages.hide)} onClick={this.toggleReveal}><i className='fa fa-fw fa-eye' /></button>}
 | 
			
		||||
              {(!fullscreen && onOpenVideo) && <button type='button' aria-label={intl.formatMessage(messages.expand)} onClick={this.handleOpenVideo}><i className='fa fa-fw fa-expand' /></button>}
 | 
			
		||||
              {onCloseVideo && <button type='button' aria-label={intl.formatMessage(messages.close)} onClick={this.handleCloseVideo}><i className='fa fa-fw fa-compress' /></button>}
 | 
			
		||||
              <button type='button' aria-label={intl.formatMessage(fullscreen ? messages.exit_fullscreen : messages.fullscreen)} onClick={this.toggleFullscreen}><i className={classNames('fa fa-fw', { 'fa-arrows-alt': !fullscreen, 'fa-compress': fullscreen })} /></button>
 | 
			
		||||
              {!onCloseVideo && <button type='button' aria-label={intl.formatMessage(messages.hide)} onClick={this.toggleReveal}><Icon id='eye' fixedWidth /></button>}
 | 
			
		||||
              {(!fullscreen && onOpenVideo) && <button type='button' aria-label={intl.formatMessage(messages.expand)} onClick={this.handleOpenVideo}><Icon id='expand' fixedWidth /></button>}
 | 
			
		||||
              {onCloseVideo && <button type='button' aria-label={intl.formatMessage(messages.close)} onClick={this.handleCloseVideo}><Icon id='compress' fixedWidth /></button>}
 | 
			
		||||
              <button type='button' aria-label={intl.formatMessage(fullscreen ? messages.exit_fullscreen : messages.fullscreen)} onClick={this.toggleFullscreen}><Icon id={fullscreen ? 'compress' : 'arrows-alt'} fixedWidth /></button>
 | 
			
		||||
            </div>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,3 +12,54 @@
 | 
			
		|||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.status__content a,
 | 
			
		||||
.reply-indicator__content a {
 | 
			
		||||
  color: lighten($ui-highlight-color, 12%);
 | 
			
		||||
  text-decoration: underline;
 | 
			
		||||
 | 
			
		||||
  &.mention {
 | 
			
		||||
    text-decoration: none;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  &.mention span {
 | 
			
		||||
    text-decoration: underline;
 | 
			
		||||
 | 
			
		||||
    &:hover,
 | 
			
		||||
    &:focus,
 | 
			
		||||
    &:active {
 | 
			
		||||
      text-decoration: none;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  &:hover,
 | 
			
		||||
  &:focus,
 | 
			
		||||
  &:active {
 | 
			
		||||
    text-decoration: none;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  &.status__content__spoiler-link {
 | 
			
		||||
    color: $secondary-text-color;
 | 
			
		||||
    text-decoration: none;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.status__content__read-more-button {
 | 
			
		||||
  text-decoration: underline;
 | 
			
		||||
 | 
			
		||||
  &:hover,
 | 
			
		||||
  &:focus,
 | 
			
		||||
  &:active {
 | 
			
		||||
    text-decoration: none;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.getting-started__footer a {
 | 
			
		||||
  text-decoration: underline;
 | 
			
		||||
 | 
			
		||||
  &:hover,
 | 
			
		||||
  &:focus,
 | 
			
		||||
  &:active {
 | 
			
		||||
    text-decoration: none;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -566,8 +566,8 @@ en:
 | 
			
		|||
      other: "%{count} people"
 | 
			
		||||
  errors:
 | 
			
		||||
    '403': You don't have permission to view this page.
 | 
			
		||||
    '404': The page you were looking for doesn't exist.
 | 
			
		||||
    '410': The page you were looking for doesn't exist anymore.
 | 
			
		||||
    '404': The page you are looking for isn't here.
 | 
			
		||||
    '410': The page you were looking for doesn't exist here anymore.
 | 
			
		||||
    '422':
 | 
			
		||||
      content: Security verification failed. Are you blocking cookies?
 | 
			
		||||
      title: Security verification failed
 | 
			
		||||
| 
						 | 
				
			
			@ -580,7 +580,7 @@ en:
 | 
			
		|||
    archive_takeout:
 | 
			
		||||
      date: Date
 | 
			
		||||
      download: Download your archive
 | 
			
		||||
      hint_html: You can request an archive of your <strong>toots and uploaded media</strong>. The exported data will be in ActivityPub format, readable by any compliant software. You can request an archive every 7 days.
 | 
			
		||||
      hint_html: You can request an archive of your <strong>toots and uploaded media</strong>. The exported data will be in the ActivityPub format, readable by any compliant software. You can request an archive every 7 days.
 | 
			
		||||
      in_progress: Compiling your archive...
 | 
			
		||||
      request: Request your archive
 | 
			
		||||
      size: Size
 | 
			
		||||
| 
						 | 
				
			
			@ -934,9 +934,9 @@ en:
 | 
			
		|||
      <p>Originally adapted from the <a href="https://github.com/discourse/discourse">Discourse privacy policy</a>.</p>
 | 
			
		||||
    title: "%{instance} Terms of Service and Privacy Policy"
 | 
			
		||||
  themes:
 | 
			
		||||
    contrast: High contrast
 | 
			
		||||
    default: Mastodon
 | 
			
		||||
    mastodon-light: Mastodon (light)
 | 
			
		||||
    contrast: Mastodon (High contrast)
 | 
			
		||||
    default: Mastodon (Dark)
 | 
			
		||||
    mastodon-light: Mastodon (Light)
 | 
			
		||||
  time:
 | 
			
		||||
    formats:
 | 
			
		||||
      default: "%b %d, %Y, %H:%M"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -565,8 +565,11 @@ pl:
 | 
			
		|||
    warning_title: Dostępność usuniętej zawartości
 | 
			
		||||
  directories:
 | 
			
		||||
    directory: Katalog profilów
 | 
			
		||||
    enabled: Jesteś obecnie zapisany(-a) do katalogu
 | 
			
		||||
    enabled_but_waiting: Jesteś zapisany(-a) do katalogu, ale jeszcze nie śledzi Cię wystarczająca liczba osób (%{min_followers}), aby się tam pojawić.
 | 
			
		||||
    explanation: Poznaj profile na podstawie zainteresowań
 | 
			
		||||
    explore_mastodon: Odkrywaj %{title}
 | 
			
		||||
    how_to_enable: Nie jesteś obecnie zapisany(-a) do katalogu. Poniżej możesz zapisać się. Użyj hashtagów w swoim opisie, aby zostać wyświetlonym pod określonymi hashtagami!
 | 
			
		||||
    people:
 | 
			
		||||
      few: "%{count} osoby"
 | 
			
		||||
      many: "%{count} osób"
 | 
			
		||||
| 
						 | 
				
			
			@ -621,7 +624,11 @@ pl:
 | 
			
		|||
    followers_count: Liczba śledzących
 | 
			
		||||
    lock_link: Zablokuj swoje konto
 | 
			
		||||
    purge: Przestań śledzić
 | 
			
		||||
    success: W trakcie usuwania śledzących z %{count} domen…
 | 
			
		||||
    success:
 | 
			
		||||
      few: W trakcie usuwania śledzących z %{count} domen…
 | 
			
		||||
      many: W trakcie usuwania śledzących z %{count} domen…
 | 
			
		||||
      one: W trakcie usuwania śledzących z jednej domeny…
 | 
			
		||||
      other: W trakcie usuwania śledzących z %{count} domen…
 | 
			
		||||
    true_privacy_html: Pamiętaj, że <strong>rzeczywista prywatność może zostać uzyskana wyłącznie dzięki szyfrowaniu end-to-end</strong>.
 | 
			
		||||
    unlocked_warning_html: Każdy może Cię śledzić, dzięki czemu może zobaczyć Twoje niepubliczne wpisy. %{lock_link} aby móc kontrolować, kto Cię śledzi.
 | 
			
		||||
    unlocked_warning_title: Twoje konto nie jest zablokowane
 | 
			
		||||
| 
						 | 
				
			
			@ -631,6 +638,7 @@ pl:
 | 
			
		|||
    resources: Zasoby
 | 
			
		||||
  generic:
 | 
			
		||||
    changes_saved_msg: Ustawienia zapisane!
 | 
			
		||||
    copy: Kopiuj
 | 
			
		||||
    save_changes: Zapisz zmiany
 | 
			
		||||
    use_this: Użyj tego
 | 
			
		||||
    validation_errors:
 | 
			
		||||
| 
						 | 
				
			
			@ -751,10 +759,25 @@ pl:
 | 
			
		|||
    no_account_html: Nie masz konta? Możesz <a href='%{sign_up_path}' target='_blank'>zarejestrować się tutaj</a>
 | 
			
		||||
    proceed: Śledź
 | 
			
		||||
    prompt: 'Zamierzasz śledzić:'
 | 
			
		||||
    reason_html: "<strong>Dlaczego ten krok jest konieczny?</strong> <code>%{instance}</code> może nie być serwerem na którym jesteś zarejestrowany(-a), więc musisz zostać przekierowany(-a) na swój serwer."
 | 
			
		||||
  remote_interaction:
 | 
			
		||||
    favourite:
 | 
			
		||||
      proceed: Przejdź do dodania do ulubionych
 | 
			
		||||
      prompt: 'Chcesz dodać ten wpis do ulubionych:'
 | 
			
		||||
    reblog:
 | 
			
		||||
      proceed: Przejdź do podbicia
 | 
			
		||||
      prompt: 'Chcesz podbić ten wpis:'
 | 
			
		||||
    reply:
 | 
			
		||||
      proceed: Przejdź do dodawania odpowiedzi
 | 
			
		||||
      prompt: 'Chcesz odpowiedzieć na ten wpis:'
 | 
			
		||||
  remote_unfollow:
 | 
			
		||||
    error: Błąd
 | 
			
		||||
    title: Tytuł
 | 
			
		||||
    unfollowed: Przestałeś śledzić
 | 
			
		||||
    unfollowed: Przestałeś(-aś) śledzić
 | 
			
		||||
  scheduled_statuses:
 | 
			
		||||
    over_daily_limit: Przekroczyłeś(-aś) limit %{limit} zaplanowanych wpisów na ten dzień
 | 
			
		||||
    over_total_limit: Przekroczyłeś(-aś) limit %{limit} zaplanowanych wpisów
 | 
			
		||||
    too_soon: Zaplanowana data musi wypadać w przyszłości
 | 
			
		||||
  sessions:
 | 
			
		||||
    activity: Ostatnia aktywność
 | 
			
		||||
    browser: Przeglądarka
 | 
			
		||||
| 
						 | 
				
			
			@ -827,7 +850,11 @@ pl:
 | 
			
		|||
        other: "%{count} filmów"
 | 
			
		||||
    boosted_from_html: Podbito przez %{acct_link}
 | 
			
		||||
    content_warning: 'Ostrzeżenie o zawartości: %{warning}'
 | 
			
		||||
    disallowed_hashtags: 'zawiera niedozwolone hashtagi: %{tags}'
 | 
			
		||||
    disallowed_hashtags:
 | 
			
		||||
      few: 'zawiera niedozwolone hashtagi: %{tags}'
 | 
			
		||||
      many: 'zawiera niedozwolone hashtagi: %{tags}'
 | 
			
		||||
      one: 'zawiera niedozwolony hashtag: %{tags}'
 | 
			
		||||
      other: 'zawiera niedozwolone hashtagi: %{tags}'
 | 
			
		||||
    language_detection: Automatycznie wykrywaj język
 | 
			
		||||
    open_in_web: Otwórz w przeglądarce
 | 
			
		||||
    over_character_limit: limit %{max} znaków przekroczony
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -64,7 +64,7 @@ sk:
 | 
			
		|||
    posts:
 | 
			
		||||
      few: Príspevkov
 | 
			
		||||
      one: Príspevok
 | 
			
		||||
      other: Príspevkov
 | 
			
		||||
      other: Príspevky
 | 
			
		||||
    posts_tab_heading: Príspevky
 | 
			
		||||
    posts_with_replies: Príspevky s odpoveďami
 | 
			
		||||
    reserved_username: Prihlasovacie meno je rezervované
 | 
			
		||||
| 
						 | 
				
			
			@ -122,7 +122,7 @@ sk:
 | 
			
		|||
        local: Miestne
 | 
			
		||||
        remote: Federované
 | 
			
		||||
        title: Lokácia
 | 
			
		||||
      login_status: Status prihlásenia
 | 
			
		||||
      login_status: Stav prihlásenia
 | 
			
		||||
      media_attachments: Prílohy
 | 
			
		||||
      memorialize: Zmeniť na "Navždy budeme spomínať"
 | 
			
		||||
      moderation:
 | 
			
		||||
| 
						 | 
				
			
			@ -139,7 +139,7 @@ sk:
 | 
			
		|||
      outbox_url: URL poslaných
 | 
			
		||||
      perform_full_suspension: Zablokovať
 | 
			
		||||
      profile_url: URL profilu
 | 
			
		||||
      promote: Povýšiť
 | 
			
		||||
      promote: Povýš
 | 
			
		||||
      protocol: Protokol
 | 
			
		||||
      public: Verejná os
 | 
			
		||||
      push_subscription_expires: PuSH odoberanie expiruje
 | 
			
		||||
| 
						 | 
				
			
			@ -256,7 +256,7 @@ sk:
 | 
			
		|||
      title: Spravovacie rozhranie
 | 
			
		||||
      total_users: užívateľov celkovo
 | 
			
		||||
      trends: Trendy
 | 
			
		||||
      week_interactions: Tohto týždňové interakcie
 | 
			
		||||
      week_interactions: Tohto-týždňové interakcie
 | 
			
		||||
      week_users_active: aktívni tento týždeň
 | 
			
		||||
      week_users_new: užívateľov počas tohto týždňa
 | 
			
		||||
    domain_blocks:
 | 
			
		||||
| 
						 | 
				
			
			@ -271,7 +271,7 @@ sk:
 | 
			
		|||
          desc_html: "<strong>Stíšenie</strong> urobí všetky príspevky daného účtu neviditeľné pre všetkých ktorí nenásledujú tento účet. <strong>Suspendácia</strong> zmaže všetky príspevky, médiá a profilové informácie. Použi <strong>Žiadne</strong>, ak chceš iba neprijímať súbory médií."
 | 
			
		||||
          noop: Nič
 | 
			
		||||
          silence: Stíšiť
 | 
			
		||||
          suspend: Suspendovať
 | 
			
		||||
          suspend: Vylúčiť
 | 
			
		||||
        title: Nové blokovanie domény
 | 
			
		||||
      reject_media: Odmietať súbory s obrázkami alebo videami
 | 
			
		||||
      reject_media_hint: Zmaže lokálne uložené súbory médií a odmietne ich sťahovanie v budúcnosti. Irelevantné pre suspendáciu
 | 
			
		||||
| 
						 | 
				
			
			@ -488,10 +488,10 @@ sk:
 | 
			
		|||
  application_mailer:
 | 
			
		||||
    notification_preferences: Zmeniť e-mailové voľby
 | 
			
		||||
    salutation: "%{name},"
 | 
			
		||||
    settings: 'Zmeniť e-mailové voľby: %{link}'
 | 
			
		||||
    settings: 'Zmeň emailové voľby: %{link}'
 | 
			
		||||
    view: 'Zobraziť:'
 | 
			
		||||
    view_profile: Zobraziť profil
 | 
			
		||||
    view_status: Zobraziť status
 | 
			
		||||
    view_profile: Zobraz profil
 | 
			
		||||
    view_status: Zobraz status
 | 
			
		||||
  applications:
 | 
			
		||||
    created: Aplikácia bola vytvorená úspešne
 | 
			
		||||
    destroyed: Aplikáciu sa podarilo odstrániť
 | 
			
		||||
| 
						 | 
				
			
			@ -570,16 +570,16 @@ sk:
 | 
			
		|||
      other: "%{count} ľudia"
 | 
			
		||||
  errors:
 | 
			
		||||
    '403': Nemáš povolenie na zobrazenie tejto stránky.
 | 
			
		||||
    '404': Stránka ktorú si hľadal/a sa tu nenachádza.
 | 
			
		||||
    '410': Stránka ktorú si tu hľadal/a už viac neexistuje.
 | 
			
		||||
    '404': Stránka ktorú hľadáš nieje tu.
 | 
			
		||||
    '410': Stránka ktorú si tu hľadal/a sa tu už viac nenachádza.
 | 
			
		||||
    '422':
 | 
			
		||||
      content: Bezpečtnostné overenie zlyhalo. Blokuješ cookies?
 | 
			
		||||
      title: Bezpečtnostné overenie zlyhalo
 | 
			
		||||
    '429': Zamlčané
 | 
			
		||||
    '500':
 | 
			
		||||
      content: Ospravedlňujeme sa. Niečo sa pokazilo na našom konci.
 | 
			
		||||
      content: Ospravedlňujem sa. Niečo sa pokazilo na našom konci.
 | 
			
		||||
      title: Táto stránka nieje v poriadku
 | 
			
		||||
    noscript_html: Aby bolo možné používať Mastodon web aplikáciu, prosím povoľte JavaScript. Alebo skúste jednu z <a href="%{apps_path}"> aplikácii </a> dostupných pre vašu platformu.
 | 
			
		||||
    noscript_html: Aby bolo možné používať Mastodon web aplikáciu, povoľ prosím JavaScript. Alebo skús jednu z <a href="%{apps_path}"> aplikácii </a> dostupných pre vašu platformu.
 | 
			
		||||
  exports:
 | 
			
		||||
    archive_takeout:
 | 
			
		||||
      date: Dátum
 | 
			
		||||
| 
						 | 
				
			
			@ -607,7 +607,7 @@ sk:
 | 
			
		|||
      invalid_context: Nebola poskytnutá žiadna, alebo ide o neplatnú súvislosť
 | 
			
		||||
      invalid_irreversible: Nezvratné filtrovanie funguje iba so súvislostiami domovskej osi a oboznámení
 | 
			
		||||
    index:
 | 
			
		||||
      delete: Vymazať
 | 
			
		||||
      delete: Vymaž
 | 
			
		||||
      title: Triedenia
 | 
			
		||||
    new:
 | 
			
		||||
      title: Pridaj nové triedenie
 | 
			
		||||
| 
						 | 
				
			
			@ -615,8 +615,8 @@ sk:
 | 
			
		|||
    domain: Doména
 | 
			
		||||
    explanation_html: Pokiaľ chceš zaručiť súkromie svojích príspevkov, musíš mať na vedomí, kto ťa sleduje. <strong> Tvoje súkromné príspevky sú doručené na každý server z ktorého ťa niekto následuje. </strong> Takže možno by si ich chcel/a skontrolovať, a odstrániť tých následovníkov, čo sú na serveroch ktorím nedôveruješ, že ich moderátori, alebo úpravbuy kódu budú tiež rešpektovať tvoje súkromie.
 | 
			
		||||
    followers_count: Počet následovateľov
 | 
			
		||||
    lock_link: Zamknite svoj účet
 | 
			
		||||
    purge: Odstrániť následovateľa
 | 
			
		||||
    lock_link: Zamkni svoj účet
 | 
			
		||||
    purge: Odstráň sledovateľa
 | 
			
		||||
    success:
 | 
			
		||||
      few: Počas utišovania sledovateľov z %{count} domén...
 | 
			
		||||
      one: Počas utišovania sledovateľov z jednej domény...
 | 
			
		||||
| 
						 | 
				
			
			@ -630,7 +630,7 @@ sk:
 | 
			
		|||
    resources: Podklady
 | 
			
		||||
  generic:
 | 
			
		||||
    changes_saved_msg: Zmeny boli úspešne uložené!
 | 
			
		||||
    copy: Kopírovať
 | 
			
		||||
    copy: Kopíruj
 | 
			
		||||
    save_changes: Ulož zmeny
 | 
			
		||||
    validation_errors:
 | 
			
		||||
      few: Niečo ešte stále nieje v poriadku! Prosím skontroluj všetky %{count} chyby
 | 
			
		||||
| 
						 | 
				
			
			@ -741,8 +741,8 @@ sk:
 | 
			
		|||
    web: Web
 | 
			
		||||
  remote_follow:
 | 
			
		||||
    acct: Napíš svoju prezývku@doménu z ktorej chceš následovať
 | 
			
		||||
    missing_resource: Nemôžeme nájsť potrebnú presmerovaciu adresu k tvojmu účtu
 | 
			
		||||
    no_account_html: Nemáš ešte účet? Môžeš sa <a href='%{sign_up_path}' target='_blank'>zaregistrovať tu</a>
 | 
			
		||||
    missing_resource: Nemožno nájsť potrebnú presmerovaciu adresu k tvojmu účtu
 | 
			
		||||
    no_account_html: Nemáš účet? Môžeš sa <a href='%{sign_up_path}' target='_blank'>zaregistrovať tu</a>
 | 
			
		||||
    proceed: Začni následovať
 | 
			
		||||
    prompt: 'Budeš sledovať:'
 | 
			
		||||
    reason_html: "<strong>Načo je tento krok potrebný?</strong> <code>%{instance}</code> nemusí byť práve tým serverom na ktorom si zaregistrovaný/á, takže je ťa najprv potrebné presmerovať na tvoj domáci server."
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -23,4 +23,8 @@ module.exports = {
 | 
			
		|||
    '!app/javascript/mastodon/test_setup.js',
 | 
			
		||||
  ],
 | 
			
		||||
  coverageDirectory: '<rootDir>/coverage',
 | 
			
		||||
  moduleDirectories: [
 | 
			
		||||
    '<rootDir>/node_modules',
 | 
			
		||||
    '<rootDir>/app/javascript',
 | 
			
		||||
  ],
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue