gui: add missing translation.h include to fix build #19231

pull fanquake wants to merge 1 commits into bitcoin:master from fanquake:translations_gui_fixup changing 1 files +1 −0
  1. fanquake commented at 2:13 AM on June 10, 2020: member

    After #19176, building the gui on Bionic is failing with:

      CXX      qt/qt_libbitcoinqt_a-guiutil.o
    qt/bitcoin.cpp: In function 'int GuiMain(int, char**)':
    qt/bitcoin.cpp:460:35: error: 'Untranslated' was not declared in this scope
               node->initError(strprintf(Untranslated("Error parsing command line arguments: %s\n"), error));
    

    The merge commit also failed to compile with the same error: https://travis-ci.org/github/bitcoin/bitcoin/jobs/696627543

  2. gui: add missing translation.h include to fix build
    After #19176, building the gui on Bionic is failing with:
    
    ```bash
      CXX      qt/qt_libbitcoinqt_a-guiutil.o
    qt/bitcoin.cpp: In function 'int GuiMain(int, char**)':
    qt/bitcoin.cpp:460:35: error: 'Untranslated' was not declared in this scope
    node->initError(strprintf(Untranslated("Error parsing command line arguments: %s\n"), error));
    ```
    
    The merge commit also failed to compile with the same error:
    https://travis-ci.org/github/bitcoin/bitcoin/jobs/696627543
    948f1134bc
  3. fanquake added the label GUI on Jun 10, 2020
  4. hebasto approved
  5. hebasto commented at 6:11 AM on June 10, 2020: member

    ACK 948f1134bc7b8ea1fb3c6b55f0cda16cc8dec126, tested on Linux Mint 19.3 (x86_64): it fixes compiling error with the --disable-wallet configure option.

    While testing #19176 I compiled with both GCC and Clang, but did not try the --disable-wallet configure option. Sorry for that.

  6. fanquake merged this on Jun 10, 2020
  7. fanquake closed this on Jun 10, 2020

  8. fanquake deleted the branch on Jun 10, 2020
  9. MarcoFalke commented at 10:13 AM on June 10, 2020: member

    I had missed that travis did not run this pull or did not report the result. Travis' only purpose is to compile pull requests and if it doesn't do that, we should remove it.

    Screenshot_2020-06-10 refactor Error message bilingual_str consistency by laanwj · Pull Request #19176 · bitcoin bitcoin

  10. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me