Skip to content

My attempt at a logic simulator / logistics game.

Notifications You must be signed in to change notification settings

treytomes/logi-game

Repository files navigation

logi-game

Logstics/logic circuit simulation game.

References

Internationalization

Internationalization is handled by gettext.

To generate logi-game.pot: xgettext --keyword=_ --language=C++ --add-comments --sort-output -o locale/logi-game.pot src/main.cpp

To generate a language file (English in this case): msginit --input=locale/logi-game.pot --locale=en --output=locale/en/logi-game.po

To compile the .mo file (also handled by the Makefile): msgfmt --output-file=locale/en/LC_MESSAGES/logi-game.mo locale/en/logi-game.po

When new strings are added to the source, re-generate the pot file and merge the new strings into the language files: msgmerge --update locale/en/logi-game.po locale/logi-game.pot

Learned to do this from the tutorial here.

Dependencies

About

My attempt at a logic simulator / logistics game.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages