Merge pull request #497 from gfrenoy/master

More hard-coded "loading..." texts + typos
This commit is contained in:
AkiraFukushima 2018-08-15 18:44:48 +09:00 committed by GitHub
commit c40c6e9785
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 10 additions and 29 deletions

View File

@ -217,15 +217,12 @@
"add_user_error": "Failed to add user", "add_user_error": "Failed to add user",
"authorize_url_error": "Failed to get authorize url", "authorize_url_error": "Failed to get authorize url",
"domain_confirmed": "{{domain}} is confirmed, please login", "domain_confirmed": "{{domain}} is confirmed, please login",
"domain_doesnt_exist": "{{domain}} does not exist" "domain_doesnt_exist": "{{domain}} does not exist",
},
"timeline": {
"loading": "Loading..." "loading": "Loading..."
}, },
"validation": { "validation": {
"login": { "login": {
"loading": "Loading...", "require_domain_name": "Domain name is required",
"rquire_domain_name": "Domain name is required",
"domain_format": "Please write only domain name" "domain_format": "Please write only domain name"
}, },
"new_toot": { "new_toot": {

View File

@ -217,15 +217,12 @@
"add_user_error": "Erreur lors de l'ajout d'un utilisateur⋅trice", "add_user_error": "Erreur lors de l'ajout d'un utilisateur⋅trice",
"authorize_url_error": "Erreur à la récupération de l'URL d'autorisation", "authorize_url_error": "Erreur à la récupération de l'URL d'autorisation",
"domain_confirmed": "{{domain}} est confirmé, veuillez à présent vous connecter", "domain_confirmed": "{{domain}} est confirmé, veuillez à présent vous connecter",
"domain_doesnt_exist": "{{domain}} n'existe pas" "domain_doesnt_exist": "{{domain}} n'existe pas",
},
"timeline": {
"loading": "Chargement..." "loading": "Chargement..."
}, },
"validation": { "validation": {
"login": { "login": {
"loading": "Chargement...", "require_domain_name": "Un nom de domaine est requis",
"rquire_domain_name": "Un nom de domaine est requis",
"domain_format": "Veuillez uniquement indiquer le nom de domaine" "domain_format": "Veuillez uniquement indiquer le nom de domaine"
}, },
"new_toot": { "new_toot": {

View File

@ -217,15 +217,12 @@
"add_user_error": "メンバー追加に失敗しました", "add_user_error": "メンバー追加に失敗しました",
"authorize_url_error": "認証用URLの取得に失敗しました", "authorize_url_error": "認証用URLの取得に失敗しました",
"domain_confirmed": "{{domain}} が確認できました,ログインしてください", "domain_confirmed": "{{domain}} が確認できました,ログインしてください",
"domain_doesnt_exist": "{{domain}} は存在しません" "domain_doesnt_exist": "{{domain}} は存在しません",
},
"timeline": {
"loading": "読み込み中..." "loading": "読み込み中..."
}, },
"validation": { "validation": {
"login": { "login": {
"loading": "読み込み中...", "require_domain_name": "ドメイン名は必須です",
"rquire_domain_name": "ドメイン名は必須です",
"domain_format": "ドメイン名のみを入力してください" "domain_format": "ドメイン名のみを入力してください"
}, },
"new_toot": { "new_toot": {

View File

@ -1,10 +0,0 @@
{
"timeline": {
"loading": "Loading..."
},
"validation": {
"login": {
"loading": "Loading..."
}
}
}

View File

@ -68,7 +68,7 @@ export default {
login () { login () {
const loading = this.$loading({ const loading = this.$loading({
lock: true, lock: true,
text: this.$t('validation.login.loading'), text: this.$t('message.loading'),
spinner: 'el-icon-loading', spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)' background: 'rgba(0, 0, 0, 0.7)'
}) })

View File

@ -2,7 +2,7 @@
<div <div
id="timeline_space" id="timeline_space"
v-loading="loading" v-loading="loading"
:element-loading-text="$t('timeline.loading')" :element-loading-text="$t('message.loading')"
element-loading-spinner="el-icon-loading" element-loading-spinner="el-icon-loading"
element-loading-background="rgba(0, 0, 0, 0.8)" element-loading-background="rgba(0, 0, 0, 0.8)"
> >

View File

@ -11,7 +11,7 @@
<div <div
class="loading" class="loading"
v-loading="true" v-loading="true"
element-loading-text="Loading..." :element-loading-text="$t('message.loading')"
element-loading-spinner="el-icon-loading" element-loading-spinner="el-icon-loading"
:element-loading-background="backgroundColor" :element-loading-background="backgroundColor"
v-else> v-else>

View File

@ -1,7 +1,7 @@
<template> <template>
<div id="account_profile" <div id="account_profile"
v-loading="loading" v-loading="loading"
element-loading-text="Loading..." :element-loading-text="$t('message.loading')"
element-loading-spinner="el-icon-loading" element-loading-spinner="el-icon-loading"
element-loading-background="rgba(0, 0, 0, 0.8)"> element-loading-background="rgba(0, 0, 0, 0.8)">
<div class="header-background" v-bind:style="{ backgroundImage: 'url(' + account.header + ')' }"> <div class="header-background" v-bind:style="{ backgroundImage: 'url(' + account.header + ')' }">