• Из-за обновления GTA 5 (был добавлен новый патч) может временно не работать вход в RAGE Multiplayer.

    Ошибка: Ваша версия Grand Theft Auto V не поддерживается RAGE Multiplayer.
    ERROR: Your game version is not supported by RAGE Multiplayer.

    Данная ошибка говорит о том, что GTA V обновилась до новой версии (GTA Online тоже). Вам необходимо обновить саму игру в главном меню вашего приложения (Steam / Epic Games / Rockstar Games).
    Если после этого RAGE:MP все равно не работает - вам нужно дождаться выхода патча для самого мультиплеера (обычно это занимает от нескольких часов до нескольких дней).

    Новости и апдейты Rockstar Games - https://www.rockstargames.com/newswire/
    Статус всех служб для Rockstar Games Launcher и поддерживаемых игр: https://support.rockstargames.com/ru/servicestatus


    Grand Theft Auto 5 (+ GTA Online) последний раз были обновлены:

Вопрос При переводе языка появляется двойной язык

thunmmm

Участник портала
10 Сен 2024
28
1
5
У меня такая проблема при переводе языка, интересно, в чем причина?
Я был бы благодарен, если бы вы объяснили мне, почему.
1726521408098.png
1726521430731.png
 

Jerry (ChatGPT)

AI-powered language model
VIP
helper
17 Окт 2023
1,763
1,305
5
Привет! Двойной язык при переводе может появляться из-за использования различных языковых настроек или конфликта между языками на сайте. Попробуйте проверить настройки языка на вашем устройстве и в настройках сайта, возможно, это поможет решить проблему.
 

thunmmm

Участник портала
10 Сен 2024
28
1
5
Привет! Двойной язык при переводе может появляться из-за использования различных языковых настроек или конфликта между языками на сайте. Попробуйте проверить настройки языка на вашем устройстве и в настройках сайта, возможно, это поможет решить проблему.
Где я могу туда попасть?
 

Mi-Zaft

Мастер
VIP
9 Окт 2020
1,456
503
175
Очевидно, что ты что-то не так переводишь.
Ты бы хоть написал, в каких файлах ты вносил изменения. Скриншот бы приложил…
 

thunmmm

Участник портала
10 Сен 2024
28
1
5
src_cef\src\views\player\menu\elements\stats.svelte
Например, я перевел это, но это тоже неправильно, но я перевел только текст.

Код:
<script>
    import { translateText } from 'lang'   
    import { otherStatsData } from 'store/account'
    import { charData } from 'store/chars';
    import { format } from 'api/formatter'
    import moment from 'moment'
    import fraction from 'json/fraction.js'
    import jobs from 'json/jobs.js'
    import vipinfo from 'json/vipinfo.js'
    export let visible;

    let selectCharData = $charData;   

    let useVisible = -1;
    
    $: {
        if (useVisible != visible) {
            if (visible && $otherStatsData.Name/* && $otherStatsData.UUID !== selectCharData.UUID*/) {
                selectCharData = $otherStatsData;
            } else if (visible && !$otherStatsData.Name && selectCharData !== $charData) {
                selectCharData = $charData;
            } else if (!visible && $otherStatsData.Name) {
                selectCharData = $charData;
                window.accountStore.otherStatsData ('{}');
            }
            useVisible = visible;
        }
    }
    let LicId = 0;
    const LicData = [
        [translateText('player2', 'Motosiklet Ehliyeti'), translateText('player2', 'Bu ehliyeti ehliyet binasında alabilirsiniz. Polis, ehliyetsiz araç kullanmaktan sizi cezalandırabilir.')],
        [translateText('player2', 'Binek Araç Ehliyeti'), translateText('player2', 'Bu ehliyeti ehliyet binasında alabilirsiniz. Taksici, postacı ve tamirci olarak çalışmak için gereklidir. Polis, ehliyetsiz araç kullanmaktan sizi cezalandırabilir.')],
        [translateText('player2', 'Yük Taşıma Ehliyeti'), translateText('player2', 'Bu ehliyeti ehliyet binasında alabilirsiniz. Tahsildar, tır şoförü ve otobüs şoförü olarak çalışmak için gereklidir. Polis, ehliyetsiz araç kullanmaktan sizi cezalandırabilir.')],
        [translateText('player2', 'Deniz Taşıtı Ehliyeti'), translateText('player2', 'Ehliyet binasında alınabilir. Deniz taşıtları kiralamak için gereklidir.')],
        [translateText('player2', 'Helikopter Ehliyeti'), translateText('player2', 'Bu ehliyeti ehliyet binasında alabilirsiniz. Helikopter kiralamak için gereklidir. Bu ehliyeti almak için 20. seviyede olmanız gerekmektedir.')],
        [translateText('player2', 'Uçak Ehliyeti'), translateText('player2', 'Bu ehliyeti ehliyet binasında alabilirsiniz. Uçak kiralamak için gereklidir. Bu ehliyeti almak için 20. seviyede olmanız gerekmektedir.')],
        [translateText('player2', 'Silah Ehliyeti'), translateText('player2', 'Bu ehliyeti LSPD\'den alabilirsiniz, karakterin en az 1. seviyede olması ve sağlık raporu gereklidir. Silah mağazalarından silah almak ve silah taşımak için gereklidir. Detaylı bilgi için LSPD ile iletişime geçin.')],
        [translateText('player2', 'Sağlık Kartı'), translateText('player2', 'Sağlık kartı EMS doktorlarından alınabilir, 1. seviye karakter gereklidir. Devlet dairelerinde işe başlamak için gereklidir. Detaylı bilgi için EMS ile iletişime geçin.')],
        [translateText('player2', 'Paramedik Ehliyeti'), translateText('player2', 'Bu ehliyeti EMS\'den alabilirsiniz, karakterin en az 10. seviyede olması gereklidir. Bu ehliyet ilk yardım kitini kullanırken başarılı olma şansını artırır. Detaylı bilgi için EMS ile iletişime geçin.')],
    ]

    const Bool = (text) => {
        return String(text).toLowerCase() === "true";
    }
</script>
{#if selectCharData !== undefined && selectCharData.Warns !== undefined}
<div class="box-stats margin-top-70">
    <div class="box-column margin-right-20">
        <div class="box-bg box-width-352" style="align-items: center">
            <div class="box-icon stats__person_image"/>
            <div class="title">{selectCharData.Login}</div>
            <div class="font-size-24 margin-bottom-34" style="width: 100%">{translateText('player2', 'Hesap Bilgileri')}</div>

            <div class="info-box">
                <span class="right">{translateText('player2', 'Premium Hesap')}</span>
                <div class="info-line" />
                <span class="white">{selectCharData.VipLvl > 0 ? [ICODE]${vipinfo[selectCharData.VipLvl]} (Kadar ${moment(selectCharData.VipDate).format('DD.MM.YYYY')})[/ICODE] : vipinfo[selectCharData.VipLvl]}</span>
            </div>
            <div class="info-box margin-top-18">
                <span class="right">{translateText('player2', 'Uyarılar')}</span>
                <div class="info-line" />
                <span class="white">{selectCharData.Warns > 0 ? [ICODE]${selectCharData.Warns} kadar ${moment(selectCharData.Unwarn).format('DD.MM.YYYY HH:mm')}[/ICODE] : 0}</span>
            </div>
            <div class="info-box margin-top-18">
                <span class="right">{translateText('player2', 'Bugün Çevrimiçi')}</span>
                <div class="info-line" />
                <span class="white">{moment.duration(selectCharData.TodayTime, "minutes").format("saat[ч.] dakika[м.]")}</span>
            </div>
            <div class="info-box margin-top-18">
                <span class="right">{translateText('player2', 'Aylık Çevrimiçi')}</span>
                <div class="info-line" />
                <span class="white">{moment.duration(selectCharData.MonthTime, "minutes").format("hafta[нед.] gün[д.] saat[ч.] dakika[м.]")}</span>
            </div>
            <div class="info-box margin-top-18">
                <span class="right">{translateText('player2', 'Yıllık Çevrimiçi')}</span>
                <div class="info-line" />
                <span class="white">{moment.duration(selectCharData.YearTime, "minutes").format("ay[мес.] hafta[нед.] gün[д.] saat[ч.] dakika[м.]")}</span>
            </div>
            <div class="info-box margin-top-18">
                <span class="right">{translateText('player2', 'Toplam Çevrimiçi')}</span>
                <div class="info-line" />
                <span class="white">{moment.duration(selectCharData.TotalTime, "minutes").format("yıl[г.] ay[мес.] hafta[нед.] gün[д.] saat[ч.] dakika[м.]")}</span>
            </div>
        </div>
        {#if selectCharData.jobSkillsInfo}
        <div class="box-bg box-width-352 margin-top-20 h-370" style="align-items: center">
            <div class="font-size-24 margin-bottom-34" style="width: 100%">{translateText('player2', 'İş Becerileri')}</div>
            {#each selectCharData.jobSkillsInfo as job, index}
                <div class="info-box margin-top-18">
                    <span class="right width-120">{job.name}</span>
                    <div class="stars-box">
                        <span class="tooltiptext">{job.current}/{job.nextLevel}</span>
                        <div class="stars-box-current" style="width: {job.currentLevel >= 5 ? 100 : (((job.currentLevel / 5) * 100) + ((job.current / job.nextLevel) * 20))}%">
                            <div class="star"></div>
                            <div class="star"></div>
                            <div class="star"></div>
                            <div class="star"></div>
                            <div class="star"></div>
                        </div>
                        <div class="star"></div>
                        <div class="star"></div>
                        <div class="star"></div>
                        <div class="star"></div>
                        <div class="star"></div>
                    </div>
                </div>
            {/each}
        </div>
        {/if}
    </div>
    <div class="box-column">
        <div class="box-flex">
            <div class="box-bg box-width-352 margin-right-20">
                <div class="font-size-24 margin-bottom-34">{translateText('player2', 'Karakter Bilgileri')}</div>
                <div class="info-box">
                    <span class="right">{translateText('player2', 'Adı Soyadı')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.Name}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Durum')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.isAdmin ? "Admin" : "Oyuncu"}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Evlilik')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.WeddingName}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Cinsiyet')}</span>
                    <div class="info-line" />
                    <span class="white">{Bool(selectCharData.Gender) ? "Erkek" : "Kadın"}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Seviye')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.LVL} ({selectCharData.EXP} / {(3 + selectCharData.LVL * 3)})</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Telefon')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.Sim == -1 ? "Sim kart yok" : selectCharData.Sim}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Meslek')}</span>
                    <div class="info-line" />
                    <span class="white">{jobs[selectCharData.WorkID]}</span>
                </div>
                {#if selectCharData.FractionID > 0}
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Fraksiyon')}</span>
                    <div class="info-line" />
                    <span class="white">{fraction[selectCharData.FractionID]}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Pozisyon')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.FractionLVL}</span>
                </div>
                {/if}
                {#if selectCharData.OrganizationID > 0}
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Aile')}</span>
                    <div class="info-line" />
                    <span class="white">#{selectCharData.OrganizationID}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Pozisyon')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.OrganizationLVL}</span>
                </div>
                {/if}
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Kimlik Kartı Numarası')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.UUID}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Banka Hesap Numarası')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.Bank}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Bankadaki Para')}</span>
                    <div class="info-line" />
                    <span class="white">${format("money", selectCharData.BankMoney)}</span>
                </div>                       
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Üzerindeki Para')}</span>
                    <div class="info-line" />
                    <span class="white">${format("money", selectCharData.Money)}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Oluşturulma Tarihi')}</span>
                    <div class="info-line" />
                    <span class="white">{moment(selectCharData.CreateDate).format('DD.MM.YYYY HH:mm')}</span>
                </div>
            </div>
            <div class="box-bg box-width-352">
                <!--<div class="font-size-24 margin-bottom-34">{translateText('player2', 'İmkanlar')}</div>-->
                <div class="font-size-18 margin-bottom-32">{translateText('player2', 'Mülk')}</div>
                {#if selectCharData.houseId}
                <div class="info-box">
                    <span class="right">{translateText('player2', 'Ev')}</span>
                    <div class="info-line" />
                    <span class="white">#{selectCharData.houseId}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Evdeki Para')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.houseCash}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Saatlik Çekim')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.houseCopiesHour}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Ödeme Yapan')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.housePaid}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Ev Sınıfı')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.houseType}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Garaj Kapasitesi')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.maxcars}</span>
                </div>
                {/if}
                {#if selectCharData.BizId}
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'İşletme')}</span>
                    <div class="info-line" />
                    <span class="white">#{selectCharData.BizId}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'İşletmedeki Para')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.BizCash}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Saatlik Çekim')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.BizCopiesHour}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Ödeme Yapan')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.BizPaid}</span>
                </div>
                {/if}
            </div>
        </div>

        <div class="box-bg box-width-724 box-height-321 margin-top-20">
            <div class="font-size-24 margin-bottom-34">{translateText('player2', 'Lisanslar')}</div>
            <div class="box-flex margin-bottom-34">
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[0]) == true} on:mouseenter={() => LicId = 0}>
                    <span class="inv-lic-moto" />
                    <div class="circle-icon" />
                </div>
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[1]) == true} on:mouseenter={() => LicId = 1}>
                    <span class="inv-lic-car" />
                    <div class="circle-icon" />
                </div>
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[2]) == true} on:mouseenter={() => LicId = 2}>
                    <span class="inv-lic-truck" />
                    <div class="circle-icon" />
                </div>
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[3]) == true} on:mouseenter={() => LicId = 3}>
                    <span class="inv-lic-boat" />
                    <div class="circle-icon" />
                </div>
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[4]) == true} on:mouseenter={() => LicId = 4}>
                    <span class="inv-lic-helipad" />
                    <div class="circle-icon" />
                </div>
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[5]) == true} on:mouseenter={() => LicId = 5}>
                    <span class="inv-lic-drone" />
                    <div class="circle-icon" />
                </div>
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[6]) == true} on:mouseenter={() => LicId = 6}>
                    <span class="inv-lic-gun" />
                    <div class="circle-icon" />
                </div>
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[7]) == true} on:mouseenter={() => LicId = 7}>
                    <span class="inv-lic-medical" />
                    <div class="circle-icon" />
                </div>
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[8]) == true} on:mouseenter={() => LicId = 8}>
                    <span class="inv-lic-health" />
                    <div class="circle-icon" />
                </div>
            </div>
            <div class="font-size-18">{LicData [LicId][0]}</div>
            <div class="margin-top-20 box-desc" style="width: 100%;white-space: normal">{LicData [LicId][1]}</div>
        </div>
    </div>
</div>
{/if}
[/KOD]
 

NULMEKS

Начинающий специалист
12 Янв 2024
252
121
55
27
src_cef\src\views\player\menu\elements\stats.svelte
Например, я перевел это, но это тоже неправильно, но я перевел только текст.

Код:
<script>
    import { translateText } from 'lang'  
    import { otherStatsData } from 'store/account'
    import { charData } from 'store/chars';
    import { format } from 'api/formatter'
    import moment from 'moment'
    import fraction from 'json/fraction.js'
    import jobs from 'json/jobs.js'
    import vipinfo from 'json/vipinfo.js'
    export let visible;

    let selectCharData = $charData;  

    let useVisible = -1;
   
    $: {
        if (useVisible != visible) {
            if (visible && $otherStatsData.Name/* && $otherStatsData.UUID !== selectCharData.UUID*/) {
                selectCharData = $otherStatsData;
            } else if (visible && !$otherStatsData.Name && selectCharData !== $charData) {
                selectCharData = $charData;
            } else if (!visible && $otherStatsData.Name) {
                selectCharData = $charData;
                window.accountStore.otherStatsData ('{}');
            }
            useVisible = visible;
        }
    }
    let LicId = 0;
    const LicData = [
        [translateText('player2', 'Motosiklet Ehliyeti'), translateText('player2', 'Bu ehliyeti ehliyet binasında alabilirsiniz. Polis, ehliyetsiz araç kullanmaktan sizi cezalandırabilir.')],
        [translateText('player2', 'Binek Araç Ehliyeti'), translateText('player2', 'Bu ehliyeti ehliyet binasında alabilirsiniz. Taksici, postacı ve tamirci olarak çalışmak için gereklidir. Polis, ehliyetsiz araç kullanmaktan sizi cezalandırabilir.')],
        [translateText('player2', 'Yük Taşıma Ehliyeti'), translateText('player2', 'Bu ehliyeti ehliyet binasında alabilirsiniz. Tahsildar, tır şoförü ve otobüs şoförü olarak çalışmak için gereklidir. Polis, ehliyetsiz araç kullanmaktan sizi cezalandırabilir.')],
        [translateText('player2', 'Deniz Taşıtı Ehliyeti'), translateText('player2', 'Ehliyet binasında alınabilir. Deniz taşıtları kiralamak için gereklidir.')],
        [translateText('player2', 'Helikopter Ehliyeti'), translateText('player2', 'Bu ehliyeti ehliyet binasında alabilirsiniz. Helikopter kiralamak için gereklidir. Bu ehliyeti almak için 20. seviyede olmanız gerekmektedir.')],
        [translateText('player2', 'Uçak Ehliyeti'), translateText('player2', 'Bu ehliyeti ehliyet binasında alabilirsiniz. Uçak kiralamak için gereklidir. Bu ehliyeti almak için 20. seviyede olmanız gerekmektedir.')],
        [translateText('player2', 'Silah Ehliyeti'), translateText('player2', 'Bu ehliyeti LSPD\'den alabilirsiniz, karakterin en az 1. seviyede olması ve sağlık raporu gereklidir. Silah mağazalarından silah almak ve silah taşımak için gereklidir. Detaylı bilgi için LSPD ile iletişime geçin.')],
        [translateText('player2', 'Sağlık Kartı'), translateText('player2', 'Sağlık kartı EMS doktorlarından alınabilir, 1. seviye karakter gereklidir. Devlet dairelerinde işe başlamak için gereklidir. Detaylı bilgi için EMS ile iletişime geçin.')],
        [translateText('player2', 'Paramedik Ehliyeti'), translateText('player2', 'Bu ehliyeti EMS\'den alabilirsiniz, karakterin en az 10. seviyede olması gereklidir. Bu ehliyet ilk yardım kitini kullanırken başarılı olma şansını artırır. Detaylı bilgi için EMS ile iletişime geçin.')],
    ]

    const Bool = (text) => {
        return String(text).toLowerCase() === "true";
    }
</script>
{#if selectCharData !== undefined && selectCharData.Warns !== undefined}
<div class="box-stats margin-top-70">
    <div class="box-column margin-right-20">
        <div class="box-bg box-width-352" style="align-items: center">
            <div class="box-icon stats__person_image"/>
            <div class="title">{selectCharData.Login}</div>
            <div class="font-size-24 margin-bottom-34" style="width: 100%">{translateText('player2', 'Hesap Bilgileri')}</div>

            <div class="info-box">
                <span class="right">{translateText('player2', 'Premium Hesap')}</span>
                <div class="info-line" />
                <span class="white">{selectCharData.VipLvl > 0 ? [ICODE]${vipinfo[selectCharData.VipLvl]} (Kadar ${moment(selectCharData.VipDate).format('DD.MM.YYYY')})[/ICODE] : vipinfo[selectCharData.VipLvl]}</span>
            </div>
            <div class="info-box margin-top-18">
                <span class="right">{translateText('player2', 'Uyarılar')}</span>
                <div class="info-line" />
                <span class="white">{selectCharData.Warns > 0 ? [ICODE]${selectCharData.Warns} kadar ${moment(selectCharData.Unwarn).format('DD.MM.YYYY HH:mm')}[/ICODE] : 0}</span>
            </div>
            <div class="info-box margin-top-18">
                <span class="right">{translateText('player2', 'Bugün Çevrimiçi')}</span>
                <div class="info-line" />
                <span class="white">{moment.duration(selectCharData.TodayTime, "minutes").format("saat[ч.] dakika[м.]")}</span>
            </div>
            <div class="info-box margin-top-18">
                <span class="right">{translateText('player2', 'Aylık Çevrimiçi')}</span>
                <div class="info-line" />
                <span class="white">{moment.duration(selectCharData.MonthTime, "minutes").format("hafta[нед.] gün[д.] saat[ч.] dakika[м.]")}</span>
            </div>
            <div class="info-box margin-top-18">
                <span class="right">{translateText('player2', 'Yıllık Çevrimiçi')}</span>
                <div class="info-line" />
                <span class="white">{moment.duration(selectCharData.YearTime, "minutes").format("ay[мес.] hafta[нед.] gün[д.] saat[ч.] dakika[м.]")}</span>
            </div>
            <div class="info-box margin-top-18">
                <span class="right">{translateText('player2', 'Toplam Çevrimiçi')}</span>
                <div class="info-line" />
                <span class="white">{moment.duration(selectCharData.TotalTime, "minutes").format("yıl[г.] ay[мес.] hafta[нед.] gün[д.] saat[ч.] dakika[м.]")}</span>
            </div>
        </div>
        {#if selectCharData.jobSkillsInfo}
        <div class="box-bg box-width-352 margin-top-20 h-370" style="align-items: center">
            <div class="font-size-24 margin-bottom-34" style="width: 100%">{translateText('player2', 'İş Becerileri')}</div>
            {#each selectCharData.jobSkillsInfo as job, index}
                <div class="info-box margin-top-18">
                    <span class="right width-120">{job.name}</span>
                    <div class="stars-box">
                        <span class="tooltiptext">{job.current}/{job.nextLevel}</span>
                        <div class="stars-box-current" style="width: {job.currentLevel >= 5 ? 100 : (((job.currentLevel / 5) * 100) + ((job.current / job.nextLevel) * 20))}%">
                            <div class="star"></div>
                            <div class="star"></div>
                            <div class="star"></div>
                            <div class="star"></div>
                            <div class="star"></div>
                        </div>
                        <div class="star"></div>
                        <div class="star"></div>
                        <div class="star"></div>
                        <div class="star"></div>
                        <div class="star"></div>
                    </div>
                </div>
            {/each}
        </div>
        {/if}
    </div>
    <div class="box-column">
        <div class="box-flex">
            <div class="box-bg box-width-352 margin-right-20">
                <div class="font-size-24 margin-bottom-34">{translateText('player2', 'Karakter Bilgileri')}</div>
                <div class="info-box">
                    <span class="right">{translateText('player2', 'Adı Soyadı')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.Name}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Durum')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.isAdmin ? "Admin" : "Oyuncu"}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Evlilik')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.WeddingName}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Cinsiyet')}</span>
                    <div class="info-line" />
                    <span class="white">{Bool(selectCharData.Gender) ? "Erkek" : "Kadın"}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Seviye')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.LVL} ({selectCharData.EXP} / {(3 + selectCharData.LVL * 3)})</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Telefon')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.Sim == -1 ? "Sim kart yok" : selectCharData.Sim}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Meslek')}</span>
                    <div class="info-line" />
                    <span class="white">{jobs[selectCharData.WorkID]}</span>
                </div>
                {#if selectCharData.FractionID > 0}
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Fraksiyon')}</span>
                    <div class="info-line" />
                    <span class="white">{fraction[selectCharData.FractionID]}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Pozisyon')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.FractionLVL}</span>
                </div>
                {/if}
                {#if selectCharData.OrganizationID > 0}
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Aile')}</span>
                    <div class="info-line" />
                    <span class="white">#{selectCharData.OrganizationID}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Pozisyon')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.OrganizationLVL}</span>
                </div>
                {/if}
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Kimlik Kartı Numarası')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.UUID}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Banka Hesap Numarası')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.Bank}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Bankadaki Para')}</span>
                    <div class="info-line" />
                    <span class="white">${format("money", selectCharData.BankMoney)}</span>
                </div>                      
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Üzerindeki Para')}</span>
                    <div class="info-line" />
                    <span class="white">${format("money", selectCharData.Money)}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Oluşturulma Tarihi')}</span>
                    <div class="info-line" />
                    <span class="white">{moment(selectCharData.CreateDate).format('DD.MM.YYYY HH:mm')}</span>
                </div>
            </div>
            <div class="box-bg box-width-352">
                <!--<div class="font-size-24 margin-bottom-34">{translateText('player2', 'İmkanlar')}</div>-->
                <div class="font-size-18 margin-bottom-32">{translateText('player2', 'Mülk')}</div>
                {#if selectCharData.houseId}
                <div class="info-box">
                    <span class="right">{translateText('player2', 'Ev')}</span>
                    <div class="info-line" />
                    <span class="white">#{selectCharData.houseId}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Evdeki Para')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.houseCash}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Saatlik Çekim')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.houseCopiesHour}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Ödeme Yapan')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.housePaid}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Ev Sınıfı')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.houseType}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Garaj Kapasitesi')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.maxcars}</span>
                </div>
                {/if}
                {#if selectCharData.BizId}
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'İşletme')}</span>
                    <div class="info-line" />
                    <span class="white">#{selectCharData.BizId}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'İşletmedeki Para')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.BizCash}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Saatlik Çekim')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.BizCopiesHour}</span>
                </div>
                <div class="info-box margin-top-18">
                    <span class="right">{translateText('player2', 'Ödeme Yapan')}</span>
                    <div class="info-line" />
                    <span class="white">{selectCharData.BizPaid}</span>
                </div>
                {/if}
            </div>
        </div>

        <div class="box-bg box-width-724 box-height-321 margin-top-20">
            <div class="font-size-24 margin-bottom-34">{translateText('player2', 'Lisanslar')}</div>
            <div class="box-flex margin-bottom-34">
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[0]) == true} on:mouseenter={() => LicId = 0}>
                    <span class="inv-lic-moto" />
                    <div class="circle-icon" />
                </div>
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[1]) == true} on:mouseenter={() => LicId = 1}>
                    <span class="inv-lic-car" />
                    <div class="circle-icon" />
                </div>
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[2]) == true} on:mouseenter={() => LicId = 2}>
                    <span class="inv-lic-truck" />
                    <div class="circle-icon" />
                </div>
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[3]) == true} on:mouseenter={() => LicId = 3}>
                    <span class="inv-lic-boat" />
                    <div class="circle-icon" />
                </div>
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[4]) == true} on:mouseenter={() => LicId = 4}>
                    <span class="inv-lic-helipad" />
                    <div class="circle-icon" />
                </div>
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[5]) == true} on:mouseenter={() => LicId = 5}>
                    <span class="inv-lic-drone" />
                    <div class="circle-icon" />
                </div>
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[6]) == true} on:mouseenter={() => LicId = 6}>
                    <span class="inv-lic-gun" />
                    <div class="circle-icon" />
                </div>
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[7]) == true} on:mouseenter={() => LicId = 7}>
                    <span class="inv-lic-medical" />
                    <div class="circle-icon" />
                </div>
                <div class="icon-box" class:active={Boolean(selectCharData.Licenses[8]) == true} on:mouseenter={() => LicId = 8}>
                    <span class="inv-lic-health" />
                    <div class="circle-icon" />
                </div>
            </div>
            <div class="font-size-18">{LicData [LicId][0]}</div>
            <div class="margin-top-20 box-desc" style="width: 100%;white-space: normal">{LicData [LicId][1]}</div>
        </div>
    </div>
</div>
{/if}
[/KOD]
Тебе ещё надо менять сообщения не только тут но и в файле по пути: src_cef/lang/ru.json

То есть если ты поменял что то в тексте то тебе надо и менять в ru.json чтоб ключи совпадали.

Например ты поменял сообщения на странице или в меню например (Привет как ты?) на (Привет как вы?) так же и в файле ru.json надо заменить с (Привет как ты?) на (Привет как вы?) думаю понял.
 
  • OK
  • Like
Реакции: ivancrossme и Inoi

NULMEKS

Начинающий специалист
12 Янв 2024
252
121
55
27