Merge remote-tracking branch 'origin/master' into merge-upstream

Conflicts:
	app/controllers/auth/confirmations_controller.rb
This commit is contained in:
David Yip
2017-12-30 17:20:07 -06:00
23 changed files with 190 additions and 27 deletions

View File

@ -51,7 +51,7 @@ const sendSubscriptionToBackend = (subscription, me) => {
// Last one checks for payload support: https://web-push-book.gauntface.com/chapter-06/01-non-standards-browsers/#no-payload
const supportsPushNotifications = ('serviceWorker' in navigator && 'PushManager' in window && 'getKey' in PushSubscription.prototype);
export default function register () {
export function register () {
return (dispatch, getState) => {
dispatch(setBrowserSupport(supportsPushNotifications));
const me = getState().getIn(['meta', 'me']);

View File

@ -213,6 +213,7 @@
"search_popout.tips.user": "유저",
"search_results.total": "{count, number}건의 결과",
"standalone.public_title": "A look inside...",
"status.block": "@{name} 차단",
"status.cannot_reblog": "이 포스트는 부스트 할 수 없습니다",
"status.delete": "삭제",
"status.embed": "공유하기",
@ -221,6 +222,7 @@
"status.media_hidden": "미디어 숨겨짐",
"status.mention": "답장",
"status.more": "자세히",
"status.mute": "@{name} 뮤트",
"status.mute_conversation": "이 대화를 뮤트",
"status.open": "상세 정보 표시",
"status.pin": "고정",

View File

@ -1,4 +1,4 @@
import { register as registerPushNotifications } from './actions/push_notifications';
import * as registerPushNotifications from './actions/push_notifications';
import { default as Mastodon, store } from './containers/mastodon';
import React from 'react';
import ReactDOM from 'react-dom';