Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Visual Bug]: #576

Open
AndreyFiery opened this issue Jun 29, 2024 · 7 comments
Open

[Visual Bug]: #576

AndreyFiery opened this issue Jun 29, 2024 · 7 comments
Assignees
Labels
bug (visual) A visual element isn't being displayed properly. triage

Comments

@AndreyFiery
Copy link

Mod Version

v2.3.4

Multiplayer

Single Player

Visual Settings

100%

SMAPI Log

No response

Description

The names of the trees are not translated into Russian.
In one of the topics I found a piece of code with named trees and translated them.
He's lower.
Will this help? Or an empty idea?
(I don’t get into programming at all)

private static string GetTreeTypeName(string treeType)
{
switch (treeType)
{
case "1": return "Дуб";
case "2": return "Клён";
case "3": return "Сосна";
case "6": return "Пальма
case "7": return "Грибное дерево";
case "8": return "Красное дерево";
case "9": return "Пальма (Джунгли)";
case "10": return "Дерево Зеленого дождя (Тип 1) ";
case "11": return "Дерево Зеленого дождя (Тип 2)";
case "12": return "Дерево Зеленого дождя (Тип 3)";
case "13": return "Таинственное дерево";
default: return $"Unknown (#{treeType})";

@AndreyFiery AndreyFiery added bug (visual) A visual element isn't being displayed properly. triage labels Jun 29, 2024
@wulingxuan
Copy link

You can translate default.json to ru.json.

@AndreyFiery
Copy link
Author

There is already ru.json. And there are no lines in it that are responsible for the names of the trees.

@AndreyFiery
Copy link
Author

Ahhh. Understood. Then I will translate into Russian by default.json
Then it will be possible to send it? If yes, then how? Should I post it on the nexus or here?

@wulingxuan
Copy link

You can post it here, and the author will see it and merge it into the next version.
Or if you know how to use github, make use of Pull requests post files.

@AndreyFiery
Copy link
Author

Aww...I just posted it on the Nexus already. If this is a problem, I can delete it and send it here.

@wulingxuan
Copy link

No problem. You can send it here, too

@AndreyFiery
Copy link
Author

UIInfoSuite2Rus.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug (visual) A visual element isn't being displayed properly. triage
Projects
None yet
Development

No branches or pull requests

3 participants