From fb8af5375149fd466bf09fb7760cb06907c0996e Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 6 Nov 2018 15:08:22 +0900 Subject: [PATCH] [Client] Improve usability & Refactoring --- locales/ja-JP.yml | 1 + src/client/app/admin/views/emoji.vue | 4 +-- src/client/app/admin/views/instance.vue | 4 +-- .../common/views/components/api-settings.vue | 1 + .../views/components/profile-editor.vue | 4 +-- .../app/common/views/components/signup.vue | 30 +++++++++---------- .../app/common/views/components/ui/input.vue | 4 +-- .../common/views/components/ui/textarea.vue | 4 +-- 8 files changed, 27 insertions(+), 25 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 7794bebc24..22e6212607 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -947,6 +947,7 @@ common/views/components/api-settings.vue: title: 'APIコンソール' endpoint: 'エンドポイント' parameter: 'パラメータ' + credential-info: "「i」パラメータは自動で付与されます。" send: '送信' sending: '応答待ち' response: '結果' diff --git a/src/client/app/admin/views/emoji.vue b/src/client/app/admin/views/emoji.vue index 27db4d572a..155fae82a1 100644 --- a/src/client/app/admin/views/emoji.vue +++ b/src/client/app/admin/views/emoji.vue @@ -6,11 +6,11 @@ %i18n:@add-emoji.name% - %i18n:@add-emoji.name-desc% + %i18n:@add-emoji.name-desc% %i18n:@add-emoji.aliases% - %i18n:@add-emoji.aliases-desc% + %i18n:@add-emoji.aliases-desc% diff --git a/src/client/app/admin/views/instance.vue b/src/client/app/admin/views/instance.vue index c5c7c66148..050fb6617d 100644 --- a/src/client/app/admin/views/instance.vue +++ b/src/client/app/admin/views/instance.vue @@ -13,8 +13,8 @@
%i18n:@drive-config%
%i18n:@cache-remote-files%%i18n:@cache-remote-files-desc% - %i18n:@local-drive-capacity-mb%%i18n:@mb%MB - %i18n:@remote-drive-capacity-mb%%i18n:@mb%MB + %i18n:@local-drive-capacity-mb%%i18n:@mb%MB + %i18n:@remote-drive-capacity-mb%%i18n:@mb%MB
%i18n:@save% diff --git a/src/client/app/common/views/components/api-settings.vue b/src/client/app/common/views/components/api-settings.vue index 15b2d00851..3a9cd06c80 100644 --- a/src/client/app/common/views/components/api-settings.vue +++ b/src/client/app/common/views/components/api-settings.vue @@ -19,6 +19,7 @@ %i18n:@console.parameter% (JSON or JSON5) + %i18n:@console.credential-info% diff --git a/src/client/app/common/views/components/profile-editor.vue b/src/client/app/common/views/components/profile-editor.vue index 4e324b08d3..90e0f139e3 100644 --- a/src/client/app/common/views/components/profile-editor.vue +++ b/src/client/app/common/views/components/profile-editor.vue @@ -31,13 +31,13 @@ %i18n:@avatar% - %i18n:@uploading% + %i18n:@uploading% %i18n:@banner% - %i18n:@uploading% + %i18n:@uploading% %i18n:@save% diff --git a/src/client/app/common/views/components/signup.vue b/src/client/app/common/views/components/signup.vue index bc023b3393..fa26eabc91 100644 --- a/src/client/app/common/views/components/signup.vue +++ b/src/client/app/common/views/components/signup.vue @@ -4,35 +4,35 @@ %i18n:@invitation-code% -

+

%i18n:@username% @ @{{ host }} -

%i18n:@checking%

-

%i18n:@available%

-

%i18n:@unavailable%

-

%i18n:@error%

-

%i18n:@invalid-format%

-

%i18n:@too-short%

-

%i18n:@too-long%

+

%i18n:@checking%

+

%i18n:@available%

+

%i18n:@unavailable%

+

%i18n:@error%

+

%i18n:@invalid-format%

+

%i18n:@too-short%

+

%i18n:@too-long%

%i18n:@password% -
-

%i18n:@weak-password%

-

%i18n:@normal-password%

-

%i18n:@strong-password%

+
+

%i18n:@weak-password%

+

%i18n:@normal-password%

+

%i18n:@strong-password%

%i18n:@password% (%i18n:@retype%) -
-

%i18n:@password-matched%

-

%i18n:@password-not-matched%

+
+

%i18n:@password-matched%

+

%i18n:@password-not-matched%

diff --git a/src/client/app/common/views/components/ui/input.vue b/src/client/app/common/views/components/ui/input.vue index 90df6fedb9..76bb34da61 100644 --- a/src/client/app/common/views/components/ui/input.vue +++ b/src/client/app/common/views/components/ui/input.vue @@ -33,7 +33,7 @@
-
+
@@ -321,7 +321,7 @@ root(fill) if fill padding-right 12px - > .text + > .desc margin 6px 0 font-size 13px diff --git a/src/client/app/common/views/components/ui/textarea.vue b/src/client/app/common/views/components/ui/textarea.vue index a96552a0db..947dfd9c69 100644 --- a/src/client/app/common/views/components/ui/textarea.vue +++ b/src/client/app/common/views/components/ui/textarea.vue @@ -13,7 +13,7 @@ @blur="focused = false" > -
+
@@ -139,7 +139,7 @@ root(fill) outline none box-shadow none - > .text + > .desc margin 6px 0 font-size 13px