Jump to content

GunChleoc

Community Members
  • Posts

    619
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by GunChleoc

  1. On 05/05/2021 at 2:46 AM, mysticjim said:

    I don't think me running it through Google Translate would really cut it

    No it would not. People can always run it through GT themselves  - it still makes grammar mistakes and some mistranslations that could be anything from slightly embarrassing to quite incomprehensible, depending on the language pair and direction translated.

    Regarding Twitter/Mastodon, there's a nice crossposter that could save you some work https://masto.donte.com.br/@crossposter

    • Like 2
  2. 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`

  3. 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
  4. 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.

×
×
  • Create New...