new language

This commit is contained in:
VividTruthKeeper 2022-09-22 00:49:48 +05:00
parent 4daed60991
commit 409e10c6f0
5 changed files with 58 additions and 16 deletions

View File

@ -80,7 +80,7 @@ const CardStage4 = ({ setStage, data, setData, req }) => {
{locale === "TKM"
? "Faýl ýükläň"
: locale === "РУС"
? "агрузить файл"
? "Загрузить файл"
: locale === "ENG"
? "Upload a file"
: "Faýl ýükläň"}
@ -133,7 +133,7 @@ const CardStage4 = ({ setStage, data, setData, req }) => {
: locale === "РУС"
? "Все файлы должны быть следующих форматов: "
: locale === "ENG"
? "All files must be in the following formats:"
? "All files should be in following types:"
: "Hemme faýllar diňe görkezilen formatda bolmaly: "}
<span className="red">
.jpg, .jpeg, .doc, .docx, .xls, .xlsx, .pdf, .png
@ -145,7 +145,7 @@ const CardStage4 = ({ setStage, data, setData, req }) => {
: locale === "РУС"
? `Размер файла не должен превышать ${maxFileSize} МБ`
: locale === "ENG"
? `File size must not exceed ${maxFileSize} MB`
? `Size of the file should not exceed ${maxFileSize} MB`
: `Faýlyň ölçegi ${maxFileSize} MB-den geçmeli däl`}
</p>
<div className="cu-bottom card-stage-4-bottom">

View File

@ -106,7 +106,7 @@ const CreditStage5 = ({ setStage, data, setData, creditData, id }) => {
{locale === "TKM"
? "Faýl ýükläň"
: locale === "РУС"
? "агрузить файл"
? "Загрузить файл"
: locale === "ENG"
? "Upload a file"
: "Faýl ýükläň"}
@ -159,7 +159,7 @@ const CreditStage5 = ({ setStage, data, setData, creditData, id }) => {
: locale === "РУС"
? "Все файлы должны быть следующих форматов: "
: locale === "ENG"
? "All files must be in the following formats:"
? "All files should be in following types:"
: "Hemme faýllar diňe görkezilen formatda bolmaly: "}
<span className="red">
.jpg, .jpeg, .doc, .docx, .xls, .xlsx, .pdf, .png
@ -171,7 +171,7 @@ const CreditStage5 = ({ setStage, data, setData, creditData, id }) => {
: locale === "РУС"
? `Размер файла не должен превышать ${maxFileSize} МБ`
: locale === "ENG"
? `File size must not exceed ${maxFileSize} MB`
? `Size of the file should not exceed ${maxFileSize} MB`
: `Faýlyň ölçegi ${maxFileSize} MB-den geçmeli däl`}
</p>
<div className="cu-bottom card-stage-4-bottom">

View File

@ -20,7 +20,13 @@ const TitleGrid = () => {
<section className="titlegrid">
<div className="titlegrid-inner">
<h1>
{locale === "РУС" ? translation.rus.title : translation.TKM.title}
{locale === "РУС"
? translation.RUS.title
: locale === "TKM"
? translation.TKM.title
: locale === "ENG"
? translation.ENG.title
: translation.TKM.title}
</h1>
<ul>
<li>
@ -30,7 +36,11 @@ const TitleGrid = () => {
</div>
<h3>
{locale === "РУС"
? translation.rus.rules[0]
? translation.RUS.rules[0]
: locale === "TKM"
? translation.TKM.rules[0]
: locale === "ENG"
? translation.ENG.rules[0]
: translation.TKM.rules[0]}
</h3>
</div>
@ -42,7 +52,11 @@ const TitleGrid = () => {
</div>
<h3>
{locale === "РУС"
? translation.rus.rules[1]
? translation.RUS.rules[1]
: locale === "TKM"
? translation.TKM.rules[1]
: locale === "ENG"
? translation.ENG.rules[1]
: translation.TKM.rules[1]}
</h3>
</div>
@ -54,7 +68,11 @@ const TitleGrid = () => {
</div>
<h3>
{locale === "РУС"
? translation.rus.rules[2]
? translation.RUS.rules[2]
: locale === "TKM"
? translation.TKM.rules[2]
: locale === "ENG"
? translation.ENG.rules[2]
: translation.TKM.rules[2]}
</h3>
</div>
@ -66,7 +84,11 @@ const TitleGrid = () => {
</div>
<h3>
{locale === "РУС"
? translation.rus.rules[3]
? translation.RUS.rules[3]
: locale === "TKM"
? translation.TKM.rules[3]
: locale === "ENG"
? translation.ENG.rules[3]
: translation.TKM.rules[3]}
</h3>
</div>
@ -78,7 +100,11 @@ const TitleGrid = () => {
</div>
<h3>
{locale === "РУС"
? translation.rus.rules[4]
? translation.RUS.rules[4]
: locale === "TKM"
? translation.TKM.rules[4]
: locale === "ENG"
? translation.ENG.rules[4]
: translation.TKM.rules[4]}
</h3>
</div>
@ -90,7 +116,11 @@ const TitleGrid = () => {
</div>
<h3>
{locale === "РУС"
? translation.rus.rules[5]
? translation.RUS.rules[5]
: locale === "TKM"
? translation.TKM.rules[5]
: locale === "ENG"
? translation.ENG.rules[5]
: translation.TKM.rules[5]}
</h3>
</div>

View File

@ -1,6 +1,6 @@
export const main = () => {
return {
rus: {
RUS: {
title:
"Выполнение нижеприведенных правил безопасности использования Интернет-ресурсов поможет уберечь ваш компьютер или мобильное устройство от вредоносных программ и утечки конфиденциальной информации.",
rules: [
@ -19,10 +19,22 @@ export const main = () => {
"Nätanyş Wi-Fi torlaryny ulanmaň",
"Umumy jemgyýetçilik torlaryny ulananyňyzda şahsy maglumatlaryňyzy girizmäň",
"Bank kartynyň maglumatlaryny web-sahypalaryň ýadynda saklamaň",
"Internet çeşmelerinden antiwirus programmasy gurnalan enjamda ulanyň",
"Internet çeşmelerinden antiwiRUS programmasy gurnalan enjamda ulanyň",
"Näbelli elektron salgylaryndan gelen hatlary açmaň we bu hatlarda görkezilen salgylanmalaryna geçmäň",
"Dürli ylalaşyklary jikme-jik tanyşmazdan kabul etmäň",
],
},
ENG: {
title:
"Implementation of the safety rules while using Internet-resources mentioned below can help you to guard your computer or mobile phone devices from harmful programs and overflow of confidential information.",
rules: [
"Do not use unfamiliar Wi-Fi routes",
"Do not enter personal information while using public Wi-Fi routes",
"Do not save information of the bank card on the web-sites",
"Use internet services only if device has an antiviRUS program",
"Do not open letter and do not open links indicated in letter from unfamiliar email addresses",
"Do not accept any agreements without thoroughly familiarization",
],
},
};
};

View File

@ -36,7 +36,7 @@ const Main = () => {
: locale === "TKM"
? "Şahsy kabinet"
: locale === "ENG"
? "Personal account"
? "Private account"
: "Şahsy kabinet"}
</h1>
</div>