Jump to content

GunChleoc

Community Members
  • Content Count

    611
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by GunChleoc

  1. For changing the Tamil locale:

    • Set up the new locale in the Transifex web UI
    • Assign the translators to the new locale in the Transifex web UI
    • Rename the file in SVN
    • Run tx push -l <localename>

    Regarding the extraneous language requests, on the projects I manage, I drop the translators a message and point them to the locale that I'd like them to contribute to, then refuse the request. If I'm unsure whether a separate locale is appropriate after all, I ask them before refusing the locale.

    @Nescio @Stan`

  2. Are there any new dependencies that haven't been documented on the wiki yet?

    I have Ubuntu 20.04-based Linux Mint. SVN r24660.

    I cleaned the workspaces and rebuilt without any parameters.

     

    precompiled.cpp
    ../../../source/network/StunClient.cpp: In function ‘JS::Value StunClient::FindStunEndpointHost(const ScriptInterface&, int)’:
    ../../../source/network/StunClient.cpp:375:68: error: too many arguments to function ‘ENetHost* enet_host_create(const ENetAddress*, size_t, enet_uint32, enet_uint32)’
      375 |  ENetHost* transactionHost = enet_host_create(&hostAddr, 1, 1, 0, 0);
          |                                                                    ^
    In file included from ../../../source/lib/external_libraries/enet.h:48,
                     from ../../../source/network/StunClient.cpp:40:
    /usr/local/include/enet/enet.h:405:21: note: declared here
      405 | ENET_API ENetHost * enet_host_create (const ENetAddress *address, size_t peerCount, enet_uint32 incomingBandwidth, enet_uint32 outgoingBandwidth );
          |                     ^~~~~~~~~~~~~~~~
    ../../../source/network/StunClient.cpp:391:2: error: ‘enet_address_get_host_ip’ was not declared in this scope; did you mean ‘enet_address_get_host’?
      391 |  enet_address_get_host_ip(&addr, ipStr, ARRAY_SIZE(ipStr));
          |  ^~~~~~~~~~~~~~~~~~~~~~~~
          |  enet_address_get_host
    ../../../source/network/StunClient.cpp: In function ‘bool StunClient::FindStunEndpointJoin(ENetHost&, StunClient::StunEndpoint&)’:
    ../../../source/network/StunClient.cpp:409:2: error: ‘enet_address_get_host_ip’ was not declared in this scope; did you mean ‘enet_address_get_host’?
      409 |  enet_address_get_host_ip(&addr, ipStr, ARRAY_SIZE(ipStr));
          |  ^~~~~~~~~~~~~~~~~~~~~~~~
          |  enet_address_get_host
    ../../../source/network/NetSession.cpp: In member function ‘bool CNetClientSession::Connect(const CStr8&, u16, bool, ENetHost*)’:
    ../../../source/network/NetSession.cpp:69:55: error: too many arguments to function ‘ENetHost* enet_host_create(const ENetAddress*, size_t, enet_uint32, enet_uint32)’
       69 |   host = enet_host_create(NULL, 1, CHANNEL_COUNT, 0, 0);
          |                                                       ^
    In file included from ../../../source/lib/external_libraries/enet.h:48,
                     from ../../../source/network/NetSession.h:21,
                     from ../../../source/network/NetSession.cpp:20:
    /usr/local/include/enet/enet.h:405:21: note: declared here
      405 | ENET_API ENetHost * enet_host_create (const ENetAddress *address, size_t peerCount, enet_uint32 incomingBandwidth, enet_uint32 outgoingBandwidth );
          |                     ^~~~~~~~~~~~~~~~
    ../../../source/network/NetSession.cpp:81:66: error: too many arguments to function ‘ENetPeer* enet_host_connect(ENetHost*, const ENetAddress*, size_t)’
       81 |  ENetPeer* peer = enet_host_connect(host, &addr, CHANNEL_COUNT, 0);
          |                                                                  ^
    In file included from ../../../source/lib/external_libraries/enet.h:48,
                     from ../../../source/network/NetSession.h:21,
                     from ../../../source/network/NetSession.cpp:20:
    /usr/local/include/enet/enet.h:407:21: note: declared here
      407 | ENET_API ENetPeer * enet_host_connect (ENetHost *host, const ENetAddress *address, size_t channelCount );
          |                     ^~~~~~~~~~~~~~~~~
    ../../../source/network/NetSession.cpp: In member function ‘void CNetClientSession::Poll()’:
    ../../../source/network/NetSession.cpp:140:3: error: ‘enet_address_get_host_ip’ was not declared in this scope; did you mean ‘enet_address_get_host’?
      140 |   enet_address_get_host_ip(&event.peer->address, hostname, ARRAY_SIZE(hostname));
          |   ^~~~~~~~~~~~~~~~~~~~~~~~
          |   enet_address_get_host
    make[1]: *** [network.make:175: obj/network_Release/StunClient.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    ../../../source/network/NetServer.cpp: In member function ‘bool CNetServerWorker::SetupConnection(u16)’:
    ../../../source/network/NetServer.cpp:195:67: error: too many arguments to function ‘ENetHost* enet_host_create(const ENetAddress*, size_t, enet_uint32, enet_uint32)’
      195 |  m_Host = enet_host_create(&addr, MAX_CLIENTS, CHANNEL_COUNT, 0, 0);
          |                                                                   ^
    In file included from ../../../source/lib/external_libraries/enet.h:48,
                     from ../../../source/network/NetSession.h:21,
                     from ../../../source/network/NetServer.cpp:24:
    /usr/local/include/enet/enet.h:405:21: note: declared here
      405 | ENET_API ENetHost * enet_host_create (const ENetAddress *address, size_t peerCount, enet_uint32 incomingBandwidth, enet_uint32 outgoingBandwidth );
          |                     ^~~~~~~~~~~~~~~~
    ../../../source/network/NetServer.cpp: In member function ‘bool CNetServerWorker::RunStep()’:
    ../../../source/network/NetServer.cpp:493:3: error: ‘enet_address_get_host_ip’ was not declared in this scope; did you mean ‘enet_address_get_host’?
      493 |   enet_address_get_host_ip(&event.peer->address, hostname, ARRAY_SIZE(hostname));
          |   ^~~~~~~~~~~~~~~~~~~~~~~~
          |   enet_address_get_host

     

    • Thanks 1
  3. On 09/01/2021 at 10:06 PM, just_a_fan said:

    BTW, what GitHub-link should I use when cloning the repository with git in order to get A23B?
    I am thinking using https://github.com/0ad/0ad/tree/535f7881d52ff25cabec5730c051f7552873b324, since that seems to be the commit with A23B. However, clicking on the green button 'Code' gives me again https://github.com/0ad/0ad.git, hence executing $ git clone https://github.com/0ad/0ad.git I will download A24 as before, I assume.

    That's due to the way git works. First you clone everything, which will put you on the latest version ("clone" command), because you haven't picked a version yet. After that, you can switch to any version you like ("checkout" command), but you always get the complete repository first. You can also save some bandwidth when cloning by using the "depth" parameter, but that would have made things more complicated for guiding you through.

  4. Vernaculars can be written too - the Romance languages are all vernaculars of Latin and they can get written just fine :P

    The definition whether a variant is a language or a dialect is never purely linguistic, it is political too. For example, if Norwegians listen to or read Swedish they understand most of it. If I listen to Scots, I understand maybe about half of it. It is still hotly disputed though whether it's a dialect of English or a separate language, and the discussion is very political. From the description on Wikipedia, not all variants of Arabic are mutually intelligible, including Modern Standard Arabic, so people should not be summarily blocked from translating such a variant if they are willing to put in the work.

    The decision really needs to be up to the translators, because they know their languages best. Duplicate projects should be avoided though, which is why on the projects I manage, I always write to the translators that request a new language variant to check if they are comfortable with contributing to the "main" variant instead. I don't manage 0AD though.

  5. I'd say make a list of the 0% projects and if they are still at 0% after the next release is done, clean house.

    I think it's OK if people want to translate into their vernacular - those Arabic variants seem to be different enough from each other. I don't know that much about the language, but we can expect them to be more different from each other than Norwegian/Swedish/Danish are from each other.

    If you get requests for new language variants, ask the translator if they want to contribute to an active variant and only create the new language if they are sure that they want a separate project.

×
×
  • Create New...