Skip to content

Conversation

@fanquake
Copy link
Member

@fanquake fanquake commented Jun 12, 2016

Remove URLs from the strings in the About dialog.

@jonasschnelli
Copy link
Contributor

ACK 78e3d1dcfed97eeb3db2f776e1683ed277098904

src/init.cpp Outdated
Copy link
Member

@maflcko maflcko Jun 12, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move the url out of the string to be translated.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The URLs are used several lines down in the same file...

@laanwj
Copy link
Member

laanwj commented Jun 13, 2016

Concept ACK,
Agreed it would be better to not have the URL in the translation message: wouldn't want translators to be able to easily accidentally or on purpose, misdirect people here.

@fanquake
Copy link
Member Author

@laanwj While we're editing the About dialog, should I remove the URLs from the other translations?

@paveljanik
Copy link
Contributor

If you do so, please remember to use %s (or something similar) so translators can move the position of the URL in the sentence.

@btcdrak
Copy link
Contributor

btcdrak commented Jun 13, 2016

Would be nice to have a link to the project website too, bitcoincore.org

@maflcko
Copy link
Member

maflcko commented Jun 13, 2016

I think you can keep the other translations, as they already have great
coverage over a lot of languages. The advantage of just extracting the url
isnt worth it.

On Monday, June 13, 2016, Michael Ford [email protected] wrote:

@laanwj While we're editing the About dialog, should I remove the URLs
from the other translations?

@laanwj
Copy link
Member

laanwj commented Jun 13, 2016

We should aim to touch the translations only where necessary, as we're so close to a relase.
(but if you have to touch those strings already, feel free to factor out the URLs)

If you do so, please remember to use %s (or something similar) so translators can move the position of the URL in the sentence.

It's unfortunate that neither Qt nor strprintf has named variables in string interpolation like Python's %(git_url)s.

src/init.cpp Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Translation string freeze is in three days. Let's not invalidate all translations because the URL changed slightly. (The redirect still works fine)

Let's leave this for 0.14.0 or later. Also, the file name (COPYING) should be parametrized in the same go.

@fanquake
Copy link
Member Author

I've updated this to include "COPYING". Seems that consensus is that this is to much of a burden on translators this close to a release, so lets tag for 0.14.0 and merge later?

@maflcko
Copy link
Member

maflcko commented Jun 14, 2016 via email

@jonasschnelli
Copy link
Contributor

Should we merge this post 0.13 to not break the current translations?

@fanquake
Copy link
Member Author

@jonasschnelli I think that's the best case.

@maflcko maflcko added this to the 0.14 milestone Jun 16, 2016
@maflcko
Copy link
Member

maflcko commented Jun 16, 2016

Assigned 0.14. Needs rebase.

@fanquake fanquake changed the title [trivial] Add a link to the Bitcoin-Core repository to the About Dialog [trivial] Remove URLs from About dialog translations Jun 16, 2016
@fanquake
Copy link
Member Author

rebased

@jonasschnelli jonasschnelli merged commit 208d37f into bitcoin:master Aug 15, 2016
jonasschnelli added a commit that referenced this pull request Aug 15, 2016
208d37f [trivial] Remove URLs from About dialog translations (fanquake)
@maflcko maflcko added the Docs label Aug 15, 2016
@fanquake fanquake deleted the source-code-link branch August 15, 2016 13:47
codablock pushed a commit to codablock/dash that referenced this pull request Jan 8, 2018
208d37f [trivial] Remove URLs from About dialog translations (fanquake)
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
208d37f [trivial] Remove URLs from About dialog translations (fanquake)
maflcko pushed a commit that referenced this pull request Mar 5, 2020
…ctions

f4691b6 tests: Add fuzzing harness for CKey related functions (practicalswift)

Pull request description:

  Add fuzzing harness for `CKey` and key related functions.

  **How to test this PR**

  ```
  $ make distclean
  $ ./autogen.sh
  $ CC=clang CXX=clang++ ./configure --enable-fuzz \
        --with-sanitizers=address,fuzzer,undefined
  $ make
  $ src/test/fuzz/key
  …
  #4096   pulse  cov: 5736 ft: 6960 corp: 27/833b lim: 67 exec/s: 2048 rss: 122Mb
  #8192   pulse  cov: 5736 ft: 6960 corp: 27/833b lim: 103 exec/s: 2048 rss: 143Mb
  #13067  NEW    cov: 5736 ft: 6965 corp: 28/865b lim: 154 exec/s: 2177 rss: 166Mb L: 32/32 MS: 1 ChangeBit-
  #16384  pulse  cov: 5736 ft: 6965 corp: 28/865b lim: 182 exec/s: 2048 rss: 181Mb
  #32768  pulse  cov: 5736 ft: 6965 corp: 28/865b lim: 347 exec/s: 2184 rss: 258Mb
  …
  ```

Top commit has no ACKs.

Tree-SHA512: 5b17ffb70c31966d3eac06d2258c127ae671d28d6cdf4e6ac20b45cd59ad32f80952c9c749930b97d317c72d5f840a3b75d466fd28fb6c351424a72c3e41bcbc
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants