Skip to content

Fix typos and cleanup in various files#12593

Closed
rex4539 wants to merge 1 commit intobitcoin:masterfrom
rex4539:rex4539-typos
Closed

Fix typos and cleanup in various files#12593
rex4539 wants to merge 1 commit intobitcoin:masterfrom
rex4539:rex4539-typos

Conversation

@rex4539
Copy link
Contributor

@rex4539 rex4539 commented Mar 4, 2018

No description provided.

Copy link
Contributor

@randolf randolf left a comment

Choose a reason for hiding this comment

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

These are excellent edits, but I need you to do the following...

Move all the changes in src/qt/locale/bitcoin_el_GR.ts to a separate Pull Request because this is in a different language than all the other changes (I don't know enough German to review German-language corrections).

Revert change in test/functional/p2p_fingerprint.py back to its original "its" (line 7).

Thank you.

UPDATE: Thank you for making these changes.

NOTE: The Greek (not German) Translation corrections can be found in PR #12598.

@rex4539
Copy link
Contributor Author

rex4539 commented Mar 4, 2018

The translation corrections are actually Greek :)

@rex4539
Copy link
Contributor Author

rex4539 commented Mar 4, 2018

I have no idea how idea how to move all the changes in src/qt/locale/bitcoin_el_GR.ts to a separate Pull Request (and then I guess remove that commit from the PR).

The commits are already squashed and googling didn't help.

If you can post the exact commands I need to paste into the command line, I would be happy to apply them.

Another solution would be to have the person who usually reviews the Greek translations review and approve.

@randolf
Copy link
Contributor

randolf commented Mar 4, 2018

@rex4539 Ah, Greek. Ha! Thanks for correcting me on that (I should have clued in that German's code should be "de" and not "el" -- I was thrown off by "GR").

The problem is that I can't approve something that I don't understand. I'll ask someone to take a look at this and give you some suggestions on the git commands to use. In the meantime, there's also the #github channel in irc.freenode.net which has a lot very helpful people as well (they've been a great help to me in the past).

@dongcarl
Copy link
Contributor

dongcarl commented Mar 4, 2018

@rex4539 on branch rex4539-typos:

git reset --soft 90a0aed51194ad82da8e011b96f9561c685e40b7
git reset HEAD src/qt/locale/bitcoin_el_GR.ts
<make other changes if needed>
git commit -m 'blah blah'
<then force push to your own remote>

It'll say that the .ts file is not staged for commit but that's what you want.

Copy link
Contributor

@practicalswift practicalswift Mar 5, 2018

Choose a reason for hiding this comment

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

Capitalization changes like these are unlikely to achieve consensus ACK, so please skip the changes made to this file to maximize the likelihood of merge :-)

Copy link
Contributor

Choose a reason for hiding this comment

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

While this change may appear to be purely cosmetic, I do think that it's okay since it is being included with a number of other changes and because the overall intention is to ensure greater consistency.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didn't change this one. Let me know if you still need this changed.

Copy link
Contributor

Choose a reason for hiding this comment

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

I would revert this change in order to maximize the chance of merge.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted.

Copy link
Contributor

@practicalswift practicalswift Mar 5, 2018

Choose a reason for hiding this comment

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

These changes should be reported upstream (to the secp256k1 project: https://github.com/bitcoin-core/secp256k1) . Please skip the changes made to this file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

Copy link
Contributor

@practicalswift practicalswift Mar 5, 2018

Choose a reason for hiding this comment

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

These changes should be reported upstream (to the univalue project: https://github.com/bitcoin-core/univalue). Please skip the changes made to this file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Please revert this change. It looks accidental.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hopefully fixed.

Copy link
Contributor

Choose a reason for hiding this comment

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

No, the change is still there. You can check it on https://github.com/bitcoin/bitcoin/pull/12593/files after pushing your latest version.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was very weird. It's some strange character encoding that my machine somehow automatically converts when the file is opened. I did several attempts to fix it using the command line and different text editors and I think I did it...

Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Prefer "it is" to "it's". Applies to "its"/"it's" changes below.

Copy link
Contributor

Choose a reason for hiding this comment

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

Either "it is" or "it's" is acceptable to me. Since you prefer "it is" I support this.

Copy link
Contributor

Choose a reason for hiding this comment

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

I prefer "it is" since it is unambiguous. "It's" can be "it is" or "it has".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be "re-added"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be "re-added"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Already reported in #12543.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So should I revert this one or just do nothing?

Copy link
Contributor

Choose a reason for hiding this comment

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

Revert or rebase on top of master now that #12543 is merged.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted. Not familiar with git rebase and such...

Copy link
Contributor

Choose a reason for hiding this comment

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

Already reported in #12543.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So should I revert this one or just do nothing?

Copy link
Contributor

Choose a reason for hiding this comment

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

Revert or rebase on top of master now that #12543 is merged.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted. Not familiar with git rebase and such...

Copy link
Contributor

Choose a reason for hiding this comment

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

Already reported in #12543.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So should I revert this one or just do nothing?

Copy link
Contributor

Choose a reason for hiding this comment

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

Revert or rebase on top of master now that #12543 is merged.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted. Not familiar with git rebase and such...

@fanquake fanquake added the Docs label Mar 5, 2018
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Also change "marked erased" to "marked as erased".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

Copy link
Contributor

Choose a reason for hiding this comment

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

A bit unclear. Perhaps change it to "as we're not yet aware that it is in the mempool"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@practicalswift
Copy link
Contributor

Please revert the unrelated change in wallet_basic.py (the Unicode check) and squash the commits into one commit.

@rex4539
Copy link
Contributor Author

rex4539 commented Mar 5, 2018

Could you please post the exact command(s) I need to paste into the command line?

Not familiar at all with squashing :)

@practicalswift
Copy link
Contributor

Seems like you accidentally re-introduced some of the previous reverts.

Please make sure that:

@rex4539
Copy link
Contributor Author

rex4539 commented Mar 5, 2018

ok, I think I reverted all the newly-accidental commits. All typos should be the correct ones now.

If you could just post the exact command(s) I need to paste into the command line so I could squash?

@rex4539
Copy link
Contributor Author

rex4539 commented Mar 15, 2018

@practicalswift Squashed and ready for merge :)

@practicalswift
Copy link
Contributor

utACK 5fe43d6

// We can search level-by-level since entries never hop across
// levels. Therefore we are guaranteed that if we find data
// in an smaller level, later levels are irrelevant.
// in a smaller level, later levels are irrelevant.
Copy link
Member

Choose a reason for hiding this comment

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

Please submit those upstream

@rex4539
Copy link
Contributor Author

rex4539 commented Mar 18, 2018

Unfortunately I messed up my repo while attempting to squash so I made a new PR #12716 with just the fixes.

@rex4539 rex4539 closed this Mar 18, 2018
maflcko pushed a commit that referenced this pull request Mar 21, 2018
4d9b425 Fix typos (Dimitris Apostolou)

Pull request description:

  Unfortunately I messed up my repo while trying to squash #12593 so I created a PR with just the correct fixes.

Tree-SHA512: 295d77b51bd2a9381f1802c263de7ffb2edd670d9647391e32f9a414705b3c8b483bb0e469a9b85ab6a70919ea13397fa8dfda2aea7a398b64b187f178fe6a06
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jun 12, 2020
4d9b425 Fix typos (Dimitris Apostolou)

Pull request description:

  Unfortunately I messed up my repo while trying to squash bitcoin#12593 so I created a PR with just the correct fixes.

Tree-SHA512: 295d77b51bd2a9381f1802c263de7ffb2edd670d9647391e32f9a414705b3c8b483bb0e469a9b85ab6a70919ea13397fa8dfda2aea7a398b64b187f178fe6a06
Signed-off-by: pasta <[email protected]>
gades pushed a commit to cosanta/cosanta-core that referenced this pull request Jun 30, 2021
4d9b425 Fix typos (Dimitris Apostolou)

Pull request description:

  Unfortunately I messed up my repo while trying to squash bitcoin#12593 so I created a PR with just the correct fixes.

Tree-SHA512: 295d77b51bd2a9381f1802c263de7ffb2edd670d9647391e32f9a414705b3c8b483bb0e469a9b85ab6a70919ea13397fa8dfda2aea7a398b64b187f178fe6a06
Signed-off-by: pasta <[email protected]>
@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.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants