Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Sep 28, 2023
1 parent 68e9788 commit 70048bd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions locales/en-US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ common:
mobile-mode: 'Mobile mode'
empty: 'Empty'
edit: 'Edit'
edit2: 'Reliable edit'
aboutInstance: "About this instance"
favoriteReactions: "Favorite reactions"
mostReacteds: "Most reacteds"
Expand Down
3 changes: 2 additions & 1 deletion locales/ja-JP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ common:
desktop-mode: 'デスクトップ版'
mobile-mode: 'モバイル版'
empty: 'ありません!'
edit: '編集'
edit: '確実な編集'
edit2: '編集'
aboutInstance: "このインスタンスについて"
favoriteReactions: "よくするリアクション"
mostReacteds: "よくされるリアクション"
Expand Down
11 changes: 6 additions & 5 deletions src/client/app/common/views/components/note-menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import Vue from 'vue';
import i18n from '../../../i18n';
import { url } from '../../../config';
import copyToClipboard from '../../../common/scripts/copy-to-clipboard';
import { faEdit } from '@fortawesome/free-solid-svg-icons';
import { faCopy } from '@fortawesome/free-regular-svg-icons';
import { faPlaneArrival, faPlaneDeparture, faUserFriends, faPaperPlane, faExclamationCircle } from '@fortawesome/free-solid-svg-icons';
Expand Down Expand Up @@ -113,15 +114,15 @@ export default Vue.extend({
// 編集
if (this.isSelf) {
it.push({
icon: ['fa', 'undo-alt'],
text: this.$t('@.edit'),
action: this.edit
icon: faEdit,
text: this.$t('@.edit2'),
action: this.edit2
});
it.push({
icon: ['fa', 'undo-alt'],
text: this.$t('@.edit2'),
action: this.edit2
text: this.$t('@.edit'),
action: this.edit
});
}
Expand Down

0 comments on commit 70048bd

Please sign in to comment.