Jump to content

GunChleoc

Community Members
  • Posts

    619
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by GunChleoc

  1. Slap me with a wet noodle, I had grabbed the wrong branch. I knew this was too easy Maybe add the complete git checkout code to the first post of this thread, for idiots like me? git clone https://github.com/leper/0ad.git -b i18n <dir>I have a problem compiling now - make doesn't find libicu-dev, although I did grab it from the Software Center. Or maybe I have the wrong version, it's 4.8 on Ubuntu LTS 12.04. So, I downloaded libicu version 52_1 (ICU4C) and compiled and installed. I still get the error messages though, maybe I need to tell the compiler where the installation path is? I don't know how to do that though. Here's some of error messages: <snip>==== Building test (release) ====Creating obj/test_Releaseprecompiled.htest_FixedVector2D.cpp../../../binaries/system/libengine.a(L10n.o): In function `~L10n':~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:52: undefined reference to `icu_52::Locale::~Locale()'../../../binaries/system/libengine.a(L10n.o): In function `L10n::getCurrentLocale()':~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:59: undefined reference to `icu_52::Locale::Locale(icu_52::Locale const&)'../../../binaries/system/libengine.a(L10n.o): In function `L10n::getSupportedLocaleCodes()':~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:83: undefined reference to `icu_52::Locale::getBaseName() const'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:81: undefined reference to `icu_52::Locale::getBaseName() const'../../../binaries/system/libengine.a(L10n.o): In function `L10n::getCurrentLocale()':~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:59: undefined reference to `icu_52::Locale::Locale(icu_52::Locale const&)'../../../binaries/system/libengine.a(L10n.o): In function `L10n::getCurrentLocaleIndex()':~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:120: undefined reference to `icu_52::Locale::getBaseName() const'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:120: undefined reference to `icu_52::Locale::getBaseName() const'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:120: undefined reference to `icu_52::Locale::~Locale()'../../../binaries/system/libengine.a(L10n.o): In function `L10n::getCurrentLocale()':~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:59: undefined reference to `icu_52::Locale::Locale(icu_52::Locale const&)'../../../binaries/system/libengine.a(L10n.o): In function `L10n::getCurrentLocaleIndex()':~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:123: undefined reference to `icu_52::Locale::~Locale()'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:126: undefined reference to `icu_52::Locale::getUS()'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:120: undefined reference to `icu_52::Locale::~Locale()'../../../binaries/system/libengine.a(L10n.o): In function `L10n::parseDateTime(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, icu_52::Locale const&)':~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:195: undefined reference to `icu_52::StringPiece::StringPiece(char const*)'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:195: undefined reference to `icu_52::UnicodeString::fromUTF8(icu_52::StringPiece const&)'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:196: undefined reference to `icu_52::StringPiece::StringPiece(char const*)'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:196: undefined reference to `icu_52::UnicodeString::fromUTF8(icu_52::StringPiece const&)'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:198: undefined reference to `icu_52::UMemory::operator new(unsigned long)'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:198: undefined reference to `icu_52::SimpleDateFormat::SimpleDateFormat(icu_52::UnicodeString const&, icu_52::Locale const&, UErrorCode&)'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:202: undefined reference to `icu_52::UnicodeString::~UnicodeString()'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:202: undefined reference to `icu_52::UnicodeString::~UnicodeString()'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:202: undefined reference to `icu_52::UnicodeString::~UnicodeString()'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:202: undefined reference to `icu_52::UnicodeString::~UnicodeString()'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:198: undefined reference to `icu_52::UMemory::operator delete(void*)'../../../binaries/system/libengine.a(L10n.o): In function `UnicodeString':/usr/local/include/unicode/unistr.h:3613: undefined reference to `vtable for icu_52::UnicodeString'../../../binaries/system/libengine.a(L10n.o): In function `L10n::createDateTimeInstance(L10n::DateTimeType, icu_52::DateFormat::EStyle, icu_52::Locale const&)':~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:360: undefined reference to `icu_52::DateFormat::createDateTimeInstance(icu_52::DateFormat::EStyle, icu_52::DateFormat::EStyle, icu_52::Locale const&)'../../../binaries/system/libengine.a(L10n.o): In function `L10n::localizeDateTime(double const&, L10n::DateTimeType, icu_52::DateFormat::EStyle)':~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:210: undefined reference to `icu_52::DateFormat::format(double, icu_52::UnicodeString&) const'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:212: undefined reference to `icu_52::CheckedArrayByteSink::CheckedArrayByteSink(char*, int)'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:213: undefined reference to `icu_52::UnicodeString::toUTF8(icu_52::ByteSink&) const'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:217: undefined reference to `icu_52::CheckedArrayByteSink::~CheckedArrayByteSink()'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:217: undefined reference to `icu_52::UnicodeString::~UnicodeString()'../../../binaries/system/libengine.a(L10n.o): In function `L10n::createDateTimeInstance(L10n::DateTimeType, icu_52::DateFormat::EStyle, icu_52::Locale const&)':~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:353: undefined reference to `icu_52::DateFormat::createDateInstance(icu_52::DateFormat::EStyle, icu_52::Locale const&)'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:356: undefined reference to `icu_52::DateFormat::createTimeInstance(icu_52::DateFormat::EStyle, icu_52::Locale const&)'../../../binaries/system/libengine.a(L10n.o): In function `L10n::localizeDateTime(double const&, L10n::DateTimeType, icu_52::DateFormat::EStyle)':~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:217: undefined reference to `icu_52::CheckedArrayByteSink::~CheckedArrayByteSink()'~/0ad/leper/build/workspaces/gcc/../../../source/i18n/L10n.cpp:217: undefined reference to `icu_52::UnicodeString::~UnicodeString()'../../../binaries/system/libengine.a(L10n.o): In function `UnicodeString':/usr/local/include/unicode/unistr.h:3613: undefined reference to `vtable for icu_52::UnicodeString'<snip>~/0ad/leper/build/workspaces/gcc/../../../source/gui/scripting/ScriptFunctions.cpp:715: undefined reference to `icu_52::Locale::getUS()'collect2: ld returned 1 exit statusmake[1]: *** [../../../binaries/system/pyrogenesis] Error 1make: *** [pyrogenesis] Error 2make: *** Waiting for unfinished jobs....test_Matrix3d.cpptest_MD5.cpp<snip>If the problem is that my Ubuntu is too old, I'll wait until the next LTS release in April before I try again, because my computer doesn't like Ubuntu Saucy,
  2. I just built and launched the leper branch in Ubuntu 12.04 LTS without any problems whatsoever. Now, how do I choose my language?
  3. You said yourself in this thread that #0ad would be fine for now. You can always opan a separate channel ater if need arises.
  4. My mistake then. I still prefer the Indian guy though.
  5. Plato was a lot earlier than our time frame. Patañjali is from India, and we do have an Indian faction, do we not? The foundation for what is now modern linguistics were laid down in Sanskrit which is an Indo-European language just like Greek and Latin. So, not as outlandish as you might think. Well, I like exotic anyway and broadening our horizons Polybius is also fitting for what we do with the game in general, but is not especially related to the new features that will be in Alpha XVI https://en.wikipedia.org/wiki/Polybius Interesting, thanks for pointing him out.
  6. I know getting everything to run properly is more important! Once that is achieved, this is a feature I' really like to see though
  7. Since we're planning to have i18n support for the first time, how about Patañjali? One of them lived around the correct time period, and he was a linguist.
  8. I don't know if the code structure easily allows this, but how about splitting the translation into multiple text domains? The main file is huge. For example, we could have separate .po files for general GUI stuff (menus etc.), one for the quotes in the loading screen, and one for each civ. And of course one for each campaign, once they get implemented. The files could then be ordered in Transifex so as to have the most important ones first, and it would also make the localization of mods easier. It would also make it easier for the bigger teams to split and coordinate the work.
  9. Battle for Wesnoth has a friends/ignore list, you could have a look at how they do it for inspiration.
  10. You can see the team members on Transifex and contact the team leader there. https://www.transifex.com/projects/p/0ad/language/pt_BR/members/ It is up to the individual language teams how you translate the game. Best send the team leader the message. Your team is big enough to have a proper 2 step process: translate first, then have somebody else review your translation. IMO the most important thing in software translation is consistent terminology. And of course, make sure the result sounds natural in your own language rather than "tradutorês". Bem vindo e boa sorte!
  11. I have a small screen and am glad for any bit of map I can see. Maybe we could have 2 designs in the end, one for big screens that will be wider and one for small screens that will be pretty much as it is right now?
  12. The difficult for the ngettext system here is that you have 2 plurals in one string, so you will need to fetch them separately, e.g. something like this (in mock-up code): // get plural form for arrowsstring arrows = translatePlural("%d arrow", "%d arrows", arrow_count)// get plural form for secondsstring seconds = translatePlural("%d second", "%d seconds", time_seconds)// stick them togetherstring arrows_seconds = sprintf("%(arrowcount)s / %(time)", arrows, seconds)If some languages need the "/ %(time)" in one string, that would also be fine by me. I jut have trouble coming up with the mock-up code for that right now.
  13. This is the right place to ask. The string is %(time)s seconds so you can translate it into Japanese without any problems. Use whatever form you use after numbers and keep the place holder. This is more of a problem for languages like mine that have more than one form, but a pattern different from English. Eventually, this string should be fetched with ngettext. I don't remember if our i18n system can do that already.
  14. I think he was talking about the quality of the video, not the quality of the plowing
  15. Looks that there is a mod out there that could be used. Admins still have to think about how to prevent spammers from abusing the feature though. In the meantime, why not split your discussions into discussion threads and informational summary threads? The discussion threads then would replace what you have in mind with the group PM. The info threads could be made sticky.
  16. The background is completely desaturated now, which is probably too much.
  17. I think one of the difficulties with the background is that it has too much contrast within itself. Try reducing contrast and maybe the saturation as well.
  18. From a gameplay point of view, I always found managing farms in AoE annoying, especially when my troops where fighting a war someplace else on the map. So, I welcomed it when infinite farms were introduced here.
  19. Having emissaries will only work if they are non-attackable, or they will never reach their destination.
  20. I'm glad you're taking this model up again. You do have talent If you should get frustrated again, take a break and start again another day. Ask for help when you need it.
  21. Film about wolves: http://www.youtube.com/watch?v=RWmOtXSAr1M
  22. Returning to the updater idea, how about offering a second download that leaves out the unganged art asset? I think a lot of bandwidth could be saved this way. We could also consider offering a Torrent link like LibreOffice does to save some server resources.
  23. +1 It's easier to see who was on which team.
×
×
  • Create New...