From 166bc19131ae4b40bdd5e85269729f6eb5e3d931 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 25 Jul 2020 01:56:52 +0900 Subject: [PATCH] Revert "refactor(client): Use v-t for i18n" This reverts commit 9c30b23358699a530f2bcb0f5ae6efe17146bcb3. --- 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 c8a01fa72..e77b0d1a9 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 dd2020382..0ca9a5c69 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 d21b522b0..b31a4e637 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 e8e3cae0c..3e7b7d04a 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('empty-drive-description') }}

      -

      +

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

      +

      {{ $t('emptyFolder') }}

      diff --git a/src/client/components/error.vue b/src/client/components/error.vue index 240759604..90efa700b 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 976226a5f..7967c0e15 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 a7c2d5b31..552e3523f 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 c24acca01..0f746d434 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 72dda5596..a5e06bfaa 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 e25a5de71..0303e0e5b 100644 --- a/src/client/components/mention.vue +++ b/src/client/components/mention.vue @@ -1,6 +1,6 @@