Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

NEAR Explorer Russian translation #738

Closed
wants to merge 0 commits into from

Conversation

nebezgreshniy
Copy link
Contributor

@nebezgreshniy nebezgreshniy commented Sep 18, 2021

This PR resolves near/bounties#63

@dec0dOS
Copy link
Contributor

dec0dOS commented Sep 19, 2021

Hello, @nebezgreshniy!
I've made some changes to your translation, please check the PR.

@shelegdmitriy
Copy link
Contributor

@nebezgreshniy @dec0dOS Hey guys! Thanks for your contribution, you done well! I'll make a review soon

Copy link
Contributor

@shelegdmitriy shelegdmitriy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nebezgreshniy Hey! You've done great job! Could you please address the comments to finish this task?

frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
@nebezgreshniy
Copy link
Contributor Author

@shelegdmitriy @frol @telezhnaya
Hi, there!
Thanks for your review. I've fixed point remarks which took place due to the fact that I'm novel to the NEAR.

@frol
Copy link
Collaborator

frol commented Sep 21, 2021

For review convenience, I have deployed the version of Explorer UI with this PR included for preview: https://near-explorer-frontend-with-indexer-temp.onrender.com/ (I had to push a new branch on the upstream repo to be able to deploy it, so we will need to push updates to feat/russian-translation-pr-738 branch to get new commits deployed)

@telezhnaya
Copy link
Contributor

@dec0dOS
Copy link
Contributor

dec0dOS commented Sep 22, 2021

It seems that the Vietnamese version also has not translated the datetimes
Снимок экрана 2021-09-22 в 11 02 43

@shelegdmitriy
Copy link
Contributor

@dec0dOS @nebezgreshniy Hey guys! We have a separate channel for discussing all the things. Please join https://t.me/near_explorer_ru_ch for discussing 😀

frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/libraries/language.js Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
},
"AddKey": {
"new_key_added": "Добавлен новый ключ для ",
"with_permission_and_nounce": "с разрешением ${permission} и одноразовым номером ${nonce}",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"with_permission_and_nounce": "с разрешением ${permission} и одноразовым номером ${nonce}",
"with_permission_and_nounce": "с разрешением ${permission}",

We decided to remove this part of translation. It would be great to remove this staff from other translation files (en, vi, zn-hans)

"new_key_added": "Добавлен новый ключ для ",
"with_permission_and_nounce": "с разрешением ${permission} и одноразовым номером ${nonce}",
"access_key_added_for_contract": "Ключ доступа добавлен для контракта ",
"with_permission_call_method_and_nounce": "с разрешением для вызова ${methods} методов с одноразовым номером ${nonce}",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"with_permission_call_method_and_nounce": "с разрешением для вызова ${methods} методов с одноразовым номером ${nonce}",
"with_permission_call_method_and_nounce": "с разрешением для вызова ${methods} методов",

The same as on 246 line. @frol Am I right?

Copy link
Contributor

@shelegdmitriy shelegdmitriy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nebezgreshniy Hey there! I think I'm done with all breakpoints so I'll be waiting for your commit 😀

frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
frontend/src/translations/ru.global.json Outdated Show resolved Hide resolved
@frol
Copy link
Collaborator

frol commented Sep 30, 2021

@think-in-universe Hey! I want to ask you whether there was some specific reason we did not use the official moment.js locales: https://github.com/moment/moment/tree/develop/locale. I would love to switch using those instead of duplicating that effort for every translation on Explorer

Comment on lines 178 to 179
case "zn-hans":
locale = "zn-hans";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
case "zn-hans":
locale = "zn-hans";
case "zh-hans":
locale = "zh-cn";

receipt.status ? (
<ReceiptExecutionStatus status={receipt.status} />
) : (
<>{"Fetching Status..."}</>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must be translated too. We already have such translation here

"fetching_status": "Fetching Status...",
. You could place it here and use in component

frontend/src/libraries/language.js Outdated Show resolved Hide resolved
Comment on lines 314 to 316
"ReceiptAction": {
"batch_receipt": "Batch Receipt"
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"ReceiptAction": {
"batch_receipt": "Batch Receipt"
}
"ReceiptAction": {
"batch_receipt": "Batch Receipt",
"fetching_status": "Fetching Status..."
}

Don't forget to do the same for other files. We already have a translations for "fetching_status"

@frol
Copy link
Collaborator

frol commented Oct 15, 2021

This issue was closed by mistake. See #762

@frol frol mentioned this pull request Oct 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NEAR Explorer translation for Russian Users
5 participants