Giter Club home page Giter Club logo

Comments (13)

EGYT5453 avatar EGYT5453 commented on August 23, 2024 2

Update: the MTG translation fix is almost ready, but it's always good to review in the morning everything done at night. I don't know about fixing MT's translation yet, because there is even more to translate and fix... I'll try to fix (and in some places create) translations of what is available to regular players (menus, settings, etc.), but not what is related to the development of MT games (because I'm not a developer, which will most likely make it even worse).

from minetest_game.

EGYT5453 avatar EGYT5453 commented on August 23, 2024 2

Well, it's one whole PR instead of 3 small ones. But hey, it means that it's all finished before 5.8.0!

from minetest_game.

EGYT5453 avatar EGYT5453 commented on August 23, 2024 1

Update 2: Almost done reviewing! I also noticed that even MTG is sometimes inconsistent. For example, "creative" permission says "Allow player to use creative inventory", while other permissions say "Can do x" ("Can use /sethome and /home" - "sethome" perm), or the "screwdriver" mod has "(left-click rotates face, right-click rotates axis)" when the terms "punch" and "use" are better suited (remember Android players). Fixing this is both easy (by replacing a few lines) and difficult (it can break translations).
Oh, and some of the lines in the Ukrainian translation are too long to fit on a mobile screen, but there is not much I can do about that.

from minetest_game.

EGYT5453 avatar EGYT5453 commented on August 23, 2024 1

Sorry if I am bothering you, but how to make another commit with improvements? There are quite some already, maybe there will be more.
UPD: nevermind!

from minetest_game.

rollerozxa avatar rollerozxa commented on August 23, 2024

If you press . on the repository code page it should open up vscode in your web browser. From there you can edit the translation files, commit and it will be put in a fork you can open a pull request for here.

The engine's translation is managed on Weblate: https://hosted.weblate.org/projects/minetest/minetest/uk/

from minetest_game.

EGYT5453 avatar EGYT5453 commented on August 23, 2024

Thanks! I hope I can do it, even though MTG doesn't have so many lines.

from minetest_game.

EGYT5453 avatar EGYT5453 commented on August 23, 2024

Warning: no useful information here

Update 2.1: Oh, the "stairs" mod... There are many ways to translate you, and I don't know which to choose! Should I choose "Пустельна пісковикова цегляна сходинка" style ("Desert Sandstone Brick Stair" [every word except "stair" is adjective]) or "Сходинка з цегли з пустельного пісковику" one ("Stair [, that is made] out [of] Brick (s) [, that is/are made] out [of] Desert {adjective} Sandstone")? Or even something in between? And it has to be consistent and not sound ridiculous!

from minetest_game.

EGYT5453 avatar EGYT5453 commented on August 23, 2024

Hmm, would it be a good idea to split pull requests (PRs)? For example, the 1st PR will contain corrections that I'm 100% sure about (mostly small corrections, like changing uppercase to lowercase), the 2nd PR will contain larger corrections (like rephrasing the text "@1 player(s) are in bed" [there are three grammatical numbers in Ukrainian, so the correct translation will be something like "@1 гравець(-ці/-ців) у ліжку"]), and the 3rd PR will contain the corrections for "default" and "stairs" (they are the hardest ones).

from minetest_game.

appgurueu avatar appgurueu commented on August 23, 2024

Sounds like a sensible separation. I don't mind 3 separate PRs.

from minetest_game.

EGYT5453 avatar EGYT5453 commented on August 23, 2024

Great! Now I'm wondering, in the first RP, is it better to lowercase all translations (to avoid inconsistencies in case the second or third fixes come out after the next version), or to update only individual files (to avoid doing the same work twice)? I will probably choose the latter, but the choice is yours.

from minetest_game.

appgurueu avatar appgurueu commented on August 23, 2024

[...] in the first RP, is it better to lowercase all translations (to avoid inconsistencies in case the second or third fixes come out after the next version), or to update only individual files [...]

What do you mean by this? If I understood your proposed split into different PRs correctly, it should be something like

  1. Minor fixes (such as correcting character case);
  2. Larger fixes and rephrasings;
  3. Hardest corrections (for default and stairs)

Why would there be inconsistencies if only (1) made it into the next MTG version? Are the mistakes that need correction currently consistent?

[...] to avoid doing the same work twice [...]

I'm not sure why you would have to do the same work twice. The second PR can be based on the first PR, and the third PR can be based on the second PR.

from minetest_game.

EGYT5453 avatar EGYT5453 commented on August 23, 2024

I was going to correct case in translations that I'm sure are correct, so I wasn't going to do it for "default" and "stairs" mods (and a few others). For example, I'm still not sure I translated the "beds" mod correctly, so why would I lower the case in the 1st PR only to replace a bad translation with a good one in the 2nd PR?
I apologize for any confusion, maybe it's because I use a translator when I comment (I understand English well, but I don't speak it well, unfortunately). Now I think it's better to make lowercase letters in each translation in the 1st PR, after all, it won't take much work...

from minetest_game.

EGYT5453 avatar EGYT5453 commented on August 23, 2024

P.S. There are some mods that are fine and a 1st PR would be enough for them, like "butterflies" (where the only thing that was fixed was the case of 3 letters), "fireflies" (nothing special), "fire" (nothing special either), or... any other mod that doesn't have as many strings as "default", "stairs" or "mtg_craftguide".
Also, I think I should refer to "translations" as " strings" to not confuse them with "l10n files" ("locale files").

So, to clarify:
The 1st PR will be dedicated to small fixes (changing the case of letters, correcting individual words) in equally small mods (examples of mods that will be affected are "binoculars", "fireflies", "sfinv", but not those that will be affected in 2nd and 3rd PRs (or, if you want, I'll change them as well...));
The 2nd PR will be dedicated to bigger fixes (like changing words or even entire strings in "beds", "farming", "vessels", possibly "mtg_craftguide");
The 3rd PR will be dedicated to "default" and "stairs" (as these are the most complex and largest modifications, so I'm pretty sure I've got something wrong).

Again, I'm really sorry for the misunderstanding, I've never contributed to open source before and just trying to help...

from minetest_game.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.