* Fix boosting own private toots. * Run yarn manage:translations and update Japanese translations.
This commit is contained in:
		
							parent
							
								
									4e35ce8269
								
							
						
					
					
						commit
						ee2e0f694a
					
				
					 5 changed files with 13 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -63,7 +63,7 @@ class DropdownMenu extends React.PureComponent {
 | 
			
		|||
 | 
			
		||||
    if (typeof action === 'function') {
 | 
			
		||||
      e.preventDefault();
 | 
			
		||||
      action();
 | 
			
		||||
      action(e);
 | 
			
		||||
    } else if (to) {
 | 
			
		||||
      e.preventDefault();
 | 
			
		||||
      this.context.router.history.push(to);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -153,7 +153,9 @@ export default class StatusActionBar extends ImmutablePureComponent {
 | 
			
		|||
      if (publicStatus) {
 | 
			
		||||
        menu.push({ text: intl.formatMessage(status.get('pinned') ? messages.unpin : messages.pin), action: this.handlePinClick });
 | 
			
		||||
      } else {
 | 
			
		||||
        menu.push({ text: intl.formatMessage(status.get('reblog') ? messages.reblog_private : messages.cancel_reblog_private), action: this.handleReblogClick });
 | 
			
		||||
        if (status.get('visibility') === 'private') {
 | 
			
		||||
          menu.push({ text: intl.formatMessage(status.get('reblogged') ? messages.cancel_reblog_private : messages.reblog_private), action: this.handleReblogClick });
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      menu.push({ text: intl.formatMessage(messages.delete), action: this.handleDeleteClick });
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -123,7 +123,9 @@ export default class ActionBar extends React.PureComponent {
 | 
			
		|||
      if (publicStatus) {
 | 
			
		||||
        menu.push({ text: intl.formatMessage(status.get('pinned') ? messages.unpin : messages.pin), action: this.handlePinClick });
 | 
			
		||||
      } else {
 | 
			
		||||
        menu.push({ text: intl.formatMessage(status.get('reblog') ? messages.reblog_private : messages.cancel_reblog_private), action: this.handleReblogClick });
 | 
			
		||||
        if (status.get('visibility') === 'private') {
 | 
			
		||||
          menu.push({ text: intl.formatMessage(status.get('reblogged') ? messages.cancel_reblog_private : messages.reblog_private), action: this.handleReblogClick });
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      menu.push(null);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -135,6 +135,7 @@
 | 
			
		|||
  "keyboard_shortcuts.mention": "to mention author",
 | 
			
		||||
  "keyboard_shortcuts.reply": "to reply",
 | 
			
		||||
  "keyboard_shortcuts.search": "to focus search",
 | 
			
		||||
  "keyboard_shortcuts.toggle_hidden": "to show/hide text behind CW",
 | 
			
		||||
  "keyboard_shortcuts.toot": "to start a brand new toot",
 | 
			
		||||
  "keyboard_shortcuts.unfocus": "to un-focus compose textarea/search",
 | 
			
		||||
  "keyboard_shortcuts.up": "to move up in the list",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -101,7 +101,7 @@
 | 
			
		|||
  "emoji_button.symbols": "記号",
 | 
			
		||||
  "emoji_button.travel": "旅行と場所",
 | 
			
		||||
  "empty_column.community": "ローカルタイムラインはまだ使われていません。何か書いてみましょう!",
 | 
			
		||||
  "empty_column.direct": "You don't have any direct messages yet. When you send or receive one, it will show up here.",
 | 
			
		||||
  "empty_column.direct": "ダイレクトメッセージはまだありません。ダイレクトメッセージをやりとりすると、ここに表示されます。",
 | 
			
		||||
  "empty_column.hashtag": "このハッシュタグはまだ使われていません。",
 | 
			
		||||
  "empty_column.home": "まだ誰もフォローしていません。{public}を見に行くか、検索を使って他のユーザーを見つけましょう。",
 | 
			
		||||
  "empty_column.home.public_timeline": "連合タイムライン",
 | 
			
		||||
| 
						 | 
				
			
			@ -135,6 +135,7 @@
 | 
			
		|||
  "keyboard_shortcuts.mention": "メンション",
 | 
			
		||||
  "keyboard_shortcuts.reply": "返信",
 | 
			
		||||
  "keyboard_shortcuts.search": "検索欄に移動",
 | 
			
		||||
  "keyboard_shortcuts.toggle_hidden": "CWで隠れた文を見る/隠す",
 | 
			
		||||
  "keyboard_shortcuts.toot": "新規トゥート",
 | 
			
		||||
  "keyboard_shortcuts.unfocus": "トゥート入力欄・検索欄から離れる",
 | 
			
		||||
  "keyboard_shortcuts.up": "カラム内一つ上に移動",
 | 
			
		||||
| 
						 | 
				
			
			@ -156,7 +157,7 @@
 | 
			
		|||
  "mute_modal.hide_notifications": "このユーザーからの通知を隠しますか?",
 | 
			
		||||
  "navigation_bar.blocks": "ブロックしたユーザー",
 | 
			
		||||
  "navigation_bar.community_timeline": "ローカルタイムライン",
 | 
			
		||||
  "navigation_bar.direct": "Direct messages",
 | 
			
		||||
  "navigation_bar.direct": "ダイレクトメッセージ",
 | 
			
		||||
  "navigation_bar.domain_blocks": "非表示にしたドメイン",
 | 
			
		||||
  "navigation_bar.edit_profile": "プロフィールを編集",
 | 
			
		||||
  "navigation_bar.favourites": "お気に入り",
 | 
			
		||||
| 
						 | 
				
			
			@ -241,7 +242,7 @@
 | 
			
		|||
  "search_results.total": "{count, number}件の結果",
 | 
			
		||||
  "standalone.public_title": "今こんな話をしています...",
 | 
			
		||||
  "status.block": "@{name}さんをブロック",
 | 
			
		||||
  "status.cancel_reblog_private": "Unboost",
 | 
			
		||||
  "status.cancel_reblog_private": "ブースト解除",
 | 
			
		||||
  "status.cannot_reblog": "この投稿はブーストできません",
 | 
			
		||||
  "status.delete": "削除",
 | 
			
		||||
  "status.direct": "@{name}さんにダイレクトメッセージ",
 | 
			
		||||
| 
						 | 
				
			
			@ -257,7 +258,7 @@
 | 
			
		|||
  "status.pin": "プロフィールに固定表示",
 | 
			
		||||
  "status.pinned": "固定されたトゥート",
 | 
			
		||||
  "status.reblog": "ブースト",
 | 
			
		||||
  "status.reblog_private": "Boost to original audience",
 | 
			
		||||
  "status.reblog_private": "ブースト",
 | 
			
		||||
  "status.reblogged_by": "{name}さんがブースト",
 | 
			
		||||
  "status.reply": "返信",
 | 
			
		||||
  "status.replyAll": "全員に返信",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue