Page MenuHomeWildfire Games

Translate mod title and description
ClosedPublic

Authored by elexis on Nov 29 2017, 4:39 PM.

Details

Summary

Split from D1080.
The description is an english string, so it must be localized where possible.
The version name (Ken Wood) is translated, so translators should have a chance to change the name too (even if that should be discouraged as it's a name).

Test Plan

Read the wiki page about internationalization. Notice that the load dialog should still display the folder names, so that it is easy to enable the correct mods in the correct order, see also #4887.

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

elexis created this revision.Nov 29 2017, 4:39 PM
Vulcan added a subscriber: Vulcan.Nov 29 2017, 7:40 PM

Successful build - Chance fights ever on the side of the prudent.

Updating workspaces...
Build (release)...
Build (debug)...
Running release tests...
Running cxxtest tests (308 tests)....................................................................................................................................................................................................................................................................................................................OK!
Running debug tests...
Running cxxtest tests (308 tests)....................................................................................................................................................................................................................................................................................................................OK!
Checking XML files...
Executing section Default...
Executing section Source...
Executing section JS...
elexis added inline comments.Dec 7 2017, 8:11 PM
binaries/data/mods/public/gui/loadgame/load.js
160 ↗(On Diff #4439)

Why do we even have Savegame and Network Protocol version?
Different svn revisions are incompatible in almost all cases to begin with, so the mod version check already sounds sufficient.

If you renames, then the window title should be changed too: from 0 A.D. to Pyrogenesis (btw, I have thoughts, that the mod can control the window title).

The patch looks good for me.

binaries/data/mods/public/gui/loadgame/load.js
160 ↗(On Diff #4439)

Sometimes modders make a mod with the next release version and continue update it from the current SVN (it's the only one reason why the mod version isn't enough).

elexis added a comment.Dec 8 2017, 9:24 PM
ps/VideoMode.cpp:		m_Window = SDL_CreateWindow("0 A.D.", m_WindowedX, m_WindowedY, w, h, flags);

Wouldn't be opposed, but ideally we could load it from JSON somewhere maybe.
Maybe that could be grouped with the icon filepath.
I'll split that right now and we continue that discussion elsewhere.

binaries/data/mods/public/gui/loadgame/load.js
160 ↗(On Diff #4439)

In order to load a savegame one still requires the correct set of mods with the correct versions.
So if you have a savegame mod, then we have the version check in the mod version of the savegame mod.

elexis updated this revision to Diff 4658.Dec 8 2017, 9:27 PM

Remove unrelated change

vladislavbelov accepted this revision.Dec 8 2017, 9:43 PM
This revision is now accepted and ready to land.Dec 8 2017, 9:43 PM
This revision was automatically updated to reflect the committed changes.

Successful build - Chance fights ever on the side of the prudent.

Updating workspaces...
Build (release)...
Build (debug)...
Running release tests...
Running cxxtest tests (308 tests)....................................................................................................................................................................................................................................................................................................................OK!
Running debug tests...
Running cxxtest tests (308 tests)....................................................................................................................................................................................................................................................................................................................OK!
Checking XML files...
Executing section Default...
Executing section Source...
Executing section JS...