feat(i18n): enhance localization for chat and minigames
All checks were successful
Deploy to production / deploy (push) Successful in 1m51s
All checks were successful
Deploy to production / deploy (push) Successful in 1m51s
- Updated localization strings for chat and minigames across multiple languages, including Cebuano, German, English, Spanish, and French, to improve user experience and clarity. - Added new translations for participant counts, user selection prompts, and game over messages, ensuring consistency and better engagement in the UI. - Enhanced existing translations for accuracy and context, particularly in the TaxiGame component and chat functionalities.
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
<template v-if="msg.type === 'scream'">
|
||||
<span class="scream-line" :style="msg.color ? { color: msg.color } : null">
|
||||
<span class="user">{{ msg.user }}</span>
|
||||
<span class="scream-label"> schreit:</span>
|
||||
<span class="scream-label">{{ $t('chat.multichat.screamColon') }}</span>
|
||||
<span class="text"> {{ (msg.text || '').toUpperCase() }}</span>
|
||||
</span>
|
||||
</template>
|
||||
@@ -133,7 +133,7 @@
|
||||
</div>
|
||||
<div v-if="roomCreateValidation.range" class="room-create-error room-create-error-block">{{ roomCreateValidation.range }}</div>
|
||||
<div class="room-create-preview">
|
||||
{{ $t('chat.multichat.createRoom.commandPrefix') }}: <code>{{ buildRoomCreateCommandPreview() || '/cr <raumname>' }}</code>
|
||||
{{ $t('chat.multichat.createRoom.commandPrefix') }}: <code>{{ buildRoomCreateCommandPreview() || $t('chat.multichat.commandPreviewFallback') }}</code>
|
||||
</div>
|
||||
<div class="owned-rooms-section">
|
||||
<div class="owned-rooms-title">{{ $t('chat.multichat.createRoom.ownedRooms.title') }}</div>
|
||||
@@ -157,11 +157,11 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="user-list">
|
||||
<div class="user-list-header">Teilnehmer ({{ usersInRoom.length }})</div>
|
||||
<div class="user-list-header">{{ $t('chat.multichat.participantsWithCount', { count: usersInRoom.length }) }}</div>
|
||||
<div class="user-list-items">
|
||||
<div class="user-list-item" v-for="u in usersInRoom" :key="u.name"
|
||||
:class="{ selected: selectedTargetUser === u.name }" @click="selectTargetUser(u.name)"
|
||||
title="Klicken zum Auswählen">
|
||||
:title="$t('chat.multichat.clickToSelectUser')">
|
||||
<span class="user-dot"
|
||||
:style="{ backgroundColor: (u.color || userColors[u.name] || '#ccc') }"></span>
|
||||
<span class="user-name"
|
||||
|
||||
Reference in New Issue
Block a user