feat(i18n): add access request pending message to multiple languages

- Introduced a new translation key "accessRequestPending" across various language files to inform users that access to a club has been requested and to ask for their patience.
- Updated the ClubView component to utilize this new message for better user feedback when access is pending.
This commit is contained in:
Torsten Schulz (local)
2026-02-04 13:39:52 +01:00
parent 6ff672c5f1
commit 2a7694617b
16 changed files with 31 additions and 16 deletions

View File

@@ -52,7 +52,8 @@
"new": "Neue Verein",
"load": "Lade",
"name": "Vereinsname",
"create": "Verein erstelle"
"create": "Verein erstelle",
"accessRequestPending": "Der Zugriff auf diesen Verein ist beantragt. Bitte haben Sie etwas Geduld."
},
"auth": {
"login": "Aamelde",

View File

@@ -90,7 +90,8 @@
"trainingDiary": "Trainingstagebuch",
"noAccess": "Für diesen Verein wurde Dir noch kein Zugriff gestattet.",
"requestAccess": "Zugriff beantragen",
"openRequests": "Offene Anfragen auf Zugriff"
"openRequests": "Offene Anfragen auf Zugriff",
"accessRequestPending": "Der Zugriff auf diesen Verein ist beantragt. Bitte haben Sie etwas Geduld."
},
"auth": {
"login": "Einloggen",

View File

@@ -101,6 +101,7 @@
"accessDenied": "Zugriff auf den Verein nicht gestattet.",
"errorLoadingRequests": "Fehler beim Laden der offenen Anfragen",
"accessRequested": "Zugriff wurde angefragt.",
"accessRequestPending": "Der Zugriff auf diesen Verein ist beantragt. Bitte haben Sie etwas Geduld.",
"accessRequestFailed": "Zugriffsanfrage konnte nicht gestellt werden."
},
"auth": {

View File

@@ -52,7 +52,8 @@
"new": "New Club",
"load": "Load",
"name": "Club Name",
"create": "Create Club"
"create": "Create Club",
"accessRequestPending": "Access to this club has been requested. Please be patient."
},
"auth": {
"login": "Login",

View File

@@ -52,7 +52,8 @@
"new": "New Club",
"load": "Load",
"name": "Club Name",
"create": "Create Club"
"create": "Create Club",
"accessRequestPending": "Access to this club has been requested. Please be patient."
},
"auth": {
"login": "Login",

View File

@@ -52,7 +52,8 @@
"new": "New Club",
"load": "Load",
"name": "Club Name",
"create": "Create Club"
"create": "Create Club",
"accessRequestPending": "Access to this club has been requested. Please be patient."
},
"auth": {
"login": "Log In",

View File

@@ -52,7 +52,8 @@
"new": "Nuevo club",
"load": "Cargar",
"name": "Nombre del club",
"create": "Crear club"
"create": "Crear club",
"accessRequestPending": "Access to this club has been requested. Please be patient."
},
"auth": {
"login": "Iniciar sesión",

View File

@@ -52,7 +52,8 @@
"new": "Bagong club",
"load": "I-load",
"name": "Pangalan ng club",
"create": "Gumawa ng club"
"create": "Gumawa ng club",
"accessRequestPending": "Access to this club has been requested. Please be patient."
},
"auth": {
"login": "Mag-login",

View File

@@ -52,7 +52,8 @@
"new": "Nouveau club",
"load": "Charger",
"name": "Nom du club",
"create": "Créer un club"
"create": "Créer un club",
"accessRequestPending": "Access to this club has been requested. Please be patient."
},
"auth": {
"login": "Connexion",

View File

@@ -52,7 +52,8 @@
"new": "Nuovo club",
"load": "Carica",
"name": "Nome club",
"create": "Crea club"
"create": "Crea club",
"accessRequestPending": "Access to this club has been requested. Please be patient."
},
"auth": {
"login": "Accedi",

View File

@@ -52,7 +52,8 @@
"new": "新しいクラブ",
"load": "読み込む",
"name": "クラブ名",
"create": "クラブを作成"
"create": "クラブを作成",
"accessRequestPending": "Access to this club has been requested. Please be patient."
},
"auth": {
"login": "ログイン",

View File

@@ -52,7 +52,8 @@
"new": "Nowy klub",
"load": "Załaduj",
"name": "Nazwa klubu",
"create": "Utwórz klub"
"create": "Utwórz klub",
"accessRequestPending": "Access to this club has been requested. Please be patient."
},
"auth": {
"login": "Zaloguj",

View File

@@ -52,7 +52,8 @@
"new": "สโมสรใหม่",
"load": "โหลด",
"name": "ชื่อสโมสร",
"create": "สร้างสโมสร"
"create": "สร้างสโมสร",
"accessRequestPending": "Access to this club has been requested. Please be patient."
},
"auth": {
"login": "เข้าสู่ระบบ",

View File

@@ -52,7 +52,8 @@
"new": "Bagong club",
"load": "I-load",
"name": "Pangalan ng club",
"create": "Gumawa ng club"
"create": "Gumawa ng club",
"accessRequestPending": "Access to this club has been requested. Please be patient."
},
"auth": {
"login": "Mag-login",

View File

@@ -52,7 +52,8 @@
"new": "新俱乐部",
"load": "加载",
"name": "俱乐部名称",
"create": "创建俱乐部"
"create": "创建俱乐部",
"accessRequestPending": "Access to this club has been requested. Please be patient."
},
"auth": {
"login": "登录",

View File

@@ -22,10 +22,10 @@
</div>
</div>
<div v-else>
<div>{{ $t('club.noAccess') }}</div>
<div v-if="accessRequested" class="access-requested">
{{ $t('club.accessRequested') }}
{{ $t('club.accessRequestPending') }}
</div>
<div v-else>{{ $t('club.noAccess') }}</div>
<button @click="requestAccess" :disabled="accessRequested">{{ $t('club.requestAccess') }}</button>
</div>
</div>