Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created Spanish translation 🇪🇸 #188

Merged
merged 1 commit into from
Jul 13, 2021
Merged

Conversation

donPatino
Copy link

Per #120
I am a native Spanish speaker, and attempted to use proper Spanish intelligible to Spanish speakers worldwide.
Feel free to provide feedback, if any changes are needed before merge.

Also used @lourkeur French contribution as a template.

Copy link

@bbjubjub2494 bbjubjub2494 left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution! Just a couple remarks. Unfortunately I don't speak Spanish.

Comment on lines 1 to 2
// Code generated for package translations by go-bindata DO NOT EDIT. (@generated)
// sources:

Choose a reason for hiding this comment

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

This file in general has a lot of spurious diffs, which I tend to avoid in my projects for multiple reasons. @xxxserxxx do you mind those?

I use github.com/go-bindata/go-bindata 3.1.3 and I dont have this problem. (to be fair there are multiple forks of this tool it's annoying) Which one did you use?

If you want a patch see 5922288

Copy link
Owner

Choose a reason for hiding this comment

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

I prefer to minimize diffs for probably the same reasons, but I'm not going to force people to correct them. Thanks for doing that, @lourkeur, and thank you @donPatino for the translation. I'll try to find time to get it reviewed and merged this weekend.

I have a version ready to go out that eliminates go-bindata (given the recently added official Go embed functionality); I just haven't had time to put a release together. That should reduce the amount of spurious diffs.

Copy link
Author

Choose a reason for hiding this comment

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

I followed the install instructions in github.com/go-bindata/go-bindata & it seems to have installed 3.1.2 by default. I have now built 3.1.3 on my development machine; how should I go about correcting this?

  • Create a new commit using go-bindata 3.1.3
  • Remove current commit & create a new one using go-bindata 3.13

Choose a reason for hiding this comment

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

option number two, replacing the commit, (or equivalently the --amend commit option) is preferred.

Copy link
Author

Choose a reason for hiding this comment

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

Great, will amend.
Using version 3.1.3 resolved most of the spurious diffs; except the changes to the FileMode are still generated as "436" rather than "420". Any suggestions as to what is causing this?

Example:

info := bindataFileInfo{name: "de_DE.toml", size: 7223, mode: os.FileMode(436), modTime: time.Unix(1625599
921, 0)}

go-bindata versions:

$ go-bindata --version
go-bindata 3.1.3 (Go runtime go1.14).
Copyright (c) 2010-2013, Jim Teeuwen.

Command I am running (from the root of the project):

$ go generate

Please let me know if there is additional information that could help with this.

Choose a reason for hiding this comment

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

It's unix permissions on the files. 420 = 0644, 436 = 0664. That's a trivial matter, don't worry too much about permanently fixing it on your end. We can handle this manually.

battery
kitchensink"""
# TRANSLATORS: Please don't translate the colorcheme **names**
colorschemes = """Built-in colorschemes:

Choose a reason for hiding this comment

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

Suggested change
colorschemes = """Built-in colorschemes:
colorschemes = """Esquemas de colores:

same

- b: alternar entre mbps y bytes escalados por segundo
"""
# TRANSLATORS: Please don't translate the layout **names**
layouts = """Built-in layouts:

Choose a reason for hiding this comment

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

That you can translate

vice
nord"""
# TRANSLATORS: Please don't translate the widget **names**
widgets = """Widgets that can be used in layouts:

Choose a reason for hiding this comment

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

same

# TRANSLATORS: Please don't translate the colorcheme **names**
colorschemes = """Built-in colorschemes:
default
default-dark (for white background)

Choose a reason for hiding this comment

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

"for white background" too

@donPatino
Copy link
Author

Thank you for the suggestions @lourkeur, I obviously missed some of the text that still needs translation. I will be working on implementing the suggested changes.

@donPatino
Copy link
Author

Implemented suggested changes, please let me know if any further changes need to be made.

Copy link

@bbjubjub2494 bbjubjub2494 left a comment

Choose a reason for hiding this comment

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

My comments have been addressed, LGTM

@xxxserxxx xxxserxxx merged commit 34c5dca into xxxserxxx:master Jul 13, 2021
@xxxserxxx
Copy link
Owner

Thank you, both of you.

@xxxserxxx xxxserxxx added this to the v4.1.2 milestone Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants