From b828df5039b018eb240a56811759ecf27faa2e3d Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 24 Jul 2020 22:10:56 +0900 Subject: [PATCH] Use v-t --- src/client/components/autocomplete.vue | 2 +- src/client/components/dialog.vue | 4 +- src/client/components/drive.file.vue | 6 +- src/client/components/drive.vue | 8 +-- src/client/components/error.vue | 2 +- src/client/components/follow-button.vue | 12 ++-- src/client/components/instance-stats.vue | 62 +++++++++---------- src/client/components/media-banner.vue | 4 +- src/client/components/media-image.vue | 2 +- src/client/components/media-video.vue | 2 +- src/client/components/mention.vue | 2 +- src/client/components/note.vue | 2 +- src/client/components/notes.vue | 6 +- src/client/components/notification.vue | 6 +- src/client/components/notifications.vue | 4 +- src/client/components/poll-editor.vue | 24 +++---- src/client/components/poll.vue | 4 +- src/client/components/post-form.vue | 2 +- src/client/components/remote-caution.vue | 2 +- src/client/components/sidebar.vue | 6 +- src/client/components/signin.vue | 14 ++--- src/client/components/signup.vue | 8 +-- src/client/components/stream-indicator.vue | 6 +- src/client/components/sub-note-content.vue | 2 +- .../components/token-generate-window.vue | 8 +-- src/client/components/ui/input.vue | 2 +- src/client/components/ui/pagination.vue | 2 +- src/client/components/ui/textarea.vue | 2 +- src/client/components/user-list.vue | 4 +- src/client/components/user-preview.vue | 6 +- src/client/components/user-select.vue | 4 +- src/client/components/users-dialog.vue | 4 +- src/client/components/visibility-chooser.vue | 20 +++--- src/client/pages/about-misskey.vue | 8 +-- src/client/pages/about.vue | 4 +- src/client/pages/announcements.vue | 2 +- src/client/pages/apps.vue | 6 +- src/client/pages/auth.vue | 4 +- src/client/pages/doc.vue | 2 +- src/client/pages/docs.vue | 2 +- src/client/pages/explore.vue | 4 +- src/client/pages/favorites.vue | 2 +- src/client/pages/featured.vue | 2 +- src/client/pages/follow-requests.vue | 4 +- src/client/pages/index.home.tutorial.vue | 46 +++++++------- src/client/pages/index.home.vue | 2 +- src/client/pages/index.welcome.entrance.vue | 2 +- src/client/pages/index.welcome.setup.vue | 6 +- src/client/pages/instance/announcements.vue | 8 +-- src/client/pages/instance/emojis.vue | 14 ++--- .../pages/instance/federation.instance.vue | 44 ++++++------- src/client/pages/instance/federation.vue | 18 +++--- src/client/pages/instance/index.vue | 16 ++--- src/client/pages/instance/queue.queue.vue | 2 +- src/client/pages/instance/queue.vue | 2 +- src/client/pages/instance/relays.vue | 4 +- src/client/pages/instance/settings.vue | 36 +++++------ src/client/pages/instance/users.user.vue | 6 +- src/client/pages/instance/users.vue | 26 ++++---- src/client/pages/mentions.vue | 2 +- src/client/pages/messages.vue | 2 +- src/client/pages/messaging/index.vue | 4 +- .../messaging/messaging-room.message.vue | 4 +- src/client/pages/miauth.vue | 4 +- .../pages/my-antennas/index.antenna.vue | 28 ++++----- src/client/pages/my-antennas/index.vue | 2 +- src/client/pages/my-groups/group.vue | 10 +-- src/client/pages/my-groups/index.vue | 2 +- src/client/pages/my-lists/index.vue | 2 +- src/client/pages/my-lists/list.vue | 8 +-- src/client/pages/my-settings/2fa.vue | 24 +++---- src/client/pages/my-settings/api.vue | 2 +- .../pages/my-settings/import-export.vue | 10 +-- src/client/pages/my-settings/index.vue | 12 ++-- src/client/pages/my-settings/integration.vue | 12 ++-- src/client/pages/my-settings/mute-block.vue | 8 +-- src/client/pages/my-settings/privacy.vue | 16 ++--- src/client/pages/my-settings/profile.vue | 28 ++++----- src/client/pages/my-settings/reaction.vue | 2 +- src/client/pages/my-settings/security.vue | 2 +- src/client/pages/not-found.vue | 4 +- src/client/pages/notifications.vue | 2 +- .../page-editor/els/page-editor.el.button.vue | 20 +++--- .../page-editor/els/page-editor.el.canvas.vue | 6 +- .../els/page-editor.el.counter.vue | 6 +- .../els/page-editor.el.number-input.vue | 6 +- .../page-editor/els/page-editor.el.post.vue | 6 +- .../els/page-editor.el.radio-button.vue | 8 +-- .../page-editor/els/page-editor.el.switch.vue | 6 +- .../els/page-editor.el.text-input.vue | 6 +- .../els/page-editor.el.textarea-input.vue | 6 +- .../page-editor/page-editor.script-block.vue | 2 +- src/client/pages/page-editor/page-editor.vue | 14 ++--- src/client/pages/page.vue | 8 +-- src/client/pages/pages.vue | 2 +- src/client/pages/preferences/index.vue | 32 +++++----- src/client/pages/preferences/plugins.vue | 2 +- src/client/pages/preferences/sidebar.vue | 4 +- src/client/pages/preferences/theme.vue | 16 ++--- src/client/pages/room/room.vue | 8 +-- src/client/pages/scratchpad.vue | 4 +- src/client/pages/share.vue | 4 +- src/client/pages/theme-editor.vue | 24 +++---- src/client/pages/user/index.photos.vue | 2 +- src/client/pages/user/index.timeline.vue | 6 +- src/client/pages/user/index.vue | 10 +-- src/client/widgets/memo.vue | 2 +- src/client/widgets/welcome.vue | 2 +- 108 files changed, 459 insertions(+), 459 deletions(-) diff --git a/src/client/components/autocomplete.vue b/src/client/components/autocomplete.vue index 14a0f15779..d86ddf86f9 100644 --- a/src/client/components/autocomplete.vue +++ b/src/client/components/autocomplete.vue @@ -8,7 +8,7 @@ @{{ user | acct }} -
  • {{ $t('selectUser') }}
  • +
    1. diff --git a/src/client/components/dialog.vue b/src/client/components/dialog.vue index 8d59662537..151398374f 100644 --- a/src/client/components/dialog.vue +++ b/src/client/components/dialog.vue @@ -21,7 +21,7 @@
      -
      {{ $t('enterUsername') }}
      +
      @@ -37,7 +37,7 @@
      {{ (showCancelButton || input || select || user) ? $t('ok') : $t('gotIt') }} - {{ $t('cancel') }} +
      {{ action.text }} diff --git a/src/client/components/drive.file.vue b/src/client/components/drive.file.vue index cf6c4869a0..9e0a6e0ca5 100644 --- a/src/client/components/drive.file.vue +++ b/src/client/components/drive.file.vue @@ -9,15 +9,15 @@ >
      -

      {{ $t('avatar') }}

      +

      -

      {{ $t('banner') }}

      +

      -

      {{ $t('nsfw') }}

      +

      diff --git a/src/client/components/drive.vue b/src/client/components/drive.vue index f351fd8b1e..313a470728 100644 --- a/src/client/components/drive.vue +++ b/src/client/components/drive.vue @@ -23,18 +23,18 @@
      - {{ $t('loadMore') }} +
      - {{ $t('loadMore') }} +

      {{ $t('empty-draghover') }}

      -

      {{ $t('emptyDrive') }}
      {{ $t('empty-drive-description') }}

      -

      {{ $t('emptyFolder') }}

      +


      {{ $t('empty-drive-description') }}

      +

      diff --git a/src/client/components/error.vue b/src/client/components/error.vue index 84f7bb5bc9..4c59fceb32 100644 --- a/src/client/components/error.vue +++ b/src/client/components/error.vue @@ -3,7 +3,7 @@

      {{ $t('error') }}

      - {{ $t('retry') }} +
      diff --git a/src/client/components/follow-button.vue b/src/client/components/follow-button.vue index 8ed4300206..48d19aa025 100644 --- a/src/client/components/follow-button.vue +++ b/src/client/components/follow-button.vue @@ -7,23 +7,23 @@ > diff --git a/src/client/components/instance-stats.vue b/src/client/components/instance-stats.vue index 851a5bbcd1..415a5c6d94 100644 --- a/src/client/components/instance-stats.vue +++ b/src/client/components/instance-stats.vue @@ -4,19 +4,19 @@
      {{ $t('users') }} - {{ $t('local') }} +
      -
      {{ $t('total') }}
      +
      {{ info.originalUsersCount | number }}
      -
      {{ $t('dayOverDayChanges') }}
      +
      {{ usersLocalDoD | number }}
      -
      {{ $t('weekOverWeekChanges') }}
      +
      {{ usersLocalWoW | number }}
      @@ -24,19 +24,19 @@
      {{ $t('users') }} - {{ $t('remote') }} +
      -
      {{ $t('total') }}
      +
      {{ (info.usersCount - info.originalUsersCount) | number }}
      -
      {{ $t('dayOverDayChanges') }}
      +
      {{ usersRemoteDoD | number }}
      -
      {{ $t('weekOverWeekChanges') }}
      +
      {{ usersRemoteWoW | number }}
      @@ -44,19 +44,19 @@
      {{ $t('notes') }} - {{ $t('local') }} +
      -
      {{ $t('total') }}
      +
      {{ info.originalNotesCount | number }}
      -
      {{ $t('dayOverDayChanges') }}
      +
      {{ notesLocalDoD | number }}
      -
      {{ $t('weekOverWeekChanges') }}
      +
      {{ notesLocalWoW | number }}
      @@ -64,19 +64,19 @@
      {{ $t('notes') }} - {{ $t('remote') }} +
      -
      {{ $t('total') }}
      +
      {{ (info.notesCount - info.originalNotesCount) | number }}
      -
      {{ $t('dayOverDayChanges') }}
      +
      {{ notesRemoteDoD | number }}
      -
      {{ $t('weekOverWeekChanges') }}
      +
      {{ notesRemoteWoW | number }}
      @@ -89,30 +89,30 @@
      - - + + - - - + + + - - - - + + + + - - - - + + + + - - + +
      diff --git a/src/client/components/media-banner.vue b/src/client/components/media-banner.vue index fac17ee789..d7cea44ede 100644 --- a/src/client/components/media-banner.vue +++ b/src/client/components/media-banner.vue @@ -2,8 +2,8 @@
      - {{ $t('sensitive') }} - {{ $t('clickToShow') }} + +
      diff --git a/src/client/components/media-video.vue b/src/client/components/media-video.vue index 291224f8f6..f0adee5d12 100644 --- a/src/client/components/media-video.vue +++ b/src/client/components/media-video.vue @@ -2,7 +2,7 @@
      {{ $t('sensitive') }} - {{ $t('clickToShow') }} +
      diff --git a/src/client/components/mention.vue b/src/client/components/mention.vue index ced8fe8098..55c7c4724b 100644 --- a/src/client/components/mention.vue +++ b/src/client/components/mention.vue @@ -1,6 +1,6 @@